/* ═══════════════════════════════════════════════════
   OportunidadInmobiliaria.cl — Standalone Theme CSS
   #111827 | #10B981 | #D1D5DB | DM Sans
   ═══════════════════════════════════════════════════ */
:root {
  --negro: #151515;
  --verde: #E30613;
  --verde-dark: #B7000B;
  --verde-light: rgba(227,6,19,0.07);
  --verde-glow: rgba(227,6,19,0.10);
  --gris: #C9CBD0;
  --gris-dark: #6A6D73;
  --gris-bg: #F7F7F8;
  --gris-border: #E4E5E8;
  --blanco: #FFFFFF;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font) !important; background: var(--blanco) !important; color: var(--negro); line-height: 1.6; overflow-x: hidden; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font-family: var(--font); }
.oi-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
.oi-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--gris-border); padding: 0 24px; transition: var(--transition); }
.oi-navbar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.oi-navbar-logo { display: flex; align-items: center; gap: 10px; }
.oi-navbar-logo img { height: 40px !important; width: auto !important; max-height: 50px !important; max-width: 200px !important; object-fit: contain !important; }
.oi-navbar-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.oi-navbar-links a { font-size: 0.88rem; font-weight: 500; color: var(--gris-dark); transition: var(--transition); position: relative; }
.oi-navbar-links a::after { content:''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--verde); transition: var(--transition); }
.oi-navbar-links a:hover { color: var(--negro); }
.oi-navbar-links a:hover::after { width: 100%; }
.oi-navbar-links a.active { color: var(--negro); }
.oi-navbar-links a.active::after { width: 100%; }
.oi-navbar-cta { background: var(--verde); color: var(--blanco) !important; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; border: none; transition: var(--transition); display: inline-block; }
.oi-navbar-cta:hover { background: var(--verde-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,0.25); color: var(--blanco) !important; }
.oi-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.oi-mobile-toggle span { width: 22px; height: 2px; background: var(--negro); border-radius: 2px; display: block; }

