/* =====================================================================
   NEXORA HEALTH — style.css
   Premium longevity clinic. Mobile-first, design-token driven.
   Sections: 1 Tokens · 2 Reset/base · 3 Typography · 4 Buttons
             5 Nav · 6 Hero · 7 Trust/Stats · 8 Services · 9 Process
             10 Editorial · 11 Data dashboard · 12 Testimonials
             13 FAQ · 14 CTA · 15 Footer · 16 Animations · 17 Responsive
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    --bg:        #F2F0EB;   /* background */
    --bg-2:      #E6E3DC;   /* secondary surface */
    --ink:       #191B1C;   /* primary text */
    --slate:     #3E4A4F;   /* slate accent */
    --bronze:    #A98C68;   /* bronze accent */
    --neutral:   #9C8B79;   /* neutral */
    --line:      rgba(25,27,28,.12);
    --ink-60:    rgba(25,27,28,.62);
    --ink-40:    rgba(25,27,28,.42);

    --font-head: "Fraunces", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;

    --maxw: 1480px;
    --gutter: clamp(22px, 5.5vw, 96px);
    --radius: 18px;
    --radius-lg: 28px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --dur: .9s;

    --shadow-sm: 0 2px 12px rgba(25,27,28,.05);
    --shadow:    0 24px 60px -28px rgba(25,27,28,.28);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--alt { background: var(--bg-2); }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. TYPOGRAPHY ---------- */
.display {
    font-family: var(--font-head);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.02em;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-optical-sizing: auto;
}
.display--sm { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.eyebrow {
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bronze);
    margin-bottom: 18px;
}
.eyebrow--light { color: var(--bronze); }

.section__head { max-width: 880px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro { font-size: 1.1rem; color: var(--ink-60); margin-top: 20px; max-width: 560px; }
.section__head--center .section__intro { margin-inline: auto; }

/* ---------- 4. BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 500; font-size: .98rem;
    letter-spacing: .01em;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
    will-change: transform;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--slate); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--ghost span { transition: transform .35s var(--ease); }
.btn--ghost:hover span { transform: translateX(4px); }

/* ---------- 5. NAVIGATION ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    padding-block: 18px;
    transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled {
    background: rgba(242,240,235,.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    padding-block: 12px;
    box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__mark { color: var(--ink); display: grid; place-items: center; }
.nav__word { font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; font-size: .98rem; display: flex; gap: .35em; }
.nav__sub { color: var(--bronze); font-weight: 500; }

.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: .92rem; color: var(--ink-60); position: relative; transition: color .3s; }
.nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px;
    background: var(--bronze); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 11px 22px; font-size: .9rem; }

.nav__toggle { display: none; width: 42px; height: 42px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
    min-height: 100svh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 96px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Crossfade slideshow */
.hero__slideshow { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.06);
    filter: grayscale(100%) contrast(1.03) brightness(1.02);
    transition: opacity 1.5s var(--ease);
}
.hero__slide.is-active { opacity: 1; animation: heroZoom 8s var(--ease) forwards; }

/* Warm duotone tint + left-to-right cream scrim so headline stays legible */
.hero__scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(98deg, var(--bg) 24%, rgba(242,240,235,.74) 46%, rgba(242,240,235,.20) 76%, rgba(25,27,28,.12) 100%),
        linear-gradient(0deg, rgba(169,140,104,.16), rgba(169,140,104,.16));
}
.hero__graphic {
    position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
    width: min(560px, 50vw); opacity: .38; mix-blend-mode: multiply;
    animation: floatY 9s ease-in-out infinite;
}

/* Slideshow indicator (vertical, bottom-right) */
.hero__dots { position: absolute; right: var(--gutter); bottom: 38px; z-index: 2; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.hero__dot { display: flex; align-items: center; gap: 11px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); transition: color .4s var(--ease); }
.hero__dot i { font-style: normal; opacity: 0; transform: translateX(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.hero__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-40); transition: background .4s var(--ease), border-color .4s var(--ease); flex-shrink: 0; }
.hero__dot.is-active { color: var(--ink); }
.hero__dot.is-active i { opacity: 1; transform: none; }
.hero__dot.is-active::after { background: var(--bronze); border-color: var(--bronze); }

