/* =============================================================================
   Clínica Dental Coll · Santa Maria del Camí
   Hoja de estilos principal
   -----------------------------------------------------------------------------
   Paleta: verdes profundos + crema cálido + un toque dorado.
   Tipografía: Cormorant Garamond (titulares) · Jost (texto e interfaz).
   ============================================================================= */

/* ---------- 1. Variables ------------------------------------------------- */
:root {
    --g-950: #08231a;
    --g-900: #0f3d2e;
    --g-800: #154a38;
    --g-700: #1d5c46;
    --g-600: #2a7358;
    --g-500: #3b8b6c;
    --g-400: #5fa787;
    --g-300: #8fc2a8;
    --g-200: #c3decf;
    --g-100: #e2efe7;
    --g-50:  #f2f8f4;

    --cream:   #f9f7f2;
    --cream-2: #f3efe6;
    --gold:    #b8975a;
    --gold-2:  #d9c39a;

    --ink:   #14201a;
    --ink-2: #3d4b44;
    --ink-3: #6e7b74;

    --line:      rgba(15, 61, 46, .13);
    --line-soft: rgba(15, 61, 46, .07);

    --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

    --radius:    20px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 14px -6px rgba(15, 61, 46, .18);
    --shadow-md: 0 18px 40px -22px rgba(15, 61, 46, .32);
    --shadow-lg: 0 30px 60px -28px rgba(15, 61, 46, .45);

    --container: 1200px;
    --gutter:    clamp(18px, 4vw, 40px);
    --header-h:  88px;
    --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink-2);
    font: 400 1.0625rem/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }
a { color: var(--g-700); }
a:hover { color: var(--g-900); }
strong { font-weight: 500; }

::selection { background: var(--g-200); color: var(--ink); }

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

button { font-family: inherit; }

/* ---------- 3. Tipografía ------------------------------------------------ */
.display {
    font-size: clamp(2.7rem, 1.4rem + 4.3vw, 5rem);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -.02em;
    margin-bottom: .45em;
    text-wrap: balance;
}

