/* ==========================================================================
   ANALÍA Clínica de Rehabilitación — Design System v2
   Paleta tomada del logotipo: azul marino · azul petróleo · teal · verde hoja · crema
   ========================================================================== */

:root {
    --navy-900: #0a2240;
    --navy: #11365f;
    --blue: #2a6f9e;
    --teal: #2a9aa5;
    --teal-600: #1f7f8a;
    --green: #6cbf8b;
    --green-soft: #e8f5ee;
    --teal-soft: #e6f4f5;
    --cream: #faf7ef;
    --cream-2: #f3eee1;
    --ink: #13233a;
    --muted: #5a6a7c;
    --line: #e7e2d4;
    --white: #ffffff;
    --wa: #25d366;
    --wa-dark: #1aa851;
    --danger: #d9534f;

    --grad-brand: linear-gradient(135deg, #11365f 0%, #2a6f9e 45%, #2a9aa5 75%, #6cbf8b 100%);
    --grad-icon: linear-gradient(145deg, #1a4d7a 0%, #2a9aa5 65%, #6cbf8b 100%);
    --grad-text: linear-gradient(100deg, #1f7f8a 0%, #2a9aa5 45%, #4fae8c 100%);

    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 999px;

    --sh-sm: 0 2px 8px rgba(17, 54, 95, .06);
    --sh-md: 0 10px 30px rgba(17, 54, 95, .10);
    --sh-lg: 0 24px 60px rgba(17, 54, 95, .16);
    --sh-glow: 0 12px 34px rgba(42, 154, 165, .35);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); letter-spacing: -.015em; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.text-grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 8px;
    border-radius: var(--r-full);
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .8rem; font-weight: 700; color: var(--teal-600);
    letter-spacing: .02em;
    box-shadow: var(--sh-sm);
}
.eyebrow .dot {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad-icon); color: #fff;
}
.eyebrow.on-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #bfe9ea; box-shadow: none; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--navy); --fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px;
    border-radius: var(--r-full); border: 0;
    background: var(--bg); color: var(--fg);
    font-weight: 700; font-size: .98rem; line-height: 1.2;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--navy); box-shadow: 0 10px 24px rgba(17,54,95,.28); }
.btn-primary:hover { --bg: var(--navy-900); box-shadow: 0 14px 30px rgba(17,54,95,.36); }
.btn-grad { background: var(--grad-brand); box-shadow: var(--sh-glow); }
.btn-grad:hover { box-shadow: 0 16px 40px rgba(42,154,165,.45); }
.btn-wa { --bg: var(--wa); box-shadow: 0 10px 24px rgba(37,211,102,.32); }
.btn-wa:hover { --bg: var(--wa-dark); }
.btn-ghost { --bg: transparent; --fg: var(--navy); border: 1.5px solid rgba(17,54,95,.18); }
.btn-ghost:hover { --bg: #fff; border-color: var(--navy); }
.btn-light { --bg: #fff; --fg: var(--navy); }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* ==========================================================================
   TOP BAR + HEADER
   ========================================================================== */
.topbar {
    background: var(--navy-900);
    color: #cfe0ee;
    font-size: .84rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-msg { display: flex; align-items: center; gap: 8px; }
.topbar-msg .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: pulse 2s infinite; }
.topbar a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 22px; }

.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(250, 247, 239, .82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17,54,95,.08); border-color: var(--line); background: rgba(255,255,255,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 60px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 50px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    display: block; padding: 10px 14px; border-radius: var(--r-full);
    font-weight: 600; font-size: .93rem; color: var(--navy);
    transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: rgba(42,154,165,.1); color: var(--teal-600); }
.nav-links a.is-active { color: var(--teal-600); background: rgba(42,154,165,.1); }
.nav-links a.nav-highlight { color: #0b6b75; background: rgba(42,154,165,.14); font-weight: 700; }
.nav-links a.nav-highlight:hover { background: rgba(42,154,165,.22); }
.topbar-wa-link { color: #25d366 !important; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.topbar-wa-link:hover { color: #78f7a6 !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); width: 46px; height: 46px; border-radius: 12px; place-items: center; color: var(--navy); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0 clamp(120px, 12vw, 160px);
    isolation: isolate;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.hero::before { width: 560px; height: 560px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(42,154,165,.45), transparent 70%); }
.hero::after { width: 480px; height: 480px; left: -180px; bottom: -120px; background: radial-gradient(circle, rgba(108,191,139,.35), transparent 70%); }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    text-transform: uppercase;
    margin: 22px 0 22px;
    letter-spacing: -.02em;
}
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-lead strong { color: var(--navy); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.trust-item .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--teal); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.trust-sep { width: 1px; height: 28px; background: var(--line); }

.hero-visual { position: relative; }
.hero-photo {
    position: relative;
    border-radius: 200px 200px var(--r-xl) var(--r-xl);
    overflow: hidden;
    aspect-ratio: 1 / .95;
    box-shadow: var(--sh-lg);
    border: 8px solid #fff;
    background: var(--cream-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,34,64,.35)); }

