/* Plantilla negocio-local · Vistrina. Mobile-first, sin frameworks. */

/* ---------- temas (variables) ---------- */
:root {
  --c-primario: #2f4f7f;
  --c-primario-oscuro: #223a5e;
  --c-acento: #3b82f6;
  --c-fondo: #ffffff;
  --c-superficie: #f3f5f8;
  --c-texto: #16202b;
  --c-texto-suave: #4b5563;
  --c-borde: #dde3ea;
  --c-wa: #0f7a6e;
  --c-wa-oscuro: #0b5f55;
  --c-blanco: #ffffff;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .18);
  --fuente: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ancho: 1120px;
  --gutter: 16px;
  --cabecera-alto: 64px;
}
[data-tema="dental"] {
  --c-primario: #0f766e;
  --c-primario-oscuro: #0b5952;
  --c-acento: #14b8a6;
  --c-superficie: #effbf9;
  --c-borde: #cfe9e5;
}
[data-tema="juridico"] {
  --c-primario: #1e3a5f;
  --c-primario-oscuro: #142a46;
  --c-acento: #b9975b;
  --c-superficie: #f5f3ee;
  --c-borde: #e2dccd;
}
[data-tema="inmobiliaria"] {
  --c-primario: #4d5d2f;
  --c-primario-oscuro: #3a4623;
  --c-acento: #8a9a5b;
  --c-superficie: #f3efe3;
  --c-borde: #e0d9c4;
}
[data-tema="neutro"] {
  --c-primario: #2f4f7f;
  --c-primario-oscuro: #223a5e;
  --c-acento: #3b82f6;
  --c-superficie: #f3f5f8;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-texto);
  background: var(--c-fondo);
  scroll-padding-top: var(--cabecera-alto);
}
html { scroll-padding-top: calc(var(--cabecera-alto) + 8px); }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 2.2vw + 1.3rem, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.4vw + 1.1rem, 2.2rem); color: var(--c-primario-oscuro); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--c-primario); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-primario-oscuro); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--c-acento); outline-offset: 3px; border-radius: 4px; }
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.contenedor--angosto { max-width: 760px; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nota { color: var(--c-texto-suave); font-size: .9rem; }
.icono { width: 1.25em; height: 1.25em; flex: none; }
.icono--grande { width: 1.75em; height: 1.75em; }
.saltar { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--c-primario-oscuro); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.saltar:focus { top: 8px; }

/* ---------- botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.boton:hover { transform: translateY(-1px); }
.boton:active { transform: translateY(0); }
.boton--wa { background: var(--c-wa); color: #fff; }
.boton--wa:hover { background: var(--c-wa-oscuro); color: #fff; box-shadow: 0 6px 16px -6px rgba(15, 122, 110, .6); }
.boton--primario { background: var(--c-primario); color: #fff; }
.boton--primario:hover { background: var(--c-primario-oscuro); color: #fff; }
.boton--secundario { background: #fff; color: var(--c-primario-oscuro); border-color: var(--c-borde); }
.boton--secundario:hover { border-color: var(--c-primario); color: var(--c-primario-oscuro); }
.boton--chico { min-height: 40px; padding: .4rem .9rem; font-size: .9rem; }

/* ---------- cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-fondo) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--c-borde);
}
.cabecera__fila { display: flex; align-items: center; gap: .75rem; min-height: var(--cabecera-alto); }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--c-primario-oscuro); text-decoration: none; letter-spacing: -.01em; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) {
  .logo { font-size: 1.05rem; }
  .cabecera__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cabecera__wa { padding-inline: .7rem; }
}
.nav { position: relative; }
.nav__boton {
  display: inline-flex; align-items: center; gap: .4rem; background: none; border: 2px solid var(--c-borde);
  border-radius: 999px; padding: .4rem .8rem; font: inherit; font-weight: 700; color: var(--c-texto); cursor: pointer; min-height: 40px;
}
.nav__lista { display: flex; gap: .25rem; }
.nav__lista a { display: block; padding: .5rem .7rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--c-texto); }
.nav__lista a:hover { background: var(--c-superficie); color: var(--c-primario-oscuro); }
@media (max-width: 899px) {
  .nav__lista { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; flex-direction: column; background: var(--c-fondo); border: 1px solid var(--c-borde); border-radius: var(--radio); box-shadow: var(--sombra); padding: .5rem; }
  .nav--abierta .nav__lista { display: flex; }
  .nav__boton[hidden] { display: none; }
  .js .nav__boton { display: inline-flex; }
}
@media (min-width: 900px) {
  .nav__boton { display: none !important; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); background: linear-gradient(180deg, var(--c-superficie), var(--c-fondo)); }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__etiqueta { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-primario); background: #fff; border: 1px solid var(--c-borde); padding: .3rem .75rem; border-radius: 999px; }
.hero h1 { color: var(--c-primario-oscuro); }
.hero__sub { font-size: 1.125rem; color: var(--c-texto-suave); max-width: 52ch; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero__nota { margin-top: 1rem; font-size: .9rem; color: var(--c-texto-suave); }
.hero__imagen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radio); box-shadow: var(--sombra); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
}

/* ---------- franja de confianza ---------- */
.confianza { background: var(--c-primario-oscuro); color: #fff; }
.confianza__lista { display: grid; gap: 1rem; padding-block: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.confianza__lista li { display: flex; gap: .75rem; align-items: center; }
.confianza__lista .icono { width: 1.75em; height: 1.75em; color: var(--c-acento); }
.confianza__lista strong { display: block; font-size: 1.05rem; }
.confianza__lista span { font-size: .9rem; opacity: .9; }

/* ---------- secciones ---------- */
.seccion { padding-block: clamp(2.5rem, 6vw, 5rem); }
.seccion:nth-of-type(even) { background: var(--c-superficie); }
.seccion__cabecera { max-width: 64ch; margin-bottom: 2rem; }
.seccion__cabecera p { color: var(--c-texto-suave); font-size: 1.05rem; }
.seccion__cta { margin-top: 2rem; }
.tarjetas, .resenas__grid, .equipo__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tarjeta {
  background: #fff; border: 1px solid var(--c-borde); border-radius: var(--radio); padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.tarjeta h3 { margin-top: .75rem; }
.tarjeta p { margin: 0; color: var(--c-texto-suave); }
.tarjeta__icono { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--c-superficie); color: var(--c-primario); }
.tarjeta__icono .icono { width: 26px; height: 26px; }
.tarjeta__precio { margin-top: .75rem !important; font-weight: 700; color: var(--c-primario-oscuro) !important; }

/* por qué elegirnos */
.porque__lista { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.porque__lista li { display: flex; gap: 1rem; }
.porque__lista .icono { width: 2rem; height: 2rem; color: var(--c-primario); margin-top: .15rem; }
.porque__lista h3 { margin-bottom: .25rem; }
.porque__lista p { margin: 0; color: var(--c-texto-suave); }

/* galería */
.galeria__grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.galeria__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; transition: transform .3s ease; }
.galeria__grid li { overflow: hidden; border-radius: 10px; }
.galeria__grid li:hover img { transform: scale(1.03); }
@media (min-width: 700px) { .galeria__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* equipo */
.equipo__grid li { text-align: center; }
.equipo__grid img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; }
.equipo__inicial { display: grid; place-items: center; width: 160px; height: 160px; margin: 0 auto 1rem; border-radius: 50%; background: var(--c-superficie); color: var(--c-primario); font-size: 3rem; font-weight: 800; }
.equipo__cargo { color: var(--c-primario); font-weight: 700; margin-bottom: .5rem; }

/* reseñas */
.estrellas { color: #d97706; letter-spacing: .1em; font-size: 1.1rem; }
.resenas blockquote { margin: .75rem 0; }
.resenas blockquote p { color: var(--c-texto); }
.resena__autor { font-size: .9rem; color: var(--c-texto-suave); }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; background: var(--c-superficie); color: var(--c-texto-suave); border: 1px solid var(--c-borde); }

/* ubicación */
.ubicacion__grid { display: grid; gap: 2rem; }
.ubicacion__datos h3 { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.ubicacion__datos h3:first-child { margin-top: 0; }
.ubicacion__datos .icono { color: var(--c-primario); }
.horarios { border-collapse: collapse; width: 100%; max-width: 420px; }
.horarios th, .horarios td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--c-borde); vertical-align: top; }
.horarios th { font-weight: 700; padding-right: 1rem; }
.ubicacion__acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mapa { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--c-borde); background: var(--c-superficie); }
.mapa iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
@media (min-width: 900px) { .ubicacion__grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }

/* faq */
.faq__item { border: 1px solid var(--c-borde); border-radius: 12px; background: #fff; margin-bottom: .75rem; }
.faq__item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--c-primario); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--c-texto-suave); }