.hero__inner { position: relative; z-index: 2; max-width: 1020px; }
.hero__eyebrow {
    font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
    color: var(--slate); font-weight: 600; margin-bottom: 26px;
}
.hero__title {
    font-family: var(--font-head); font-weight: 500;
    font-size: clamp(2.9rem, 8.5vw, 6.4rem);
    line-height: .98; letter-spacing: -.025em;
}
.hero__title span { display: block; }
.hero__accent { color: var(--bronze); font-style: italic; font-weight: 400; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-60); max-width: 580px; margin-top: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.55); border: 1px solid var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 10px 16px; border-radius: 100px; font-size: .82rem; color: var(--ink-60);
}
.chip b { color: var(--ink); font-weight: 600; }
.chip i { font-style: normal; font-size: .7rem; }
.chip .up { color: #4f7a52; }
.chip .down { color: var(--bronze); }

.hero__scroll {
    position: absolute; left: var(--gutter); bottom: 30px; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40);
}
.hero__scroll-line { width: 54px; height: 1px; background: var(--ink-40); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position:absolute; inset:0; width:40%; background: var(--bronze); animation: slide 2.2s var(--ease) infinite; }

/* ---------- 7. TRUST / STATS ---------- */
.trust__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.trust__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.trust__lead { font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.5; font-family: var(--font-head); font-weight: 400; color: var(--ink); }
.trust__points { display: grid; gap: 22px; }
.trust__points li { padding-left: 0; color: var(--ink-60); font-size: .98rem; border-top: 1px solid var(--line); padding-top: 18px; }
.trust__points span { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; font-family: var(--font-body); }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 4vw, 48px);
    margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--line);
}
.stat__num { font-family: var(--font-head); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; }
.stat__suffix { color: var(--bronze); font-size: .55em; margin-left: 2px; }
.stat__label { color: var(--ink-60); font-size: .9rem; margin-top: 12px; max-width: 200px; }

/* ---------- 8. SERVICES (portrait 1:2 image cards, 5 in a row) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
    position: relative; aspect-ratio: 1 / 2; border-radius: var(--radius-lg);
    overflow: hidden; background: var(--ink); display: block;
    transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.card__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) contrast(1.04) brightness(1.02);
    transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
/* Duotone + legibility gradient */
.card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(25,27,28,0) 30%, rgba(25,27,28,.45) 62%, rgba(25,27,28,.86) 100%),
        linear-gradient(0deg, rgba(169,140,104,.18), rgba(169,140,104,.18));
}
.card:hover, .card:focus-within { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover .card__img, .card:focus-within .card__img { transform: scale(1.06); filter: grayscale(62%) contrast(1.05); }

.card__tag { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: var(--font-head); font-size: 1.05rem; color: #fff; opacity: .9; }
.card__icon {
    position: absolute; top: 13px; right: 13px; z-index: 2;
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background .5s var(--ease), color .5s var(--ease);
}
.card:hover .card__icon { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }
.card__content { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 18px 22px; color: #fff; }
.card__title { font-family: var(--font-head); font-weight: 500; font-size: 1.18rem; line-height: 1.15; letter-spacing: -.01em; }
.card__desc {
    color: rgba(255,255,255,.84); font-size: .82rem; line-height: 1.45;
    max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
    transition: max-height .6s var(--ease), opacity .45s var(--ease), margin-top .6s var(--ease);
}
.card:hover .card__desc, .card:focus-within .card__desc { max-height: 220px; opacity: 1; margin-top: 10px; }

/* ---------- 9. PROCESS / TIMELINE ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 40px; }
.timeline__rail { position: absolute; top: 4px; left: 0%; right: 0%; height: 1.5px; background: var(--line); }
.timeline__progress { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bronze), var(--slate)); transition: width 1.4s var(--ease); }
.timeline__step { position: relative; }
.timeline__dot { position: absolute; top: -41px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--bronze); transition: transform .5s var(--ease), background .5s var(--ease); }
.section--alt .timeline__dot { background: var(--bg-2); }
.timeline__step:hover .timeline__dot { background: var(--bronze); transform: scale(1.25); }
.timeline__n { font-family: var(--font-head); font-size: 2.2rem; color: var(--bronze); font-weight: 500; display: block; margin-bottom: 8px; }
.timeline__title { font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; margin-bottom: 10px; }
.timeline__desc { color: var(--ink-60); font-size: .95rem; max-width: 260px; }

/* Tone-of-voice pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.pillar h4 { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; margin-bottom: 8px; }
.pillar h4::before { content: ""; display: inline-block; width: 22px; height: 1.5px; background: var(--bronze); vertical-align: middle; margin-right: 12px; }
.pillar p { color: var(--ink-60); font-size: .96rem; }

/* ---------- 10. EDITORIAL (Performance / Aesthetics) ---------- */
.editorial__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 104px); align-items: center; }
.editorial--reverse .editorial__media { order: 2; }
.editorial__media { position: relative; }
.editorial__img {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4 / 5; box-shadow: var(--shadow);
    display: flex; align-items: flex-end; padding: 26px; margin: 0;
}
/* Real photography — cohesive editorial duotone (grayscale + warm bronze tint) */
.editorial__img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) contrast(1.04) brightness(1.02);
    transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.editorial__img::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(25,27,28,0) 45%, rgba(25,27,28,.55) 100%),
        linear-gradient(0deg, rgba(169,140,104,.20), rgba(169,140,104,.20));
    mix-blend-mode: multiply;
}
.editorial__img:hover img { transform: scale(1.05); filter: grayscale(70%) contrast(1.05); }
.editorial__badge {
    position: relative; z-index: 2;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #fff; font-size: .78rem; letter-spacing: .08em; padding: 9px 16px; border-radius: 100px;
}
.editorial__text { color: var(--ink-60); font-size: 1.05rem; margin-block: 22px 28px; max-width: 480px; }
.ticklist { display: grid; gap: 14px; }
.ticklist li { position: relative; padding-left: 30px; color: var(--ink); font-size: .98rem; }
.ticklist li::before {
    content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
    border-radius: 50%; border: 1.5px solid var(--bronze);
    background: radial-gradient(circle at center, var(--bronze) 0 30%, transparent 32%);
}