/* ── HERO ── */
.oi-hero { min-height: 75vh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 40px; position: relative; overflow: hidden; }
.oi-hero::before { content:''; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle, var(--verde-glow) 0%, transparent 70%); pointer-events: none; animation: oiGlow 8s ease-in-out infinite alternate; }
@keyframes oiGlow { 0%{transform:translate(0,0) scale(1);opacity:.6} 100%{transform:translate(-40px,30px) scale(1.1);opacity:1} }
.oi-hero-inner { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.oi-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--verde-light); border: 1px solid rgba(16,185,129,0.15); color: var(--verde-dark); padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; margin-bottom: 20px; animation: oiFadeUp .5s ease-out; }
.oi-hero-badge::before { content:''; width: 7px; height: 7px; background: var(--verde); border-radius: 50%; animation: oiPulse 2s ease-in-out infinite; }
@keyframes oiPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.oi-hero h1 { font-size: clamp(2.2rem,4.5vw,3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.03em; animation: oiFadeUp .5s ease-out .05s both; }
.highlight { color: var(--verde); }
.oi-hero-subtitle { font-size: 1.05rem; color: var(--gris-dark); max-width: 520px; margin: 0 auto 32px; line-height: 1.7; animation: oiFadeUp .5s ease-out .1s both; }
.oi-hero-actions { display: flex; gap: 14px; justify-content: center; animation: oiFadeUp .5s ease-out .15s both; flex-wrap: wrap; }
.oi-btn-primary { background: var(--verde); color: var(--blanco) !important; padding: 13px 28px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; border: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.oi-btn-primary:hover { background: var(--verde-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,0.25); color: var(--blanco) !important; }
.oi-btn-secondary { background: transparent; color: var(--negro); padding: 13px 28px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; border: 1px solid var(--gris-border); transition: var(--transition); display: inline-flex; align-items: center; }
.oi-btn-secondary:hover { border-color: var(--verde); color: var(--verde); background: var(--verde-light); }
.oi-hero-stats { display: flex; gap: 32px; margin-top: 44px; justify-content: center; animation: oiFadeUp .5s ease-out .2s both; flex-wrap: wrap; }
.oi-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--verde); letter-spacing: -0.02em; }
.oi-stat-label { font-size: 0.78rem; color: var(--gris-dark); margin-top: 2px; }
@keyframes oiFadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ── SECTION HELPERS ── */
.oi-label { font-size: 0.72rem; font-weight: 700; color: var(--verde); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.oi-title { font-size: clamp(1.6rem,2.8vw,2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; }
.oi-subtitle { color: var(--gris-dark); max-width: 500px; font-size: 0.95rem; line-height: 1.7; margin-bottom: 36px; }

/* ── FEATURED ── */
.oi-featured { padding: 60px 0 80px; }
.oi-featured-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.oi-featured-nav { display: flex; gap: 8px; }
.oi-featured-nav button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--gris-border); background: var(--blanco); color: var(--negro); font-size: 1rem; transition: var(--transition); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.oi-featured-nav button:hover { background: var(--verde); color: var(--blanco); border-color: var(--verde); }
.oi-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.oi-carousel::-webkit-scrollbar { display: none; }

/* ── PROPERTY CARD ── */
.oi-card { min-width: 330px; max-width: 330px; background: var(--blanco); border: 1px solid var(--gris-border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); scroll-snap-align: start; cursor: pointer; text-decoration: none !important; color: var(--negro) !important; display: block; }
.oi-card:hover { border-color: var(--verde); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(17,24,39,0.1); }
.oi-card-img { height: 190px; background: var(--gris-bg); position: relative; overflow: hidden; }
.oi-card-img img { width: 100%; height: 100%; object-fit: cover; }
.oi-card-badge { position: absolute; top: 12px; left: 12px; background: var(--negro); color: var(--blanco); padding: 4px 10px; border-radius: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.oi-card-discount { position: absolute; top: 12px; right: 12px; background: #DC2626; color: var(--blanco); padding: 4px 10px; border-radius: 6px; font-size: 0.68rem; font-weight: 700; }
.oi-card-body { padding: 18px 20px; }
.oi-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.oi-card-loc { font-size: 0.8rem; color: var(--gris-dark); margin-bottom: 14px; }
.oi-card-specs { display: flex; gap: 14px; margin-bottom: 14px; }
.oi-card-spec { font-size: 0.76rem; color: var(--gris-dark); }
.oi-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--gris-border); }
.oi-card-price { font-size: 1.2rem; font-weight: 800; }
.oi-card-price small { font-size: 0.75rem; color: var(--gris-dark); font-weight: 400; }
.oi-card-price .old { text-decoration: line-through; color: var(--gris); font-size: 0.82rem; font-weight: 400; display: block; }
.oi-card-cta { font-size: 0.78rem; color: var(--verde); font-weight: 600; transition: var(--transition); }
.oi-card:hover .oi-card-cta { letter-spacing: 0.02em; }
.oi-card.grid { min-width: unset; max-width: unset; }

/* ── VALUE ── */
.oi-value { padding: 80px 0; background: var(--gris-bg); }
.oi-value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.oi-vcard { background: var(--blanco); border: 1px solid var(--gris-border); border-radius: var(--radius); padding: 28px 22px; transition: var(--transition); }
.oi-vcard:hover { border-color: var(--verde); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(17,24,39,0.06); }
.oi-vcard-icon { width: 44px; height: 44px; background: var(--verde-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
.oi-vcard h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.oi-vcard p { font-size: 0.82rem; color: var(--gris-dark); line-height: 1.6; }

/* ── HOW ── */
.oi-how { padding: 80px 0; }
.oi-how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.oi-hcard { text-align: center; padding: 32px 24px; }
.oi-hcard-num { width: 48px; height: 48px; background: var(--negro); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; color: var(--verde); margin: 0 auto 16px; }
.oi-hcard h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.oi-hcard p { font-size: 0.85rem; color: var(--gris-dark); line-height: 1.6; }

/* ── CONTACT ── */
.oi-contact { padding: 80px 0; background: var(--gris-bg); }
.oi-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.oi-cform { background: var(--blanco); border: 1px solid var(--gris-border); border-radius: var(--radius-lg); padding: 36px; }
.oi-fg { margin-bottom: 18px; }
.oi-fg label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--negro); margin-bottom: 6px; }
.oi-fg input, .oi-fg textarea, .oi-fg select { width: 100%; padding: 11px 14px; background: var(--blanco); border: 1px solid var(--gris-border); border-radius: 8px; color: var(--negro); font-size: 0.88rem; transition: var(--transition); outline: none; }
.oi-fg input:focus, .oi-fg textarea:focus, .oi-fg select:focus { border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-glow); }
.oi-fg textarea { resize: vertical; min-height: 90px; }
.oi-fg input::placeholder, .oi-fg textarea::placeholder { color: var(--gris); }
.oi-submit { width: 100%; padding: 13px; background: var(--verde); color: var(--blanco); border: none; border-radius: 10px; font-weight: 600; font-size: 0.92rem; transition: var(--transition); cursor: pointer; }
.oi-submit:hover { background: var(--verde-dark); box-shadow: 0 6px 20px rgba(16,185,129,0.25); }
.oi-submit:disabled { opacity: .6; cursor: not-allowed; }
.oi-info-item { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; color: var(--gris-dark); font-size: 0.9rem; }

/* ── FOOTER ── */
.oi-footer { background: var(--negro); color: var(--blanco); padding: 48px 0 24px; }
.oi-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.oi-footer-brand { display: flex; flex-direction: column; gap: 10px; }
.oi-footer-brand img { height: 36px; width: auto; max-height: 40px; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); }
.oi-footer-brand p { color: var(--gris); font-size: 0.82rem; line-height: 1.6; max-width: 260px; }
.oi-footer-col h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 14px; }
.oi-footer-col a { display: block; color: var(--gris); font-size: 0.82rem; margin-bottom: 8px; transition: var(--transition); }
.oi-footer-col a:hover { color: var(--verde); }
.oi-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--gris); flex-wrap: wrap; gap: 12px; }
.oi-footer-social { display: flex; gap: 16px; }
.oi-footer-social a { color: var(--gris); transition: var(--transition); }
.oi-footer-social a:hover { color: var(--verde); }

