/* =========================================================
   Nácar Clínica Dental (demo de Atom Tecnología)
   Paleta: azul marino, turquesa clínico y blanco; letras Sora y Figtree
   ========================================================= */
:root {
    --navy: #0d2b3e;
    --navy-2: #143a52;
    --teal: #0b7a80;
    --teal-dark: #08616a;
    --teal-soft: #e3f3f2;
    --mint: #6fd6c5;
    --bg: #ffffff;
    --bg-soft: #f4f8f9;
    --ink: #102a3a;
    --ink-soft: #5b6f7c;
    --line: #dde7eb;
    --star: #f5b400;
    --whatsapp: #25d366;
    --error: #c0392b;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px -4px rgba(13, 43, 62, .12);
    --shadow: 0 24px 48px -24px rgba(13, 43, 62, .35);
    --nav-h: 76px;
    --font-title: 'Sora', system-ui, sans-serif;
    --font-body: 'Figtree', system-ui, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--font-body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p, figure, blockquote { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--teal); color: #fff; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ===== Botones ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.35rem; border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer;
    font-weight: 600; font-size: .98rem; line-height: 1.2; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 122, 128, .9); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }
.btn--whatsapp { background: var(--whatsapp); color: #06381c; }
.btn--whatsapp:hover { background: #1fbe5b; }
.btn--sm { padding: .6rem 1.05rem; font-size: .92rem; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .8rem;
    font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow--light { color: var(--mint); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(111, 214, 197, .3); }

/* ===== Barra superior ===== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar p { display: inline-flex; align-items: center; gap: .45rem; }
.topbar a { color: var(--mint); font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ===== Navegación ===== */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); }
.logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(140deg, var(--teal), var(--navy-2)); color: #fff; }
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: grid; font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: -.02em; }
.logo__text small { margin-top: 4px; font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.logo--light { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .6); }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.nav__links > a:not(.btn) { transition: color .2s; }
.nav__links > a:not(.btn):hover { color: var(--teal); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Portada ===== */
.hero { padding: 64px 0 88px; background: radial-gradient(1000px 520px at 85% 10%, var(--teal-soft), transparent 70%), linear-gradient(180deg, #fff, var(--bg-soft)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 700; letter-spacing: -.035em; color: var(--navy); }
.hero__title span { color: var(--teal); }
.hero__text { margin-top: 1.3rem; max-width: 34rem; font-size: 1.12rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-weight: 600; font-size: .93rem; color: var(--ink); }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .icon { color: var(--teal); }

.hero__media { position: relative; }
.hero__img { width: 100%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.float-card {
    position: absolute; display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem;
    border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: .88rem; color: var(--ink-soft);
    animation: float 6s ease-in-out infinite;
}
.float-card strong { color: var(--navy); }
.float-card--rating { left: -28px; bottom: 56px; display: grid; gap: 0; }
.float-card--rating strong { font-family: var(--font-title); font-size: 1.25rem; }
.float-card__stars { color: var(--star); letter-spacing: 2px; font-size: .85rem; }
.float-card--safe { right: -20px; top: 36px; max-width: 220px; animation-delay: -3s; }
.float-card__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); }
.float-card__icon .icon { width: 20px; height: 20px; }

/* ===== Cifras ===== */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.5rem; display: grid; gap: .2rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-family: var(--font-title); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--mint); }
.stat span { font-size: .92rem; color: rgba(255, 255, 255, .7); }

/* ===== Secciones ===== */
.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section__head--left { margin: 0; text-align: left; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; color: var(--navy); }
.section--dark .section__title { color: #fff; }
.section__text { margin-top: 1rem; font-size: 1.06rem; color: var(--ink-soft); }
.section--dark .section__text { color: rgba(255, 255, 255, .72); }

/* ===== Tratamientos ===== */
.treatments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.treatment { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.treatment:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.treatment__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.treatment__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.treatment:hover .treatment__media img { transform: scale(1.05); }
.treatment__badge { position: absolute; top: 14px; left: 14px; padding: .25rem .7rem; border-radius: 999px; background: #fff; color: var(--teal); font-size: .76rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.treatment__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.treatment__category { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.treatment__name { margin-top: .35rem; font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.treatment__desc { margin-top: .5rem; font-size: .95rem; color: var(--ink-soft); }
.treatment__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: auto; padding-top: 1.2rem; }
.treatment__price { font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: var(--navy); }
.treatment__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: 0; color: var(--ink-soft); }
.treatment__price .treatment__note { display: inline; }
.treatment__time { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; color: var(--ink-soft); white-space: nowrap; }
.treatment__link { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--teal); }
.treatment__link:hover { color: var(--teal-dark); }