/* ---------- 11. DATA DASHBOARD ---------- */
.data__layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.data__photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.data__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.data__photo::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(25,27,28,.15) 0%, rgba(62,74,79,.55) 100%);
    mix-blend-mode: multiply;
}
.data__photo figcaption {
    position: absolute; left: 24px; bottom: 22px; z-index: 2; max-width: 220px;
    color: var(--bg); font-size: .82rem; letter-spacing: .02em; line-height: 1.4;
}
.dashboard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow);
}
.dashboard__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dashboard__eyebrow { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-40); }
.dashboard__title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; }
.dashboard__score { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 500; line-height: 1; color: var(--slate); }
.dashboard__score i { font-style: normal; font-size: .35em; color: var(--ink-40); }

.dashboard__chart { margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.spark { width: 100%; height: clamp(120px, 22vw, 180px); }
.spark__line { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.spark__area { opacity: 0; transition: opacity 1.2s var(--ease) .4s; }
.is-inview .spark__line { animation: draw 1.8s var(--ease) forwards; }
.is-inview .spark__area { opacity: 1; }

.dashboard__metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.metric__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric__label { font-size: .8rem; color: var(--ink-60); }
.metric__trend { font-size: .72rem; font-weight: 600; }
.metric__trend.is-up { color: #4f7a52; }
.metric__trend.is-down { color: var(--bronze); }
.metric__value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; margin: 6px 0 12px; }
.metric__value small { font-size: .55em; color: var(--ink-40); font-family: var(--font-body); }
.metric__bar { height: 5px; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.metric__fill { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--bronze), var(--slate)); transition: width 1.3s var(--ease); }

/* ---------- 12. TESTIMONIALS ---------- */
.slider { max-width: 1040px; margin-inline: auto; }
.slider__track { position: relative; min-height: 300px; }
.glass {
    background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.6);
    backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: var(--shadow);
}
.slide {
    position: absolute; inset: 0; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px);
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.slide blockquote { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.35; letter-spacing: -.01em; }
.slide figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.slide__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bronze); font-family: var(--font-head); font-size: 1.2rem; }
.slide figcaption strong { display: block; font-size: .98rem; }
.slide figcaption small { color: var(--ink-60); font-size: .85rem; }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.1rem; transition: background .3s, color .3s, transform .3s; }
.slider__btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.slider__dots { display: flex; gap: 10px; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: transform .3s, background .3s; }
.slider__dot.is-active { background: var(--bronze); transform: scale(1.4); }