.display-sm {
    font-size: clamp(2rem, 1.2rem + 2.5vw, 3.3rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.display em, .display-sm em {
    font-style: italic;
    font-weight: 400;
    color: var(--g-600);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    font: 500 .76rem/1 var(--font-body);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--g-600);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.eyebrow-light { color: var(--gold-2); }
.eyebrow-light::before { background: var(--gold-2); }

.lead {
    font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem);
    line-height: 1.6;
    color: var(--ink-2);
    font-weight: 300;
    max-width: 60ch;
}

.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; padding-left: .2em; }
.prose li::marker { color: var(--g-500); }
.prose h2 {
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
    font-weight: 600;
    margin: 2.1em 0 .65em;
}
.prose h2:first-child { margin-top: 0; }
.prose [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 {
    font: 500 1.2rem/1.3 var(--font-body);
    margin: 1.8em 0 .6em;
}
.prose a { color: var(--g-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose-lg { font-size: 1.1rem; }
.prose-lg p, .prose-lg li { line-height: 1.75; }
.prose-legal h2 { font-size: 1.6rem; margin-top: 1.8em; }

/* ---------- 4. Layout ---------------------------------------------------- */
.container {
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.narrow { max-width: 780px; }
.center { text-align: center; }

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tint { background: var(--g-50); }
.section-dark { background: var(--g-900); color: rgba(255, 255, 255, .82); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .display-sm em { color: var(--gold-2); }
.section-dark .lead { color: rgba(255, 255, 255, .78); }

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 60px);
    text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head .lead { margin: 0 auto; }
.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    max-width: none;
    text-align: left;
}
.section-head-row .eyebrow { justify-content: flex-start; }
.section-head-row .lead { margin: 0; }
.section-head-row > div h2 { margin-bottom: .35em; }
.section-foot { text-align: center; margin-top: clamp(32px, 4vw, 52px); }

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 200;
    background: var(--g-900);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 5. Iconos y botones ------------------------------------------ */
.ico { width: 24px; height: 24px; flex-shrink: 0; }
.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; }
.ico-lg { width: 32px; height: 32px; }
.flip { transform: scaleX(-1); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: .95em 1.7em;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 500 .95rem/1 var(--font-body);
    letter-spacing: .04em;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico-sm { transform: translateX(3px); }

.btn-primary {
    background: var(--g-900);
    color: #fff;
    box-shadow: 0 12px 26px -14px rgba(15, 61, 46, .7);
}
.btn-primary:hover {
    background: var(--g-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(15, 61, 46, .6);
}

.btn-ghost {
    background: transparent;
    color: var(--g-900);
    border-color: var(--line);
}
.btn-ghost:hover {
    background: #fff;
    border-color: var(--g-300);
    color: var(--g-900);
    transform: translateY(-2px);
}

.btn-light { background: #fff; color: var(--g-900); }
.btn-light:hover { background: var(--cream); color: var(--g-900); transform: translateY(-2px); }

.btn-lg { padding: 1.15em 2.1em; font-size: 1rem; }
.btn-sm { padding: .75em 1.3em; font-size: .86rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--g-700);
    font-weight: 500;
    text-decoration: none;
}
.link-arrow:hover { color: var(--g-900); }

/* ---------- 6. Animaciones de entrada ----------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

/* ---------- 7. Cabecera -------------------------------------------------- */
.announcement {
    background: var(--g-900);
    color: #fff;
    font-size: .86rem;
    text-align: center;
    padding: 9px 0;
    letter-spacing: .03em;
    position: relative;
    z-index: 70;
}
.announcement a { color: var(--gold-2); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
    background: rgba(249, 247, 242, .88);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    border-bottom-color: var(--line-soft);
}
/* Con el menú abierto no se usa backdrop-filter: crearía un bloque contenedor
   para el panel fijo del menú y lo dejaría sin altura. */
body.nav-open .site-header {
    background: var(--cream);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--line-soft);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; color: var(--g-900); }
.brand-logo { height: 54px; width: auto; display: block; }

.nav-list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list a {
    display: block;
    position: relative;
    padding: 10px 14px;
    font: 500 .78rem/1 var(--font-body);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
    transition: color .25s;
}
.nav-list a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 1px;
    background: var(--g-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.nav-list a:hover { color: var(--g-900); }
.nav-list a:hover::after,
.nav-list a[aria-current]::after { transform: scaleX(1); }
.nav-list a[aria-current] { color: var(--g-900); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--g-900);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
}
.header-phone .ico { width: 20px; height: 20px; color: var(--g-600); }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--g-900);
    cursor: pointer;
    place-items: center;
    padding: 0;
}
.nav-toggle span { display: grid; place-items: center; }
.nav-toggle .nav-toggle-close { display: none; }
body.nav-open .nav-toggle .nav-toggle-open { display: none; }
body.nav-open .nav-toggle .nav-toggle-close { display: grid; }
.nav-mobile-extra { display: none; }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + clamp(28px, 5vw, 72px)) 0 clamp(56px, 8vw, 110px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}
.blob-a {
    width: 60vw; height: 60vw;
    max-width: 820px; max-height: 820px;
    right: -18vw; top: -22vw;
    background: radial-gradient(circle, rgba(143, 194, 168, .55) 0%, rgba(226, 239, 231, 0) 65%);
}
.blob-b {
    width: 40vw; height: 40vw;
    max-width: 520px; max-height: 520px;
    left: -14vw; bottom: -18vw;
    background: radial-gradient(circle, rgba(217, 195, 154, .45) 0%, rgba(249, 247, 242, 0) 65%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-copy .lead { margin-bottom: 2.2em; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 0;
    font-size: .9rem;
    color: var(--ink-3);
}
.hero-note .ico { color: var(--g-500); }

.hero-visual { position: relative; }

.arch {
    position: relative;
    overflow: hidden;
    border-radius: 999px 999px 28px 28px;
    background: linear-gradient(165deg, var(--g-600) 0%, var(--g-800) 55%, var(--g-950) 100%);
}
.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.arch-hero {
    aspect-ratio: 4 / 5;
    max-width: 520px;
    margin-inline: auto;
    box-shadow: 0 50px 90px -34px rgba(15, 61, 46, .55);
}
.arch-art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.arch-art::before {
    content: "";
    position: absolute;
    inset: 7%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: inherit;
    border-radius: 999px 999px 20px 20px;
}
.arch-art::after {
    content: "";
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%);
}
.arch-tooth {
    position: relative;
    z-index: 1;
    width: 58%;
    height: auto;
    color: rgba(255, 255, 255, .94);
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .28));
}
.arch-art-soft {
    background: linear-gradient(165deg, var(--g-100) 0%, var(--g-200) 100%);
}
.arch-art-soft::before { border-color: rgba(15, 61, 46, .12); }
.arch-art-soft::after { background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%); }
.arch-art-soft .arch-tooth {
    color: var(--g-700);
    filter: drop-shadow(0 18px 30px rgba(15, 61, 46, .18));
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 14px 20px 14px 14px;
    box-shadow: var(--shadow-lg);
    animation: floaty 7s ease-in-out infinite;
}
.float-badge { left: -6%; bottom: 13%; }
.float-hours { right: -5%; top: 11%; animation-delay: -3.5s; }
.float-icon {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--g-100);
    color: var(--g-700);
    display: grid;
    place-items: center;
}
.float-text { display: grid; line-height: 1.25; }
.float-text strong { font-weight: 500; color: var(--ink); font-size: .95rem; }
.float-text small { color: var(--ink-3); font-size: .8rem; }
.float-text small + strong { margin-top: 7px; }
.float-hours { align-items: flex-start; }
.float-hours .float-icon { margin-top: 2px; }

