/* Glindent · identidad: negro y plata del logo, grafito del suelo de la clínica,
   y un único acento cálido (la luz de la pared de la sala de espera). */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(fuentes/fraunces-normal-300-600.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 500; font-display: swap; src: url(fuentes/fraunces-italic-300-500.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fuentes/manrope-normal-400-700.woff2) format("woff2"); }

:root {
  --ink: #15181a;        /* negro del logo */
  --graphite: #2a2f32;   /* suelo de la clínica */
  --ink-soft: #565d61;
  --silver: #a3a8ab;     /* trazo plateado del logo */
  --line: #dfe2e3;
  --mist: #f1f2f2;
  --white: #ffffff;
  --glow: #c39a5f;       /* luz cálida de la pared: solo para detalles */
  --glow-soft: #f4ece0;
  --wa: #1c8f4a;
  --radius: 18px;
  --radius-crown: 18px 18px 18px 96px; /* curva de la corona del logo */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; font-variation-settings: "opsz" 48; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
p + p { margin-top: 1rem; }
::selection { background: var(--glow-soft); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 1.3rem 0 2rem; max-width: 48ch; }
.muted { color: var(--ink-soft); }

/* Etiquetas sobre titulares: solo en la cabecera de las páginas interiores */
.eyebrow { display: none; }
.page-head .eyebrow, .contact .eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.2rem; }
.page-head .eyebrow::before, .contact .eyebrow::before { content: ""; width: 26px; height: 14px; border: 2px solid var(--silver); border-color: var(--silver) transparent transparent transparent; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(4px); }
.contact .eyebrow { color: rgba(255,255,255,.7); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .85rem 1.55rem; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1.5px solid var(--ink); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); font-family: inherit; line-height: 1.2; }
.btn:hover { background: var(--graphite); border-color: var(--graphite); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--small { min-height: 42px; padding: .55rem 1.15rem; font-size: .88rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.btn--wa:hover { background: #157239; border-color: #157239; }

/* Barra superior */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 1.8rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar__hours { margin-right: auto; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar b { color: var(--white); font-weight: 600; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(21,24,26,.07); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.logo img { height: 40px; width: auto; }
.logo__name { font-family: var(--sans); font-size: 1.28rem; font-weight: 700; letter-spacing: .16em; line-height: 1; }
.logo__name small { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }
.logo--light { color: var(--white); }
.logo--light .logo__name small { color: rgba(255,255,255,.55); }
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a:not(.btn) { position: relative; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-soft); padding: .35rem 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .25s var(--ease), opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Portada: la doctora con el escáner 3D a toda pantalla */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,16,18,.86) 0%, rgba(14,16,18,.62) 42%, rgba(14,16,18,.08) 75%), linear-gradient(0deg, rgba(14,16,18,.7) 0%, rgba(14,16,18,0) 45%); }
.hero__content { padding: clamp(5rem, 12vw, 9rem) 0 clamp(2.5rem, 5vw, 4rem); width: min(1200px, 100% - 32px); }
.hero__text { max-width: 620px; }
.hero__kicker { display: inline-flex; align-items: center; gap: .75rem; font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.78); margin-bottom: 1.4rem; }
.hero__kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--glow); }
.hero h1 { color: var(--white); }
.hero h1 em { color: rgba(255,255,255,.72); }
.hero .lead { color: rgba(255,255,255,.8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; color: rgba(255,255,255,.7); }
.hero__facts strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 2.3rem; color: var(--white); line-height: 1.05; }

/* Entrada de la portada: una sola secuencia */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: heroZoom 1.8s var(--ease) both; }
  .hero__text > * { animation: rise .9s var(--ease) both; }
  .hero__text > *:nth-child(2) { animation-delay: .08s; }
  .hero__text > *:nth-child(3) { animation-delay: .16s; }
  .hero__text > *:nth-child(4) { animation-delay: .24s; }
  .hero__facts { animation: rise .9s .36s var(--ease) both; }
}
@keyframes heroZoom { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Cabecera de páginas interiores */
.page-head { background: var(--mist); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.8rem, 5vw, 4.2rem); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; background: url(img/logo-oscuro.png) center/contain no-repeat; opacity: .045; pointer-events: none; }
.page-head p.lead { margin-bottom: 0; max-width: 60ch; }