/* ===== Pasos ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step { position: relative; padding: 2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.2rem; border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; }
.step h3 { font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.step p { margin-top: .5rem; color: var(--ink-soft); }

/* ===== Especialistas ===== */
.doctors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.doctor { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.doctor__photo { width: 100%; height: auto; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: top; }
.doctor__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.doctor__name { font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.doctor__specialty { margin-top: .2rem; font-weight: 600; font-size: .93rem; color: var(--teal); }
.doctor__bio { margin-top: .7rem; font-size: .94rem; color: var(--ink-soft); }
.doctor__foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.2rem; }
.doctor__license { padding: .25rem .6rem; border-radius: 8px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.doctor__link { font-weight: 600; font-size: .92rem; color: var(--teal); }
.doctor__link:hover { color: var(--teal-dark); }

/* ===== Cuotas ===== */
.financing { display: grid; grid-template-columns: 1fr 440px; gap: 4rem; align-items: center; }
.pay-list { display: grid; gap: .8rem; margin-top: 1.8rem; }
.pay-list li { display: flex; align-items: center; gap: .7rem; color: rgba(255, 255, 255, .85); }
.pay-list .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(111, 214, 197, .14); color: var(--mint); }
.calc { display: grid; gap: 1.2rem; padding: 2rem; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.calc__title { font-size: 1.3rem; font-weight: 600; color: var(--navy); }
.calc__result { display: grid; justify-items: center; gap: .1rem; padding: 1.3rem; border-radius: 16px; background: var(--teal-soft); text-align: center; color: var(--ink-soft); font-size: .92rem; }
.calc__result strong { font-family: var(--font-title); font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--teal-dark); }
.calc__note { font-size: .8rem; color: var(--ink-soft); text-align: center; }

/* ===== Formularios ===== */
.field { display: grid; gap: .4rem; }
.field__label { padding: 0; font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select {
    width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field select {
    appearance: none; padding-right: 2.6rem; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b7a80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 122, 128, .14); }
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg-soft); }
.segmented--two { grid-template-columns: 1fr 1fr; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 38px; border-radius: 10px; font-weight: 600; font-size: .93rem; color: var(--ink-soft); transition: background .2s, color .2s, box-shadow .2s; }
.segmented input:checked + span { background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--mint); }
.segmented input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }

