/* Fonts are loaded via <link rel="preconnect"/"stylesheet"> in each page's <head> — not @import here (render-blocking). */

/* ============================================================
   DESIGN TOKENS — direction "Onde Moderne"
   ============================================================ */
:root{
  --ink:            #000000;
  --ink-soft:       #4A5A5E;
  --bg:             #F0F4F5;
  --bg-raised:      #FFFFFF;
  --bg-dark:        #000000;
  --bg-dark-raised: #101617;
  --line:           #D7E0E2;
  --line-dark:      #1C2426;

  --accent:         #1D8096;
  --accent-strong:  #145E70;
  --accent-soft:    #D9EDF1;
  --accent-on:      #000000;
  --on-accent:      #FFFFFF;
  --accent-glow:    #4FC9E0;

  --coral:          #1D8096;
  --coral-soft:     #E4EEEF;
  --coral-on:       #000000;

  --white:          #FFFFFF;
  --off-white:      #F7F9FA;

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  --fs-display: clamp(2.75rem, 6.4vw, 6.4rem);
  --fs-h1:      clamp(2.3rem, 4.4vw, 3.6rem);
  --fs-h2:      clamp(1.7rem, 2.8vw, 2.5rem);
  --fs-h3:      clamp(1.2rem, 1.7vw, 1.55rem);
  --fs-lead:    clamp(1.05rem, 1.35vw, 1.3rem);
  --fs-stat:    clamp(2.5rem, 4.6vw, 4rem);
  --fs-body:    1rem;
  --fs-small:   .875rem;
  --fs-eyebrow: .78rem;

  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.75rem;
  --sp-4: 2.75rem;
  --sp-5: 4.5rem;
  --sp-6: 7rem;

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.16,.84,.4,1);
  --container: 1240px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; text-wrap: balance; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-3); }
@media (max-width: 640px){ .container{ padding: 0 1.25rem; } }

