/* Sitio público del negocio: encabezado, portada, secciones, reserva y pie. */

/* ---------- Encabezado: isla flotante de vidrio ---------- */
.cab { position: sticky; top: 0; z-index: 40; padding-top: .6rem; height: var(--alto-cab); margin-bottom: calc(-1 * var(--alto-cab)); pointer-events: none; }
.cab__isla {
  pointer-events: auto; width: min(100% - 1.25rem, 72rem); margin-inline: auto; display: flex; align-items: center; gap: .75rem;
  padding: .45rem .5rem .45rem 1rem; border-radius: 999px; background: color-mix(in srgb, var(--c-superficie) 84%, transparent);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid color-mix(in srgb, var(--c-primario) 10%, transparent); box-shadow: var(--sombra-1); transition: background-color .3s, box-shadow .3s;
}
.cab[data-scroll] .cab__isla { background: color-mix(in srgb, var(--c-superficie) 95%, transparent); box-shadow: var(--sombra-2); }
.marca { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 700 1.15rem var(--f-titulos); color: var(--c-primario); letter-spacing: .01em; }
.marca img { width: 2.25rem; height: auto; }
.cab__nav { display: none; margin-left: auto; gap: .15rem; }
.cab__nav a { padding: .5rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--c-texto-suave); transition: background-color .2s, color .2s; }
.cab__nav a:hover { background: var(--c-fondo); color: var(--c-primario); }
.cab__cta { margin-left: auto; }
.cab__nav + .cab__cta { margin-left: .4rem; }
.cab__cta-largo { display: none; }
@media (min-width: 40rem) { .cab__cta-largo { display: inline; } .cab__cta-corto { display: none; } }
@media (min-width: 62rem) { .cab__nav { display: flex; } }