.hero-ring {
    position: absolute; inset: -26px -26px auto auto; width: 140px; height: 140px; z-index: -1;
    border-radius: 50%; border: 2px dashed rgba(42,154,165,.45);
    animation: spin 40s linear infinite;
}

.float-card {
    position: absolute;
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    padding: 14px 18px;
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
    border: 1px solid rgba(255,255,255,.7);
    animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--navy); line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .8rem; }
.float-card.fc-1 { top: 16%; left: -48px; }
.float-card.fc-1 .ic { background: var(--wa); }
.float-card.fc-2 { bottom: 12%; right: -36px; animation-delay: -3s; }
.float-card.fc-2 .ic { background: var(--grad-icon); }
.float-card.fc-3 { bottom: -22px; left: 12%; animation-delay: -1.5s; padding: 10px 16px; }
.float-card.fc-3 .stars { display: flex; gap: 2px; color: #f5b301; }

/* ---------- Stats band ---------- */
.stats-wrap { margin-top: calc(clamp(120px, 12vw, 160px) * -1 + 40px); position: relative; z-index: 2; }
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--grad-brand);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% -20%, rgba(255,255,255,.25), transparent 45%); pointer-events: none; }
.stat { padding: 30px 28px; display: flex; align-items: center; gap: 16px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255,255,255,.22); }
.stat .ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.stat span { font-size: .88rem; color: rgba(255,255,255,.85); }

/* ==========================================================================
   WIZARD (lead capture)
   ========================================================================== */
.wizard-section { padding-top: clamp(72px, 9vw, 110px); }
.wizard-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wizard-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin: 16px 0 16px; }
.wizard-intro > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }

.promise-list { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.promise-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm); }
.promise-list .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; }
.promise-list strong { display: block; color: var(--navy); font-size: .98rem; }
.promise-list span { color: var(--muted); font-size: .9rem; }