/* ---------- 13. FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq__note { color: var(--ink-60); margin-top: 18px; }
.accordion { display: grid; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 26px 0; font-size: 1.12rem; font-weight: 500; font-family: var(--font-head); transition: color .3s; }
.acc__q:hover { color: var(--bronze); }
.acc__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--bronze); border-radius: 2px; transition: transform .4s var(--ease), opacity .4s; }
.acc__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc__q[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.acc__a p { padding: 0 0 26px; color: var(--ink-60); max-width: 620px; font-size: 1rem; }

/* ---------- 14. CTA ---------- */
.cta { background: var(--ink); color: var(--bg); }
.cta .eyebrow { color: var(--bronze); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cta__title { color: var(--bg); }
.cta__sub { color: rgba(242,240,235,.7); font-size: 1.1rem; margin-top: 24px; max-width: 440px; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.cta__contact a { color: var(--bronze); border-bottom: 1px solid transparent; transition: border-color .3s; }
.cta__contact a:hover { border-color: var(--bronze); }

.cta__form { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 42px); background: rgba(242,240,235,.06); border: 1px solid rgba(242,240,235,.16); backdrop-filter: blur(8px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; letter-spacing: .04em; color: rgba(242,240,235,.7); margin-bottom: 8px; }
.field input, .field select {
    width: 100%; padding: 14px 16px; border-radius: 12px; font: inherit; font-size: .96rem;
    background: rgba(242,240,235,.06); border: 1px solid rgba(242,240,235,.2); color: var(--bg);
    transition: border-color .3s, background .3s;
}
.field input::placeholder { color: rgba(242,240,235,.4); }
.field input:focus, .field select:focus { outline: none; border-color: var(--bronze); background: rgba(242,240,235,.1); }
.field select option { color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta__form .btn--solid { background: var(--bronze); color: var(--ink); }
.cta__form .btn--solid:hover { background: var(--bg); }
.cta__form .btn--ghost { border-color: rgba(242,240,235,.3); color: var(--bg); }
.cta__form .btn--ghost:hover { border-color: var(--bg); }
.form__alert { padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; }
.form__alert--ok { background: rgba(79,122,82,.2); border: 1px solid rgba(79,122,82,.5); }
.form__alert--err { background: rgba(169,140,104,.2); border: 1px solid rgba(169,140,104,.5); }

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--bg-2); padding-top: clamp(60px, 8vw, 90px); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 56px; }
.footer__tag { color: var(--ink-60); margin-top: 18px; font-family: var(--font-head); font-size: 1.05rem; max-width: 260px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__nav h4, .footer__contact h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 16px; font-weight: 600; }
.footer__nav a { display: block; color: var(--ink-60); font-size: .94rem; padding: 5px 0; transition: color .3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__contact p { color: var(--ink-60); font-size: .94rem; margin-bottom: 8px; }
.footer__contact a:hover { color: var(--bronze); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-40); }

/* ---------- 16. ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-inview { opacity: 1; transform: none; }
.reveal--mask { overflow: hidden; transform: translateY(100%); }
.reveal--mask.is-inview { transform: none; }

@keyframes floatY { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 18px)); } }
@keyframes slide { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1.0); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(3, 1fr); }
    .card { aspect-ratio: 3 / 4; }
    /* Touch devices: hover is unreliable, so keep descriptions visible */
    .card__desc { max-height: 220px; opacity: 1; margin-top: 10px; }
    .dashboard__metrics { grid-template-columns: repeat(3, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; }
    .timeline__rail { display: none; }
    .timeline__dot { position: static; margin-bottom: 14px; }
}

@media (max-width: 820px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .nav.is-open .nav__links {
        display: flex; flex-direction: column; gap: 4px;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(242,240,235,.97); backdrop-filter: blur(14px);
        padding: 18px var(--gutter) 28px; box-shadow: var(--shadow);
    }
    .nav.is-open .nav__links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
    .nav.is-open .nav__cta { display: inline-flex; margin: 8px var(--gutter) 0; }

    .trust__grid, .editorial__inner, .faq__inner, .cta__inner, .data__layout { grid-template-columns: 1fr; }
    .editorial--reverse .editorial__media { order: 0; }
    .editorial__img { aspect-ratio: 16 / 11; }
    .data__photo { min-height: 260px; aspect-ratio: 16 / 9; }
    .pillars { grid-template-columns: 1fr; gap: 24px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hero__graphic { opacity: .28; right: -24%; width: min(440px, 70vw); }
    .hero__scrim { background:
        linear-gradient(120deg, var(--bg) 30%, rgba(242,240,235,.78) 58%, rgba(242,240,235,.34) 100%),
        linear-gradient(0deg, rgba(169,140,104,.14), rgba(169,140,104,.14)); }
    .hero__dot i { display: none; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: 1fr; }
    .dashboard__metrics { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__nav { grid-template-columns: repeat(3, 1fr); }
    .hero__chips { gap: 8px; }
    .chip { font-size: .76rem; padding: 8px 12px; }
    .btn { width: 100%; justify-content: center; }
    .hero__actions, .cta__actions { width: 100%; }
}
