/* Prótesis Capilar VIP — sitio público. Negro + dorado, móvil primero. */
:root {
  --negro: #0d0d0d;
  --carbon: #171513;
  --crema: #f8f4ed;
  --crema-2: #f1e9da;
  --blanco: #ffffff;
  --tinta: #1a1712;
  --suave: #6b6358;
  --borde: #e7dccb;
  --oro: #c49a45;
  --oro-osc: #9c7426;
  --oro-claro: #e8cd85;
  --grad-oro: linear-gradient(135deg, #e9cf8a 0%, #c99a45 48%, #b88a33 70%, #dcbb68 100%);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radio: 10px;
  --sombra: 0 10px 30px rgba(40, 28, 10, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
#reserva { scroll-margin-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--crema); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 5.2vw, 2.6rem); text-align: center; }
h3 { font-size: 1.25rem; }
.contenedor { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.contenedor.angosto { max-width: 760px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--oro); color: #000; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }

.ceja { text-align: center; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 600; color: var(--oro-osc); margin: 0 0 10px; }
.linea-oro { width: 64px; height: 2px; background: var(--grad-oro); margin: 18px auto 30px; }
.linea-oro.izq { margin-left: 0; }
.oro-texto { background: var(--grad-oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.centro { text-align: center; margin-top: 28px; }
.nota-centro { text-align: center; color: var(--suave); margin: 22px 0 0; }

/* botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 6px;
  font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.boton:hover { transform: translateY(-1px); }
.boton-oro { background: var(--grad-oro); color: #1b1407; box-shadow: 0 6px 18px rgba(184, 138, 51, .28); }
.boton-oro:hover { box-shadow: 0 10px 24px rgba(184, 138, 51, .38); }
.boton-borde { border-color: rgba(232, 205, 133, .75); color: #f4e6c0; background: transparent; }
.boton-borde-oscuro { border-color: var(--oro); color: var(--tinta); background: #fff; }
.boton-chico { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.boton.ancho { width: 100%; }
.boton[disabled] { opacity: .6; cursor: progress; transform: none; }
.enlace-oro { background: none; border: 0; padding: 0; color: var(--oro-osc); font: 600 .92rem var(--sans); cursor: pointer; text-decoration: none; }
.enlace-oro:hover { text-decoration: underline; }

/* navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #efe6d6; }
.nav-fila { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.nav-logo img { height: 42px; width: auto; }
.nav-enlaces { display: none; }
.nav-cta { margin-left: auto; }
.nav-menu { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nav-menu span { display: block; width: 22px; height: 2px; background: var(--tinta); border-radius: 2px; }
.nav.abierto .nav-enlaces { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #efe6d6; padding: 6px 16px 14px; }
.nav.abierto .nav-enlaces a { padding: 12px 0; border-bottom: 1px solid #f3ecdf; text-decoration: none; font-weight: 500; }
@media (min-width: 900px) {
  .nav-fila { min-height: 76px; }
  .nav-logo img { height: 50px; }
  .nav-enlaces { display: flex; gap: 40px; margin: 0 auto; }
  .nav-enlaces a { text-decoration: none; font-weight: 500; font-size: .95rem; }
  .nav-enlaces a:hover { color: var(--oro-osc); }
  .nav-cta { margin-left: 0; }
  .nav-menu { display: none; }
}

/* hero */
.hero { background: var(--negro); color: #fff; position: relative; overflow: hidden; }
.hero-foto img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 30%; }
.hero-texto { padding: 30px 16px 44px; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 3.5rem); font-weight: 600; }
.hero-sub { font-size: 1.02rem; color: #e9e2d4; margin: 14px 0 26px; }
.hero-botones { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .hero { min-height: 560px; display: flex; align-items: center; }
  .hero-foto { position: absolute; inset: 0 0 0 36%; }
  .hero-foto img { height: 100%; aspect-ratio: auto; object-position: 88% 30%; }
  .hero-foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--negro) 0%, rgba(13,13,13,.85) 14%, rgba(13,13,13,0) 42%); z-index: 1; }
  .hero-texto { position: relative; z-index: 2; padding: 80px 16px; }
  .hero-texto > * { max-width: 520px; }
}

/* secciones */
.seccion { padding: 64px 0; }
.crema { background: var(--crema); }
.blanco { background: #fff; }
.tarjetas { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tarjetas { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.tarjeta img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tarjeta-cuerpo { padding: 18px 18px 20px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; flex: 1; }
.tarjeta-cuerpo p { margin: 0 0 6px; color: var(--suave); font-size: .95rem; flex: 1; }
.tarjeta-simple h3 { text-align: center; padding: 14px 10px 16px; }

/* formación */
.formacion { display: grid; background: #fff; }
.formacion-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.formacion-texto { padding: 44px 16px 56px; }
.formacion-texto .ceja, .formacion-texto h2 { text-align: left; }
.formacion-texto p:not(.ceja) { color: #3e382f; margin: 0 0 10px; font-size: 1.04rem; }
.formacion-texto .boton { margin-top: 16px; }
@media (min-width: 900px) {
  .formacion { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .formacion-foto { height: 100%; }
  .formacion-foto img { height: 100%; aspect-ratio: auto; min-height: 420px; max-height: 540px; }
  .formacion-texto { padding: 56px 64px; max-width: 560px; }
}

/* reserva */
.reservar { background: linear-gradient(180deg, var(--crema-2), var(--crema)); }
.reservar h2 { margin-bottom: 28px; }
.pasos { list-style: none; margin: 0 auto 26px; padding: 0; display: grid; gap: 12px; max-width: 980px; }
.pasos li { display: flex; gap: 12px; align-items: flex-start; opacity: .55; transition: opacity .2s; }
.pasos li.activo, .pasos li.hecho { opacity: 1; }
.pasos .num { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #b98a35, #8d6420); font-family: var(--serif); font-size: 1.1rem; }
.pasos strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.pasos small { color: var(--suave); font-size: .88rem; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.reserva { background: #fff; border: 1px solid var(--borde); border-radius: 14px; box-shadow: var(--sombra); max-width: 820px; margin: 0 auto; padding: 22px 16px; }
@media (min-width: 640px) { .reserva { padding: 30px 32px; } }
.reserva-titulo { font-size: 1.35rem; margin-bottom: 14px; }
.cargando { color: var(--suave); }
.servicios-lista { display: grid; gap: 10px; }
.servicio-op { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; background: #fff; border: 1px solid var(--borde);
  border-radius: 10px; padding: 14px 16px; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.servicio-op:hover, .servicio-op[aria-checked="true"] { border-color: var(--oro); box-shadow: 0 0 0 3px rgba(196, 154, 69, .16); }
.servicio-op .info { flex: 1; }
.servicio-op strong { display: block; font-size: 1.02rem; }
.servicio-op small { color: var(--suave); }
.servicio-op .dur { white-space: nowrap; font-size: .85rem; color: var(--oro-osc); font-weight: 600; background: #fbf5e8; padding: 4px 10px; border-radius: 99px; }
.volver { background: none; border: 0; color: var(--oro-osc); font: 600 .9rem var(--sans); cursor: pointer; padding: 6px 0; margin-bottom: 6px; }
.elegido { margin: -6px 0 16px; color: var(--suave); }
.elegido strong { color: var(--tinta); }
.dias-marco { display: flex; align-items: center; gap: 6px; }
.dias { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; flex: 1; scrollbar-width: thin; }
.dias-flecha { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--borde); background: #fff; cursor: pointer; font-size: 1.2rem; color: var(--oro-osc); }
.dias-flecha:disabled { opacity: .35; cursor: default; }
.dia { scroll-snap-align: start; flex: 0 0 74px; border: 1px solid var(--borde); background: #fff; border-radius: 10px; padding: 8px 4px; text-align: center; cursor: pointer; font: inherit; color: inherit; }
.dia .sem { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); }
.dia .num { display: block; font: 600 1.35rem var(--serif); }
.dia .mes { display: block; font-size: .75rem; color: var(--suave); }
.dia .libres { display: block; font-size: .68rem; margin-top: 2px; color: var(--oro-osc); }
.dia[disabled] { opacity: .4; cursor: not-allowed; background: #faf8f4; }
.dia[aria-selected="true"] { border-color: var(--oro); background: #fbf4e3; box-shadow: 0 0 0 3px rgba(196, 154, 69, .18); }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; min-height: 48px; }
.horas p { grid-column: 1 / -1; color: var(--suave); margin: 6px 0; }
.hora { border: 1px solid var(--borde); background: #fff; border-radius: 8px; min-height: 44px; font: 600 .95rem var(--sans); cursor: pointer; color: var(--tinta); }
.hora:hover { border-color: var(--oro); background: #fbf4e3; }
form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
form input, form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 1rem var(--sans); border: 1px solid #d9cdb8;
  border-radius: 8px; background: #fff; color: var(--tinta); }
form input:focus, form textarea:focus { outline: 2px solid var(--oro); border-color: var(--oro); }
.opcional { font-weight: 400; color: var(--suave); font-size: .85rem; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: #fdecea; color: #8a1f12; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-size: .94rem; }
.confirmada { text-align: center; }
.confirmada:focus { outline: none; }
.check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 12px; background: var(--grad-oro); color: #1b1407; font-size: 2rem; font-weight: 700; }
.detalle { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; max-width: 440px; margin: 10px auto 14px; background: var(--crema); border-radius: 10px; padding: 16px 18px; }
.detalle dt { color: var(--suave); font-size: .9rem; }
.detalle dd { margin: 0; font-weight: 600; }
.detalle .codigo { font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; font-size: 1.05rem; }
.nota { color: var(--suave); font-size: .92rem; max-width: 460px; margin: 0 auto 16px; }
.acciones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 8px; }

/* preguntas */
.faq details { border: 1px solid var(--borde); border-radius: 8px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--tinta); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: #4a443a; }

/* pie */
.pie { background: var(--negro); color: #eee6d6; padding: 48px 0 24px; }
.pie-fila { display: grid; gap: 30px; justify-items: center; text-align: center; }
.pie-logo { width: 150px; height: auto; }
.pie h2 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.pie-centro { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pie-tel { font-size: 1.3rem; text-decoration: none; color: #fff; font-weight: 500; }
.pie-redes { display: flex; flex-direction: column; gap: 12px; }
.pie-redes a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #e6dcc6; }
.pie-redes a:hover { color: var(--oro-claro); }
.pie-redes svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pie-redes svg .lleno { fill: currentColor; stroke: none; }
.pie-legal { border-top: 1px solid #2b2620; margin-top: 34px; padding-top: 18px; text-align: center; font-size: .82rem; color: #a99f8c; }
.pie-legal a { color: #d9c48f; }
@media (min-width: 900px) {
  .pie-fila { grid-template-columns: 1fr 1.4fr 1fr; align-items: center; }
  .pie-centro { border-left: 1px solid #3a332a; border-right: 1px solid #3a332a; padding: 0 24px; }
  .pie-logo { width: 170px; }
}

/* WhatsApp flotante */
.flotante-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 40; }
.flotante-wa svg { width: 30px; height: 30px; fill: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .boton { transition: none; } }