.direct-contact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--navy); color: #fff; }
.direct-contact .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex-shrink: 0; }
.direct-contact small { color: #b9cde0; display: block; font-size: .82rem; }
.direct-contact a { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }

.wizard {
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    position: sticky; top: 110px;
}
.wizard-top { padding: 26px 32px 0; }
.wizard-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wizard-top h3 { font-size: 1.15rem; font-weight: 800; }
.wizard-count { font-size: .82rem; font-weight: 700; color: var(--teal-600); background: var(--teal-soft); padding: 5px 12px; border-radius: var(--r-full); white-space: nowrap; }

.progress { height: 8px; border-radius: var(--r-full); background: #eef1f4; overflow: hidden; }
.progress-bar { height: 100%; width: 25%; border-radius: inherit; background: var(--grad-brand); transition: width .5s var(--ease); }

.steps-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin-top: 12px; }
.steps-labels li { font-size: .74rem; font-weight: 700; color: #9aa7b4; text-align: center; transition: color .3s; }
.steps-labels li.is-done, .steps-labels li[aria-current="step"] { color: var(--navy); }

.wizard form { padding: 22px 32px 30px; }
.step { border: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .45s var(--ease); }
.step legend { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 800; color: var(--navy); margin-bottom: 6px; padding: 0; }
.step-hint { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice-card {
    height: 100%;
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: #fcfbf8;
    transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.choice-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-600); display: grid; place-items: center; transition: background .2s, color .2s; }
.choice-card strong { font-size: .95rem; color: var(--navy); line-height: 1.25; }
.choice-card small { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.choice-card .tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cfd6dd; display: grid; place-items: center; color: transparent; background: #fff; transition: all .2s; }
.choice input:hover + .choice-card { border-color: rgba(42,154,165,.55); transform: translateY(-2px); }
.choice input:focus-visible + .choice-card { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice input:checked + .choice-card { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 8px 20px rgba(42,154,165,.18); }
.choice input:checked + .choice-card .ic { background: var(--grad-icon); color: #fff; }
.choice input:checked + .choice-card .tick { background: var(--teal); border-color: var(--teal); color: #fff; }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--r-full); border: 1.5px solid var(--line); background: #fcfbf8; font-weight: 600; font-size: .9rem; color: var(--navy); transition: all .2s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.chip.urgent input:checked + span { background: #c0392b; border-color: #c0392b; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .86rem; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--teal-600); }
.input {
    width: 100%; min-height: 52px;
    padding: 13px 16px;
    font-size: 1rem;
    border: 1.5px solid #d9dee4;
    border-radius: var(--r-sm);
    background: #fcfbf8;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #9aa6b2; }
.input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(42,154,165,.15); }
.input:user-invalid { border-color: var(--danger); background: #fff8f7; }
textarea.input { min-height: 96px; resize: vertical; }
select.input {
    appearance: none; padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311365f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.hint { font-size: .8rem; color: var(--muted); }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8a98a6; pointer-events: none; }
.input-icon .input { padding-left: 46px; }

.step-error { display: none; margin-top: 14px; padding: 10px 14px; border-radius: var(--r-sm); background: #fff1f0; color: #a3322d; font-size: .88rem; font-weight: 600; align-items: center; gap: 8px; }
.step-error.is-visible { display: flex; }

.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wizard-nav .btn-back { visibility: hidden; }
.wizard-nav .btn-back.is-visible { visibility: visible; }

.summary-box { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--cream); border: 1px dashed #d8d0bb; font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.summary-box b { color: var(--navy); }

.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--muted); text-align: center; }
.secure-note svg { color: var(--teal); flex-shrink: 0; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how { background: #fff; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; position: relative; counter-reset: how; }
.how-steps::before { content: ''; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: .4; }
.how-step { text-align: center; position: relative; padding: 0 8px; }
.how-num {
    width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
    display: grid; place-items: center; position: relative;
    background: #fff; color: var(--teal-600);
    border: 2px solid var(--teal-soft);
    box-shadow: var(--sh-md);
}
.how-num::after {
    counter-increment: how; content: counter(how);
    position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
    background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem;
    display: grid; place-items: center; border: 3px solid #fff;
}
.how-step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: .94rem; }

/* ==========================================================================
   SERVICES (mockup style: gradient circular icons)
   ========================================================================== */
.services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px 30px 30px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    overflow: hidden;
}
.service::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service-icon {
    width: 96px; height: 96px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    background: var(--grad-icon);
    box-shadow: 0 14px 30px rgba(42,154,165,.32), inset 0 -6px 14px rgba(0,0,0,.12), inset 0 6px 14px rgba(255,255,255,.18);
    margin-bottom: 22px;
    transition: transform .45s var(--ease);
}
.service:hover .service-icon { transform: scale(1.07) rotate(-4deg); }
.service h3 { font-size: 1.28rem; font-weight: 800; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.service-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-600); font-size: .92rem; background: none; border: 0; padding: 6px 0; transition: gap .25s var(--ease), color .2s; }
.service-link:hover { gap: 11px; color: var(--navy); }

/* ==========================================================================
   CENTRO DE ORIENTACIÓN (Nuevo León)
   ========================================================================== */
.orientation-section {
    background: linear-gradient(180deg, #f7fafc 0%, #edf5f6 100%);
    position: relative;
    border-bottom: 1px solid var(--line);
}
.orientation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}
.orientation-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    position: relative;
    box-shadow: var(--sh-sm);
}
.orientation-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-md);
    border-color: rgba(42, 154, 165, .5);
}
.oc-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--teal-soft);
    color: var(--teal-600);
    display: grid;
    place-items: center;
    transition: transform .35s var(--ease), background .3s, color .3s;
}
.orientation-card:hover .oc-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--grad-icon);
    color: #fff;
}
.oc-tag {
    display: inline-block;
    font-size: .74rem;
    font-weight: 800;
    color: var(--teal-600);
    background: var(--teal-soft);
    padding: 4px 10px;
    border-radius: var(--r-full);
    width: fit-content;
    margin-bottom: 10px;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.oc-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 10px;
}
.oc-content p {
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.55;
}
.orientation-card .btn {
    margin-top: auto;
}