/* contacto */
.contacto__grid { display: grid; gap: 2rem; }
.contacto__botones { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.formulario { background: #fff; border: 1px solid var(--c-borde); border-radius: var(--radio); padding: 1.5rem; }
.campo { margin-bottom: 1rem; }
.campo label { display: block; font-weight: 700; margin-bottom: .35rem; }
.campo input, .campo textarea {
  width: 100%; font: inherit; padding: .7rem .9rem; border: 1px solid var(--c-borde); border-radius: 10px; background: #fff; color: var(--c-texto);
}
.campo input:focus, .campo textarea:focus { border-color: var(--c-primario); outline: 3px solid color-mix(in srgb, var(--c-acento) 35%, transparent); outline-offset: 0; }
.formulario__aviso { font-size: .85rem; color: var(--c-texto-suave); }
.formulario__estado:empty { display: none; }
.formulario__estado { margin-top: 1rem; font-weight: 700; color: var(--c-primario-oscuro); }
@media (min-width: 900px) { .contacto__grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- pie ---------- */
.pie { background: var(--c-primario-oscuro); color: #fff; padding-top: 3rem; margin-top: 2rem; }
.pie a { color: #fff; }
.pie p { margin-bottom: .35rem; }
.pie__nombre { font-weight: 800; font-size: 1.15rem; }
.pie__grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.pie__lista { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.pie__bajo { border-top: 1px solid rgba(255, 255, 255, .18); padding-block: 1.25rem calc(1.25rem + 64px); font-size: .9rem; opacity: .95; }
.pie__demo { font-weight: 700; }
@media (min-width: 700px) {
  .pie__grid { grid-template-columns: 2fr 1fr; }
  .pie__lista { flex-direction: column; }
  .pie__bajo { padding-bottom: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
}

/* ---------- WhatsApp flotante (móvil) ---------- */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-wa); color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4);
  transition: transform .15s ease, background-color .15s ease;
}
.wa-flotante:hover { background: var(--c-wa-oscuro); color: #fff; transform: scale(1.05); }
@media (min-width: 900px) { .wa-flotante { display: none; } }

/* ---------- páginas legales ---------- */
.legal { padding-block: clamp(2rem, 5vw, 4rem); }
.legal h1 { color: var(--c-primario-oscuro); }
.legal h2 { font-size: 1.25rem; margin-top: 1.75rem; }

/* ---------- menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- Vista previa privada: franja superior con la leyenda (solo cuando site.json trae "vistaPrevia") ----
   Va en el flujo, antes de la cabecera, así no tapa ningún botón. --vp es su alto mínimo (3 líneas en el
   celular, 2 en tablet, 1 en escritorio) para que una cabecera absoluta pueda bajar esa misma medida. */
body:has(> .vista-previa) { --vp: 4.4rem; }
.vista-previa { box-sizing: border-box; min-height: var(--vp, 0px); display: flex; align-items: center; justify-content: center; margin: 0; padding: 0.5rem 1rem; background: #161616; color: #fff; font: 500 0.8rem/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
html[data-direccion="juridico-instrumento"] body:has(> .vista-previa) .qi-top { top: calc(12px + var(--vp)); }
@media (min-width: 640px) { body:has(> .vista-previa) { --vp: 3.3rem; } }
@media (min-width: 1100px) { body:has(> .vista-previa) { --vp: 2.3rem; } }

/* ---- dirección: dental-aurora ---- */
/* Dirección dental-aurora · one-motif · "Cobalt on sand" · General Sans.
   El motivo: un disco cortado por el horizonte (base recta, cima redonda). Se usa en el sol del hero,
   las pestañas, el botón, cada marco de foto, las viñetas, las muescas del cupón y la marca del pie. */

:root {
  --bg: #e6dbc7;
  --surface: #ddd0b9;
  --sand-3: #d1c2a6;
  --sand-4: #c3b08f;
  --sand-5: #b39d78;
  --ink: #062b8a;
  --ink-2: #1d47a8;
  --ink-deep: #041d5e;
  --muted: #2a4792;
  --accent: #062b8a;
  --accent-ink: #e6dbc7;

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --step-small: 0.9375rem;
  --step-body: 1.0625rem;
  --step-lead: 1.375rem;
  --step-stmt: 2rem;
  --step-head: clamp(2.25rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 7vw, 6.75rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(0.75rem, 1.4vw, 1.5rem);
  --section: clamp(5rem, 11vw, 12rem);
  --top: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;

  /* la plantilla base */
  --c-fondo: var(--bg);
  --c-superficie: var(--surface);
  --c-texto: var(--ink);
  --c-texto-suave: var(--muted);
  --c-borde: var(--sand-3);
  --fuente: var(--font);
  --radio: 0;
  --cabecera-alto: var(--top);
}

[data-direccion="dental-aurora"] { scroll-behavior: auto; scroll-padding-top: 1rem; }
[data-direccion="dental-aurora"] body {
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-kerning: normal; scroll-padding-top: 1rem;
}
[data-direccion="dental-aurora"] h1, [data-direccion="dental-aurora"] h2, [data-direccion="dental-aurora"] h3 { color: inherit; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin: 0; text-wrap: balance; hyphens: none; }
[data-direccion="dental-aurora"] p { margin: 0; max-width: 62ch; text-wrap: pretty; }
[data-direccion="dental-aurora"] p + p { margin-top: 0.9em; }
[data-direccion="dental-aurora"] a { text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
[data-direccion="dental-aurora"] .au-claro a, [data-direccion="dental-aurora"] .au-claro a:hover { color: var(--bg); }
[data-direccion="dental-aurora"] img, [data-direccion="dental-aurora"] iframe { display: block; max-width: 100%; }
[data-direccion="dental-aurora"] img { height: auto; background: var(--surface); }
[data-direccion="dental-aurora"] ::selection { background: var(--accent); color: var(--accent-ink); }
[data-direccion="dental-aurora"] :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 0; }
[data-direccion="dental-aurora"] .saltar { background: var(--ink); color: var(--bg); border-radius: 0; }
.au-h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; max-width: 16ch; }
.au-nota { font-size: var(--step-small); line-height: 1.45; color: var(--muted); }
.au-nota--claro { color: var(--bg); opacity: 0.8; }
.au-nota a, .au-nota a:hover { color: inherit; }

/* ---------- el motivo ---------- */
.au-arco { display: block; position: relative; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--surface); }
.au-arco > img, .au-arco > iframe { width: 100%; height: 100%; object-fit: cover; }

/* ---------- botón: cima redonda, base recta ---------- */
[data-direccion="dental-aurora"] .au-boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.25rem; padding: 0.75rem 1.5rem 0.7rem; border-radius: 999px 999px 0 0; border: 0;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.au-boton .icono { width: 1.25em; height: 1.25em; flex: none; }
.au-boton:active { transform: translateY(2px) scale(0.98); }
[data-direccion="dental-aurora"] .au-boton--claro, [data-direccion="dental-aurora"] .au-claro .au-boton--claro, [data-direccion="dental-aurora"] .au-claro .au-boton--claro:hover { background: var(--bg); color: var(--ink); }
.au-boton--chico { min-height: 2.75rem; padding: 0.55rem 1.1rem 0.5rem; font-size: var(--step-small); }
.au-enlace { font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
[data-direccion="dental-aurora"] .au-enlace--claro, [data-direccion="dental-aurora"] .au-enlace--claro:hover { color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  [data-direccion="dental-aurora"] .au-boton:hover { background: var(--ink-deep); color: var(--bg); }
  [data-direccion="dental-aurora"] .au-boton--claro:hover, [data-direccion="dental-aurora"] .au-claro .au-boton--claro:hover { background: #fff5e4; color: var(--ink); }
  .au-enlace:hover { text-decoration-color: currentColor; }
}

/* ---------- cabecera ---------- */
.au-top { display: flex; flex-wrap: nowrap; align-items: center; gap: 1rem; min-height: var(--top); padding-inline: var(--margin); background: var(--bg); position: relative; z-index: 20; }
.au-top__marca { font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.au-top__corto { display: none; }
.au-nav__boton { display: none; font: inherit; font-weight: 500; background: none; border: 0; color: inherit; padding: 0.5rem 0.75rem; cursor: pointer; min-height: 44px; }
.au-nav__lista { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.au-nav__lista a { display: block; padding: 0.6rem 0.8rem; text-decoration: none; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .au-nav__lista a:hover { text-decoration-color: currentColor; } }
@media (max-width: 899px) {
  .au-top__largo { display: none; }
  .au-top__corto { display: inline; }
  .au-nav { position: static; }
  .js .au-nav__boton { display: inline-flex; align-items: center; }
  .js .au-nav__lista { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); padding: 0.75rem var(--margin) 1.25rem; z-index: 30; }
  .js .au-nav--abierta .au-nav__lista { display: flex; }
  .js .au-nav__lista a { padding: 0.8rem 0; font-size: var(--step-lead); }
  .au-top { gap: 0.5rem; }
  .au-top__marca { font-size: var(--step-body); }
  .au-top__wa { padding-inline: 0.9rem; }
  .au-nav__boton { padding: 0.5rem; }
}

/* ---------- hero: el sol sobre la pila ---------- */
.au-hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - var(--top)); overflow: clip; isolation: isolate; }
.au-hero__cielo { position: relative; padding: clamp(1.5rem, 7vh, 5rem) var(--margin) 4rem; min-height: 52svh; }
.au-hero__titulo { position: relative; z-index: 3; font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.03em; margin-left: -0.04em; max-width: 50%; }
.au-linea { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.au-linea [data-line] { display: block; white-space: nowrap; }
.au-hero__frase { position: relative; z-index: 3; margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; width: min(40ch, 48%); }
.au-sol { --d: min(84vh, 62vw); --f: 1; position: absolute; left: 60%; bottom: 0; width: var(--d); height: var(--d); z-index: 1; transform: translateY(calc(50% + (1 - var(--f)) * 50%)); display: block; }
.au-sol__disco { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); }
.au-sol:focus-visible { outline-offset: -6px; outline-color: var(--bg); }
.au-pila { --offset: 60px; --tab: 44px; position: relative; z-index: 2; }
.au-pila__banda { position: absolute; left: 0; right: 0; top: calc(var(--k) * var(--offset)); bottom: 0; text-decoration: none; color: var(--ink); z-index: calc(var(--k) + 1); }
.au-pila__banda--1 { background: var(--sand-5); }
.au-pila__banda--2 { background: var(--sand-4); }
.au-pila__banda--3 { background: var(--sand-3); }
.au-pila__banda--4 { background: var(--surface); }
.au-pila__banda--5 { background: var(--bg); }
.au-pila__frente { position: relative; top: auto; bottom: auto; margin-top: calc(4 * var(--offset)); padding: 1.75rem var(--margin) 2.25rem; }
.au-pila__tab { position: absolute; top: calc(var(--tab) * -1); left: calc(var(--margin) + var(--k) * 15%); height: var(--tab); min-width: 10rem; padding: 0.7rem 1.5rem 0; border-radius: 999px 999px 0 0; background: inherit; font-weight: 500; font-size: var(--step-body); line-height: 1.2; text-decoration: none; color: inherit; white-space: nowrap; display: flex; align-items: flex-start; justify-content: center; }
.au-pila__banda--1 .au-pila__tab { background: var(--sand-5); }
.au-pila__banda--2 .au-pila__tab { background: var(--sand-4); }
.au-pila__banda--3 .au-pila__tab { background: var(--sand-3); }
.au-pila__banda--4 .au-pila__tab { background: var(--surface); }
.au-pila__banda--5 .au-pila__tab { background: var(--bg); }
.au-pila__tab { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .au-pila__banda:hover .au-pila__tab, a.au-pila__tab:hover { transform: translateY(-6px); }
}
.au-pila__contenido { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.au-hero__estado { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; max-width: 30ch; }
@media (max-width: 899px) {
  .au-hero__cielo { min-height: 46svh; padding-top: 1.5rem; padding-bottom: 3rem; }
  .au-hero__titulo { max-width: 100%; font-size: clamp(2.5rem, 11.2vw, 3.6rem); }
  .au-hero__frase { width: auto; max-width: 34ch; margin-top: 1rem; font-size: var(--step-body); }
  .au-sol { --d: 92vw; left: 40%; }
  .au-pila { --offset: 46px; --tab: 36px; }
  .au-pila__tab { font-size: 0.9375rem; min-width: 0; padding: 0.55rem 1rem 0; left: calc(var(--margin) + var(--k) * 17%); }
  .au-pila__frente { padding: 1.25rem var(--margin) 1.75rem; }
  .au-pila__contenido { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .au-pila__contenido .au-boton { width: 100%; }
  .au-hero__estado { font-size: var(--step-body); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .au-hero__cielo { min-height: 48svh; }
  .au-hero__titulo { max-width: 56%; }
  .au-hero__frase { width: 48%; }
  .au-sol { left: 52%; --d: 80vw; }
}

/* ---------- declaración con marcos ---------- */
.au-decl { padding: clamp(5rem, 16vh, 10rem) var(--margin); display: grid; place-items: center; text-align: center; }
.au-decl__texto { font-size: var(--step-stmt); font-weight: 500; line-height: 1.18; letter-spacing: -0.015em; max-width: 64%; text-wrap: balance; }
.au-decl__marco { display: inline-block; vertical-align: -0.1em; height: 0.85em; width: 1.3em; margin: 0 0.12em; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--surface); }
.au-decl__marco img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .au-decl { padding: 5rem var(--margin); text-align: left; place-items: start; }
  .au-decl__texto { max-width: 100%; font-size: var(--step-lead); line-height: 1.22; }
  .au-decl__marco--ancho { display: none; }
}

/* ---------- tratamientos: losas ---------- */
.au-losas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: calc(var(--section) / 2) var(--margin); background: var(--surface); }
.au-losas__texto { grid-column: 1 / span 4; }
.au-losas__texto p { margin-top: 1.25rem; max-width: 30ch; }
.au-losas__cta { margin-top: 2rem; }
.au-losas__grid { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 10px; margin: 0; padding: 0; list-style: none; }
.au-losa--2, .au-losa--6 { grid-column: span 2; }
.au-losa__losa { aspect-ratio: 4 / 5; display: grid; place-items: end center; padding-bottom: 0; }
.au-losa--2 .au-losa__losa, .au-losa--6 .au-losa__losa { aspect-ratio: 8 / 5; }
.au-losa__losa .au-arco { width: 66%; height: 72%; }
.au-losa--2 .au-losa__losa .au-arco, .au-losa--6 .au-losa__losa .au-arco { width: 52%; height: 76%; }
.au-tono-1 { background: var(--sand-3); }
.au-tono-2 { background: var(--sand-4); }
.au-tono-3 { background: var(--bg); }
[data-direccion="dental-aurora"] .au-losa__nombre { margin-top: 0.9rem; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.au-losa__hecho { margin-top: 0.3rem; font-size: var(--step-body); line-height: 1.4; max-width: 32ch; }
.au-losa__precio { margin-top: 0.3rem; font-weight: 500; }
.au-losas__nota { grid-column: 5 / -1; margin-top: 2.5rem; }
@media (max-width: 899px) {
  .au-losas { display: block; padding-block: 4.5rem; }
  .au-losas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 8px; margin-top: 2.5rem; }
  .au-losa--2 { order: -1; }
  .au-losa__nombre { font-size: var(--step-body); }
  .au-losa__hecho { font-size: var(--step-small); }
  .au-losas__nota { margin-top: 1.75rem; }
}

/* ---------- consultorio: un marco, índice con vista previa ---------- */
.au-marco { padding: calc(var(--section) / 2) var(--margin); }
.au-marco__cuerpo { display: grid; grid-template-columns: 40% 1fr; column-gap: calc(var(--gutter) * 3); align-items: start; margin-top: 3rem; }
.au-marco__cuadro { margin: 0; }
.au-marco__fotos { aspect-ratio: 4 / 5; width: 100%; }
.au-marco__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.au-marco__foto.is-on { opacity: 1; }
.au-marco__pie { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.au-marco__pie [data-marco-nombre] { color: var(--ink); font-weight: 500; }
.au-indice { margin: 0; padding: 0; list-style: none; }
.au-indice__fila { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0.35em 0; font: inherit; font-size: var(--step-stmt); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); cursor: pointer; transition: opacity var(--t-hover) ease, transform var(--t-hover) var(--ease-out); }
.au-indice__fila::before { content: ""; display: inline-block; width: 0.5em; height: 0.25em; margin-right: 0.45em; vertical-align: 0.05em; border-radius: 999px 999px 0 0; background: currentColor; opacity: 0; transition: opacity var(--t-hover) ease; }
.au-indice__fila.is-on::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .au-indice:hover .au-indice__fila:not(:hover) { opacity: 0.4; }
  .au-indice__fila:hover { transform: translateX(0.2em); }
}
.au-datos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem var(--gutter); margin: 4rem 0 0; padding: 0; list-style: none; }
.au-datos li { position: relative; padding-left: 1.4em; line-height: 1.4; }
.au-datos li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9em; height: 0.45em; border-radius: 999px 999px 0 0; background: var(--ink); }
.au-datos strong { display: block; font-weight: 500; }
@media (max-width: 899px) {
  .au-marco { padding-block: 4.5rem; }
  .au-marco__cuerpo { grid-template-columns: 1fr; row-gap: 1.5rem; margin-top: 1.5rem; }
  .au-marco__cuadro { width: 72vw; }
  .au-indice__fila { font-size: var(--step-lead); padding: 0.3em 0; }
  .au-datos { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }
}

/* ---------- por qué: panel cobalto con retrato en arco ---------- */
.au-panel { padding: 0 20px; }
.au-panel__caja { position: relative; min-height: 92svh; background: var(--ink); color: var(--bg); overflow: hidden; display: grid; grid-template-columns: 63% 1fr; padding: 56px; column-gap: var(--gutter); }
.au-panel__titulo { grid-column: 1; font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.025em; color: var(--bg); align-self: start; }
.au-panel__titulo .au-linea { overflow: visible; padding: 0; margin: 0; }
.au-panel__foto { grid-column: 1; align-self: end; margin: 3rem 0 -16% 0; width: 42vw; max-width: 600px; display: flex; flex-direction: column; gap: 0.75rem; }
.au-panel__foto .au-arco { width: 100%; aspect-ratio: 4 / 5; background: var(--ink-2); }
.au-panel__bloques { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 2.5rem 2rem; align-content: start; }
[data-direccion="dental-aurora"] .au-panel__bloque h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.au-panel__bloque p { margin-top: 0.6rem; font-size: var(--step-body); line-height: 1.45; opacity: 0.88; }
.au-panel__cta { grid-column: 1 / -1; margin-top: 0.5rem; }
@media (max-width: 1199px) {
  .au-panel__caja { grid-template-columns: 54% 1fr; padding: 40px; }
  .au-panel__bloques { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .au-panel { padding: 0 10px; }
  .au-panel__caja { display: flex; flex-direction: column; min-height: 0; padding: 2.25rem 20px 0; }
  .au-panel__bloques { grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2.25rem; }
  .au-panel__foto { order: 10; width: 86vw; align-self: center; margin: 2.5rem auto -22% auto; }
}

/* ---------- reseñas: retrato y cita desplazada ---------- */
.au-resenas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: calc(var(--section) / 2 + 24px) calc(var(--margin) * 2) calc(var(--section) / 2); }
.au-resenas__retrato { grid-column: 2 / span 4; grid-row: 1; margin: 0; }
.au-resenas__retrato .au-arco { aspect-ratio: 3 / 4; }
.au-resenas__retrato figcaption, .au-resenas__chica figcaption { margin-top: 0.75rem; }
.au-resenas__cita { grid-column: 6 / -1; grid-row: 1; padding-top: 120px; padding-left: calc(var(--gutter) * 2); }
.au-resenas__grande p { font-size: var(--step-stmt); font-weight: 400; line-height: 1.22; letter-spacing: -0.015em; max-width: 44ch; }
.au-resenas__grande p::before { content: "“"; }
.au-resenas__grande p::after { content: "”"; }
.au-resenas__autor { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: var(--step-body); }
.au-resenas__ejemplo { color: var(--muted); }
.au-estrellas { display: inline-flex; gap: 3px; align-items: flex-end; }
.au-estrella { display: block; width: 0.8em; height: 0.4em; border-radius: 999px 999px 0 0; background: var(--sand-4); }
.au-estrella.is-on { background: var(--ink); }
.au-resenas__otras { margin: 4rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.au-resenas__otras blockquote { margin: 0; }
.au-resenas__otras blockquote p { font-size: var(--step-body); line-height: 1.5; }
.au-resenas__otras blockquote p::before { content: "“"; }
.au-resenas__otras blockquote p::after { content: "”"; }
.au-resenas__otras .au-resenas__autor { margin-top: 0.9rem; }
.au-resenas__chica { grid-column: 10 / span 2; grid-row: 2; margin: 3rem 0 0; }
.au-resenas__chica .au-arco { aspect-ratio: 1; }
@media (max-width: 899px) {
  .au-resenas { display: block; padding: 4.5rem var(--margin); }
  .au-resenas__retrato { width: 72%; }
  .au-resenas__cita { padding-top: 2rem; }
  .au-resenas__grande p { font-size: 1.25rem; max-width: 100%; }
  .au-resenas__otras { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .au-resenas__chica { width: 44%; margin: 3rem 0 0 auto; }
}

/* ---------- horarios y cómo llegar ---------- */
.au-horas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; padding: calc(var(--section) / 2) var(--margin); background: var(--surface); }
.au-horas__texto { grid-column: 1 / span 5; }
.au-tabla { margin-top: 2rem; border-collapse: collapse; width: 100%; max-width: 28rem; font-variant-numeric: tabular-nums; }
.au-tabla th, .au-tabla td { text-align: left; padding: 0.55rem 0; border-bottom: 2px solid var(--sand-4); vertical-align: top; font-size: var(--step-lead); line-height: 1.3; }
.au-tabla th { font-weight: 500; padding-right: 1.5rem; }
.au-horas__texto .au-nota { margin-top: 1rem; }
.au-horas__direccion { margin-top: 2rem; font-style: normal; line-height: 1.45; }
.au-horas__direccion strong { font-weight: 500; }
.au-horas__acciones { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.au-horas__foto { grid-column: 7 / -1; grid-row: 1 / span 2; margin: 0; }
.au-horas__foto .au-arco { aspect-ratio: 4 / 5; }
.au-horas__foto figcaption { margin-top: 0.75rem; }
.au-horas__mapa { grid-column: 1 / span 5; grid-row: 2; aspect-ratio: 4 / 3; }
.au-horas__mapa iframe { border: 0; }
@media (max-width: 899px) {
  .au-horas { display: block; padding-block: 4.5rem; }
  .au-tabla th, .au-tabla td { font-size: var(--step-body); }
  .au-horas__foto { margin-top: 2.5rem; }
  .au-horas__mapa { margin-top: 2rem; aspect-ratio: 4 / 3; }
}

/* ---------- preguntas: fichas con pestaña ---------- */
.au-fichas { padding: calc(var(--section) / 2) var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.au-fichas > * { grid-column: 3 / span 8; }
.au-fichas__pila { margin-top: 3.5rem; --tab: 40px; --solapa: 56px; }
.au-ficha { position: relative; margin-top: var(--tab); padding: 1.5rem 2rem calc(var(--solapa) + 1.25rem); color: var(--ink); z-index: calc(var(--k) + 1); }
.au-ficha + .au-ficha { margin-top: calc(var(--tab) - var(--solapa)); }
.au-ficha--1 { background: var(--surface); }
.au-ficha--2 { background: var(--sand-3); }
.au-ficha--3 { background: var(--sand-4); }
.au-ficha--4 { background: var(--ink); color: var(--bg); }
.au-ficha summary { list-style: none; cursor: pointer; display: block; }
.au-ficha summary::-webkit-details-marker { display: none; }
.au-ficha__tab { position: absolute; top: calc(var(--tab) * -1); left: calc(2rem + var(--k) * 150px); height: var(--tab); width: 200px; border-radius: 999px 999px 0 0; background: inherit; display: flex; align-items: flex-start; justify-content: center; padding-top: 0.6rem; font-size: var(--step-body); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.au-ficha--1 .au-ficha__tab { background: var(--surface); }
.au-ficha--2 .au-ficha__tab { background: var(--sand-3); }
.au-ficha--3 .au-ficha__tab { background: var(--sand-4); }
.au-ficha--4 .au-ficha__tab { background: var(--ink); }
.au-ficha__pregunta { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; padding-right: 2rem; }
.au-ficha__resp { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.au-ficha__resp > p { overflow: hidden; max-width: 50ch; font-size: var(--step-body); line-height: 1.5; }
.au-ficha[open] .au-ficha__resp { grid-template-rows: 1fr; }
.au-ficha[open] .au-ficha__resp > p { padding-top: 1rem; }
.au-ficha:last-child { padding-bottom: 1.75rem; }
@media (max-width: 899px) {
  .au-fichas { display: block; padding-block: 4.5rem; }
  .au-fichas__pila { margin-top: 2.25rem; --tab: 36px; --solapa: 48px; }
  .au-ficha { padding: 1.25rem 20px calc(var(--solapa) + 1rem); }
  .au-ficha__tab { width: 120px; left: calc(20px + var(--k) * 48px); font-size: var(--step-small); padding-top: 0.55rem; }
  .au-ficha__pregunta { font-size: var(--step-body); padding-right: 0; }
}

/* ---------- cita: cupón ---------- */
.au-cupon { padding: calc(var(--section) / 2) var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.au-cupon__tarjeta { grid-column: 2 / span 10; position: relative; display: grid; grid-template-columns: 46% 1fr; background: var(--ink); color: var(--bg); min-height: 0; }
.au-cupon__muesca { position: absolute; left: 46%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--bg); z-index: 2; }
.au-cupon__muesca--a { top: -14px; }
.au-cupon__muesca--b { bottom: -14px; }
.au-cupon__izq { padding: 48px; display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; }
.au-cupon__titulo { font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; max-width: 12ch; }
.au-cupon__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.au-cupon__texto { font-size: var(--step-body); line-height: 1.5; opacity: 0.9; max-width: 36ch; }
.au-cupon__form { position: relative; padding: 48px 48px 40px calc(48px + 5px); border-left: 5px dotted var(--bg); display: grid; gap: 10px; align-content: start; }
.au-cupon__formtitulo { font-weight: 500; margin-bottom: 0.5rem; }
.au-campo { width: 100%; min-height: 52px; padding: 0.8rem 1rem; border: 0; border-radius: 0; background: var(--ink-2); color: var(--bg); font: inherit; font-size: var(--step-body); }
.au-campo::placeholder { color: var(--bg); opacity: 0.72; }
.au-campo:focus-visible { outline: 3px solid var(--bg); outline-offset: 0; }
.au-campo--area { min-height: 104px; resize: vertical; }
.au-cupon__enviar { width: 100%; min-height: 56px; border: 0; border-radius: 0; background: var(--ink-deep); color: var(--bg); font: inherit; font-weight: 500; font-size: var(--step-body); cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.au-cupon__enviar:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .au-cupon__enviar:hover { background: var(--bg); color: var(--ink); } }
.au-cupon__aviso { font-size: var(--step-small); opacity: 0.85; }
.au-cupon__aviso a, .au-cupon__aviso a:hover { color: inherit; }
.au-cupon__estado:empty { display: none; }
.au-cupon__estado { font-weight: 500; }
@media (max-width: 899px) {
  .au-cupon { display: block; padding: 4.5rem 12px; }
  .au-cupon__tarjeta { grid-template-columns: 1fr; }
  .au-cupon__muesca { left: auto; top: 46%; margin: -14px 0 0 0; }
  .au-cupon__muesca--a { left: -14px; }
  .au-cupon__muesca--b { right: -14px; bottom: auto; }
  .au-cupon__izq { padding: 32px 20px 28px; gap: 1.5rem; }
  .au-cupon__acciones .au-boton { width: 100%; }
  .au-cupon__form { border-left: 0; border-top: 5px dotted var(--bg); padding: 28px 20px 28px; }
  .au-campo, .au-cupon__enviar { min-height: 54px; }
}

/* ---------- pie: la marca construida ---------- */
.au-pie { background: var(--ink); color: var(--bg); padding: calc(var(--section) / 2) var(--margin) 0; }
.au-pie a, .au-pie a:hover { color: inherit; }
.au-pie__marca { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 200px; max-height: 420px; }
.au-pie__arco { flex: 1 1 0; height: calc(var(--h) * 100%); border-radius: 999px 999px 0 0; background: var(--bg); color: var(--ink); display: flex; align-items: flex-end; justify-content: center; font-weight: 700; font-size: var(--step-display); line-height: 0.8; letter-spacing: -0.02em; padding-bottom: 0.05em; overflow: hidden; }
.au-pie__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 56px; }
.au-pie__col { grid-column: 1 / span 6; line-height: 1.5; }
.au-pie__col p + p { margin-top: 0.25rem; }
.au-pie__nombre { font-weight: 500; font-size: var(--step-lead); margin-bottom: 0.5rem; }
.au-pie__grid > nav { grid-column: 9 / -1; }
.au-pie__enlaces { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1.5rem; }
.au-pie__enlaces a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .au-pie__enlaces a:hover { text-decoration-color: currentColor; } }
.au-pie__creditos { margin-top: 3rem; max-width: 100ch; font-size: var(--step-small); line-height: 1.5; opacity: 0.9; }
.au-pie__final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2.5rem 0 2rem; }
.au-pie__final p { max-width: none; }
.au-pie__final .pie__demo { font-weight: 500; }
@media (max-width: 899px) {
  .au-pie { padding-top: 4.5rem; }
  .au-pie__marca { height: 22svh; min-height: 140px; }
  .au-pie__grid { display: block; margin-top: 2.5rem; }
  .au-pie__enlaces { margin-top: 2rem; }
  .au-pie__final { padding-bottom: 5.5rem; }
}

/* ---------- páginas legales (usan la base) ---------- */
[data-direccion="dental-aurora"] .legal h1 { font-size: var(--step-head); }
[data-direccion="dental-aurora"] .legal h2 { font-size: var(--step-lead); margin-top: 2rem; }
[data-direccion="dental-aurora"] .legal .boton { border-radius: 999px 999px 0 0; background: var(--ink); color: var(--bg); border: 0; }

/* ---------- movimiento (solo transform y opacity; sin script nada queda oculto) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: au-rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .au-hero__titulo [data-line] { transform: translateY(105%); animation: au-line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js .au-sol { transition: transform 1400ms var(--ease-soft); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .au-shutter[data-reveal] img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .au-shutter[data-reveal].is-in img { transform: none; }
  .au-marco__foto { transition: opacity var(--t-ui) ease; }
  .au-marco__fotos:not(.is-manual) .au-marco__foto { animation: au-marco 18s linear infinite; animation-delay: calc(var(--n, 0) * 3s); }
  .au-marco__fotos:not(.is-manual) .au-marco__foto.is-on { opacity: 0; }
  @supports (animation-timeline: view()) {
    .au-deriva img { animation: au-deriva linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes au-rise { to { opacity: 1; transform: none; } }
@keyframes au-line { to { transform: none; } }
@keyframes au-marco { 0% { opacity: 0; } 3.3% { opacity: 1; } 16.7% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }
@keyframes au-deriva { from { transform: translateY(-5%) scale(1.08); } to { transform: translateY(5%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .au-marco__foto { animation: none; }
}