.eyebrow{
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before{ content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.on-dark .eyebrow{ color: var(--accent-glow); }

.lead{ font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.6; max-width: 42rem; }
.on-dark .lead{ color: #A9C2B8; }

section{ position: relative; }
section[id]{ scroll-margin-top: 6.5rem; }
.section-pad{ padding: var(--sp-6) 0; }
@media (max-width: 900px){ .section-pad{ padding: var(--sp-5) 0; } }

.section-head{ max-width: 46rem; margin-bottom: var(--sp-4); }
.section-head h2{ margin-top: var(--sp-2); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: transform .35s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn-primary{ background: var(--ink); color: var(--off-white); }
.btn-primary:hover{ background: var(--accent-strong); }
.btn-accent{ background: var(--accent); color: var(--on-accent); }
.btn-accent:hover{ box-shadow: 0 10px 30px -10px rgba(15,169,113,.55); }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--ink); }
.on-dark .btn-outline{ color: var(--off-white); }
.btn-text{ padding: 0; border-radius: 0; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.btn svg{ width: 16px; height: 16px; flex: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0; transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled{
  padding: .7rem 0; background: rgba(241,244,241,.82); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand{ display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand .mark{ width: 34px; height: 34px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.brand .mark svg{ width: 18px; height: 18px; }
.brand-logo{ height: 68px; width: auto; display: block; }
@media (max-width: 560px){ .brand-logo{ height: 48px; } }
.footer-logo-white{ width: 240px; height: auto; filter: brightness(0) invert(1); }

.main-nav{ display: flex; align-items: center; gap: .3rem; background: var(--bg-raised); border: 1px solid var(--line); padding: .35rem; border-radius: var(--radius-pill); }
.main-nav a{
  padding: .55rem 1rem; border-radius: var(--radius-pill); font-size: .88rem; font-weight: 500;
  text-decoration: none; color: var(--ink-soft); transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.is-active{ background: var(--ink); color: var(--off-white); }

.header-actions{ display: flex; align-items: center; gap: .9rem; }
.lang-switch{ display: flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; }
.lang-switch a{ padding: .3rem .5rem; border-radius: 6px; text-decoration: none; color: var(--ink-soft); }
.lang-switch a.is-active{ color: var(--ink); background: var(--line); }
.nav-toggle{ display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-pill); width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle svg{ width: 20px; height: 20px; }

@media (max-width: 1200px){
  .main-nav{ position: fixed; inset: 5.2rem 1rem auto; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--bg-raised); padding: .6rem; border-radius: var(--radius-md);
    box-shadow: 0 20px 50px -20px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease); }
  .main-nav.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a{ text-align: center; padding: .8rem 1rem; }
  .nav-toggle{ display: inline-flex; }
  .header-actions .cta-header{ display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding: 9.5rem 0 var(--sp-5); overflow: hidden; }
.hero-shape{ position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: 0; }
.hero-shape.s1{ width: 620px; height: 620px; top: -220px; right: -180px; background: radial-gradient(closest-side, var(--accent-soft), transparent 72%); }
.hero-shape.s2{ width: 380px; height: 380px; bottom: -160px; left: -140px; background: radial-gradient(closest-side, var(--coral-soft), transparent 72%); }

.hero-top{ position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: var(--sp-3); flex-wrap: wrap; }
.hero-badge{ display: inline-flex; align-items: center; gap: .5rem; background: var(--bg-raised); border: 1px solid var(--line); padding: .45rem .9rem .45rem .45rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; }
.hero-badge .dot{ width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--on-accent); }
.hero-badge .dot svg{ width: 14px; height: 14px; }
.hero-locations{ font-size: .85rem; color: var(--ink-soft); text-align: right; }

.hero-headline{ position: relative; z-index: 1; font-size: var(--fs-display); font-weight: 600; margin: 0 0 var(--sp-3); }
.hero-headline .line{ display: block; overflow: hidden; }
.hero-headline .accent-word{ color: var(--accent); font-style: italic; font-weight: 500; }

.hero-bottom{ position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-4); align-items: end; }
.hero-actions{ display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: var(--sp-3); }
.hero-sla{ font-size: .82rem; color: var(--ink-soft); margin-top: var(--sp-2); }

.hero-stats{ display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem; }
.hero-stats .stat b{ display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); }
.hero-stats .stat span{ font-size: .76rem; color: var(--ink-soft); }

@media (max-width: 900px){
  .hero{ padding-top: 7.5rem; }
  .hero-bottom{ grid-template-columns: 1fr; }
}

/* ---- Hero test: image-led split layout (v2) ---- */
.hero-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-5); align-items: center; }
.hero-grid .hero-headline{ font-size: clamp(2.4rem, 4.2vw, 4.2rem); margin-bottom: var(--sp-3); }
.hero-copy .lead{ max-width: 34rem; }

.hero-media{ position: relative; }
.hero-media-shape{
  position: absolute; inset: -10% -14% -14% -10%; z-index: 0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  border-radius: 50%; filter: blur(2px);
}
.hero-media-frame{
  position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 15/16; box-shadow: 0 30px 60px -25px rgba(14,33,27,.35);
}
.hero-media-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media-badge{
  position: absolute; z-index: 2; left: -1.25rem; bottom: 1.75rem;
  background: var(--bg-raised); border-radius: var(--radius-md); padding: 1rem 1.4rem;
  box-shadow: 0 18px 40px -18px rgba(14,33,27,.4);
  display: flex; flex-direction: column; gap: .1rem; min-width: 9.5rem;
}
.hero-media-badge-num{ font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--accent-strong); line-height: 1; }
.hero-media-badge-label{ font-size: .74rem; color: var(--ink-soft); line-height: 1.3; }

.hero-stats-strip{
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem;
  margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--line);
}
.hero-stats-strip .hstat b{ display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.hero-stats-strip .hstat span{ font-size: .78rem; color: var(--ink-soft); }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero-media{ order: -1; max-width: 22rem; margin: 0 auto; }
  .hero-media-badge{ left: 1rem; bottom: -1.25rem; }
  .hero-stats-strip{ grid-template-columns: repeat(2,1fr); margin-top: var(--sp-4); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap{ border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.4rem 0; overflow: hidden; background: var(--off-white); }
.marquee{ display: flex; width: max-content; gap: 3.5rem; animation: marquee 26s linear infinite; }
.marquee span{ font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; display: flex; align-items: center; gap: 3.5rem; }
.marquee span em{ color: var(--accent); font-style: normal; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ============================================================
   INTRO / PARTNER SPLIT
   ============================================================ */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: center; }
.split.reverse{ direction: rtl; } .split.reverse > *{ direction: ltr; }
@media (max-width: 900px){ .split, .split.reverse{ grid-template-columns: 1fr; direction: ltr; } }

.media-frame{ position: relative; border-radius: var(--radius-lg); overflow: hidden; }
/* To replace with the real photo: swap this div for <img src="..." alt="[value of the role=img aria-label]" width height loading="lazy">, matching the --ar aspect ratio shown here. */
.img-placeholder{
  width: 100%; aspect-ratio: var(--ar, 4/3); max-height: 480px; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--line) 0 2px, transparent 2px 12px), var(--off-white);
  border: 1px dashed #A6B7AD;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  color: var(--ink-soft); text-align: center; padding: 1rem;
}
@media (max-width: 560px){ .img-placeholder{ max-height: 320px; } }
.img-placeholder svg{ width: 30px; height: 30px; opacity: .55; }
.img-placeholder b{ font-size: .8rem; font-weight: 600; color: var(--ink); }
.img-placeholder span{ font-size: .72rem; }