/* ---------- 9. Highlights ------------------------------------------------ */
.highlights { padding: 0 0 clamp(48px, 6vw, 80px); }
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.highlight {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.highlight-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--g-50);
    color: var(--g-700);
    display: grid;
    place-items: center;
}
.highlight h3 {
    font: 500 1rem/1.3 var(--font-body);
    margin: 4px 0 4px;
    color: var(--ink);
}
.highlight p { margin: 0; font-size: .9rem; color: var(--ink-3); line-height: 1.5; }

/* ---------- 10. Bloques a dos columnas ---------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 100px);
    align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.arch-media {
    aspect-ratio: 4 / 5;
    max-width: 480px;
    margin-inline: auto;
    box-shadow: var(--shadow-lg);
}
.stat-card {
    position: absolute;
    right: -4%;
    bottom: 8%;
    max-width: 240px;
    padding: 22px 26px;
    border-radius: 18px;
    background: var(--g-900);
    color: rgba(255, 255, 255, .85);
    box-shadow: var(--shadow-lg);
}
.stat-number {
    display: block;
    font: 500 3.4rem/1 var(--font-display);
    color: #fff;
    margin-bottom: 6px;
}
.stat-number sup {
    font-size: .5em;
    color: var(--gold-2);
    vertical-align: top;
    position: relative;
    top: .15em;
}
.stat-label { font-size: .86rem; line-height: 1.4; display: block; }

.checklist {
    list-style: none;
    margin: 30px 0 34px;
    padding: 0;
    display: grid;
    gap: 12px;
}
.checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--ink-2);
}
.checklist .ico {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--g-100);
    color: var(--g-700);
    margin-top: 2px;
}
.checklist-2 { grid-template-columns: 1fr 1fr; gap: 14px 28px; }

/* ---------- 11. Tratamientos -------------------------------------------- */
.tgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.tcard {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.tcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--g-200);
    color: inherit;
}
.tcard-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--g-50);
    color: var(--g-700);
    display: grid;
    place-items: center;
    transition: background .3s, color .3s;
}
.tcard:hover .tcard-icon { background: var(--g-900); color: #fff; }
.tcard-title {
    display: block;
    font: 600 1.45rem/1.15 var(--font-display);
    color: var(--ink);
    margin-bottom: 8px;
}
.tcard-text { display: block; font-size: .95rem; color: var(--ink-3); line-height: 1.55; }
.tcard-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 500 .78rem/1 var(--font-body);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--g-700);
}
.tcard-more .ico { transition: transform .3s var(--ease); }
.tcard:hover .tcard-more .ico { transform: translateX(4px); }