/* Caja de pregunta personalizada */
.quick-question-box {
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.quick-question-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(42, 154, 165, .5), transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(108, 191, 139, .35), transparent 50%);
}
.qq-banner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    align-items: center;
}
.qq-info .qq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 211, 102, .2);
    color: #55ef88;
    border: 1px solid rgba(37, 211, 102, .35);
    border-radius: var(--r-full);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.qq-info h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.95rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}
.qq-info p {
    color: #c9dbe9;
    font-size: .96rem;
    line-height: 1.55;
}
.qq-action-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.qq-input-row {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border-radius: var(--r-full);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
}
.qq-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px 18px;
    font-size: 1rem;
    color: var(--ink);
    flex: 1;
    min-width: 0;
}
.qq-input:focus {
    outline: none;
}
.qq-btn {
    flex-shrink: 0;
    border-radius: var(--r-full);
    min-height: 50px;
    padding: 12px 24px;
}
.qq-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: .84rem;
    color: #b5cade;
}
.qq-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.qq-footer svg {
    color: var(--teal);
}

/* Badge de Estado Fijo para Nuevo León */
.nl-badge-wrap {
    margin-top: 4px;
}
.nl-fixed-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--teal-soft);
    color: var(--teal-600);
    border: 1.5px solid rgba(42, 154, 165, .3);
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: .95rem;
}
.nl-fixed-badge svg {
    color: var(--teal);
}

/* ==========================================================================
   WARNING SIGNS (empathy split)
   ========================================================================== */
.signs { background: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); aspect-ratio: 5 / 4.6; object-fit: cover; width: 100%; }
.split-media .badge-float {
    position: absolute; right: -20px; bottom: 32px;
    background: var(--navy); color: #fff; border-radius: var(--r-md);
    padding: 18px 22px; max-width: 250px; box-shadow: var(--sh-lg);
}
.badge-float strong { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.badge-float span { font-size: .85rem; color: #c3d6e8; }
.split-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: 16px 0 14px; }
.split-body > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.sign-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.sign-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; font-weight: 600; color: var(--ink); padding: 12px 14px; border-radius: var(--r-sm); background: var(--cream); border: 1px solid var(--line); }
.sign-list li svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   DIRECTORY BY STATE
   ========================================================================== */
