/* ==========================================================
   FICHA DE NEGOCIO · estructura común a todos los giros
   Los colores, fuentes y radios salen de core/temas/<giro>.css
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grano sutil sobre todo el sitio */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--surface); padding: 8px 14px; }

.contenedor { width: min(1240px, 100% - 40px); margin-inline: auto; }
.seccion { padding: clamp(80px, 12vw, 150px) 0; position: relative; }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking); line-height: .95; margin: 0;
  font-variation-settings: "opsz" 144;
}
.display em { font-style: var(--display-italic); font-weight: calc(var(--display-weight) - 40); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.cabeza-seccion { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.cabeza-seccion h2 { font-size: clamp(44px, 7vw, 96px); }
.cabeza-seccion p { max-width: 380px; color: var(--ink-soft); margin: 0; }

/* ---------- Botones ---------- */
.btn {
  --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease);
}
.btn svg { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primario { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -12px var(--accent); }
.btn--primario:hover { box-shadow: 0 18px 40px -14px var(--accent); }
.btn--linea { border-color: var(--line); background: transparent; }
.btn--linea:hover { background: var(--surface); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--bloque { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.icono-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  display: grid; place-items: center; font-size: 20px; transition: background .3s;
}
.icono-btn:hover { background: var(--bg-alt); }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(20px, calc((100% - 1240px) / 2));
  transition: background .4s, backdrop-filter .4s, height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solida {
  height: 64px; background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
}
.marca { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.marca b { font-family: var(--font-display); font-weight: 450; font-size: 24px; letter-spacing: -.02em; }
.marca span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: none; gap: 34px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.nav a:hover::after { right: 0; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 899px) { .topbar .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 120px 0 60px; display: flex; align-items: center; overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.hero__titulo { font-size: clamp(72px, 13vw, 190px); }
.hero__titulo span { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__titulo span > i { display: block; font-style: normal; animation: sube 1.2s var(--ease) both; }
.hero__titulo span:nth-child(2) > i { animation-delay: .12s; }
.hero__texto { max-width: 440px; font-size: 18px; color: var(--ink-soft); margin: 28px 0 36px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { font-size: 18px; }
.hero__entrada > * { animation: aparece 1s var(--ease) both; }
.hero__entrada > *:nth-child(2) { animation-delay: .35s; }
.hero__entrada > *:nth-child(3) { animation-delay: .45s; }
.hero__entrada > *:nth-child(4) { animation-delay: .55s; }
.hero__entrada > *:nth-child(5) { animation-delay: .65s; }

.estado {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600;
}
.estado i { width: 8px; height: 8px; border-radius: 50%; background: #9a9a9a; }
.estado.is-abierto i { background: #4F9A5B; box-shadow: 0 0 0 0 rgba(79,154,91,.6); animation: pulso 2s infinite; }
.estado small { font-weight: 500; color: var(--ink-soft); font-size: 13px; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.arco {
  border-radius: var(--arco); overflow: hidden; aspect-ratio: 4 / 5.2; box-shadow: var(--sombra);
  animation: revela 1.6s var(--ease) .2s both;
}
.arco img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: zoomout 2.4s var(--ease) .2s both; }
.hero__mini {
  position: absolute; left: -12%; bottom: 8%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--bg); box-shadow: var(--sombra); animation: aparece 1s var(--ease) .9s both;
}
.hero__mini img { width: 100%; height: 100%; object-fit: cover; }
.sello {
  position: absolute; right: -4%; top: 6%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  animation: aparece 1s var(--ease) 1.1s both;
}
.sello svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 22s linear infinite; }
.sello text { font-size: 8.2px; letter-spacing: .08em; text-transform: uppercase; fill: currentColor; font-family: var(--font-body); font-weight: 600; }
.sello b { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 34px; line-height: 1; }
@media (max-width: 600px) {
  .hero { padding-top: 100px; }
  .hero__visual { width: 86%; }
  .sello { width: 104px; height: 104px; right: -8%; }
  .sello b { font-size: 26px; }
}

/* ---------- Cinta ---------- */
.cinta { overflow: hidden; padding: 22px 0; white-space: nowrap; }
.cinta__pista { display: inline-flex; animation: desliza 38s linear infinite; }
.cinta__pista span {
  font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(28px, 4vw, 44px);
  padding-right: 40px; display: inline-flex; align-items: center; gap: 40px;
}
.cinta__pista span::after { content: "✺"; font-style: normal; font-size: .5em; opacity: .7; }

/* ---------- Servicios ---------- */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-size: 14px; font-weight: 500; transition: all .3s;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fila {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative;
  transition: padding .5s var(--ease);
}
.fila[hidden] { display: none; }
.fila__img { width: 76px; height: 92px; border-radius: 40px 40px 12px 12px; overflow: hidden; }
.fila__img img { width: 100%; height: 100%; object-fit: cover; }
.fila__num { display: none; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.fila h3 { font-family: var(--font-display); font-weight: 380; font-size: clamp(24px, 3.2vw, 44px); letter-spacing: -.02em; line-height: 1.05; margin: 0 0 6px; }
.fila h3 .tag { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.fila p { margin: 0; color: var(--ink-soft); font-size: 14.5px; max-width: 520px; }
.fila__meta { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.fila__meta span { display: inline-flex; align-items: center; gap: 6px; }
.fila__lado { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.precio { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 380; white-space: nowrap; }
.precio small { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); margin-right: 4px; }
.fila .flecha {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px;
  transition: background .4s var(--ease), color .4s, transform .5s var(--ease);
}
@media (hover: hover) {
  .fila:hover .flecha { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }
}
@media (min-width: 900px) {
  .fila { grid-template-columns: 60px 1fr auto; padding: 34px 0; }
  .fila__img { display: none; }
  .fila__num { display: block; }
  .fila:hover { padding-left: 16px; }
}
@media (max-width: 600px) {
  .fila { grid-template-columns: 64px 1fr; }
  .fila__img { width: 64px; height: 80px; align-self: start; }
  .fila__lado { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
}
.cursor-img {
  position: fixed; left: 0; top: 0; width: 260px; height: 320px; border-radius: 130px 130px 20px 20px; overflow: hidden;
  pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-6deg);
  transition: opacity .35s, transform .5s var(--ease); box-shadow: var(--sombra);
}
.cursor-img.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.cursor-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 899px) { .cursor-img { display: none; } }

/* ---------- Paquetes ---------- */
.paquetes .eyebrow, .paquetes .cabeza-seccion p { color: color-mix(in srgb, var(--brand-ink) 70%, transparent); }
.tarjetas { display: grid; gap: 16px; }
@media (min-width: 800px) { .tarjetas { grid-template-columns: repeat(3, 1fr); } }
.tarjeta {
  position: relative; border-radius: var(--radius); padding: 32px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  border: 1px solid color-mix(in srgb, var(--brand-ink) 18%, transparent);
  transition: transform .6s var(--ease), background .4s;
}
.tarjeta:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--brand-ink) 6%, transparent); }
.tarjeta:first-child { background: var(--brand-ink); color: var(--ink); }
.tarjeta:first-child .tarjeta__desc { color: var(--ink-soft); }
.tarjeta__etq { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.tarjeta h3 { font-family: var(--font-display); font-weight: 350; font-size: 38px; letter-spacing: -.02em; line-height: 1; margin: 0 0 12px; }
.tarjeta__desc { margin: 0; opacity: .8; }
.tarjeta__pie { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.tarjeta__pie .precio s { font-family: var(--font-body); font-size: 14px; opacity: .55; margin-left: 8px; }
.tarjeta .btn--linea { border-color: currentColor; }

/* ---------- Equipo ---------- */
.personas { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.persona { text-align: center; }
.persona__arco {
  aspect-ratio: 1 / 1.1; border-radius: var(--arco); background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; margin-bottom: 20px;
  position: relative;
}
.persona__arco img { width: 100%; height: 100%; object-fit: cover; }
.persona__arco b { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 110px; color: var(--brand); opacity: .8; transition: transform .8s var(--ease); }
.persona:hover .persona__arco b { transform: scale(1.1) rotate(-4deg); }
.persona:nth-child(2) .persona__arco { background: var(--brand-soft); }
.persona:nth-child(2) .persona__arco b { color: var(--surface); }
.persona h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0; letter-spacing: -.02em; }
.persona .rol { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.persona p { color: var(--ink-soft); font-size: 14.5px; margin: 10px auto 18px; max-width: 280px; }

/* ---------- Galería ---------- */
.galeria { padding-top: 0; }
.mosaico { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
.mosaico figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaico figure:hover img { transform: scale(1.06); }
.mosaico figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (min-width: 800px) {
  .mosaico { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
  .mosaico figure:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: 200px 200px var(--radius-sm) var(--radius-sm); }
}

/* ---------- Reseñas ---------- */
.resenas { background: var(--bg-alt); }
.resenas__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .resenas__grid { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.nota { font-size: clamp(120px, 18vw, 220px); line-height: .8; }
.estrellas { display: flex; gap: 4px; color: var(--accent); font-size: 20px; margin: 18px 0 8px; }
.resenas__lado p { color: var(--ink-soft); margin: 0 0 24px; }
.citas { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.citas::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .citas { grid-auto-columns: 60%; } }
.cita { scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 260px; }
.cita blockquote { margin: 0; font-family: var(--font-display); font-size: 23px; line-height: 1.3; font-weight: 350; letter-spacing: -.01em; }
.cita blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.cita footer { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.cita footer .estrellas { margin: 0; font-size: 14px; }

/* ---------- Visítanos ---------- */
.visitanos__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .visitanos__grid { grid-template-columns: 1fr 1.2fr; } }
.horario { list-style: none; padding: 0; margin: 24px 0 32px; }
.horario li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.horario li.is-hoy { font-weight: 700; }
.horario li.is-hoy span:first-child::after { content: " · hoy"; color: var(--accent); font-weight: 600; }
.horario .cerrado { color: var(--ink-soft); }
.direccion { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; margin-bottom: 24px; }
.direccion svg { font-size: 22px; margin-top: 2px; color: var(--accent); }
.mapa { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--bg-alt); border: 1px solid var(--line); }
.mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.6) sepia(.15) contrast(.95); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__lista { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 380; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 28px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 26px; color: var(--ink-soft); max-width: 640px; }

/* ---------- Pie ---------- */
.pie { background: var(--ink); color: var(--bg); padding: 90px 0 140px; overflow: hidden; }
.pie__cta { display: grid; gap: 28px; margin-bottom: 70px; }
.pie__cta h2 { font-size: clamp(56px, 10vw, 150px); }
.pie__cta h2 em { color: var(--brand-soft); }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; opacity: .8; }
.redes { display: flex; gap: 10px; }
.redes a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 20px;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.redes a:hover { background: var(--bg); color: var(--ink); transform: translateY(-3px); }
.pie .redes a:hover { background: var(--bg); color: var(--ink); }

/* ---------- Dock flotante ---------- */
.dock {
  position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); transition: transform .7s var(--ease);
  display: flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 999px; background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0,0,0,.35);
}
.dock.is-visible { transform: translate(-50%, 0); }
.dock a, .dock button {
  height: 52px; min-width: 52px; border-radius: 999px; border: 0; background: transparent; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; transition: background .3s, transform .3s;
}
.dock a svg, .dock button svg { font-size: 22px; }
.dock a:hover { background: var(--bg-alt); }
.dock .dock__wa { color: #1F9D55; }
.dock .dock__agendar { background: var(--accent); color: var(--accent-ink); padding: 0 24px 0 20px; }
.dock .dock__agendar:hover { transform: scale(1.03); background: var(--accent); }
@media (min-width: 900px) {
  .dock { left: auto; right: 28px; bottom: 28px; transform: translateY(140%); }
  .dock.is-visible { transform: translateY(0); }
}

/* ---------- Agenda (panel) ---------- */
.agenda { position: fixed; inset: 0; z-index: 90; }
.agenda__velo { position: absolute; inset: 0; background: rgba(30, 26, 22, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.agenda.is-abierta .agenda__velo { opacity: 1; }
.agenda__panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: min(92svh, 860px);
  background: var(--bg); border-radius: 28px 28px 0 0; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .6s var(--ease); box-shadow: 0 -30px 80px -30px rgba(0,0,0,.4);
}
.agenda.is-abierta .agenda__panel { transform: translateY(0); }
@media (min-width: 760px) {
  .agenda__panel { left: auto; top: 12px; right: 12px; bottom: 12px; height: auto; width: 500px; border-radius: 28px; transform: translateX(110%); }
  .agenda.is-abierta .agenda__panel { transform: translateX(0); }
  .agenda__asa { display: none; }
}
.agenda__asa { width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 10px auto 0; }
.agenda__cabeza { display: flex; align-items: center; gap: 14px; padding: 16px 20px 14px; }
.agenda__titulos { flex: 1; min-width: 0; }
.agenda__paso { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.agenda__cabeza h2 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.agenda__cabeza [data-atras][hidden] { display: grid; visibility: hidden; }
.agenda__progreso { height: 2px; background: var(--line); margin: 0 20px; }
.agenda__progreso span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .6s var(--ease); }
.agenda__cuerpo { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.agenda__pie { padding: 14px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.agenda__pie:empty { display: none; }
.agenda__cuerpo > * { animation: aparece .5s var(--ease) both; }

.opcion {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px; margin-bottom: 10px;
  border-radius: 18px; background: var(--surface); border: 1.5px solid transparent; transition: border-color .25s, transform .3s var(--ease);
}
.opcion:hover { border-color: var(--line); }
.opcion[aria-pressed="true"] { border-color: var(--accent); }
.opcion img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.opcion__avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--brand); flex: none; }
.opcion__txt { flex: 1; min-width: 0; }
.opcion__txt b { display: block; font-weight: 600; font-size: 15.5px; }
.opcion__txt small { color: var(--ink-soft); font-size: 13px; }
.opcion__precio { font-family: var(--font-display); font-size: 19px; }
.grupo-titulo { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin: 18px 0 10px; }
.grupo-titulo:first-child { margin-top: 0; }

.cal { user-select: none; }
.cal__cabeza { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__cabeza b { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.cal__cabeza div { display: flex; gap: 6px; }
.cal__semana, .cal__dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__semana span { font-size: 11px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; text-transform: uppercase; letter-spacing: .06em; }
.cal__dia {
  aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; font-size: 15px; font-weight: 500; position: relative;
  color: color-mix(in srgb, var(--ink) 28%, transparent); pointer-events: none; transition: background .25s, color .25s;
}
.cal__dia.is-libre { color: var(--ink); pointer-events: auto; background: var(--surface); }
.cal__dia.is-libre::after { content: ""; position: absolute; left: 50%; bottom: 16%; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-soft); transform: translateX(-50%); }
.cal__dia.is-libre:hover { background: var(--bg-alt); }
.cal__dia.is-sel { background: var(--ink); color: var(--bg); }
.cal__dia.is-sel::after { background: var(--accent); }
.cal__dia.is-hoy { font-weight: 800; }
.cal.is-cargando .cal__dias { opacity: .4; }

.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.hora {
  height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: all .25s;
}
.hora:hover { border-color: var(--ink); }
.hora[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.vacio { text-align: center; color: var(--ink-soft); padding: 40px 10px; }
.vacio b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.esqueleto { height: 48px; border-radius: 14px; background: linear-gradient(90deg, var(--bg-alt), var(--surface), var(--bg-alt)); background-size: 200% 100%; animation: brillo 1.2s infinite; }

.resumen { background: var(--surface); border-radius: 18px; padding: 16px 18px; margin-bottom: 20px; display: grid; gap: 8px; font-size: 14px; }
.resumen div { display: flex; justify-content: space-between; gap: 16px; }
.resumen span { color: var(--ink-soft); }
.resumen b { text-align: right; font-weight: 600; }
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.campo span i { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.campo input, .campo textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s;
}
.campo textarea { height: 88px; padding: 14px 16px; resize: none; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--ink); }
.campo.is-error input { border-color: #C0392B; }
.campo em { display: none; font-style: normal; color: #C0392B; font-size: 12.5px; margin-top: 4px; }
.campo.is-error em { display: block; }
.trampa { position: absolute; left: -9999px; }
.nota-legal { font-size: 12px; color: var(--ink-soft); text-align: center; margin: 0; }
.aviso-demo { font-size: 12px; background: var(--brand-soft); color: var(--brand); padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; text-align: center; font-weight: 600; }
.error-general { background: #FBE9E6; color: #A5321F; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; }

.listo { text-align: center; padding-top: 10px; }
.listo__icono { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 42px; animation: rebota .8s var(--ease) both; }
.listo__icono svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: traza .6s .35s var(--ease) forwards; }
.listo h3 { font-family: var(--font-display); font-weight: 350; font-size: 40px; margin: 0 0 8px; letter-spacing: -.02em; }
.listo > p { color: var(--ink-soft); margin: 0 0 24px; }
.listo .resumen { text-align: left; }

/* ---------- Revelado al hacer scroll ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity var(--lento) var(--ease), transform var(--lento) var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Animaciones ---------- */
@keyframes sube { from { transform: translateY(105%); } }
@keyframes aparece { from { opacity: 0; transform: translateY(24px); } }
@keyframes revela { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes zoomout { to { transform: scale(1); } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes desliza { to { transform: translateX(-50%); } }
@keyframes pulso { 70% { box-shadow: 0 0 0 8px rgba(79,154,91,0); } 100% { box-shadow: 0 0 0 0 rgba(79,154,91,0); } }
@keyframes brillo { to { background-position: -200% 0; } }
@keyframes rebota { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes traza { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