/* ===== La clínica ===== */
.clinic { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.clinic__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.clinic__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.clinic__img--main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.checklist { display: grid; gap: 1.1rem; margin-top: 2rem; }
.checklist li { display: flex; gap: .9rem; }
.checklist .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.checklist strong { display: block; color: var(--navy); }
.checklist span { font-size: .94rem; color: var(--ink-soft); }

/* ===== Agendar cita ===== */
.booking { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.booking__quote { position: relative; margin-top: 2rem; overflow: hidden; border-radius: var(--radius); }
.booking__quote img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.booking__quote figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1.4rem 1.3rem; background: linear-gradient(transparent, rgba(13, 43, 62, .92)); color: #fff; font-weight: 500; }
.booking__quote figcaption span { display: block; margin-top: .4rem; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.booking__form { padding: 2.2rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field--full { grid-column: 1 / -1; }
.form-error { min-height: 1.5em; margin: 1rem 0 .6rem; font-weight: 600; font-size: .92rem; color: var(--error); }
.form-note { margin-top: .8rem; font-size: .84rem; text-align: center; color: var(--ink-soft); }

/* ===== Opiniones ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.review__stars { color: var(--star); letter-spacing: 3px; }
.review p { flex: 1; font-size: 1.02rem; color: var(--ink); }
.review footer { display: grid; font-size: .9rem; color: var(--ink-soft); }
.review footer strong { color: var(--navy); }

/* ===== Preguntas ===== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq .btn { margin-top: 1.6rem; }
.faq__list { display: grid; gap: .8rem; }
.faq__item { border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); }
.faq__item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem;
    font-weight: 600; color: var(--navy); cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 1.2rem; transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ===== Ubicación ===== */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.location__address { display: grid; gap: .6rem; margin-top: 1.4rem; font-style: normal; color: var(--ink); }
.location__address span { display: flex; gap: .6rem; }
.location__address .icon { margin-top: .2rem; color: var(--teal); }
.open-now { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-weight: 700; }
.open-now::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.open-now.is-open { color: #12925a; }
.open-now.is-closed { color: var(--error); }
.hours { margin-top: 1rem; }
.hours div { display: flex; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ink-soft); }
.hours dd { font-weight: 600; }
.hours .is-today dt, .hours .is-today dd { color: var(--teal); font-weight: 700; }

.map {
    position: relative; height: 380px; overflow: hidden; border-radius: 24px; background-color: #e9f1f3;
    background-image: linear-gradient(rgba(13, 43, 62, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 43, 62, .05) 1px, transparent 1px);
    background-size: 28px 28px;
}
.map__road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(13, 43, 62, .06); }
.map__road--h { left: 0; right: 0; top: 56%; height: 22px; }
.map__road--v { top: 0; bottom: 0; left: 42%; width: 18px; }
.map__road--d { left: -20%; top: 26%; width: 140%; height: 12px; transform: rotate(-16deg); }
.map__pin {
    position: absolute; left: 42%; top: 56%; display: grid; place-items: center; width: 54px; height: 54px; margin: -58px 0 0 -18px;
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); box-shadow: 0 14px 26px -8px rgba(11, 122, 128, .8);
    animation: drop 2.6s ease-in-out infinite;
}
.map__pin .icon { width: 24px; height: 24px; color: #fff; transform: rotate(45deg); }
.map__label { position: absolute; left: calc(42% + 46px); top: calc(56% - 52px); padding: .45rem .8rem; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .86rem; color: var(--navy); white-space: nowrap; }

/* ===== Pie ===== */
.footer { padding: 2.4rem 0; background: var(--navy); color: rgba(255, 255, 255, .62); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

/* Franja de Atom Tecnología */
.demo-strip { padding: .9rem 0 6.5rem; background: #111418; color: #c9d1d9; font-size: .88rem; }
.demo-strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.demo-strip a { color: #3ddc97; font-weight: 600; }
.demo-strip__cta { padding: .4rem .9rem; border: 1px solid rgba(61, 220, 151, .45); border-radius: 999px; }

/* ===== Botón flotante ===== */
.book-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem;
    padding: .9rem 1.3rem; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700;
    box-shadow: 0 16px 32px -12px rgba(11, 122, 128, .9); transition: transform .3s, opacity .3s;
}
.book-fab:hover { background: var(--teal-dark); }
.book-fab.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ===== Aparición al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes drop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
    .treatments, .doctors, .reviews { grid-template-columns: 1fr 1fr; }
    .financing { grid-template-columns: 1fr 400px; gap: 2.5rem; }
    .hero__grid, .clinic, .booking, .location, .faq { gap: 2.5rem; }
}

@media (max-width: 900px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem 20px 1.2rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__links > a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
    .nav__links .btn { margin-top: 1rem; }
    .hero__grid, .financing, .clinic, .booking, .location, .faq { grid-template-columns: 1fr; }
    .hero__media { max-width: 560px; }
    .float-card--rating { left: 12px; }
    .float-card--safe { right: 12px; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .topbar__inner { justify-content: center; }
    .topbar__inner > p:first-child { display: none; }
    .section { padding: 72px 0; }
    .hero { padding: 40px 0 64px; }
    .hero__actions .btn { width: 100%; }
    .treatments, .doctors, .reviews { grid-template-columns: 1fr; }
    .stat { padding: 1.4rem 1rem; }
    .stat:nth-child(odd) { padding-left: 0; }
    .stat strong { font-size: 1.6rem; }
    .calc, .booking__form { padding: 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .map { height: 280px; }
    .footer__inner, .demo-strip__inner { flex-direction: column; text-align: center; }
}

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