/* Clínica Alma — demo de salud (Core Vibe)
   Blanco, teal y menta con un toque coral. Figtree, formas orgánicas y tarjetas suaves. */

@font-face { font-family: "Figtree"; src: url("/demos/_base/fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --blanco: #ffffff;
  --profundo: #0d3b3a;
  --profundo-2: #082827;
  --teal: #12a594;
  --teal-boton: #0c8072;
  --teal-hover: #0a6c60;
  --teal-texto: #0b7a6d;
  --menta: #c9f5ec;
  --menta-2: #edf9f6;
  --suave: #f6faf9;
  --coral: #ff8a73;
  --texto-2: #4b6463;
  --linea: rgba(13, 59, 58, 0.1);
  --linea-fuerte: rgba(13, 59, 58, 0.2);
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --blob: 42% 58% 55% 45% / 50% 40% 60% 50%;
}

[hidden] { display: none !important; }
body {
  background: var(--blanco);
  color: var(--profundo);
  font: 400 1.05rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; }

.wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1180px); margin-inline: auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal-texto);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.kicker__punto { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.kicker__punto::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; animation: pulso 2.4s ease-out infinite; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 2.4vw + 1.1rem, 3rem); font-weight: 750; }
h3 { font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.95em 1.6em;
  border: 0;
  border-radius: 999px;
  font: 700 0.98rem/1 var(--sans);
  text-decoration: none;
  transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal-boton); color: var(--blanco); }
.btn--teal:hover { background: var(--teal-hover); box-shadow: 0 14px 28px -14px rgba(12, 128, 114, 0.7); }
.btn--suave { background: var(--menta-2); color: var(--profundo); }
.btn--suave:hover { background: var(--menta); }
.btn--sm { padding: 0.72em 1.15em; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ---------- Encabezado ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.header.is-scrolled { background: rgba(255, 255, 255, 0.95); border-bottom-color: var(--linea); }
.header__in { display: flex; align-items: center; gap: 20px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__blob { fill: var(--teal); }
.logo__sonrisa { fill: none; stroke: var(--blanco); stroke-width: 2.8; stroke-linecap: round; }
.logo__brillo { fill: var(--coral); }
.logo__texto { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.logo__texto b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 0.5em 0.9em; border-radius: 999px; color: var(--texto-2); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: var(--menta-2); color: var(--profundo); }
.header__acciones { display: flex; align-items: center; gap: 10px; }
.nav-btn { display: none; place-items: center; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--linea-fuerte); border-radius: 14px; background: var(--blanco); }
.nav-btn i { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--profundo); transition: transform 0.3s var(--ease); }
.nav-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 6vw, 80px);
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 245, 236, 0.7), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(255, 138, 115, 0.12), transparent 35%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 5.2vw + 0.8rem, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.hero h1 em {
  font-style: normal;
  color: var(--teal-texto);
  background: linear-gradient(var(--menta), var(--menta)) no-repeat 0 88% / 100% 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead { max-width: 48ch; margin-top: 24px; color: var(--texto-2); font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__sellos { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 40px; }
.hero__sellos li { color: var(--texto-2); font-size: 0.9rem; }
.hero__sellos b { display: block; color: var(--profundo); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }

.hero__media { position: relative; aspect-ratio: 1; width: min(100%, 540px); margin-inline: auto; }
.blob {
  position: absolute;
  inset: 6% 3% 6% 9%;
  border-radius: var(--blob);
  background: radial-gradient(circle at 30% 28%, #e4fbf6, #8fe3d5 40%, #12a594 100%);
  box-shadow: inset -20px -30px 60px rgba(8, 40, 39, 0.2);
  animation: morfar 14s ease-in-out infinite alternate;
}
.diente {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 44%;
  filter: drop-shadow(0 30px 34px rgba(8, 40, 39, 0.35));
  transform: translate(-50%, -52%);
  animation: flotar 6s ease-in-out infinite;
}
.diente__brillo { fill: none; stroke: var(--blanco); stroke-width: 9; stroke-linecap: round; }
.destello {
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--blanco);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: titilar 3s ease-in-out infinite;
}
.destello--1 { top: 22%; left: 26%; }
.destello--2 { top: 30%; right: 18%; width: 18px; height: 18px; animation-delay: 1s; }
.destello--3 { bottom: 26%; right: 26%; width: 14px; height: 14px; animation-delay: 2s; }
.flotante {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--blanco);
  box-shadow: 0 20px 40px -18px rgba(8, 40, 39, 0.4);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--texto-2);
  animation: flotar-card 7s ease-in-out infinite;
}
.flotante b { display: block; color: var(--profundo); font-size: 0.92rem; }
.flotante--turno { left: 0; bottom: 12%; }
.flotante--libre { right: 0; top: 10%; animation-delay: -3.5s; }
.flotante__ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--blanco); font-weight: 800; }
.flotante__dot { position: relative; width: 12px; height: 12px; margin: 0 6px; border-radius: 50%; background: var(--coral); }
.flotante__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--coral); opacity: 0; animation: pulso 2s ease-out infinite; }