/* ---------- 12. Método (fondo oscuro) ----------------------------------- */
.method-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.method-head .lead { margin-bottom: 0; }
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.step {
    padding: 36px 28px 8px 0;
    border-right: 1px solid rgba(255, 255, 255, .14);
}
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; padding-right: 0; }
.step-num {
    display: block;
    font: 400 3.8rem/1 var(--font-display);
    color: var(--gold-2);
    margin-bottom: 22px;
}
.step h3 { font: 500 1.25rem/1.3 var(--font-body); margin: 0 0 10px; }
.step p { margin: 0; font-size: .95rem; line-height: 1.6; }

/* ---------- 13. Equipo -------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-grid-full { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.team-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; }
.member-photo {
    aspect-ratio: 4 / 5;
    max-width: 300px;
    margin: 0 auto 22px;
    background: linear-gradient(165deg, var(--g-100), var(--g-200));
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}
.member-initials {
    font: 500 3.6rem/1 var(--font-display);
    letter-spacing: .06em;
    color: var(--g-700);
}
.member-name {
    font: 600 1.6rem/1.15 var(--font-display);
    margin: 0 0 6px;
    color: var(--ink);
}
.member-role {
    margin: 0;
    font: 500 .78rem/1.4 var(--font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--g-700);
}
.member-reg { margin: 6px 0 0; font-size: .84rem; color: var(--ink-3); }
.member-full {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
    text-align: left;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.member-full .member-photo { margin: 0; max-width: none; }
.member-bio { margin-top: 16px; font-size: .98rem; color: var(--ink-2); }

/* ---------- 14. Testimonios --------------------------------------------- */
.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--g-900);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .25s, color .25s, transform .3s var(--ease);
}
.slider-nav button:hover { background: var(--g-900); color: #fff; transform: translateY(-2px); }

.testi-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 28px;
    margin: 0 -4px;
    scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi {
    position: relative;
    flex: 0 0 min(420px, 84vw);
    scroll-snap-align: start;
    margin: 0;
    padding: 38px 36px 32px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.testi::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 28px;
    font: 400 7rem/1 var(--font-display);
    color: var(--g-100);
    pointer-events: none;
}
.stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 18px; }
.stars .ico { fill: currentColor; width: 16px; height: 16px; }
.testi blockquote {
    position: relative;
    margin: 0 0 24px;
    font: 400 1.28rem/1.5 var(--font-display);
    font-style: italic;
    color: var(--ink);
}
.testi figcaption strong { display: block; font-weight: 500; color: var(--ink); }
.testi figcaption span { font-size: .85rem; color: var(--ink-3); }

/* ---------- 15. FAQ ----------------------------------------------------- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head p:last-child { color: var(--ink-3); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: var(--g-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font: 500 1.05rem/1.4 var(--font-body);
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--g-50);
    color: var(--g-700);
    display: grid;
    place-items: center;
    transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--g-900); color: #fff; }
.faq-body { padding: 0 24px 22px; color: var(--ink-2); }
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin: 0; }

/* ---------- 16. Banda CTA ----------------------------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 108px) 0;
    background: linear-gradient(120deg, var(--g-800) 0%, var(--g-950) 100%);
    color: #fff;
}
.cta-mark {
    position: absolute;
    right: -3%;
    top: 50%;
    transform: translateY(-46%);
    width: min(44vw, 520px);
    color: #fff;
    opacity: .07;
    pointer-events: none;
}
.cta-mark svg { width: 100%; height: auto; }
.cta-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-inner h2 { color: #fff; margin-bottom: .35em; }
.cta-inner .lead { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
}
.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font: 500 1.15rem var(--font-body);
    text-decoration: none;
}
.cta-phone .ico { color: var(--gold-2); }
.cta-phone:hover { color: var(--gold-2); }

/* ---------- 17. Cabecera de página interior ----------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + clamp(44px, 7vw, 96px)) 0 clamp(52px, 7vw, 90px);
    background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}
.page-hero .container { position: relative; z-index: 1; max-width: 840px; }
.page-hero .lead { max-width: 700px; margin-bottom: 0; }
.page-hero-compact { padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero-mark {
    position: absolute;
    right: -30px;
    bottom: -70px;
    width: min(38vw, 420px);
    color: var(--g-900);
    opacity: .05;
    pointer-events: none;
}
.page-hero-mark svg { width: 100%; height: auto; }
.page-hero-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line-soft);
    color: var(--g-700);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.crumbs a { color: var(--g-700); text-decoration: none; }
.crumbs a:hover { color: var(--g-900); }

/* ---------- 18. Landing de tratamiento ---------------------------------- */
.landing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(32px, 5vw, 76px);
    align-items: start;
}
.landing-aside {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: grid;
    gap: 20px;
}
.aside-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.aside-card h3 { font: 600 1.4rem/1.2 var(--font-display); margin: 0 0 10px; }
.aside-contact {
    background: var(--g-900);
    color: rgba(255, 255, 255, .85);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.aside-contact h3 { color: #fff; }
.aside-contact p { font-size: .92rem; margin: 0 0 20px; line-height: 1.55; }
.aside-contact .btn-block { margin-bottom: 14px; background: #fff; color: var(--g-900); box-shadow: none; }
.aside-contact .btn-block:hover { background: var(--cream); }
.aside-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color .25s;
}
.aside-line .ico { color: var(--gold-2); }
.aside-line:hover { color: var(--gold-2); }

.hours { margin: 0; display: grid; gap: 6px; }
.hours div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: .9rem;
}
.hours dt { font-weight: 500; }
.hours dd { margin: 0; text-align: right; }
.hours-compact {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
}
.hours-compact dd { opacity: .8; }

.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    color: var(--ink-2);
    font-size: .95rem;
    text-decoration: none;
    transition: background .25s, color .25s;
}
.aside-links a:hover { background: var(--g-50); color: var(--g-900); }
.aside-links .ico { color: var(--g-600); }