/* Secciones */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tint { background: var(--mist); }
.section--tight { padding-top: 0; }
.section__head { max-width: 700px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.section__head h2 { margin-bottom: 0; }

/* Tratamientos: una destacada y el resto en lista con foto */
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.treat { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.treat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--mist); border-radius: var(--radius); transition: border-radius .45s var(--ease); }
.treat:hover img { border-radius: var(--radius-crown); }
.treat__body { padding: 1.1rem .2rem 0; display: flex; flex-direction: column; flex: 1; }
.treat__body h3 { font-size: 1.4rem; }
.treat__body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.treat__more { margin-top: .9rem; font-weight: 600; font-size: .88rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.treat:hover .treat__more { text-decoration-color: var(--glow); }
.treat--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.treat--featured img { aspect-ratio: 16/11; border-radius: var(--radius-crown); }
.treat--featured .treat__body { padding: 0; }
.treat--featured h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.treat--featured p { font-size: 1.05rem; flex: none; }
.tag { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; color: var(--ink-soft); font-size: .8rem; font-weight: 600; margin-bottom: 1rem; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); }

/* Bloque dividido */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.photo { width: 100%; border-radius: var(--radius-crown); object-fit: cover; }
.photo--tall { aspect-ratio: 4/5; }
.photo--wide { aspect-ratio: 4/3; }

/* Pilares del equipo: las roscas del implante del logo como marca */
.pillars { display: grid; margin-top: 2rem; }
.pillar { display: grid; grid-template-columns: 2.6rem 1fr; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.pillar__n { font-size: 0; width: 18px; height: 16px; margin-top: .45rem; background: linear-gradient(var(--silver), var(--silver)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--silver), var(--silver)) 2px 7px / 80% 2px no-repeat, linear-gradient(var(--silver), var(--silver)) 4px 14px / 60% 2px no-repeat; }
.pillar h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: .3rem; letter-spacing: 0; }
.pillar p { color: var(--ink-soft); font-size: .95rem; }

/* Galería de la clínica */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.mosaic > * { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.mosaic > .big { border-radius: var(--radius-crown); }
.mosaic img, .mosaic video { width: 100%; height: 100%; object-fit: cover; }
.mosaic .big { grid-column: span 2; grid-row: span 2; }
.mosaic .tall { grid-row: span 2; }

/* Especialidades (detalle) */
.spec { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.8rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.spec:first-of-type { border-top: 0; padding-top: 0; }
.spec:nth-of-type(even) .spec__img { order: 2; }
.spec__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-crown); background: var(--mist); }
.spec:nth-of-type(even) .spec__img { border-radius: 18px 18px 96px 18px; }
.spec__img--contain { object-fit: contain; padding: 2rem; background: var(--mist); }
.spec h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.spec p { color: var(--ink-soft); }
.spec__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.spec-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.spec-index a { text-decoration: none; font-size: .86rem; font-weight: 500; padding: .5rem 1rem; border-radius: 99px; background: var(--white); border: 1px solid var(--line); min-height: 40px; display: inline-flex; align-items: center; }
.spec-index a:hover { border-color: var(--ink); }

/* Preguntas frecuentes */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.05rem; font-size: 1.6rem; font-weight: 300; color: var(--ink-soft); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; color: var(--ink-soft); }

/* Equipo */
.team-group { margin-bottom: 4rem; }
.team-group > h2 { font-size: 1.6rem; margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.team-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.5rem; }
.member figure { border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 4/5; transition: border-radius .45s var(--ease); }
.member:hover figure { border-radius: var(--radius-crown); }
.member img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 1rem 0 .1rem; font-size: 1.2rem; }
.member p { color: var(--ink-soft); font-size: .9rem; }
.team-photo { width: 100%; border-radius: var(--radius-crown); aspect-ratio: 21/9; object-fit: cover; object-position: center 35%; }

/* Sedes */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.loc { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(21,24,26,.04), 0 18px 40px -24px rgba(21,24,26,.25); }
.loc__map { width: 100%; height: 260px; border: 0; display: block; background: var(--mist); }
.map-load { position: relative; height: 260px; width: 100%; border: 0; padding: 1.5rem; display: grid; place-content: center; justify-items: center; gap: .6rem; text-align: center; cursor: pointer; font: inherit; color: var(--ink); background: var(--mist) url(img/mapa-fondo.svg) center/cover no-repeat; }
.map-load b svg { width: 18px; height: 18px; flex: none; }
.map-load b { white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; background: var(--white); padding: .7rem 1.2rem; border-radius: 99px; font-size: .92rem; box-shadow: 0 8px 22px -10px rgba(21,24,26,.35); }
.map-load small { font-size: .78rem; color: var(--ink-soft); max-width: 34ch; }
.map-load:hover b { background: var(--ink); color: var(--white); }
.loc__body { padding: 1.9rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.loc__body h3 { font-size: 1.8rem; }
.loc__line { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); }
.loc__line svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; color: var(--silver); }
.loc__line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.loc__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }

