/* ==========================================================================
   Craig Rehab — Design System
   Brand: deep royal blue (#0048AA), electric blue accent, near-black, white
   ========================================================================== */

:root {
    --blue:        #0048AA;
    --blue-dark:   #00337A;
    --blue-bright: #2E7DF6;
    --blue-glow:   rgba(46, 125, 246, 0.35);
    --ink:         #0A121F;
    --ink-2:       #101B2D;
    --ink-soft:    #1b2942;
    --grey-900:    #131a26;
    --grey-600:    #56617a;
    --grey-400:    #8a94a8;
    --grey-200:    #e5e9f0;
    --grey-100:    #f3f6fb;
    --white:       #ffffff;

    --radius:      18px;
    --radius-sm:   12px;
    --shadow-sm:   0 4px 14px rgba(10, 18, 31, 0.08);
    --shadow-md:   0 18px 40px rgba(10, 18, 31, 0.12);
    --shadow-blue: 0 16px 34px rgba(0, 72, 170, 0.28);

    --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;

    --container: 1180px;
    --header-h: 92px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--grey-900);
    background: var(--white);
    line-height: 1.65;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff;
    padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(24px, 5vw, 44px); }
section { position: relative; }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    font-size: .78rem;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); display: inline-block; }
.eyebrow.light { color: #9dc0ff; }
.eyebrow.light::before { background: #9dc0ff; }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
.section-head p { color: var(--grey-600); margin-top: .9rem; font-size: 1.05rem; }

.lead { font-size: 1.15rem; color: var(--grey-600); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-body); font-weight: 600; font-size: .98rem;
    padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-icon { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--grey-200); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--grey-200);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand-logo { height: 64px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: .35rem; }
.nav-menu > li > a {
    display: block; padding: .55rem .95rem; border-radius: 10px;
    font-weight: 600; color: var(--ink); font-size: .98rem;
}
.nav-menu > li > a:hover { color: var(--blue); background: var(--grey-100); }
.nav-menu > li > a.active { color: var(--blue); }
.nav-cta { margin-left: .5rem; }
.nav-menu > li.nav-cta > a.btn-primary { display: inline-flex; color: #fff; background: var(--blue); }
.nav-menu > li.nav-cta > a.btn-primary:hover { color: #fff; background: var(--blue-dark); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(46,125,246,.35), transparent 60%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 45%, var(--blue-dark) 130%);
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(900px 500px at 75% 20%, #000, transparent 75%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3rem); align-items: center;
    padding-block: clamp(3.2rem, 7vw, 6rem);
}
.hero-copy { min-width: 0; }
.hero h1 {
    color: #fff; font-weight: 700;
    font-size: clamp(2.7rem, 6.2vw, 4.9rem);
    line-height: .96;
}
.hero h1 .hl { color: var(--blue-bright); }
.hero p { color: #c6d2e6; font-size: 1.18rem; max-width: 34rem; margin-top: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: #fff; line-height: 1; }
.hero-stats .lbl { color: #93a2bd; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .35rem; }

.hero-figure { position: relative; min-width: 0; }
.hero-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px; padding: clamp(1.2rem, 3vw, 1.6rem); backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-logo-wrap {
    background: #fff;
    border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); display: grid; place-items: center;
}
.hero-logo-wrap img { max-width: min(280px, 100%); width: 100%; height: auto; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.hero-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .82rem; font-weight: 600; color: #dbe6ff;
    background: rgba(46,125,246,.16); border: 1px solid rgba(46,125,246,.35);
    padding: .4rem .8rem; border-radius: 999px;
}
.hero-chip svg { width: 15px; height: 15px; color: var(--blue-bright); }

/* trust bar */
.trustbar { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.trustbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.8rem; padding: 1.1rem 0; }
.trustbar-item { display: flex; align-items: center; gap: .6rem; color: #b9c5db; font-weight: 500; font-size: .95rem; }
@media (max-width: 1080px) {
    .trustbar-inner { justify-content: flex-start; }
    .trustbar-item { flex: 1 1 42%; }
}
.trustbar-item svg { width: 20px; height: 20px; color: var(--blue-bright); flex: none; }

/* ---------- Service cards ---------- */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.svc-text p + p { margin-top: .85rem; }
.service-card {
    background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
    padding: 1.8rem 1.6rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-ic {
    width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(150deg, var(--blue), var(--blue-bright)); color: #fff; margin-bottom: 1.1rem;
    box-shadow: var(--shadow-blue);
}
.service-ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { color: var(--grey-600); font-size: .96rem; }
.service-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .92rem; }
.service-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Feature / why-us split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.feature-item { display: flex; gap: .9rem; align-items: flex-start; }
.feature-item .fi-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--grey-100); color: var(--blue); display: grid; place-items: center; }
.feature-item .fi-ic svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: .15rem; }
.feature-item p { color: var(--grey-600); font-size: .95rem; }

.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--ink), var(--blue-dark)); aspect-ratio: 4/3.4; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.media-frame::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px; mask-image: radial-gradient(closest-side, #000, transparent);
}
.media-frame img { position: relative; z-index: 1; max-width: min(220px, 62%); height: auto; background: #fff; border-radius: 16px; padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.2rem, 3vw, 2rem); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.media-badge {
    position: absolute; z-index: 2; bottom: 18px; left: 18px;
    background: #fff; border-radius: 14px; padding: .9rem 1.15rem; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: .7rem;
}
.media-badge .mb-num { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--blue); line-height: 1; }
.media-badge .mb-lbl { font-size: .8rem; color: var(--grey-600); line-height: 1.2; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--grey-100); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--blue); line-height: 1; }
.stat .lbl { color: var(--grey-600); font-weight: 500; margin-top: .3rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 2rem 1.6rem 1.7rem; position: relative; }
.step::before {
    counter-increment: step; content: "0" counter(step);
    font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--grey-200);
    position: absolute; top: 1rem; right: 1.2rem; line-height: 1;
}
.step h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--grey-600); font-size: .95rem; }
.step .step-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); margin-bottom: 1.2rem; box-shadow: 0 0 0 5px rgba(0,72,170,.15); }