.benefits {
    margin-top: 52px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}
.benefits h2, .landing-faq h2 {
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
    font-weight: 600;
    margin: 0 0 22px;
}
.benefits .checklist { margin: 0; }
.landing-faq { margin-top: 52px; }

.local-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}
.local-nap {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 26px 0 0;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    font-size: .95rem;
    line-height: 1.6;
}
.local-nap .ico { color: var(--g-700); margin-top: 2px; }
.local-nap strong { color: var(--ink); }
.local-nap a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.chips-title {
    margin: 0 0 16px;
    font: 500 .76rem/1 var(--font-body);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--g-700);
}
.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chips li {
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: .92rem;
    color: var(--ink-2);
}
.chips li:first-child { background: var(--g-900); color: #fff; border-color: var(--g-900); }

/* Índice de subapartados al inicio de una landing */
.subnav {
    margin: 0 0 clamp(28px, 4vw, 40px);
    padding: 20px 22px;
    background: var(--g-100);
    border-radius: 16px;
}
.subnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.subnav a {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: .92rem;
    color: var(--g-900);
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.subnav a:hover,
.subnav a:focus-visible { background: var(--g-900); color: #fff; border-color: var(--g-900); }

/* ---------- 19. Página "La clínica" ------------------------------------- */
.value-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.value {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--g-50);
    color: var(--g-700);
    display: grid;
    place-items: center;
}
.value h3 { font: 600 1.4rem/1.2 var(--font-display); margin: 20px 0 8px; }
.value p { margin: 0; font-size: .95rem; color: var(--ink-3); line-height: 1.55; }

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.feature {
    display: flex;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
}
.feature-icon {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    color: var(--gold-2);
    display: grid;
    place-items: center;
}
.feature h3 { font: 500 1.15rem/1.3 var(--font-body); margin: 4px 0 6px; }
.feature p { margin: 0; font-size: .95rem; line-height: 1.6; }

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(8, 35, 26, .65));
    color: #fff;
    font-size: .85rem;
}

.note-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.note-icon {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--g-50);
    color: var(--g-700);
    display: grid;
    place-items: center;
}
.note-box h2 { font: 600 1.75rem/1.2 var(--font-display); margin: 4px 0 8px; }