/* ---------- Portada ---------- */
.portada { position: relative; background: var(--c-profundo); color: #fff; padding: calc(var(--alto-cab) + 2.5rem) 0 7rem; overflow: hidden; isolation: isolate; }
.portada__fondo { position: absolute; inset: 0; z-index: -1; }
.mancha { position: absolute; border-radius: 50%; filter: blur(70px); }
.mancha--a { width: 30rem; height: 30rem; background: #6a2bb5; top: -10rem; right: -8rem; opacity: .7; }
.mancha--b { width: 24rem; height: 24rem; background: var(--c-acento); bottom: -9rem; left: -7rem; opacity: .3; }
.mancha--c { width: 16rem; height: 16rem; background: var(--c-estetica); top: 32%; right: 28%; opacity: .22; }
.portada__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.portada__grid > * { min-width: 0; }
@media (min-width: 62rem) { .portada__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 2rem; } .portada { padding-bottom: 8rem; } }
.portada h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); line-height: 1.02; font-weight: 750; letter-spacing: -0.035em; text-wrap: balance; }
.pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.pal > span { display: inline-block; }
.portada__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: rgb(255 255 255 / .84); max-width: 34rem; line-height: 1.55; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.estado { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem .4rem .8rem; margin-bottom: 1.4rem; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); font-size: .92rem; font-weight: 550; }
.estado i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c-acento); box-shadow: 0 0 0 0 var(--c-acento); animation: pulso 2.4s infinite; }
.estado--cerrado i { background: #f2b27a; animation: none; }
.estado--tarjeta { background: var(--c-menta); border-color: transparent; color: var(--c-texto); margin-bottom: 1rem; }
.estado--tarjeta.estado--cerrado { background: #fdeede; }
.confianza { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); max-width: 36rem; }
.confianza li { display: grid; gap: .1rem; padding-left: .9rem; border-left: 2px solid var(--c-acento); }
.confianza strong { font: 700 1.1rem var(--f-titulos); }
.confianza span { font-size: .88rem; color: rgb(255 255 255 / .72); line-height: 1.35; }

.portada__visual { position: relative; width: min(86%, 27rem); margin-inline: auto; }
.marco { margin-left: 14%; }
.forma-foto { aspect-ratio: 655 / 870; width: 100%; height: auto; object-fit: cover; background: var(--c-primario-suave); }
.forma-foto--muela { clip-path: url(#forma-muela); }
.arco { position: absolute; left: -6%; top: -3%; height: 106%; width: auto; aspect-ratio: 100 / 130; fill: var(--c-acento); overflow: visible; }
.estrella { position: absolute; left: 3%; top: -5%; width: 13%; fill: #fff; filter: drop-shadow(0 0 14px rgb(255 255 255 / .6)); }
.tarjeta {
  position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.05rem; border-radius: 18px; text-decoration: none;
  background: rgb(255 255 255 / .94); color: var(--c-texto); box-shadow: 0 22px 44px -14px rgb(10 0 30 / .55); backdrop-filter: blur(10px);
}
.tarjeta small { display: block; font-size: .78rem; color: var(--c-texto-suave); line-height: 1.2; }
.tarjeta strong { display: block; font: 700 1rem/1.25 var(--f-titulos); }
.tarjeta em { display: block; font-style: normal; font-size: .82rem; color: var(--c-acento-texto); font-weight: 600; }
.tarjeta > .i { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 12px; background: var(--c-menta); color: var(--c-acento-texto); }
.tarjeta--proxima { left: -4%; bottom: 12%; }
.tarjeta--equipo { right: -3%; bottom: 3%; max-width: 16rem; } .tarjeta--equipo strong { white-space: nowrap; }
.insignia { display: block; margin: 1.25rem 0 .9rem; font: 600 .95rem var(--f-titulos); color: var(--c-acento); letter-spacing: .01em; }
.portada__nota { display: flex; align-items: center; gap: .45rem; margin: 1rem 0 0; font-size: .88rem; color: rgb(255 255 255 / .75); }
.portada__nota svg { width: 1.05rem; height: 1.05rem; color: var(--c-acento); flex: none; }
@media (max-width: 40rem) { .tarjeta { padding: .6rem .8rem; } .tarjeta--equipo { display: none; } .tarjeta--proxima { left: -6%; } }
.avatares { display: inline-flex; }
.avatares img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; }
.avatares img + img { margin-left: -.6rem; }
.ola { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(3rem, 8vw, 6rem); fill: var(--c-fondo); }

/* Entrada orquestada (una sola vez al cargar). */
@keyframes sube { from { transform: translateY(105%); } to { transform: none; } }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes revela { from { opacity: 0; transform: scale(.94) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes gira { from { opacity: 0; transform: rotate(-40deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes flota { 50% { transform: translateY(-7px); } }
@keyframes pulso { 70% { box-shadow: 0 0 0 .55rem transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes brilla { 50% { transform: scale(1.18) rotate(8deg); opacity: .85; } }
@keyframes deriva { 50% { transform: translate(2rem, 1.5rem) scale(1.08); } }
@media (prefers-reduced-motion: no-preference) {
  .pal > span { transform: translateY(105%); animation: sube .9s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .08s); }
  .estado, .insignia, .portada__nota, .portada__lead, .portada__acciones, .confianza { opacity: 0; animation: entra .8s var(--ease) forwards; }
  .portada .estado { animation-delay: .05s; }
  .portada__lead { animation-delay: .65s; }
  .portada__acciones { animation-delay: .8s; }
  .confianza { animation-delay: .95s; }
  .marco { opacity: 0; animation: revela 1.1s var(--ease) .3s forwards; }
  .arco { opacity: 0; animation: gira 1.2s var(--ease) .45s forwards; transform-origin: 70% 60%; }
  .estrella { opacity: 0; animation: gira 1s var(--ease) 1s forwards, brilla 5s ease-in-out 2.2s infinite; }
  .tarjeta--equipo { opacity: 0; animation: pop .8s var(--ease) 1.25s forwards, flota 7s ease-in-out 2.2s infinite; }
  .tarjeta--proxima { animation: pop .8s var(--ease) 1.1s backwards, flota 6s ease-in-out 2.2s infinite; }
  .mancha--a { animation: deriva 18s ease-in-out infinite; }
  .mancha--b { animation: deriva 22s ease-in-out infinite reverse; }
  .btn--acento.btn--grande { position: relative; overflow: hidden; }
  .btn--acento.btn--grande::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); transform: translateX(-120%); animation: brillo 5s 2.5s infinite; }
  @keyframes brillo { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
}

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.seccion__cab { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); max-width: 40rem; }
.seccion__cab h2 { font-size: clamp(1.95rem, 5vw, 3rem); line-height: 1.08; font-weight: 720; text-wrap: balance; }
.seccion__cab p { margin-top: .8rem; color: var(--c-texto-suave); font-size: 1.1rem; }
.seccion--oscura { background: var(--c-profundo); color: #fff; position: relative; overflow: hidden; }
.seccion--oscura .seccion__cab p { color: rgb(255 255 255 / .75); }

/* Reveal suave de tarjetas (solo equipo, pasos y galería). */
@media (prefers-reduced-motion: no-preference) {
  .js .rev { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .rev.visto { opacity: 1; transform: none; }
}

/* ---------- Servicios con pestañas ---------- */
.tabs { position: relative; display: flex; width: 100%; padding: .3rem; margin-bottom: 1.25rem; border-radius: 999px; background: var(--c-superficie); box-shadow: var(--sombra-1); max-width: 100%; }
.tab { position: relative; z-index: 1; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem .6rem; border: 0; border-radius: 999px; background: none; font-weight: 650; color: var(--c-texto-suave); cursor: pointer; transition: color .3s; white-space: nowrap; }
.tab[aria-selected="true"] { color: #fff; }
.tabs__marca { position: absolute; top: .3rem; bottom: .3rem; left: 0; width: var(--w, 50%); transform: translateX(var(--x, .3rem)); background: var(--c-primario); border-radius: 999px; transition: transform .5s var(--ease), width .5s var(--ease); box-shadow: 0 8px 18px -8px var(--c-primario); }
.tabpanel { display: grid; gap: 1.5rem; padding: clamp(1.15rem, 3vw, 2.25rem); border-radius: var(--r-l); }
.tabpanel--menta { background: var(--c-menta); }
.tabpanel--rosa { background: var(--c-rosa); }
.tabpanel[data-inactivo] { display: none; }
.tabpanel:not([data-inactivo]) { animation: entra .55s var(--ease); }
@media (min-width: 40rem) { .tabs { width: auto; display: inline-flex; } .tab { flex: none; padding: .7rem 1.3rem; } }
@media (min-width: 52rem) { .tabpanel { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; } }
.tabpanel__intro h3 { font-size: 1.9rem; font-weight: 700; }
.tabpanel__intro p { margin-top: .6rem; color: var(--c-texto-suave); }
.quien { display: flex; gap: .85rem; align-items: center; margin-top: 1.4rem; padding: .7rem .9rem .7rem .7rem; border-radius: 18px; background: rgb(255 255 255 / .75); }
.quien img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.quien strong { display: block; line-height: 1.25; }
.quien span { font-size: .9rem; color: var(--c-texto-suave); line-height: 1.3; display: block; }
.lista-servicios { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; align-content: start; }
@media (min-width: 40rem) { .lista-servicios { grid-template-columns: 1fr 1fr; } }
.lista-servicios li { display: flex; }
.servicio { display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; width: 100%; padding: 1.05rem 1.15rem; border-radius: 20px; background: var(--c-superficie); text-decoration: none; box-shadow: var(--sombra-0); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.servicio:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.servicio--foto { flex-direction: row; gap: 0; padding: 0; overflow: hidden; }
.servicio__foto { flex: 0 0 38%; width: 38%; min-height: 9.5rem; object-fit: cover; object-position: center 30%; }
.servicio__cuerpo { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; min-width: 0; padding: 1.05rem 1.15rem; }
.servicio__nombre { font-weight: 650; line-height: 1.3; }
.servicio__precio { font: 700 1.05rem var(--f-titulos); color: var(--c-texto); }
.servicio__accion { display: flex; align-items: center; gap: .15rem; font-size: .9rem; font-weight: 600; color: var(--c-acento-texto); }
.servicio__accion .i { width: 1.1em; transition: transform .3s var(--ease); }
.servicio:hover .servicio__accion .i { transform: translateX(4px); }

.cotiza { display: grid; gap: 1rem; align-items: center; margin-top: 1rem; padding: clamp(1.15rem, 3vw, 1.75rem); border-radius: var(--r-l); background: var(--c-menta); border: 1px dashed color-mix(in srgb, var(--c-acento) 55%, transparent); }
.cotiza h3 { font-size: 1.35rem; font-weight: 700; }
.cotiza p { margin-top: .3rem; color: var(--c-texto-suave); max-width: 38rem; }
@media (min-width: 52rem) { .cotiza { grid-template-columns: 1fr auto; gap: 2rem; } }
.servicios__nota { margin-top: .9rem; font-size: .88rem; color: var(--c-texto-suave); }

/* ---------- Cómo funciona ---------- */
.seccion--pasos { background: var(--c-superficie); }
.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
.pasos li { position: relative; }
.pasos h3 { font-size: 1.3rem; font-weight: 680; }
.pasos p { margin-top: .4rem; color: var(--c-texto-suave); max-width: 22rem; }
.paso-num { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: var(--c-primario); color: #fff; font: 700 1.25rem var(--f-titulos); box-shadow: 0 0 0 6px var(--c-menta); }
@media (min-width: 52rem) {
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .pasos li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 4.5rem; right: -1.25rem; border-top: 2px dashed color-mix(in srgb, var(--c-primario) 30%, transparent); }
}

/* ---------- Equipo ---------- */
.equipo { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .equipo { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.perfil { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .75rem; border-radius: var(--r-l); background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); transition: background-color .3s, transform .4s var(--ease); }
.perfil:hover { background: rgb(255 255 255 / .11); transform: translateY(-4px); }
@media (min-width: 40rem) { .perfil { grid-template-columns: 13rem 1fr; gap: 1.5rem; padding: 1rem; } }
.perfil__foto { overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 5; background: var(--c-primario-suave); }
.perfil__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.perfil:hover .perfil__foto img { transform: scale(1.05); }
.perfil__texto { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding-right: .5rem; }
.perfil h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; line-height: 1.15; }
.perfil__texto > p:not(.perfil__proxima) { margin-top: .35rem; color: rgb(255 255 255 / .75); line-height: 1.4; }
.perfil__proxima { display: flex; align-items: center; gap: .45rem; margin: .8rem 0 1rem; font-size: .92rem; font-weight: 550; color: #bff0e4; }

/* ---------- Galería ---------- */
.galeria { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }
@media (min-width: 52rem) { .galeria { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 14rem; gap: 1rem; } }
.foto { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 24px; background: var(--c-menta); cursor: zoom-in; }
.foto--ancha { grid-column: span 2; }
.foto--alta { grid-row: span 2; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.foto:hover img { transform: scale(1.06); }
.foto span { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .8rem; border-radius: 999px; background: rgb(51 9 95 / .78); backdrop-filter: blur(6px); color: #fff; font-size: .85rem; font-weight: 550; }
.visor { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; color: #fff; }
.visor::backdrop { background: rgb(20 5 40 / .92); backdrop-filter: blur(8px); }
.visor[open] { display: grid; place-items: center; animation: entra .3s var(--ease); }
.visor figure { margin: 0; display: grid; gap: .9rem; justify-items: center; padding: 1rem; }
.visor img { max-width: min(92vw, 70rem); max-height: 76vh; border-radius: 18px; object-fit: contain; }
.visor figcaption { font-weight: 600; }
.visor__cerrar, .visor__nav { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; cursor: pointer; transition: background-color .2s; }
.visor__cerrar:hover, .visor__nav:hover { background: rgb(255 255 255 / .28); }
.visor__cerrar { top: 1rem; right: 1rem; }
.visor__nav { top: 50%; margin-top: -1.5rem; }
.visor__nav--ant { left: 1rem; transform: scaleX(-1); }
.visor__nav--sig { right: 1rem; }

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid color-mix(in srgb, var(--c-primario) 15%, transparent); }
.faq__item { border-bottom: 1px solid color-mix(in srgb, var(--c-primario) 15%, transparent); }
.faq__item h3 { font-size: inherit; }
.faq__item button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.3rem 0; border: 0; background: none; text-align: left; font: 650 1.15rem/1.35 var(--f-titulos); cursor: pointer; color: var(--c-texto); }
.faq__item button .i { width: 1.5rem; height: 1.5rem; padding: .3rem; border-radius: 50%; background: var(--c-menta); color: var(--c-acento-texto); transition: transform .4s var(--ease), background-color .3s; }
.faq__item.abierto button .i { transform: rotate(135deg); background: var(--c-primario); color: #fff; }
.faq__cuerpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__cuerpo > div { overflow: hidden; }
.faq__cuerpo p { padding: 0 2.5rem 1.4rem 0; color: var(--c-texto-suave); }
.faq__item.abierto .faq__cuerpo { grid-template-rows: 1fr; }
html:not(.js) .faq__cuerpo { grid-template-rows: 1fr; }

/* ---------- Reserva ---------- */
.seccion--agenda { background: linear-gradient(180deg, var(--c-superficie), var(--c-fondo)); }
.reserva-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 62rem) { .reserva-grid { grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 1fr); gap: 1.75rem; } .resumen-cita { position: sticky; top: 6rem; } }
.reserva { display: grid; gap: 2.25rem; padding: clamp(1.15rem, 3vw, 2.25rem); background: var(--c-superficie); border-radius: var(--r-l); box-shadow: var(--sombra-2); border: 1px solid color-mix(in srgb, var(--c-primario) 8%, transparent); }
.paso h3 { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; font-size: 1.25rem; font-weight: 680; }
.paso h3 b { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-primario); color: #fff; font-size: .95rem; }
.paso:not([hidden]) { animation: entra .5s var(--ease); }
.grupo { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.grupo legend { padding: 0; margin-bottom: .6rem; font-weight: 700; font-size: .95rem; color: var(--c-primario); }
.opciones { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.opcion { position: relative; display: block; }
.opcion input { position: absolute; opacity: 0; inset: 0; }
.opcion__caja { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .85rem 1rem; border-radius: 16px; border: 2px solid color-mix(in srgb, var(--c-primario) 14%, transparent); background: var(--c-superficie); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .25s, transform .25s var(--ease); }
.opcion:hover .opcion__caja { border-color: color-mix(in srgb, var(--c-primario) 45%, transparent); transform: translateY(-2px); }
.opcion input:checked + .opcion__caja { border-color: var(--c-primario); background: var(--c-menta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-acento) 28%, transparent); }
.opcion input:focus-visible + .opcion__caja { outline: 3px solid var(--c-acento); outline-offset: 2px; }
.opcion__nombre { font-weight: 650; line-height: 1.25; }
.opcion__con { font-size: .85rem; color: var(--c-texto-suave); }

.dias { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .3rem .15rem .8rem; margin-inline: -.15rem; scrollbar-width: thin; }
.dia { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: .05rem; width: 4.5rem; padding: .65rem .3rem .55rem; border-radius: 18px; border: 2px solid color-mix(in srgb, var(--c-primario) 14%, transparent); background: var(--c-superficie); cursor: pointer; transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.dia:hover:not([disabled]) { transform: translateY(-3px); border-color: var(--c-primario); }
.dia small { font-size: .76rem; color: var(--c-texto-suave); line-height: 1.3; }
.dia strong { font: 700 1.45rem/1.15 var(--f-titulos); }
.dia em { margin-top: .2rem; font-style: normal; font-size: .72rem; font-weight: 650; color: var(--c-acento-texto); }
.dia[disabled] { opacity: .4; cursor: not-allowed; background: transparent; }
.dia[disabled] em { color: var(--c-texto-suave); }
.dia[aria-pressed="true"] { background: var(--c-primario); border-color: var(--c-primario); color: #fff; box-shadow: 0 12px 24px -12px var(--c-primario); }
.dia[aria-pressed="true"] small, .dia[aria-pressed="true"] em { color: rgb(255 255 255 / .85); }
.horas { margin-top: .6rem; display: grid; gap: 1rem; }
.horas__grupo h4 { margin-bottom: .55rem; font: 650 .9rem var(--f-texto); letter-spacing: 0; color: var(--c-texto-suave); }
.horas__lista { display: flex; flex-wrap: wrap; gap: .5rem; }
.hora { min-width: 5.8rem; padding: .65rem .95rem; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--c-primario) 14%, transparent); background: var(--c-superficie); font-weight: 650; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.hora:hover { border-color: var(--c-primario); transform: translateY(-2px); }
.hora[aria-pressed="true"] { background: var(--c-primario); border-color: var(--c-primario); color: #fff; }
.vacio, .horas p { color: var(--c-texto-suave); }
.campos { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .campos { grid-template-columns: 1fr 1fr; } .campo--ancho, .acepto, .error, .enviar { grid-column: 1 / -1; } }
.campos, .paso, .campo { min-width: 0; }
.campo label { display: block; font-weight: 650; margin-bottom: .35rem; font-size: .95rem; }
.campo small { font-weight: 400; color: var(--c-texto-suave); }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"] { width: 100%; min-height: 3.4rem; padding: .6rem 1rem; border-radius: 14px; font: inherit; color: inherit; border: 2px solid color-mix(in srgb, var(--c-primario) 20%, transparent); background: var(--c-superficie); transition: border-color .2s, box-shadow .2s; }
.campo input:focus-visible { outline: none; border-color: var(--c-primario); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-acento) 30%, transparent); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acepto { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--c-texto-suave); }
.acepto input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--c-primario); flex: none; }
.error { min-height: 1.4em; color: #a8261c; font-weight: 600; }

.resumen-cita { display: grid; gap: 1.15rem; padding: 1.5rem; border-radius: var(--r-l); color: #fff; background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--c-acento) 35%, transparent), transparent 55%), linear-gradient(160deg, var(--c-primario), var(--c-primario-suave)); box-shadow: var(--sombra-2); }
.progreso { display: flex; gap: .4rem; }
.progreso i { flex: 1; height: 5px; border-radius: 9px; background: rgb(255 255 255 / .22); transition: background-color .4s; }
.progreso i.hecho { background: var(--c-acento); }
.resumen-cita__quien { display: flex; align-items: center; gap: .85rem; }
.resumen-cita__quien small { display: block; color: rgb(255 255 255 / .7); font-size: .8rem; }
.resumen-cita__quien strong { font: 700 1.15rem/1.25 var(--f-titulos); }
.resumen-cita__foto { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: rgb(255 255 255 / .14); overflow: hidden; flex: none; }
.resumen-cita__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.resumen-cita dl { margin: 0; display: grid; gap: .1rem; }
.resumen-cita dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgb(255 255 255 / .14); }
.resumen-cita dt { color: rgb(255 255 255 / .7); }
.resumen-cita dd { margin: 0; font-weight: 650; text-align: right; }
.resumen-cita dd.vacio { color: rgb(255 255 255 / .45); font-weight: 400; }
.resumen-cita__lugar, .resumen-cita__nota { display: flex; gap: .6rem; font-size: .9rem; color: rgb(255 255 255 / .82); line-height: 1.4; }
.resumen-cita__lugar .i, .resumen-cita__nota .i { color: var(--c-acento); margin-top: .1rem; }
dd.cambio { animation: pop .5s var(--ease); }

.listo { grid-column: 1 / -1; position: relative; display: grid; justify-items: center; gap: .8rem; padding: clamp(2rem, 6vw, 3.5rem) 1.25rem; text-align: center; border-radius: var(--r-l); background: var(--c-superficie); box-shadow: var(--sombra-2); overflow: hidden; }
.listo h3 { font-size: clamp(1.7rem, 4vw, 2.3rem); outline: none; }
.listo p { color: var(--c-texto-suave); max-width: 32rem; }
.listo__detalle { font-weight: 700; color: var(--c-primario) !important; font-size: 1.15rem; }
.listo__marca { width: 5rem; height: 5rem; fill: var(--c-menta); stroke: var(--c-acento); stroke-width: 3; }
.listo__marca path { fill: none; stroke: var(--c-acento-texto); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.listo:not([hidden]) .listo__marca path { animation: traza .6s .25s var(--ease) forwards; }
.listo:not([hidden]) .listo__marca circle { animation: pop .6s var(--ease); }
@keyframes traza { to { stroke-dashoffset: 0; } }
.listo__acciones { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .6rem; }
.confeti { position: absolute; top: 2.5rem; left: 50%; width: .6rem; height: .9rem; border-radius: 2px; opacity: 0; pointer-events: none; animation: confeti 1.4s var(--ease) forwards; }
@keyframes confeti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }

/* ---------- Ubicación ---------- */
.ubicacion { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 52rem) { .ubicacion { grid-template-columns: 1.1fr .9fr; gap: 1.75rem; } }
.contacto { display: grid; gap: .65rem; justify-items: start; }
.dato { display: flex; align-items: center; gap: .95rem; width: 100%; padding: .95rem 1.15rem; border-radius: 20px; background: var(--c-superficie); text-decoration: none; box-shadow: var(--sombra-0); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dato:hover { transform: translateY(-2px); box-shadow: var(--sombra-1); }
.dato .i { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 14px; background: var(--c-menta); color: var(--c-acento-texto); }
.dato small { display: block; color: var(--c-texto-suave); font-size: .8rem; line-height: 1.2; }
.contacto .btn { margin-top: .4rem; }
.horario-tarjeta { padding: 1.5rem; border-radius: var(--r-l); background: var(--c-superficie); box-shadow: var(--sombra-1); }
.horario { width: 100%; border-collapse: collapse; }
.horario th, .horario td { padding: .7rem .6rem; border-bottom: 1px solid color-mix(in srgb, var(--c-primario) 10%, transparent); text-align: left; font-weight: 500; }
.horario td { text-align: right; }
.horario tr:last-child > * { border-bottom: 0; }
.horario .hoy > * { background: var(--c-menta); font-weight: 700; color: var(--c-primario); }
.horario .hoy th { border-radius: 12px 0 0 12px; }
.horario .hoy td { border-radius: 0 12px 12px 0; }

/* ---------- Pie ---------- */
.pie { background: var(--c-profundo); color: #fff; padding: 2.75rem 0 6rem; }
@media (min-width: 52rem) { .pie { padding-bottom: 2.75rem; } }
.pie__dentro { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .pie__dentro { grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 2rem; } }
.pie__marca { display: flex; align-items: center; gap: .9rem; }
.pie__logo { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 16px; background: var(--c-superficie); flex: none; }
.pie__logo img { width: 2rem; height: auto; }
.pie__marca strong { display: block; font: 700 1.2rem var(--f-titulos); }
.pie__marca span { font-size: .9rem; color: rgb(255 255 255 / .75); }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.pie__enlaces a { color: rgb(255 255 255 / .88); text-underline-offset: 4px; }
.pie__firma { color: rgb(255 255 255 / .7); font-size: .92rem; }

/* ---------- Botones flotantes ---------- */
.flota { position: fixed; inset: auto .75rem .75rem; z-index: 35; display: flex; gap: .5rem; transition: transform .4s var(--ease); }
.flota[data-oculto="1"] { transform: translateY(160%); }
.flota .btn { flex: 1; box-shadow: 0 14px 30px -10px rgb(10 0 30 / .55); }
.flota__wa, .wa-burbuja { background: #25d366; color: #05381b; }
.flota__wa { display: grid; place-items: center; width: 3.25rem; border-radius: 50%; box-shadow: 0 14px 30px -10px rgb(10 0 30 / .55); }
.flota__wa .i { width: 1.6rem; height: 1.6rem; }
.wa-burbuja { display: none; }
@media (min-width: 52rem) {
  .flota { display: none; }
  .wa-burbuja { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 35; display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.25rem .8rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 16px 34px -12px rgb(10 0 30 / .6); transition: transform .3s var(--ease); }
  .wa-burbuja:hover { transform: translateY(-3px); }
}

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--alto-cab) + 2rem) 0 4rem; max-width: 46rem; }
.legal h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.legal h2 { font-size: 1.3rem; margin: 1.75rem 0 .4rem; }
.legal p { color: var(--c-texto-suave); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