/* ── MARKETPLACE ── */
.oi-mkt-hero { padding: 110px 0 32px; text-align: center; }
.oi-mkt-hero h1 { font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.oi-mkt-hero p { color: var(--gris-dark); max-width: 460px; margin: 0 auto; font-size: 0.95rem; }
.oi-filters { background: var(--blanco); border: 1px solid var(--gris-border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 32px; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.oi-fgroup { flex: 1; min-width: 150px; }
.oi-fgroup label { display: block; font-size: 0.7rem; font-weight: 600; color: var(--gris-dark); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.oi-fgroup select, .oi-fgroup input { width: 100%; padding: 9px 12px; background: var(--blanco); border: 1px solid var(--gris-border); border-radius: 8px; color: var(--negro); font-size: 0.84rem; outline: none; transition: var(--transition); }
.oi-fgroup select:focus, .oi-fgroup input:focus { border-color: var(--verde); }
.oi-fbtn { padding: 9px 20px; background: var(--verde); color: var(--blanco); border: none; border-radius: 8px; font-weight: 600; font-size: 0.84rem; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.oi-fbtn:hover { background: var(--verde-dark); }
.oi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(310px,1fr)); gap: 20px; padding-bottom: 60px; }
.oi-count { color: var(--gris-dark); font-size: 0.84rem; margin-bottom: 20px; }
.oi-count strong { color: var(--negro); }

/* ── PRODUCT ── */
.oi-product { padding-top: 90px; padding-bottom: 60px; }
.oi-bc { font-size: 0.8rem; color: var(--gris-dark); margin-bottom: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.oi-bc a { color: var(--gris-dark); transition: var(--transition); }
.oi-bc a:hover { color: var(--verde); }
.oi-bc .sep { color: var(--gris); }
.oi-prod-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.oi-gal-main { height: 380px; background: var(--gris-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gris-border); }
.oi-gal-main img { width: 100%; height: 100%; object-fit: cover; }
.oi-gal-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.oi-gal-thumb { width: 72px; height: 54px; background: var(--gris-bg); border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; transition: var(--transition); }
.oi-gal-thumb.active, .oi-gal-thumb:hover { border-color: var(--verde); }
.oi-gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.oi-prod-desc { margin-top: 36px; }
.oi-prod-desc h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.oi-prod-desc p, .oi-prod-desc div { color: var(--gris-dark); line-height: 1.8; font-size: 0.9rem; }
.oi-prod-info { position: sticky; top: 90px; }
.oi-prod-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.oi-tag { padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.oi-tag.type { background: var(--verde-light); color: var(--verde-dark); }
.oi-tag.disc { background: rgba(220,38,38,0.08); color: #DC2626; }
.oi-prod-info h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2px; }
.oi-prod-dev { color: var(--gris-dark); font-size: 0.88rem; margin-bottom: 4px; }
.oi-prod-addr { color: var(--verde); font-size: 0.85rem; margin-bottom: 20px; }
.oi-det-card { background: var(--gris-bg); border: 1px solid var(--gris-border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.oi-det-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; }
.oi-det-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--gris-border); font-size: 0.85rem; }
.oi-det-row:last-child { border-bottom: none; }
.oi-det-row .l { color: var(--gris-dark); }
.oi-det-row .v { font-weight: 600; }
.oi-price-card { background: var(--blanco); border: 2px solid var(--verde); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.oi-price-old { color: var(--gris); text-decoration: line-through; font-size: 0.95rem; }
.oi-price-now { font-size: 2rem; font-weight: 800; color: var(--verde); letter-spacing: -0.02em; }
.oi-price-now small { font-size: 0.9rem; font-weight: 400; }
.oi-price-m2 { font-size: 0.8rem; color: var(--gris-dark); margin-top: 4px; }
.oi-rent { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gris-border); }
.oi-rent-l { font-size: 0.8rem; color: var(--gris-dark); }
.oi-rent-v { font-weight: 700; font-size: 1.05rem; }
.oi-btn-ag { width: 100%; padding: 14px; background: var(--verde); color: var(--blanco); border: none; border-radius: 10px; font-weight: 700; font-size: 0.95rem; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; cursor: pointer; }
.oi-btn-ag:hover { background: var(--verde-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(16,185,129,0.25); }

/* ── MODAL ── */
.oi-modal-bg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(17,24,39,0.5); backdrop-filter: blur(6px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.oi-modal-bg.active { display: flex; }
.oi-modal { background: var(--blanco); border: 1px solid var(--gris-border); border-radius: var(--radius-lg); padding: 36px; max-width: 440px; width: 100%; position: relative; animation: oiModalIn .25s ease-out; box-shadow: 0 24px 60px rgba(17,24,39,0.15); }
@keyframes oiModalIn { from{opacity:0;transform:scale(.96) translateY(12px)} to{opacity:1;transform:scale(1) translateY(0)} }
.oi-modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--gris-border); background: var(--blanco); color: var(--gris-dark); font-size: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.oi-modal-x:hover { background: var(--gris-bg); color: var(--negro); }
.oi-modal h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.oi-modal .oi-modal-sub { color: var(--gris-dark); font-size: 0.85rem; margin-bottom: 20px; }

.oi-no-results { text-align: center; padding: 60px 20px; color: var(--gris-dark); }
.oi-noimg { width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--gris-bg);color:var(--gris-dark);font-size:0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .oi-value-grid { grid-template-columns: repeat(2,1fr); }
  .oi-prod-layout { grid-template-columns: 1fr; }
  .oi-prod-info { position: static; }
  .oi-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .oi-navbar-links { display: none !important; }
  .oi-navbar-links.open { display: flex !important; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 20px 24px; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--gris-border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 999; }
  .oi-mobile-toggle { display: flex; }
  .oi-hero-stats { gap: 20px; }
  .oi-how-grid { grid-template-columns: 1fr; }
  .oi-contact-grid { grid-template-columns: 1fr; }
  .oi-filters { flex-direction: column; }
  .oi-fgroup { min-width: 100%; }
  .oi-value-grid { grid-template-columns: 1fr; }
  .oi-card { min-width: 280px; }
  .oi-footer-grid { grid-template-columns: 1fr; }
}

/* ═══ WORDPRESS OVERRIDES ═══ */
/* Kill any wrapper WP or plugins inject */
body.page-template-page-home #page,
body.page-template-page-home #content,
body.page-template-page-home #primary,
body.page-template-page-home .site-content,
body.page-template-page-home .ast-container,
body.page-template-page-home .site-main,
body.page-template-page-home .entry-content,
body.page-template-page-home main,
body.page-template-page-home article,
body #page,
body #content,
body #primary,
body .site-content,
body .site-main,
body .entry-content,
body .ast-container,
body main,
body article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
/* Hide any leftover WP headers/footers */
body .site-header,
body .site-footer,
body #masthead,
body #colophon,
body .ast-above-header,
body .ast-below-header,
body .ast-header-break-point { display: none !important; }
/* Ensure WP admin bar doesn't break layout */
body.admin-bar .oi-navbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .oi-navbar { top: 46px; } }


/* TRAUMHAUS 2.0 */
body{background:#fff!important;color:#151515!important;font-family:'Montserrat',system-ui,sans-serif!important}
.oi-navbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid rgba(21,21,21,.06)!important;box-shadow:none!important}
.oi-navbar-inner{height:82px!important}.oi-navbar-logo img{height:auto!important;max-height:66px!important;max-width:250px!important}
.oi-navbar-links a{color:#3b3c40!important;font-weight:600!important}.oi-navbar-links a::after{background:#E30613!important}
.oi-navbar-cta,.oi-fbtn,.oi-submit,.oi-btn-ag,.oi-btn-primary{background:#E30613!important;color:#fff!important;border-radius:999px!important;box-shadow:0 10px 22px rgba(227,6,19,.14)!important}
.oi-navbar-cta:hover,.oi-fbtn:hover,.oi-submit:hover,.oi-btn-ag:hover,.oi-btn-primary:hover{background:#B7000B!important}
.highlight,.oi-label,.oi-card-cta,.oi-prod-addr{color:#E30613!important}
.oi-card{border-radius:20px!important;box-shadow:0 10px 28px rgba(24,24,24,.055)!important}
.oi-card:hover{border-color:rgba(227,6,19,.38)!important;box-shadow:0 18px 42px rgba(24,24,24,.10)!important}
.oi-card-badge{background:#E30613!important;color:#fff!important;border-radius:999px!important}.oi-card-img{height:215px!important}
.oi-price-card{border-color:#E30613!important}.oi-price-now{color:#E30613!important}
.oi-tag.type{background:rgba(227,6,19,.07)!important;color:#B7000B!important}
.oi-fgroup select:focus,.oi-fgroup input:focus{border-color:#E30613!important}
.oi-footer{background:#fff!important;color:#151515!important;border-top:1px solid #E4E5E8!important}
.oi-footer-brand img{filter:none!important}.oi-footer-brand p,.oi-footer-col a,.oi-footer-bottom,.oi-footer-social a{color:#6A6D73!important}
.oi-footer-bottom{border-top:1px solid #E4E5E8!important}

.oi-mkt-hero{padding:130px 0 44px!important;background:linear-gradient(145deg,transparent 0 56%,rgba(20,20,20,.04) 56.15%,transparent 56.3%),radial-gradient(circle at right top,rgba(227,6,19,.06),transparent 28%);position:relative;overflow:hidden}
.oi-filters{border-radius:22px!important;box-shadow:0 16px 40px rgba(24,24,24,.06)!important;padding:20px!important}

.th-hero{padding:150px 0 84px;position:relative;overflow:hidden;background:linear-gradient(138deg,transparent 0 47%,rgba(20,20,20,.045) 47.12%,transparent 47.25%),linear-gradient(35deg,transparent 0 68%,rgba(20,20,20,.035) 68.12%,transparent 68.25%),radial-gradient(circle at right top,rgba(227,6,19,.07),transparent 25%),#fff}
.th-hero:before,.th-hero:after{content:"";position:absolute;border:1px solid rgba(20,20,20,.055);pointer-events:none}
.th-hero:before{width:420px;height:420px;right:-170px;top:-200px;transform:rotate(28deg)}.th-hero:after{width:310px;height:310px;left:-150px;bottom:-180px;transform:rotate(-34deg)}
.th-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;position:relative;z-index:2}
.th-eyebrow,.th-kicker{display:inline-flex;align-items:center;gap:9px;color:#B7000B;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.th-eyebrow{background:rgba(227,6,19,.065);border:1px solid rgba(227,6,19,.12);padding:8px 14px;border-radius:999px;margin-bottom:20px}.th-eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:#E30613}
.th-hero h1{margin:0 0 18px;max-width:760px;font-size:clamp(2.5rem,5.7vw,4.8rem);line-height:1.01;letter-spacing:-.055em;font-weight:800;color:#111}
.th-hero-copy>p{max-width:680px;color:#5e6269;font-size:1.05rem;line-height:1.75;margin:0 0 30px}
.th-actions{display:flex;gap:14px;flex-wrap:wrap}.th-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;font-weight:800;font-size:.9rem;transition:.25s}.th-btn-red{background:#E30613;color:#fff!important;box-shadow:0 12px 26px rgba(227,6,19,.16)}.th-btn-red:hover{background:#B7000B}.th-btn-outline{background:#fff;color:#151515!important;border:1px solid #D7D9DE}.th-btn-outline:hover{border-color:#B7BAC0}
.th-service-card{background:linear-gradient(180deg,#fff,#fcfcfd);border:1px solid #E4E5E8;border-radius:30px;padding:30px;box-shadow:0 20px 50px rgba(24,24,24,.08);position:relative;overflow:hidden}.th-service-card:before{content:"";position:absolute;width:130px;height:130px;right:-58px;top:-68px;border:1px solid #E4E5E8;transform:rotate(34deg)}
.th-service-card h2{font-size:1.35rem;margin:0 0 9px;color:#111}.th-service-card>p{color:#6A6D73;font-size:.92rem;line-height:1.65}
.th-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.th-service-grid>div{background:#F7F7F8;border:1px solid #E4E5E8;border-radius:17px;padding:16px}.th-service-grid strong{display:block;font-size:.95rem;margin-bottom:5px;color:#111}.th-service-grid span{display:block;color:#70747A;font-size:.76rem;line-height:1.45}

.th-featured{padding:88px 0;background:#fff}.th-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}.th-section-head h2{margin:7px 0 8px;font-size:clamp(1.8rem,3.6vw,2.7rem);letter-spacing:-.04em;color:#111}.th-section-head p{color:#6A6D73;max-width:680px}.th-text-link,.th-column-head a{color:#E30613;font-size:.85rem;font-weight:800}
.th-property-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.th-property-column{background:linear-gradient(180deg,#fff,#fcfcfd);border:1px solid #E4E5E8;border-radius:28px;padding:24px;box-shadow:0 16px 42px rgba(24,24,24,.055)}
.th-column-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.th-column-head h3{margin:0;display:flex;align-items:center;gap:11px;color:#111;font-size:1.28rem}.th-column-head h3:before{content:"";width:4px;height:27px;background:#E30613;border-radius:99px}
.th-stack{display:grid;gap:18px}.th-stack .oi-card{min-width:0!important;max-width:none!important;width:100%!important}.th-catalog-cta{display:flex;justify-content:center;margin-top:32px}

.th-contact{padding:92px 0;position:relative;overflow:hidden;background:linear-gradient(145deg,transparent 0 60%,rgba(20,20,20,.04) 60.12%,transparent 60.25%),#F8F8F9;border-top:1px solid #E4E5E8}
.th-contact:after{content:"";position:absolute;width:330px;height:330px;left:-180px;bottom:-210px;border:1px solid rgba(20,20,20,.055);transform:rotate(-35deg)}
.th-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;position:relative;z-index:2}.th-contact-info,.th-form-card{background:#fff;border:1px solid #E4E5E8;border-radius:28px;padding:30px;box-shadow:0 16px 42px rgba(24,24,24,.06)}
.th-contact-info h2,.th-form-card h2{margin:8px 0 10px;font-size:clamp(1.6rem,3vw,2.25rem);letter-spacing:-.035em;color:#111}.th-contact-info>p{color:#6A6D73}
.th-contact-list{display:grid;gap:12px;margin-top:24px}.th-contact-list a{padding:15px 17px;background:#F8F8F9;border:1px solid #E4E5E8;border-radius:17px}.th-contact-list strong{display:block;color:#151515;font-size:.86rem;margin-bottom:2px}.th-contact-list span{color:#6A6D73;font-size:.84rem}
.th-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.th-form-grid .oi-fg{margin:0!important}.th-full{grid-column:1/-1}.th-form-card .oi-fg input,.th-form-card .oi-fg select,.th-form-card .oi-fg textarea{border-radius:15px!important;min-height:50px;background:#fff!important}.th-form-card .oi-fg textarea{min-height:120px}
.th-footer{padding:28px 0!important}.th-footer-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.th-footer-row img{max-height:60px;width:auto}.th-footer-row>div{display:flex;gap:20px;flex-wrap:wrap}.th-footer-row a{font-size:.82rem;font-weight:700;color:#4f5359}

@media(max-width:1024px){.th-hero-grid,.th-contact-grid{grid-template-columns:1fr}.th-service-card{max-width:760px}}
@media(max-width:768px){.oi-navbar-inner{height:74px!important}.oi-navbar-logo img{max-height:54px!important}.oi-navbar-links.open{top:74px!important}.th-hero{padding:118px 0 64px}.th-property-columns,.th-form-grid{grid-template-columns:1fr}.th-service-grid{grid-template-columns:1fr}.th-section-head{align-items:flex-start;flex-direction:column}.th-property-column,.th-contact-info,.th-form-card{padding:20px}.th-actions .th-btn{width:100%}.th-full{grid-column:auto}.th-footer-row{align-items:flex-start;flex-direction:column}}


/* Responsive refinement fix — desktop full bleed + better mobile */
.traumhaus-home .th-hero,
.traumhaus-home .th-featured,
.traumhaus-home .th-contact,
.traumhaus-home .th-footer,
.traumhaus-catalog .oi-mkt-hero,
.traumhaus-catalog .th-footer{
  width:100vw;
  margin-left:calc(50% - 50vw);
}
.traumhaus-home .oi-container,
.traumhaus-catalog .oi-container,
.traumhaus-home .oi-navbar-inner,
.traumhaus-catalog .oi-navbar-inner{
  width:min(calc(100% - 56px), 1320px) !important;
  max-width:1320px !important;
  margin-inline:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.traumhaus-home .th-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(380px,430px) !important;
  align-items:start !important;
  gap:56px !important;
}
.traumhaus-home .th-hero-copy{
  padding-top:18px;
}
.traumhaus-home .th-service-card{
  width:100%;
  max-width:430px;
  justify-self:end;
}
.traumhaus-home .th-property-columns,
.traumhaus-home .th-contact-grid{
  gap:32px !important;
}
.traumhaus-home .th-stack .oi-card,
.traumhaus-catalog .oi-grid .oi-card{
  height:100%;
}
.traumhaus-home .th-stack .oi-card-body,
.traumhaus-catalog .oi-grid .oi-card-body{
  display:flex;
  flex-direction:column;
  height:calc(100% - 215px);
}
.traumhaus-home .th-stack .oi-card-foot,
.traumhaus-catalog .oi-grid .oi-card-foot{
  margin-top:auto;
}
@media (max-width: 1200px){
  .traumhaus-home .oi-container,
  .traumhaus-catalog .oi-container,
  .traumhaus-home .oi-navbar-inner,
  .traumhaus-catalog .oi-navbar-inner{
    width:min(calc(100% - 40px), 1320px) !important;
  }
  .traumhaus-home .th-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(320px,380px) !important;
    gap:34px !important;
  }
  .traumhaus-home .th-hero h1{
    font-size:clamp(2.4rem, 5.8vw, 4.4rem) !important;
  }
}
@media (max-width: 1024px){
  .traumhaus-home .th-hero-grid,
  .traumhaus-home .th-contact-grid{
    grid-template-columns:1fr !important;
  }
  .traumhaus-home .th-service-card{
    max-width:none;
    justify-self:stretch;
  }
  .traumhaus-home .th-hero-copy{
    padding-top:0;
  }
}
@media (max-width: 768px){
  .traumhaus-home .oi-container,
  .traumhaus-catalog .oi-container,
  .traumhaus-home .oi-navbar-inner,
  .traumhaus-catalog .oi-navbar-inner{
    width:min(calc(100% - 28px), 1320px) !important;
  }
  .traumhaus-home .th-hero,
  .traumhaus-home .th-featured,
  .traumhaus-home .th-contact,
  .traumhaus-home .th-footer,
  .traumhaus-catalog .oi-mkt-hero,
  .traumhaus-catalog .th-footer{
    width:100%;
    margin-left:0;
  }
  .traumhaus-home .th-hero{padding:112px 0 56px !important;}
  .traumhaus-home .th-hero h1{
    font-size:clamp(2.25rem, 15vw, 3.7rem) !important;
    line-height:.95 !important;
  }
  .traumhaus-home .th-hero-copy>p{
    font-size:1rem !important;
    line-height:1.6 !important;
  }
  .traumhaus-home .th-actions .th-btn,
  .traumhaus-home .oi-navbar-cta{
    width:100%;
  }
  .traumhaus-home .th-property-columns,
  .traumhaus-home .th-form-grid,
  .traumhaus-home .th-service-grid,
  .traumhaus-home .th-contact-grid{
    grid-template-columns:1fr !important;
  }
  .traumhaus-home .th-column-head,
  .traumhaus-home .th-section-head,
  .traumhaus-home .th-footer-row{
    flex-direction:column;
    align-items:flex-start;
  }
  .traumhaus-home .th-property-column,
  .traumhaus-home .th-contact-info,
  .traumhaus-home .th-form-card,
  .traumhaus-home .th-service-card{
    padding:22px !important;
  }
  .traumhaus-home .th-service-card h2,
  .traumhaus-home .th-contact-info h2,
  .traumhaus-home .th-form-card h2{
    font-size:1.6rem !important;
  }
  .traumhaus-home .th-service-grid > div{
    padding:14px !important;
  }
  .traumhaus-catalog .oi-filters{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .traumhaus-catalog .oi-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
}


/* Service card redesign v2 */
.th-service-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,249,250,.98)),
    radial-gradient(circle at top right, rgba(227,6,19,.08), transparent 28%);
  border:1px solid #E3E5E9;
  border-radius:34px;
  padding:34px;
  box-shadow:0 22px 54px rgba(20,20,20,.08);
  position:relative;
  overflow:hidden;
}
.th-service-card::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:6px;
  background:linear-gradient(90deg,#E30613 0%, rgba(227,6,19,.2) 45%, rgba(227,6,19,0) 100%);
}
.th-service-card::after{
  content:"";
  position:absolute;
  right:-48px;
  top:-48px;
  width:180px;
  height:180px;
  border:1px solid rgba(20,20,20,.06);
  transform:rotate(35deg);
  border-radius:22px;
}
.th-service-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:#FFF2F3;
  color:#B7000B;
  border:1px solid rgba(227,6,19,.12);
  font-size:.77rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.th-service-badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#E30613;
  box-shadow:0 0 0 5px rgba(227,6,19,.08);
}
.th-service-card h2{
  font-size:clamp(1.7rem, 2.8vw, 2.4rem) !important;
  line-height:1.05;
  margin:0 0 14px !important;
}
.th-service-card > p{
  font-size:.98rem !important;
  line-height:1.72 !important;
  max-width:560px;
  margin:0 0 24px !important;
}
.th-service-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  margin-top:0 !important;
}
.th-service-item{
  position:relative;
  min-height:192px;
  background:linear-gradient(180deg,#ffffff,#f8f8f9);
  border:1px solid #E4E5E8;
  border-radius:22px;
  padding:22px 18px 18px;
  box-shadow:0 10px 24px rgba(20,20,20,.04);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.th-service-item:hover{
  transform:translateY(-4px);
  border-color:rgba(227,6,19,.24);
  box-shadow:0 18px 34px rgba(20,20,20,.08);
}
.th-service-item::before{
  content:"";
  position:absolute;
  left:18px;
  top:0;
  width:48px;
  height:4px;
  border-radius:999px;
  background:#E30613;
}
.th-service-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  margin-bottom:18px;
  border-radius:14px;
  background:#FFF2F3;
  color:#E30613;
  font-weight:800;
  font-size:.92rem;
  letter-spacing:.04em;
}
.th-service-item strong{
  display:block;
  margin-bottom:10px;
  color:#111;
  font-size:1.05rem;
  line-height:1.2;
}
.th-service-item span:last-child{
  display:block;
  color:#6A6D73;
  font-size:.88rem;
  line-height:1.62;
}
@media(max-width:1024px){
  .th-service-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .th-service-item{
    min-height:unset;
  }
}
@media(max-width:768px){
  .th-service-card{
    padding:24px !important;
    border-radius:26px !important;
  }
  .th-service-card h2{
    font-size:1.55rem !important;
  }
  .th-service-card > p{
    font-size:.95rem !important;
    margin-bottom:18px !important;
  }
  .th-service-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .th-service-item{
    padding:18px 16px 16px !important;
  }
  .th-service-index{
    width:38px;
    height:38px;
    margin-bottom:14px;
  }
}

/* Service card layout fix v4 — stacked horizontal items for narrow hero column */
.th-service-card{
  padding:32px !important;
  border-radius:30px !important;
}
.th-service-card h2{
  font-size:clamp(1.75rem, 2.2vw, 2.15rem) !important;
  line-height:1.08 !important;
  max-width:100% !important;
}
.th-service-card > p{
  font-size:.95rem !important;
  line-height:1.65 !important;
  max-width:100% !important;
  margin-bottom:22px !important;
}
.th-service-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:12px !important;
}
.th-service-item{
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:54px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  column-gap:16px !important;
  row-gap:4px !important;
  align-items:start !important;
  padding:18px 18px !important;
  border-radius:18px !important;
  background:#fff !important;
}
.th-service-item::before{
  left:0 !important;
  top:18px !important;
  width:4px !important;
  height:44px !important;
  border-radius:0 999px 999px 0 !important;
}
.th-service-index{
  grid-column:1 !important;
  grid-row:1 / 3 !important;
  width:48px !important;
  height:48px !important;
  margin:0 !important;
  border-radius:15px !important;
  font-size:.9rem !important;
}
.th-service-item strong{
  grid-column:2 !important;
  grid-row:1 !important;
  margin:2px 0 2px !important;
  font-size:1.02rem !important;
  line-height:1.2 !important;
}
.th-service-item span:last-child{
  grid-column:2 !important;
  grid-row:2 !important;
  font-size:.84rem !important;
  line-height:1.5 !important;
  max-width:100% !important;
}
@media(max-width:1024px){
  .th-service-card{
    max-width:none !important;
  }
  .th-service-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .th-service-item{
    display:block !important;
    padding:20px !important;
  }
  .th-service-item::before{
    left:18px !important;
    top:0 !important;
    width:48px !important;
    height:4px !important;
    border-radius:999px !important;
  }
  .th-service-index{
    display:inline-flex !important;
    width:42px !important;
    height:42px !important;
    margin-bottom:16px !important;
  }
  .th-service-item strong{
    display:block !important;
    margin-bottom:8px !important;
  }
}
@media(max-width:768px){
  .th-service-grid{
    grid-template-columns:1fr !important;
  }
  .th-service-item{
    display:grid !important;
    grid-template-columns:50px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:14px !important;
    padding:16px !important;
  }
  .th-service-item::before{
    left:0 !important;
    top:16px !important;
    width:4px !important;
    height:40px !important;
    border-radius:0 999px 999px 0 !important;
  }
  .th-service-index{
    grid-column:1 !important;
    grid-row:1 / 3 !important;
    width:44px !important;
    height:44px !important;
    margin:0 !important;
  }
  .th-service-item strong{
    grid-column:2 !important;
    grid-row:1 !important;
    margin:1px 0 2px !important;
  }
  .th-service-item span:last-child{
    grid-column:2 !important;
    grid-row:2 !important;
  }
}


/* ==========================================================
   HERO SERVICE PANEL V5
   Designed for a narrow desktop sidebar, not 3 mini columns.
   ========================================================== */
.th-service-card{
  width:100% !important;
  max-width:440px !important;
  padding:32px !important;
  border-radius:30px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.99),rgba(250,250,251,.99)),
    radial-gradient(circle at top right,rgba(227,6,19,.06),transparent 35%) !important;
  border:1px solid #e3e5e9 !important;
  box-shadow:0 24px 60px rgba(20,20,20,.085) !important;
  overflow:hidden !important;
}
.th-service-card::before{
  width:112px !important;
  height:5px !important;
  left:32px !important;
  right:auto !important;
  top:0 !important;
  background:#E30613 !important;
  border:0 !important;
  border-radius:0 0 999px 999px !important;
  transform:none !important;
}
.th-service-card::after{
  right:-72px !important;
  top:-82px !important;
  width:190px !important;
  height:190px !important;
  border:1px solid rgba(25,25,25,.055) !important;
  border-radius:28px !important;
  transform:rotate(34deg) !important;
  background:transparent !important;
}
.th-service-badge{
  margin-bottom:16px !important;
  padding:7px 12px !important;
  font-size:.72rem !important;
  letter-spacing:.11em !important;
}
.th-service-card h2{
  max-width:330px !important;
  margin:0 0 12px !important;
  font-size:clamp(1.85rem,2.4vw,2.5rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
  color:#111 !important;
}
.th-service-card > p{
  max-width:355px !important;
  margin:0 0 24px !important;
  color:#676b72 !important;
  font-size:.92rem !important;
  line-height:1.58 !important;
}
.th-service-grid{
  display:none !important;
}
.th-service-list{
  display:grid !important;
  gap:10px !important;
  margin:0 0 18px !important;
}
.th-service-row{
  display:grid !important;
  grid-template-columns:48px minmax(0,1fr) !important;
  align-items:center !important;
  gap:14px !important;
  min-height:76px !important;
  padding:13px 15px !important;
  background:#fff !important;
  border:1px solid #e7e8eb !important;
  border-radius:18px !important;
  box-shadow:0 8px 22px rgba(20,20,20,.035) !important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease !important;
}
.th-service-row:hover{
  transform:translateX(3px) !important;
  border-color:rgba(227,6,19,.24) !important;
  box-shadow:0 12px 26px rgba(20,20,20,.065) !important;
}
.th-service-number{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:46px !important;
  height:46px !important;
  margin:0 !important;
  border-radius:14px !important;
  background:#fff1f2 !important;
  color:#D92A27 !important;
  font-size:.8rem !important;
  font-weight:900 !important;
  letter-spacing:.04em !important;
  position:relative !important;
}
.th-service-number::after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  bottom:-14px !important;
  width:1px !important;
  height:10px !important;
  background:#ececef !important;
}
.th-service-row:last-child .th-service-number::after{
  display:none !important;
}
.th-service-row-copy{
  min-width:0 !important;
}
.th-service-row-copy strong{
  display:block !important;
  margin:0 0 4px !important;
  color:#111 !important;
  font-size:.98rem !important;
  font-weight:800 !important;
  line-height:1.15 !important;
}
.th-service-row-copy span{
  display:block !important;
  color:#72767d !important;
  font-size:.81rem !important;
  line-height:1.42 !important;
}
.th-service-link{
  display:inline-flex !important;
  align-items:center !important;
  color:#D92A27 !important;
  font-size:.82rem !important;
  font-weight:800 !important;
  text-decoration:none !important;
  margin-top:2px !important;
}
.th-service-link:hover{
  color:#B7000B !important;
}

/* Remove every previous mini-card rule inside this panel */
.th-service-card .th-service-item{
  display:none !important;
}

@media(max-width:1024px){
  .th-service-card{
    max-width:720px !important;
    justify-self:start !important;
  }
  .th-service-card h2,
  .th-service-card > p{
    max-width:560px !important;
  }
  .th-service-list{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  .th-service-row{
    grid-template-columns:1fr !important;
    align-content:start !important;
    min-height:172px !important;
  }
  .th-service-number::after{
    display:none !important;
  }
}

@media(max-width:768px){
  .th-service-card{
    max-width:none !important;
    padding:23px !important;
    border-radius:25px !important;
  }
  .th-service-card::before{
    left:23px !important;
    width:86px !important;
  }
  .th-service-card h2{
    max-width:100% !important;
    font-size:1.72rem !important;
  }
  .th-service-card > p{
    max-width:100% !important;
    font-size:.92rem !important;
  }
  .th-service-list{
    grid-template-columns:1fr !important;
  }
  .th-service-row{
    grid-template-columns:46px minmax(0,1fr) !important;
    min-height:0 !important;
    padding:13px 14px !important;
  }
  .th-service-number{
    width:43px !important;
    height:43px !important;
  }
}

/* v6: badges removed from hero */
.th-eyebrow,
.th-service-badge{
  display:none !important;
}