.directory { background: linear-gradient(180deg, var(--cream) 0%, #eef5f6 100%); }
.dir-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.dir-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dir-toolbar h3 { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.dir-toolbar select { max-width: 280px; }
.state-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.state-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--r-full);
    border: 1.5px solid var(--line); background: #fcfbf8;
    font-weight: 700; font-size: .9rem; color: var(--navy);
    transition: all .2s var(--ease);
}
.state-chip .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-full); background: var(--teal-soft); color: var(--teal-600); font-size: .78rem; display: grid; place-items: center; }
.state-chip:hover { border-color: var(--teal); transform: translateY(-1px); }
.state-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.state-chip[aria-pressed="true"] .count { background: rgba(255,255,255,.18); color: #fff; }

.clinic-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; min-height: 120px; }
.clinic-card {
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 20px; background: #fff;
    display: flex; flex-direction: column; gap: 10px;
    transition: box-shadow .25s, border-color .25s, transform .25s var(--ease);
    animation: stepIn .4s var(--ease) both;
}
.clinic-card:hover { box-shadow: var(--sh-md); border-color: rgba(42,154,165,.4); transform: translateY(-3px); }
.clinic-card-head { display: flex; gap: 12px; align-items: flex-start; }
.clinic-avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-icon); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.clinic-card h4 { font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.clinic-loc { font-size: .84rem; color: var(--teal-600); font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: #1e7e4a; background: var(--green-soft); padding: 4px 10px; border-radius: var(--r-full); width: fit-content; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .74rem; font-weight: 600; color: var(--navy); background: var(--cream); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-full); }
.clinic-card .btn { min-height: 42px; padding: 10px 18px; font-size: .88rem; margin-top: auto; }
.dir-empty { grid-column: 1 / -1; text-align: center; padding: 36px 20px; border: 1.5px dashed #d8d0bb; border-radius: var(--r-md); background: var(--cream); }
.dir-empty h4 { margin-bottom: 6px; }
.dir-empty p { color: var(--muted); margin-bottom: 16px; }
.skeleton { border-radius: var(--r-md); min-height: 190px; background: linear-gradient(90deg, #f1efe8 25%, #f8f6f0 50%, #f1efe8 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }

/* ==========================================================================
   FACILITIES (bento)
   ========================================================================== */
.facilities { background: #fff; }
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, 260px); gap: 18px; }
.bento-item { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.bento-item:first-child { grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,34,64,.85)); z-index: 0; }
.bento-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; z-index: 1; }
.bento-cap h3 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.bento-cap p { font-size: .9rem; color: rgba(255,255,255,.85); max-width: 460px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--cream); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.t-card .q { position: absolute; top: 22px; right: 24px; color: var(--teal-soft); }
.t-card .stars { display: flex; gap: 3px; color: #f5b301; }
.t-card blockquote { font-size: 1rem; color: var(--ink); line-height: 1.65; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-icon); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.t-author strong { display: block; color: var(--navy); font-size: .95rem; }
.t-author span { font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   CLINIC PARTNER CTA
   ========================================================================== */
.partner {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(36px, 5vw, 64px);
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.partner::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(42,154,165,.55), transparent 65%); }
.partner::after { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; left: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(108,191,139,.35), transparent 65%); }
.partner h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: 16px 0 14px; }
.partner p { color: #c3d4e4; font-size: 1.05rem; margin-bottom: 28px; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.benefits { list-style: none; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.benefits .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-icon); display: grid; place-items: center; flex-shrink: 0; }
.benefits strong { display: block; font-size: 1rem; }
.benefits span { font-size: .88rem; color: #b5c8da; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--sh-md); border-color: rgba(42,154,165,.35); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease), background .3s; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--navy); color: #fff; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-item .faq-body a { color: var(--teal-600); font-weight: 700; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { padding-bottom: clamp(64px, 9vw, 112px); }
.final-box {
    background: var(--grad-brand);
    border-radius: var(--r-xl);
    padding: clamp(36px, 5vw, 60px);
    text-align: center; color: #fff;
    position: relative; overflow: hidden; isolation: isolate;
    box-shadow: var(--sh-lg);
}
.final-box::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.22), transparent 40%), radial-gradient(circle at 90% 100%, rgba(255,255,255,.15), transparent 40%); }
.final-box img.mark { width: 74px; margin: 0 auto 18px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.2)); }
.final-box h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.final-box p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #b4c6d8; padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 360px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: #fff; padding-left: 4px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.f-contact a { color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: .85rem; color: #7f95ab; }
.admin-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-full); background: rgba(255,255,255,.06); color: #b4c6d8; }
.admin-link:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ==========================================================================
   FLOATING WHATSAPP + MOBILE BAR
   ========================================================================== */