/* ---------- 20. Contacto ------------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
}
.info-list li:first-child { padding-top: 0; }
.info-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--g-50);
    color: var(--g-700);
    display: grid;
    place-items: center;
}
.info-list strong {
    display: block;
    margin-bottom: 4px;
    font: 500 .74rem/1.4 var(--font-body);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.info-list p { margin: 0; color: var(--ink); }
.info-list a { color: var(--g-800); text-decoration: none; }
.info-list a:hover { color: var(--g-900); text-decoration: underline; }
.info-list .hours { margin-top: 2px; }
.info-list .hours dd { color: var(--ink-2); }

.form {
    padding: clamp(28px, 4vw, 46px);
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.form h2 { font: 600 2.1rem/1.1 var(--font-display); margin: 0 0 6px; }
.form-intro { color: var(--ink-3); margin: 0 0 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label {
    font: 500 .84rem/1.3 var(--font-body);
    letter-spacing: .03em;
    color: var(--ink);
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    color: var(--ink);
    font: 400 1rem/1.4 var(--font-body);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--g-500);
    box-shadow: 0 0 0 4px rgba(59, 139, 108, .16);
}
.has-error input, .has-error select, .has-error textarea { border-color: #c2483d; }
.field-error { color: #b0392f; font-size: .82rem; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap .ico {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ink-3);
}
.field-check label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    color: var(--ink-2);
    cursor: pointer;
}
.field-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--g-700);
    flex-shrink: 0;
}
.hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-error-general {
    padding: 12px 16px;
    margin-bottom: 20px;
    background: #fbe9e7;
    color: #8c2f26;
    border-radius: 10px;
    font-size: .92rem;
}
.form-success {
    padding: clamp(36px, 5vw, 56px);
    text-align: center;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.form-success-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--g-100);
    color: var(--g-700);
    display: grid;
    place-items: center;
}
.form-success h2 { font: 600 2.1rem/1.1 var(--font-display); margin: 0 0 10px; }
.form-success p { max-width: 46ch; margin: 0 auto 24px; }

.map-section { background: var(--g-50); }
.map-consent {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    padding: 40px var(--gutter);
    background-color: var(--g-100);
    background-image: radial-gradient(rgba(15, 61, 46, .12) 1px, transparent 1px);
    background-size: 22px 22px;
}
.map-consent-inner {
    display: grid;
    gap: 12px;
    justify-items: center;
    max-width: 440px;
    padding: 36px;
    text-align: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.map-consent-inner .ico-lg { color: var(--g-700); }
.map-consent-inner p { margin: 0; }
.map-consent-note { font-size: .82rem; color: var(--ink-3); }
.map-consent iframe { width: 100%; height: 480px; border: 0; display: block; }
.map-consent.is-loaded { display: block; min-height: 0; padding: 0; }
.map-consent.is-loaded .map-consent-inner { display: none; }

/* ---------- 21. Pie ----------------------------------------------------- */
.site-footer {
    background: var(--g-950);
    color: rgba(255, 255, 255, .72);
    padding: clamp(56px, 7vw, 92px) 0 32px;
    font-size: .95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr 1.3fr 1.2fr;
    gap: clamp(28px, 4vw, 60px);
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo { display: inline-block; color: #fff; margin-bottom: 22px; }
.footer-logo-svg { height: 120px; width: auto; display: block; }
.footer-brand p { max-width: 320px; line-height: 1.6; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .25s, color .25s, transform .3s var(--ease);
}
.social a:hover { background: #fff; color: var(--g-900); transform: translateY(-2px); }
.social .ico { width: 20px; height: 20px; }

.footer-title {
    margin: 0 0 18px;
    font: 500 .74rem/1 var(--font-body);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #fff;
}
.footer-col .footer-title + .footer-title,
.footer-contact .footer-title:not(:first-child) { margin-top: 30px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links-2col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-contact address { font-style: normal; display: grid; gap: 12px; }
.footer-contact address p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.footer-contact address .ico { flex: 0 0 20px; width: 20px; height: 20px; color: var(--gold-2); margin-top: 2px; }
.footer-contact address a { color: inherit; text-decoration: none; }
.footer-contact address a:hover { color: #fff; }
.footer-contact .hours { font-size: .9rem; }
.footer-contact .hours dt { color: #fff; font-weight: 400; }
.footer-contact .hours dd { opacity: .8; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 28px;
    padding-top: 28px;
    font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-credit { opacity: .7; }
.footer-credit a { color: inherit; }

/* ---------- 22. Flotantes ----------------------------------------------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 12px 14px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .65);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(37, 211, 102, .7); }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px calc(var(--gutter) + 100px) 14px var(--gutter);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 -10px 30px -20px rgba(15, 61, 46, .3);
    font-size: .86rem;
    color: var(--ink-2);
    line-height: 1.45;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner > div { max-width: 720px; }
.cookie-banner .btn { flex-shrink: 0; }

/* ---------- 23. Error 404 ----------------------------------------------- */
.error-page { padding-top: calc(var(--header-h) + 40px); min-height: 60vh; }
.error-mark { width: 120px; margin: 0 auto 28px; color: var(--g-200); }
.error-page .eyebrow { justify-content: center; }
.error-page .lead { margin-inline: auto; }
.hero-actions.center { justify-content: center; }

/* ---------- 24. Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2n) { border-right: 0; padding-right: 0; }
    .step:nth-child(2n + 1) { padding-left: 0; }
    .step:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .14); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .landing-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 960px) {
    .nav-toggle { display: grid; }
    .header-phone { display: none; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        z-index: 55;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 32px var(--gutter) 40px;
        background: var(--cream);
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
    }
    body.nav-open .nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .35s var(--ease), transform .35s var(--ease);
    }
    body.nav-open { overflow: hidden; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line-soft);
        font: 500 2rem/1.2 var(--font-display);
        letter-spacing: 0;
        text-transform: none;
        color: var(--ink);
    }
    .nav-list a::after { display: none; }
    .nav-list a[aria-current] { color: var(--g-600); font-style: italic; }
    .nav-mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }
    .nav-mobile-phone {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 1.15rem;
        font-weight: 500;
        color: var(--g-900);
        text-decoration: none;
    }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { width: min(440px, 100%); justify-self: center; margin-top: 16px; }
    .float-badge { left: -4%; bottom: 8%; }
    .float-hours { right: -4%; top: 8%; }

    .split { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
    .arch-media { max-width: 420px; }
    .stat-card { right: 0; }

    .tgrid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-head { position: static; }
    .landing-grid { grid-template-columns: 1fr; }
    .landing-aside { position: static; grid-template-columns: repeat(2, 1fr); }
    .contact-grid, .local-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid-full { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    :root { --header-h: 74px; }
    .brand-logo { height: 46px; }
    .header-cta { display: none; }
    .nav-toggle { width: 42px; height: 42px; }

    .display { font-size: clamp(2.4rem, 1.2rem + 6.5vw, 3.2rem); }
    .lead { font-size: 1.08rem; }
    .btn-lg { padding: 1.05em 1.7em; }
    .hero-actions .btn { width: 100%; }

    .float-card { padding: 10px 14px 10px 10px; border-radius: 14px; }
    .float-icon { flex-basis: 36px; height: 36px; }
    .float-text strong { font-size: .86rem; }
    .float-text small { font-size: .74rem; }
    .float-badge { left: 0; bottom: 4%; }
    .float-hours { right: 0; top: 4%; }

    .highlight-grid, .tgrid, .team-grid, .value-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: 0; padding-left: 0; padding-right: 0; }
    .step:nth-child(n + 2) { border-top: 1px solid rgba(255, 255, 255, .14); }
    .checklist-2 { grid-template-columns: 1fr; }
    .member-full { grid-template-columns: 1fr; padding: 22px; }
    .member-full .member-photo { max-width: 220px; }
    .landing-aside { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links-2col { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .gallery { grid-template-columns: 1fr; }
    .note-box { flex-direction: column; padding: 26px; }
    .stat-card { padding: 16px 20px; max-width: 200px; }
    .stat-number { font-size: 2.6rem; }
    .testi { padding: 30px 26px 26px; }

    .wa-float { padding: 0; width: 56px; height: 56px; justify-content: center; }
    .wa-float span { display: none; }
    .wa-float .ico { width: 28px; height: 28px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px var(--gutter) 14px; }
}

/* ---------- 25. Accesibilidad / impresión ------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card { animation: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .site-header, .site-footer, .wa-float, .cookie-banner, .cta-band, .hero-bg, .page-hero-mark { display: none !important; }
    body { background: #fff; color: #000; }
    .hero, .page-hero { margin-top: 0; padding-top: 20px; }
}