/* As soon as a real <img> is dropped inside a placeholder, drop the hatch/border/icon and let the photo fill the box — no HTML edits needed to "activate" a photo. */
.img-placeholder:has(img){ background: none; border: none; padding: 0; }
.img-placeholder:has(img) > svg,
.img-placeholder:has(img) > b,
.img-placeholder:has(img) > span{ display: none; }
.img-placeholder img{ width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

.stat-pills{ display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--sp-3); }
.stat-pill{ background: var(--accent-soft); color: var(--accent-on); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.stat-pill b{ font-family: var(--font-display); font-size: 1rem; }

.check-list li{ display: flex; gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.check-list li:first-child{ border-top: none; }
.check-list svg{ width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--accent); }
.check-list-grid{ display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; margin-bottom: var(--sp-5); }
.check-list-grid li:nth-child(2){ border-top: none; }
@media (max-width: 700px){ .check-list-grid{ grid-template-columns: 1fr; } .check-list-grid li:nth-child(2){ border-top: 1px solid var(--line); } }

/* ============================================================
   TIMELINE (repair turnaround)
   ============================================================ */
.timeline-title{ font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin-bottom: 1rem; }
.timeline-banner{
  display: inline-flex; align-items: center; gap: .6rem; background: var(--accent-soft); color: var(--accent-on);
  padding: .6rem 1.2rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 600; margin-bottom: var(--sp-4);
}
.timeline-banner svg{ width: 16px; height: 16px; flex: none; }

.timeline-track{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; }
.timeline-step{ position: relative; padding-top: 3.2rem; }
.timeline-step::after{
  content: ""; position: absolute; top: 16px; left: 34px; right: -1.75rem; height: 2px; background: var(--line); z-index: 1;
}
.timeline-step:last-child::after{ display: none; }
.timeline-dot{
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--off-white); font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center; z-index: 2;
}
.timeline-label{ display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--ink-soft); margin-bottom: .5rem; }
.timeline-duration{ display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--accent-strong); margin-bottom: .6rem; }
.timeline-desc{ font-size: .85rem; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 900px){
  .timeline-track{ grid-template-columns: 1fr; gap: 2rem; }
  .timeline-step{ padding-top: 0; padding-left: 3.4rem; min-height: 34px; }
  .timeline-step::after{ top: 40px; left: 16px; right: auto; width: 2px; height: calc(100% + 2rem - 34px); background: var(--line); }
  .timeline-dot{ top: 0; left: 0; }
}

/* ============================================================
   TABS (MIDES specialist categories)
   ============================================================ */