/* Banda de cita */
.cta-band { background: var(--ink); color: var(--white); border-radius: 28px 28px 28px 140px; padding: clamp(2.6rem, 6vw, 4.5rem) clamp(2rem, 6vw, 4.5rem) clamp(2.6rem, 6vw, 4.5rem) clamp(2.5rem, 8vw, 6rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -90px; width: 340px; height: 340px; background: url(img/logo-claro.png) center/contain no-repeat; opacity: .06; z-index: -1; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(transparent, var(--glow), transparent); opacity: .8; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.72); }
.cta-band__actions { display: flex; flex-direction: column; gap: .7rem; }

/* Contacto y formularios */
.contact { background: var(--ink); color: var(--white); }
.contact h1 { color: var(--white); }
.contact p { color: rgba(255,255,255,.75); }
.contact a[href^="mailto"] { color: var(--white); text-underline-offset: 4px; }
.contact .form p, .contact .form .check { color: var(--ink-soft); }
.contact .split { align-items: start; }
.contact .split > div:first-child { padding-top: clamp(0rem, 3vw, 2.5rem); }
.contact .form a { color: var(--ink); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius-crown); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.05rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,.5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .86rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; font-weight: 400; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--ink); width: 100%; min-height: 48px; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--glow); outline-offset: 1px; background: var(--white); border-color: var(--ink); }
.form .form__note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form .form__note a { color: var(--ink); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choice label { display: block; cursor: pointer; position: relative; }
.form .choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; padding: 0; pointer-events: none; }
.choice span { display: block; text-align: center; padding: .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.form input[type="file"] { padding: .7rem; background: var(--white); cursor: pointer; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.form .check input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: .1rem; accent-color: var(--ink); padding: 0; }
.form .check a { color: var(--ink); }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__estado { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form__estado.is-error { color: #a3302a; font-weight: 600; }
.form__ok { padding: 1.5rem .5rem; text-align: center; }
.form__ok h3 { font-size: 1.8rem; margin-bottom: .6rem; }
.form__ok p { color: var(--ink-soft); }

/* Pie */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 4.5rem 0 2rem; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: var(--white); font-size: .82rem; margin-bottom: 1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__about p { margin-top: 1.1rem; max-width: 32ch; }
.social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.social svg { width: 18px; height: 18px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.2rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: rgba(255,255,255,.62); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; }
.wa-float__btn { width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35); border: 0; cursor: pointer; }
.wa-float__btn svg { width: 28px; height: 28px; }
.wa-float__menu { position: absolute; right: 0; bottom: 72px; background: var(--white); border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.3); padding: .5rem; min-width: 230px; display: none; }
.wa-float.open .wa-float__menu { display: block; }
.wa-float__menu p { font-size: .8rem; color: var(--ink-soft); padding: .55rem .8rem .3rem; }
.wa-float__menu a { display: block; padding: .75rem .85rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.wa-float__menu a small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; }
.wa-float__menu a:hover { background: var(--mist); }

/* Textos legales */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); }
.legal a { color: var(--ink); text-underline-offset: 3px; }

/* Página de error */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.error-page h1 { margin-bottom: 1rem; }
.error-page .hero__cta { justify-content: center; margin-top: 2rem; }

/* Responsive */
@media (max-width: 980px) {
  .split, .split--wide, .spec, .cta-band, .treat--featured { grid-template-columns: 1fr; }
  .spec:nth-of-type(even) .spec__img { order: 0; }
  .treat-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .hero::before { background: linear-gradient(0deg, rgba(14,16,18,.92) 0%, rgba(14,16,18,.7) 50%, rgba(14,16,18,.25) 100%); }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.3rem; box-shadow: 0 24px 30px -20px rgba(0,0,0,.15); }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
  .nav__links .btn { margin-top: 1.1rem; }
  .locations { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: center; gap: 1.2rem; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { min-height: 88svh; }
  .hero__bg { object-position: 70% 30%; }
  .treat-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-photo { aspect-ratio: 4/3; }
  .hero__facts { gap: 1.6rem; }
  .hero__facts strong { font-size: 1.9rem; }
  .logo__name small { display: none; }
  .topbar__hours { display: none; }
  .mosaic .big { grid-column: span 2; grid-row: span 1; }
  .cta-band { border-radius: 24px 24px 24px 72px; }
  .page-head::after { width: 260px; height: 260px; right: -70px; top: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