.fab-wa {
    position: fixed; right: 24px; bottom: 24px; z-index: 950;
    display: flex; align-items: center; gap: 0;
    background: var(--wa); color: #fff;
    border: 0; border-radius: var(--r-full);
    height: 64px; padding: 0 18px;
    box-shadow: 0 12px 30px rgba(37,211,102,.45);
    font-weight: 800; font-size: .95rem;
    transition: gap .35s var(--ease), padding .35s var(--ease), background-color .2s;
}
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.4s infinite; z-index: -1; }
.fab-wa .fab-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.fab-wa:hover, .fab-wa:focus-visible { gap: 10px; padding: 0 24px 0 20px; background: var(--wa-dark); }
.fab-wa:hover .fab-label, .fab-wa:focus-visible .fab-label { max-width: 260px; }

.mobile-cta { display: none; }

/* ==========================================================================
   DIALOGS (native <dialog>)
   ========================================================================== */
dialog.modal {
    border: 0; padding: 0; margin: auto;
    width: min(100% - 32px, 620px);
    max-height: min(92dvh, 900px);
    border-radius: var(--r-lg);
    background: #fff; color: var(--ink);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    overflow: auto;
}
dialog.modal:modal { overscroll-behavior: contain; }
dialog.modal::backdrop { background: rgba(10, 34, 64, .62); backdrop-filter: blur(4px); overflow: hidden; overscroll-behavior: contain; }
dialog.modal[open] { animation: dialogIn .35s var(--ease); }
.modal-head { padding: 28px 30px 0; position: relative; }
.modal-head h2 { font-size: 1.5rem; font-weight: 800; margin: 12px 0 6px; padding-right: 40px; }
.modal-head p { color: var(--muted); font-size: .94rem; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); color: var(--navy); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.modal-close:hover { transform: rotate(90deg); background: var(--cream-2); }
.modal-body { padding: 22px 30px 30px; }