.tabs-block{ margin-bottom: var(--sp-4); }
.tabs-nav{ display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: var(--sp-3); }
.tab-btn{
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  flex: 1 1 130px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.2rem 1rem; font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.tab-btn:hover{ border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.tab-btn.is-active{ background: var(--ink); border-color: var(--ink); color: var(--off-white); }
.tab-icon{
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); transition: background .25s var(--ease), color .25s var(--ease);
}
.tab-icon svg{ width: 20px; height: 20px; }
.tab-btn.is-active .tab-icon{ background: rgba(255,255,255,.14); color: var(--accent-glow); }

.tabs-content{ align-items: center; }
.tab-image{ display: none; }
.tab-image.is-active{ display: flex; animation: tabFadeIn .4s var(--ease); }
@media (prefers-reduced-motion: reduce){ .tab-image.is-active{ animation: none; } }
.tab-panels{ position: relative; }
.tab-panel{ display: none; }
.tab-panel.is-active{ display: block; animation: tabFadeIn .4s var(--ease); }
.tab-panel h3{ margin-bottom: .8rem; }
.tab-panel p{ color: var(--ink-soft); font-size: .98rem; line-height: 1.65; }
@keyframes tabFadeIn{ from{ opacity: 0; transform: translateY(10px); } to{ opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce){ .tab-panel.is-active{ animation: none; } }

/* ============================================================
   VIDEO EMBED (click-to-load facade)
   ============================================================ */
.video-embed{
  position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
}
.video-embed iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade{
  position: absolute; inset: 0; width: 100%; height: 100%; border: none; padding: 0;
  background-size: cover; background-position: center; cursor: pointer; display: grid; place-items: center;
}
.video-facade::before{ content: ""; position: absolute; inset: 0; background: rgba(6,15,12,.35); transition: background .25s var(--ease); }
.video-facade:hover::before{ background: rgba(6,15,12,.15); }
.video-play{
  position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center;
  box-shadow: 0 10px 34px -8px rgba(0,0,0,.6); transition: transform .3s var(--ease);
}
.video-play svg{ width: 30px; height: 30px; margin-left: 4px; }
.video-facade:hover .video-play{ transform: scale(1.08); }
@media (max-width: 560px){ .video-play{ width: 60px; height: 60px; } .video-play svg{ width: 22px; height: 22px; } }

/* ============================================================
   CAPABILITY CARDS
   ============================================================ */
.cards-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px){ .cards-grid{ grid-template-columns: 1fr; } }
.cap-card{ background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 2rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cap-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(14,33,27,.3); }
.cap-card .num{ font-family: var(--font-display); font-size: 2.2rem; color: var(--line); font-weight: 700; margin-bottom: 1rem; }
.cap-card h3{ margin-bottom: .7rem; }
.cap-card p{ color: var(--ink-soft); font-size: .95rem; }

/* ============================================================
   DARK SECTION (green deal / trust)
   ============================================================ */
.on-dark{ background: var(--bg-dark); color: var(--off-white); }
.on-dark .section-head p{ color: #A9C2B8; }
.dark-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px){ .dark-grid{ grid-template-columns: 1fr; } }
.dark-card{ background: var(--bg-dark-raised); border: 1px solid var(--line-dark); border-radius: var(--radius-md); padding: 1.8rem; }
.dark-card b{ display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--accent-glow); margin-bottom: .4rem; }
.dark-card span{ font-size: .85rem; color: #A9C2B8; }

.rethink-tags{ display: flex; gap: .8rem; flex-wrap: wrap; margin-top: var(--sp-3); }
.rethink-tag{ border: 1px solid var(--line-dark); border-radius: var(--radius-pill); padding: .6rem 1.1rem; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.rethink-tag .n{ color: var(--accent-glow); font-family: var(--font-display); }

/* ============================================================
   STATS BAND (big numbers)
   ============================================================ */
.stats-band{ display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 720px){ .stats-band{ grid-template-columns: repeat(2,1fr); } }
.stats-band .stat b{ display: block; font-family: var(--font-display); font-size: var(--fs-stat); color: var(--ink); }
.stats-band .stat span{ font-size: .82rem; color: var(--ink-soft); }
.on-dark .stats-band .stat b{ color: var(--off-white); }

/* ============================================================
   QUOTE CTA BANNER
   ============================================================ */
.cta-banner{ background: var(--accent); color: var(--on-accent); border-radius: var(--radius-lg); padding: var(--sp-5) var(--sp-4); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-banner::after{ content:""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.16); right: -110px; top: -110px; }
.cta-banner h2{ position: relative; z-index: 1; max-width: 30rem; }
.cta-banner .btn-primary{ position: relative; z-index: 1; background: var(--accent-on); color: var(--accent-soft); }
.cta-banner .btn-primary:hover{ background: var(--ink); }

/* ============================================================
   PERSON / TESTIMONIAL
   ============================================================ */
.person-card{ display: flex; align-items: center; gap: 1rem; }
.avatar-placeholder{ width: 62px; height: 62px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-on); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.person-card b{ display: block; font-size: .95rem; }
.person-card span{ font-size: .82rem; color: var(--ink-soft); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list{ border-top: 1px solid var(--line); }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{ width: 100%; background: none; border: none; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.faq-q .plus{ width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); flex: none; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; position: relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position: absolute; background: var(--ink); transition: transform .3s var(--ease); }
.faq-q .plus::before{ width: 12px; height: 2px; }
.faq-q .plus::after{ width: 2px; height: 12px; }
.faq-item.is-open .faq-q .plus{ background: var(--ink); }
.faq-item.is-open .faq-q .plus::before, .faq-item.is-open .faq-q .plus::after{ background: var(--off-white); }
.faq-item.is-open .faq-q .plus::after{ transform: scaleY(0); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p{ padding: 0 0 1.5rem; max-width: 42rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.65; }

/* ============================================================
   GALLERY / FILTER
   ============================================================ */
.filter-bar{ display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: var(--sp-3); }
.filter-btn{ background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .55rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.filter-btn.is-active{ background: var(--ink); color: var(--off-white); border-color: var(--ink); }
.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }
.gallery-item{ transition: opacity .3s, transform .3s; }
.gallery-item.is-hidden{ display: none; }
.gallery-cap{ font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }

/* Before / after comparison slider */
.ba-frame{
  position: relative; aspect-ratio: var(--ar, 370/235); border-radius: var(--radius-lg); overflow: hidden;
  cursor: ew-resize; -webkit-user-select: none; user-select: none;
}
.ba-frame .ba-img{ position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; border: none; margin: 0; justify-content: flex-start; padding-top: 1.4rem; }
.ba-frame .ba-after{ z-index: 1; }
.ba-frame .ba-before{ z-index: 2; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-divider{
  position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); transform: translateX(-1px); pointer-events: none;
}
.ba-handle{
  position: absolute; z-index: 4; top: 50%; left: var(--pos, 50%); transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.28);
  display: grid; place-items: center; color: var(--ink); pointer-events: none;
}
.ba-handle svg{ width: 18px; height: 18px; }
.ba-label{
  position: absolute; z-index: 3; bottom: 10px; background: rgba(14,33,27,.72); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .02em; padding: .3rem .7rem; border-radius: var(--radius-pill);
  pointer-events: none;
}
.ba-label-before{ left: 10px; }
.ba-label-after{ right: 10px; }
.ba-range{
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; opacity: 0;
}
.ba-range::-webkit-slider-thumb{ -webkit-appearance: none; width: 40px; height: 100%; background: transparent; }
.ba-range::-moz-range-thumb{ width: 40px; height: 100%; background: transparent; border: none; }
.ba-range::-moz-range-track{ background: transparent; }

/* ============================================================
   ARTICLE / BLOG POST
   ============================================================ */
.article-meta{ display: flex; align-items: center; gap: .8rem; justify-content: center; font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; }
.article-meta .dot-sep{ width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.article-featured{ max-width: 900px; margin: 0 auto var(--sp-5); }
.article-featured img{ width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }

.article-body{ max-width: 720px; margin: 0 auto; }
.article-body p{ color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.4rem; }
.article-body h2{ font-size: var(--fs-h3); margin: var(--sp-4) 0 1rem; color: var(--ink); }
.article-body h3{ font-size: 1.15rem; margin: var(--sp-3) 0 .8rem; color: var(--ink); }
.article-body ul{ margin: 0 0 1.4rem; padding-left: 1.3rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.article-body ul li{ margin-bottom: .5rem; list-style: disc; }
.article-body strong{ color: var(--ink); }
.article-body a:not(.btn){ color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.article-body figure{ margin: var(--sp-4) 0; }
.article-body figure img{ width: 100%; border-radius: var(--radius-md); display: block; }
.article-body figcaption{ font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: .6rem; }
.article-body .lead-p{ font-size: 1.2rem; color: var(--ink); line-height: 1.6; }

.testimonial{ background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem 1.8rem; margin: 1.6rem 0; }
.testimonial p{ font-style: italic; color: var(--ink); font-size: 1rem; margin-bottom: .9rem; }
.testimonial b{ display: block; font-size: .88rem; color: var(--ink); }
.testimonial span{ font-size: .8rem; color: var(--ink-soft); }

.article-faq{ margin-top: var(--sp-4); }
.article-cta{ margin-top: var(--sp-5); }

@media (max-width: 560px){
  .article-body p, .article-body ul{ font-size: 1rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background: var(--bg-dark); color: #A9C2B8; padding: var(--sp-5) 0 var(--sp-3); }
.footer-top{ display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand p{ margin-top: 1rem; max-width: 22rem; font-size: .9rem; }
.footer-col h4{ font-family: var(--font-body); font-weight: 600; color: var(--off-white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-col li{ padding: .35rem 0; }
.footer-col a{ text-decoration: none; color: #A9C2B8; font-size: .9rem; transition: color .2s; }
.footer-col a:hover{ color: var(--off-white); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-3); font-size: .8rem; flex-wrap: wrap; gap: 1rem; }
.social-row{ display: flex; gap: .7rem; }
.social-row a{ width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; text-decoration: none; }
.social-row svg{ width: 16px; height: 16px; }

/* ============================================================
   REVEAL / PARALLAX ANIMATION
   ============================================================ */
[data-reveal]{ opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > *{ opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal-stagger].is-visible > *{ opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1){ transition-delay: .05s; }
[data-reveal-stagger].is-visible > *:nth-child(2){ transition-delay: .15s; }
[data-reveal-stagger].is-visible > *:nth-child(3){ transition-delay: .25s; }
[data-reveal-stagger].is-visible > *:nth-child(4){ transition-delay: .35s; }
[data-parallax]{ will-change: transform; }

@media (prefers-reduced-motion: reduce){
  [data-reveal], [data-reveal-stagger] > *{ opacity: 1 !important; transform: none !important; }
  .marquee{ animation: none; }
}