@keyframes morfar {
  0% { border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; transform: rotate(0deg); }
  50% { border-radius: 55% 45% 40% 60% / 45% 58% 42% 55%; }
  100% { border-radius: 48% 52% 60% 40% / 58% 46% 54% 42%; transform: rotate(8deg); }
}
@keyframes flotar { 0%, 100% { transform: translate(-50%, -52%); } 50% { transform: translate(-50%, -57%); } }
@keyframes flotar-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes titilar { 0%, 100% { opacity: 0.25; transform: scale(0.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
@keyframes pulso { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.6); } }

/* ---------- Ventajas ---------- */
.ventajas-sec { padding-bottom: 10px; }
.ventajas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ventajas li { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 24px; background: var(--menta-2); }
.ventajas svg { flex-shrink: 0; width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--blanco); fill: none; stroke: var(--teal-texto); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ventajas h2 { font-size: 1.1rem; letter-spacing: -0.01em; }
.ventajas p { margin-top: 4px; color: var(--texto-2); font-size: 0.93rem; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(80px, 9vw, 128px) 0; }
.seccion--menta { background: linear-gradient(180deg, var(--menta-2), #e2f6f1); }
.seccion--suave { background: var(--suave); }
.seccion--profundo { background: var(--profundo); color: var(--blanco); }
.seccion--profundo .kicker { color: var(--menta); }
.seccion--profundo .kicker__punto { background: var(--menta); }
.seccion--profundo .kicker__punto::after { border-color: var(--menta); }
.cabecera { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.cabecera > p:not(.kicker) { margin-top: 16px; color: var(--texto-2); font-size: 1.08rem; }
.cabecera--centro { margin-inline: auto; text-align: center; }
.nota { margin-top: 16px; color: var(--texto-2); font-size: 0.84rem; }
.nota--centro { text-align: center; }

/* ---------- Especialidades ---------- */
.especialidades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.esp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--linea);
  border-radius: 26px;
  background: var(--blanco);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.esp:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(13, 59, 58, 0.32); }
.esp__icono { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--menta); transition: background-color 0.3s, border-radius 0.5s var(--ease); }
.esp__icono svg { width: 28px; height: 28px; fill: none; stroke: var(--profundo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.esp:hover .esp__icono { background: var(--teal); border-radius: var(--blob); }
.esp:hover .esp__icono svg { stroke: var(--blanco); }
.esp h3 { margin-top: 22px; font-size: 1.28rem; }
.esp p { margin-top: 8px; color: var(--texto-2); font-size: 0.96rem; }
.esp__link { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 18px; color: var(--teal-texto); font-size: 0.94rem; font-weight: 700; text-decoration: none; }
.esp__link span { transition: transform 0.3s var(--ease); }
.esp__link:hover span { transform: translateX(4px); }

/* ---------- Turnos ---------- */
.turnos { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.turnos__copy > p:not(.kicker) { margin-top: 16px; color: var(--texto-2); font-size: 1.08rem; }
.beneficios { display: grid; gap: 12px; margin-top: 26px; }
.beneficios li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.beneficios li::before { content: "✓"; display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blanco); color: var(--teal-texto); font-size: 0.85rem; font-weight: 800; box-shadow: 0 4px 12px -6px rgba(13, 59, 58, 0.35); }

.agenda {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 30px;
  background: var(--blanco);
  box-shadow: 0 40px 80px -40px rgba(13, 59, 58, 0.35);
}
.paso { min-width: 0; margin: 0; padding: 0; border: 0; }
.paso legend { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font-weight: 700; }
.paso__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--profundo); color: var(--blanco); font-size: 0.8rem; font-weight: 800; }
.chip, .dia, .hora { position: relative; cursor: pointer; }
.chip input, .dia input, .hora input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-block; padding: 0.6em 1.1em; border: 1px solid var(--linea-fuerte); border-radius: 999px; font-size: 0.92rem; font-weight: 600; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.dias { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.dia span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--linea-fuerte); border-radius: 18px; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.dia small { color: var(--texto-2); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; transition: color 0.2s; }
.dia b { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.horas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hora span { display: block; padding: 0.7em 0; border: 1px solid var(--linea-fuerte); border-radius: 14px; font-size: 0.94rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }

.chip:hover span, .dia:hover span, .hora:hover span { border-color: var(--teal); }
.chip input:checked + span,
.hora input:checked + span { border-color: var(--profundo); background: var(--profundo); color: var(--blanco); }
.dia input:checked + span { border-color: var(--teal-boton); background: var(--teal-boton); color: var(--blanco); }
.dia input:checked + span small { color: rgba(255, 255, 255, 0.85); }
.chip input:focus-visible + span,
.dia input:focus-visible + span,
.hora input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hora input:disabled + span {
  border-color: transparent;
  background: repeating-linear-gradient(-45deg, #f1f5f4 0 6px, #f8fbfa 6px 12px);
  color: #8fa3a1;
  text-decoration: line-through;
  cursor: not-allowed;
}
.hora:has(input:disabled) { cursor: not-allowed; }
.hora:hover input:disabled + span { border-color: transparent; }

.agenda__resumen { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--menta-2); }
.agenda__resumen p { font-size: 0.95rem; font-weight: 600; }
.agenda__icono { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #b5d6d0; color: var(--blanco); font-weight: 800; transition: background-color 0.3s, transform 0.4s var(--ease); }
.agenda__resumen.is-completo .agenda__icono { background: var(--teal); transform: scale(1.08); }
.agenda__datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.campo--full { grid-column: 1 / -1; }
.campo label { display: block; margin-bottom: 6px; font-size: 0.86rem; font-weight: 600; }
.campo input,
.campo select {
  width: 100%;
  min-height: 50px;
  padding: 0.7em 1em;
  border: 1px solid var(--linea-fuerte);
  border-radius: 14px;
  background: #fbfdfc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.campo input:focus,
.campo select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18, 165, 148, 0.16); outline: none; }
.campo--select { position: relative; }
.campo--select select { appearance: none; padding-right: 2.6em; cursor: pointer; }
.campo--select::after { content: ""; position: absolute; right: 18px; bottom: 21px; width: 7px; height: 7px; border-right: 2px solid var(--profundo); border-bottom: 2px solid var(--profundo); transform: rotate(45deg); pointer-events: none; }
.agenda .btn { min-height: 56px; font-size: 1.02rem; }
.form-nota { margin-top: -10px; color: var(--texto-2); font-size: 0.8rem; text-align: center; }

/* ---------- Estética: antes y después ---------- */
.estetica { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.estetica__copy > p:not(.kicker):not(.nota) { margin-top: 16px; color: var(--texto-2); font-size: 1.08rem; }
.estetica .beneficios li::before { background: var(--menta-2); box-shadow: none; }
.comparar {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  overflow: clip;
  aspect-ratio: 5 / 3.4;
  border-radius: 30px;
  box-shadow: 0 40px 80px -46px rgba(13, 59, 58, 0.45);
  isolation: isolate;
  touch-action: pan-y;
}
.comparar__capa { position: absolute; inset: 0; display: grid; place-items: center; }
.comparar__antes { background: radial-gradient(circle at 50% 40%, #fff7ef, #f6e2cf); }
.comparar__despues { background: radial-gradient(circle at 50% 40%, #f4fffc, #cdf3ea); clip-path: inset(0 0 0 var(--pos)); }
.boca { width: 90%; }
.boca__labios { fill: #e97a68; }
.boca__interior { fill: #5b1f2a; }
.comparar__antes .dientes { fill: #e2cd93; }
.comparar__despues .dientes { fill: #ffffff; }
.boca__brillo { fill: #ffffff; opacity: 0.28; }
.boca__destello { fill: var(--teal); }
.comparar__rango { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.comparar__linea { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; background: var(--blanco); transform: translateX(-50%); pointer-events: none; }
.comparar__tirador {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blanco);
  box-shadow: 0 10px 24px -8px rgba(8, 40, 39, 0.5);
  transform: translate(-50%, -50%);
}
.comparar__tirador::before { content: "‹ ›"; color: var(--profundo); font-size: 1.2rem; font-weight: 800; letter-spacing: 0.1em; }
.comparar__rango:focus-visible ~ .comparar__linea .comparar__tirador { outline: 3px solid var(--teal); outline-offset: 3px; }
.comparar__tag { position: absolute; top: 16px; z-index: 1; padding: 0.4em 0.85em; border-radius: 999px; background: rgba(255, 255, 255, 0.88); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.comparar__tag--antes { left: 16px; }
.comparar__tag--despues { right: 16px; }

/* ---------- Coberturas ---------- */
.coberturas { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.coberturas .cabecera { margin-bottom: 0; }
.buscador { padding: clamp(20px, 3vw, 30px); border-radius: 30px; background: var(--blanco); box-shadow: 0 30px 70px -44px rgba(13, 59, 58, 0.4); }
.buscador__campo { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1.5px solid var(--linea-fuerte); border-radius: 18px; transition: border-color 0.2s, box-shadow 0.2s; }
.buscador__campo:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18, 165, 148, 0.16); }
.buscador__campo svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-linecap: round; }
.buscador__campo input { flex: 1; min-width: 0; min-height: 56px; border: 0; background: transparent; outline: none; }
.buscador__campo input::placeholder { color: #7f9593; }
.cob-lista { margin-top: 10px; }
.cob-lista li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 15px 4px; border-bottom: 1px solid var(--linea); }
.cob-lista li:last-child { border-bottom: 0; }
.cob-lista b { font-weight: 700; }
.cob-plan { grid-row: 2; color: var(--texto-2); font-size: 0.88rem; }
.estado { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 0.4em 0.85em; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.estado--total { background: #dcf5ee; color: #0b6458; }
.estado--copago { background: #fff1dc; color: #8a5a00; }
.estado--reintegro { background: #ffe6e0; color: #a33a22; }
.cob-vacio { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff4f1; color: #8f3420; font-size: 0.94rem; }

/* ---------- Equipo ---------- */
.equipo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prof { padding: 36px 26px 30px; border-radius: 28px; background: var(--suave); text-align: center; }
.prof__avatar {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 0 auto;
  border-radius: var(--blob);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: border-radius 0.8s var(--ease), transform 0.8s var(--ease);
}
.prof:hover .prof__avatar { border-radius: 55% 45% 40% 60% / 45% 58% 42% 55%; transform: rotate(-6deg); }
.prof__avatar--1 { background: var(--menta); color: var(--profundo); }
.prof__avatar--2 { background: #ffe2d9; color: #8f3420; }
.prof__avatar--3 { background: #dcebff; color: #1f4e79; }
.prof h3 { margin-top: 22px; font-size: 1.22rem; }
.prof__esp { margin: 4px 0 10px; color: var(--teal-texto); font-size: 0.88rem; font-weight: 700; }
.prof p:last-child { color: var(--texto-2); font-size: 0.94rem; }

/* ---------- Testimonios ---------- */
.testimonios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testimonios li { display: flex; flex-direction: column; padding: 30px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px; background: rgba(255, 255, 255, 0.05); }
.estrellas { color: #ffc65c; letter-spacing: 0.18em; }
.testimonios blockquote { margin: 14px 0 20px; font-size: 1.08rem; line-height: 1.6; }
.testimonios__autor { margin-top: auto; color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; }

/* ---------- Preguntas y contacto ---------- */
.contacto { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.1rem; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--menta-2); color: var(--teal-texto); font-size: 1.3rem; font-weight: 600; transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { background: var(--menta); transform: rotate(45deg); }
.faq details p { max-width: 60ch; padding-bottom: 20px; color: var(--texto-2); }

.visita { padding: clamp(24px, 3vw, 34px); border-radius: 30px; background: var(--profundo); color: var(--blanco); }
.visita__estado { display: inline-flex; align-items: center; gap: 10px; padding: 0.5em 1em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 0.86rem; font-weight: 600; }
.visita__dot { position: relative; flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #5fe0c9; }
.visita__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #5fe0c9; opacity: 0; animation: pulso 2.2s ease-out infinite; }
.visita__estado.is-cerrado .visita__dot { background: var(--coral); }
.visita__estado.is-cerrado .visita__dot::after { display: none; }
.visita h3 { margin: 22px 0 6px; font-size: 1.7rem; font-weight: 800; }
.visita dl div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.visita dt { color: #8fdccf; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.visita dd { margin-top: 2px; }
.visita .btn { margin-top: 24px; }

/* ---------- Pie ---------- */
.footer { padding: 54px 0 32px; background: var(--profundo-2); color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.logo--claro { color: var(--blanco); }
.footer__legal { flex-basis: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem; }
.footer__legal a { color: #8fdccf; }

@media (prefers-reduced-motion: reduce) {
  .blob, .diente, .destello, .flotante, .kicker__punto::after, .flotante__dot::after, .visita__dot::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid, .turnos, .estetica, .coberturas, .contacto { grid-template-columns: minmax(0, 1fr); }
  .hero__media { width: min(100%, 460px); }
  .especialidades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonios { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-btn { display: grid; }
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100dvh - 74px);
    margin: 0;
    padding: 18px clamp(16px, 4vw, 40px) 30px;
    border-top: 1px solid var(--linea);
    background: var(--blanco);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .js .nav a { padding: 0.6em 0; border-radius: 0; border-bottom: 1px solid var(--linea); color: var(--profundo); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
  .js .nav a:hover { background: none; }
  html:not(.js) .nav { display: none; }
  .header__acciones { margin-left: auto; }
}
@media (max-width: 760px) {
  .ventajas, .especialidades, .equipo { grid-template-columns: minmax(0, 1fr); }
  .dias { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agenda__datos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__sellos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero__sellos li { font-size: 0.82rem; line-height: 1.35; }
  .hero__sellos b { font-size: 1.35rem; }
  .flotante { padding: 9px 12px 9px 9px; font-size: 0.74rem; }
  .flotante b { font-size: 0.82rem; }
  .flotante__ok { width: 28px; height: 28px; }
  .horas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comparar { aspect-ratio: 4 / 3.4; }
  .logo__texto { font-size: 1.15rem; }
  .logo__mark { width: 34px; height: 34px; }
  .header__in { gap: 10px; }
}