.success-wrap { padding: 44px 32px 36px; text-align: center; }
.success-icon { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-soft); color: #1e9e57; display: grid; place-items: center; position: relative; }
.success-icon::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(37,211,102,.35); animation: ring 2s infinite; }
.success-wrap h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.folio { display: inline-block; font-family: var(--font-head); font-weight: 800; color: var(--teal-600); background: var(--teal-soft); padding: 6px 14px; border-radius: var(--r-full); margin-bottom: 18px; }
.success-steps { text-align: left; background: var(--cream); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 10px; margin-bottom: 22px; font-size: .92rem; }
.success-steps div { display: flex; gap: 10px; align-items: center; }
.success-steps svg { color: #1e9e57; flex-shrink: 0; }
.redirect-note { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .86rem; margin-top: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; display: inline-block; }

/* ==========================================================================
   INNER PAGE (registro de clínicas)
   ========================================================================== */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy-900); color: #fff;
    padding: clamp(56px, 7vw, 88px) 0 clamp(120px, 12vw, 150px);
}
.page-hero::before { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(42,154,165,.5), transparent 65%); }
.page-hero::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(108,191,139,.35), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin: 18px 0 14px; max-width: 820px; }
.page-hero p { color: #c3d4e4; font-size: 1.12rem; max-width: 720px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #8fa7bd; }
.crumbs a:hover { color: #fff; }

.reg-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin-top: calc(clamp(120px, 12vw, 150px) * -1 + 40px); position: relative; z-index: 2; padding-bottom: 96px; align-items: start; }
.card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.reg-form { padding: clamp(24px, 4vw, 44px); }
.reg-section { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.reg-section legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-bottom: 20px; padding: 0; }
.reg-section legend .n { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-icon); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.check-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pills .chip input:checked + span { background: var(--teal); border-color: var(--teal); }
.reg-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-card { padding: 26px; }
.aside-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.aside-card ul { list-style: none; display: grid; gap: 14px; }
.aside-card li { display: flex; gap: 12px; font-size: .92rem; color: var(--muted); }
.aside-card li .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; }
.aside-card li strong { color: var(--navy); display: block; font-size: .95rem; }
.aside-dark { background: var(--grad-brand); color: #fff; border: 0; }
.aside-dark h3 { color: #fff; }
.aside-dark p { color: rgba(255,255,255,.88); font-size: .92rem; margin-bottom: 16px; }
.reg-success { text-align: center; padding: clamp(36px, 6vw, 64px) 24px; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); } 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Scroll reveal: native scroll-driven animation, IntersectionObserver fallback in JS */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes reveal-up { from { opacity: 0; transform: translateY(40px); } }
        .reveal {
            animation: reveal-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
    .js-reveal-fallback .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
    .js-reveal-fallback .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-links a { padding: 10px 10px; font-size: .88rem; }
    .float-card.fc-1 { left: -12px; }
    .float-card.fc-2 { right: -12px; }
}

@media (max-width: 1024px) {
    .nav-links, .nav-actions .btn-header { display: none; }
    .nav-toggle { display: grid; }
    .nav-links.is-open {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 14px 20px 22px; gap: 2px;
        border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
    }
    .nav-links.is-open a { padding: 14px 16px; font-size: 1rem; }
    .hero-grid, .wizard-layout, .split, .partner, .reg-layout { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
    .orientation-grid { grid-template-columns: repeat(2, 1fr); }
    .qq-banner { grid-template-columns: 1fr; gap: 24px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .services-grid, .t-grid { grid-template-columns: repeat(2, 1fr); }
    .how-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .how-steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .wizard, .reg-aside { position: static; }
    .split-media .badge-float { right: 16px; }
}

@media (max-width: 680px) {
    body { padding-bottom: 76px; }
    .topbar-links { display: none; }
    .topbar .container { justify-content: center; }
    .nav { min-height: 72px; }
    .brand img { height: 48px; }
    .nav-actions .btn-wa-header { display: none; }
    .hero h1 { font-size: 2.15rem; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .trust-sep { display: none; }
    .float-card { padding: 10px 12px; }
    .float-card .ic { width: 36px; height: 36px; }
    .float-card strong { font-size: .85rem; }
    .float-card.fc-1 { left: -6px; top: 8%; }
    .float-card.fc-2 { right: -6px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .stat::before { display: none; }
    .stat strong { font-size: 1.5rem; }
    .wizard-top, .wizard form { padding-inline: 20px; }
    .choice-grid, .choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
    .choice-card { padding: 14px 12px; }
    .choice-card small { display: none; }
    .field-grid { grid-template-columns: 1fr; }
    .orientation-grid { grid-template-columns: 1fr; }
    .qq-input-row { flex-direction: column; border-radius: var(--r-md); padding: 12px; }
    .qq-btn { width: 100%; }
    .steps-labels { display: none; }
    .services-grid, .t-grid, .sign-list { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; grid-template-rows: none; }
    .bento-item { height: 240px; }
    .bento-item:first-child { grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .fab-wa { display: none; }
    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
        border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17,54,95,.1);
    }
    .mobile-cta .btn { min-height: 52px; padding: 10px 14px; font-size: .95rem; }
    .modal-head, .modal-body { padding-inline: 20px; }
}