/* ---------- Testimonials ---------- */
.testi-section { background: var(--ink); color: #fff; }
.testi-section h2, .testi-section h3 { color: #fff; }
.grid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.7rem; }
.testi-stars { display: flex; gap: 3px; color: #ffc247; margin-bottom: 1rem; }
.testi-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.testi-card blockquote { color: #dbe3f1; font-size: 1.02rem; line-height: 1.6; }
.testi-meta { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--blue), var(--blue-bright)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.1rem; }
.testi-meta .tm-name { font-weight: 700; }
.testi-meta .tm-role { color: #93a2bd; font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band {
    color: #fff;
    background: radial-gradient(800px 400px at 15% 0%, rgba(46,125,246,.4), transparent 60%), linear-gradient(120deg, var(--blue-dark), var(--blue));
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.6rem, 5vw, 3.8rem); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
.cta-band .eyebrow { color: #bcd4ff; }
.cta-band .eyebrow::before { background: #bcd4ff; }
.cta-band-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb9cd; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer-logo-wrap { display: inline-block; background: #fff; border-radius: 14px; padding: .55rem .85rem; margin-bottom: 1.1rem; }
.footer-logo { height: 72px; width: auto; }
.footer-brand p { max-width: 22rem; font-size: .95rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cdd6e6; transition: background .2s ease, color .2s ease, transform .2s ease; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-col h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 1.1rem; letter-spacing: .04em; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: #aeb9cd; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; }
.fc-icon { width: 18px; height: 18px; color: var(--blue-bright); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.3rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .85rem; color: #7f8ba3; }
.footer-bottom .credit a { color: #b9c5db; }
.footer-bottom .credit a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    color: #fff; text-align: center;
    background: radial-gradient(900px 500px at 50% -20%, rgba(46,125,246,.32), transparent 60%), linear-gradient(160deg, var(--ink), var(--blue-dark));
    padding: clamp(3.2rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem);
    position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
.page-hero p { color: #c6d2e6; max-width: 40rem; margin: 1rem auto 0; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: .5rem; justify-content: center; color: #93a2bd; font-size: .85rem; margin-top: 1.4rem; }
.breadcrumb a { color: #bcd0ee; }

/* ---------- Detailed service rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding: clamp(2.5rem,5vw,4rem) 0; border-bottom: 1px solid var(--grey-200); }
.svc-row:last-child { border-bottom: 0; }
.svc-row.rev .svc-visual { order: 2; }
.svc-visual { border-radius: var(--radius); background: linear-gradient(160deg, var(--ink), var(--blue-dark)); aspect-ratio: 5/4; display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.svc-visual .svc-glyph { width: 96px; height: 96px; color: #fff; opacity: .9; }
.svc-visual .svc-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.svc-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.svc-text p { color: var(--grey-600); margin-top: .8rem; }
.check-list { display: grid; gap: .7rem; margin-top: 1.4rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; }
.check-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,72,170,.1); color: var(--blue); display: grid; place-items: center; margin-top: 2px; }
.check-list .ck svg { width: 15px; height: 15px; stroke-width: 2.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); }
.contact-cards { display: grid; gap: 1rem; margin-top: 1.8rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.contact-card:hover { box-shadow: var(--shadow-sm); border-color: var(--blue); }
.contact-card .cc-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, var(--blue), var(--blue-bright)); color: #fff; display: grid; place-items: center; }
.contact-card .cc-ic svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 1.15rem; font-weight: 700; }
.contact-card a, .contact-card p { color: var(--grey-600); }
.contact-card a:hover { color: var(--blue); }

.hours-table { margin-top: 1.6rem; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); overflow: hidden; }
.hours-table div { display: flex; justify-content: space-between; padding: .8rem 1.2rem; }
.hours-table div:nth-child(odd) { background: var(--grey-100); }
.hours-table .day { font-weight: 600; color: var(--ink); }
.hours-table .time { color: var(--grey-600); }

.form-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--grey-200); border-radius: 10px;
    font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,72,170,.12); }
.form-note { font-size: .85rem; color: var(--grey-400); margin-top: .5rem; }
.recaptcha-notice { color: var(--grey-400); font-size: .75rem; line-height: 1.5; margin-top: .45rem; }
.recaptcha-notice a { color: var(--grey-600); text-decoration: underline; text-underline-offset: 2px; }
.recaptcha-notice a:hover { color: var(--blue); }
.recaptcha-client-error { color: #b3261e; font-size: .85rem; font-weight: 600; margin-top: .55rem; }
.btn:disabled { cursor: wait; opacity: .7; transform: none; }
.form-alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.3rem; font-weight: 500; font-size: .95rem; }
.form-alert.ok { background: #e7f6ec; color: #1c7a3f; border: 1px solid #b6e3c4; }
.form-alert.err { background: #fdeaea; color: #b3261e; border: 1px solid #f3c0bd; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.3rem; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform .25s ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; }
.faq-q .plus::before { top: 11px; left: 4px; right: 4px; height: 2.5px; }
.faq-q .plus::after { left: 11px; top: 4px; bottom: 4px; width: 2.5px; transition: transform .25s ease; }
.faq-item.open .plus::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.3rem 1.3rem; color: var(--grey-600); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-services { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .grid-testi { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
    .hero-figure { max-width: 480px; margin-inline: auto; width: 100%; }
    .split, .svc-row, .svc-row.rev, .contact-grid, .form-row { grid-template-columns: 1fr; }
    .svc-row.rev .svc-visual { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; inset: var(--header-h) 0 auto 0;
        background: #fff; flex-direction: column; align-items: stretch; gap: 0;
        padding: 1rem clamp(24px, 5vw, 44px) 1.4rem; border-bottom: 1px solid var(--grey-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-140%); transition: transform .3s ease; z-index: 90;
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-menu > li > a { padding: .9rem .4rem; border-radius: 0; border-bottom: 1px solid var(--grey-100); }
    .nav-cta { margin: .8rem 0 0; }
    .nav-cta .btn { width: 100%; justify-content: center; }
    .hero-inner { padding-block: clamp(2.4rem, 6vw, 3.2rem) clamp(2.8rem, 6vw, 3.5rem); }
    .hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
    .hero p { font-size: 1.05rem; }
    .hero-stats { gap: 1.6rem; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: .35rem; }
}
@media (max-width: 480px) {
    .grid-services { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn, .cta-band-actions .btn { width: 100%; justify-content: center; }
}
