/* ==========================================================================
   Barber SaaS — Landing
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contenedor { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.saltar { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--espuma); color: var(--tinta); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.saltar:focus { top: 16px; }

/* ---- Tipografía de la marca: firma TY3 (light + bold en la misma frase) ---- */
.titular {
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.04em; line-height: 0.98;
  font-variation-settings: "opsz" 96; text-wrap: balance;
}
.titular .ligero { font-weight: 300; }
.titular strong { font-weight: 760; }
.sec-titulo { font-size: clamp(2.3rem, 4.8vw, 4.1rem); max-width: 17ch; }
.sec-cabeza { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.sec-cabeza--split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: end; }
.sec-cabeza--centro { align-items: center; text-align: center; }
.sec-cabeza--centro .sec-titulo { margin-inline: auto; }
.sec-intro { font-size: 18px; line-height: 1.55; color: var(--humo); max-width: 36em; }
.neon-txt { font-style: normal; color: var(--neon); text-shadow: 0 0 22px rgba(255, 75, 43, 0.55), 0 0 2px rgba(255, 75, 43, 0.6); }
.nota-ejemplo { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--humo-2); }
.nota-ejemplo--inline { margin-left: 6px; white-space: nowrap; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--espuma); border-bottom: 1px solid var(--linea-2); padding-bottom: 3px; transition: border-color 0.25s, gap 0.25s var(--ease); }
.enlace-flecha:hover { border-color: var(--neon); gap: 12px; }
.enlace-flecha .ic { width: 17px; height: 17px; }

/* Secciones claras */
.claro { background: var(--espuma); color: var(--tinta); color-scheme: light; }
.claro .eyebrow { color: var(--tinta-2); }
.claro .sec-intro { color: var(--tinta-2); }
.claro .titular .ligero { color: #3a3532; }
.claro .nota-ejemplo { color: #8a837e; }

/* Reveal (solo con JS; sin JS todo se ve) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* regla defensiva de la skill */

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.35s var(--ease), box-shadow 0.35s; }
.nav.is-scrolled { background: rgba(12, 11, 11, 0.86); box-shadow: 0 1px 0 var(--linea); }
@supports (backdrop-filter: blur(10px)) { .nav.is-scrolled { background: rgba(12, 11, 11, 0.62); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); } }
.nav-in { width: min(1200px, calc(100% - 48px)); margin-inline: auto; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; color: var(--humo); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-links a:hover { color: var(--espuma); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; place-items: center; box-shadow: inset 0 0 0 1px var(--linea-2); }
.nav-movil { position: absolute; inset: 74px 0 auto 0; background: #0f0e0e; border-bottom: 1px solid var(--linea); padding: 12px 24px 28px; display: grid; gap: 4px; }
.nav-movil[hidden] { display: none; }
.nav-movil a { font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.nav-movil-entrar { color: var(--neon); }
.nav-movil-cta { display: none !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 90px; display: flex; align-items: center; isolation: isolate; }
.hero-fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-rayas {
  position: absolute; inset: -20%;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 26px);
  -webkit-mask-image: radial-gradient(60% 55% at 72% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 72% 45%, #000 0%, transparent 75%);
}
.hero-luz {
  position: absolute; inset: 0;
  background:
    radial-gradient(520px circle at var(--mx, 72%) var(--my, 42%), rgba(255, 75, 43, 0.2), transparent 62%),
    radial-gradient(700px circle at 90% 100%, rgba(255, 181, 71, 0.08), transparent 60%),
    radial-gradient(600px circle at 0% 0%, rgba(255, 75, 43, 0.06), transparent 60%);
  transition: background-position 0.2s;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-titulo { font-size: clamp(3rem, 6.3vw, 5.7rem); line-height: 0.94; margin: 22px 0 26px; max-width: 12ch; }
.hero-titulo .ligero { display: block; color: var(--humo); }
.hero-sub { font-size: 18.5px; line-height: 1.6; color: var(--humo); max-width: 33em; }
.hero-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 34px; }
.hero-datos { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 46px 0 0; padding-top: 26px; border-top: 1px solid var(--linea); max-width: 540px; }
.hero-datos div { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--linea); }
.hero-datos div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-datos dt { font-family: var(--f-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.hero-datos dd { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--humo); max-width: 15ch; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; perspective: 1400px; padding-right: 8px; }
.hero-visual .nota-ejemplo { width: 300px; text-align: center; }
.hero-tel { transform: rotate(-1.5deg); transition: transform 0.6s var(--ease); will-change: transform; }
.hero-chat { flex: 1; min-height: 0; }
.hero-chat .chat-body { scroll-behavior: smooth; }
.hero-chat .msg b { font-weight: 600; }

.flota {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px;
  border-radius: 16px; background: rgba(30, 28, 28, 0.94); box-shadow: var(--sombra-flota);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-rebote);
}
@supports (backdrop-filter: blur(10px)) { .flota { background: rgba(30, 28, 28, 0.72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); } }
.flota small { display: block; font-size: 11.5px; color: var(--humo); line-height: 1.3; }
.flota b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.flota-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--neon-suave); color: var(--neon-2); flex: none; }
.flota-ico .ic { width: 18px; height: 18px; }
.flota-ico--ok { background: var(--ok-suave); color: var(--ok); }
.flota-ico--rayo { background: rgba(255, 181, 71, 0.14); color: var(--alerta); }
.flota { max-width: 250px; }
.flota--b { left: -6px; top: 13%; }
.flota--a { left: -34px; top: 43%; }
.flota--c { left: 18px; top: 71%; }

/* Animación del chat: solo con JS */
.js .hero-visual.is-playing [data-paso] { opacity: 0; transform: translateY(10px) scale(0.98); }
.js .hero-visual.is-playing [data-paso].is-shown { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.5s var(--ease-rebote); }
.js .hero-visual.is-playing [data-paso]:not(.is-shown) { position: absolute; visibility: hidden; }
.js .hero-visual.is-playing .flota { opacity: 0; transform: translateY(14px) scale(0.94); }
.js .hero-visual.is-playing .flota.is-shown { opacity: 1; transform: none; }

/* ==========================================================================
   BARRIOS (marquee cinético)
   ========================================================================== */
.barrios { border-block: 1px solid var(--linea); padding: 20px 0; overflow: hidden; background: #0e0d0d; }
.barrios-pista { display: flex; width: max-content; animation: marquee 70s linear infinite; will-change: transform; }
.js .barrios-pista { animation: none; }
.barrios-grupo { display: flex; align-items: center; gap: 26px; padding-right: 26px; flex: none; }
.barrios-grupo span { font-family: var(--f-display); font-size: 23px; font-weight: 500; letter-spacing: -0.02em; color: var(--humo); white-space: nowrap; }
.barrios-grupo .barrios-intro { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neon-2); }
.barrios-grupo i { width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--grafito-2); box-shadow: inset 0 0 0 1px var(--linea-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   DOLOR
   ========================================================================== */
.dolor { padding: 150px 0 130px; position: relative; }
.dolor-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--linea); }
.dolor-item { padding: 38px 40px 40px 0; border-bottom: 1px solid var(--linea); }
.dolor-item:nth-child(odd) { border-right: 1px solid var(--linea); }
.dolor-item:nth-child(even) { padding-left: 40px; padding-right: 0; }
.dolor-hora { display: inline-block; font-size: 12.5px; letter-spacing: 0.06em; color: var(--neon-2); margin-bottom: 18px; }
.dolor-item h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.dolor-item p { color: var(--humo); font-size: 16.5px; max-width: 34em; }
.dolor-cierre { margin-top: 56px; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; color: var(--humo); max-width: 30ch; }
.dolor-cierre strong { color: var(--espuma); font-weight: 700; }

/* ==========================================================================
   AUTOMATIZACIONES (tabs)
   ========================================================================== */
.auto { padding: 140px 0; }
.auto-grid { display: grid; grid-template-columns: 370px 1fr; gap: 30px; align-items: start; }
.auto-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.auto-tab {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left;
  padding: 16px 18px 18px 16px; border-radius: 18px; color: var(--tinta); overflow: hidden;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.auto-tab:hover { background: rgba(20, 18, 18, 0.045); }
.auto-tab.is-activa { background: #fff; box-shadow: 0 14px 40px -18px rgba(20, 18, 18, 0.35), 0 0 0 1px rgba(20, 18, 18, 0.06); }
.auto-tab-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(20, 18, 18, 0.06); color: var(--tinta); transition: background 0.3s, color 0.3s; }
.auto-tab.is-activa .auto-tab-ico { background: var(--negro); color: var(--neon); }
.auto-tab b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.auto-tab small { display: block; font-size: 13.5px; color: var(--tinta-2); margin-top: 2px; line-height: 1.4; }
.auto-tab-barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 0 3px 3px 0; opacity: 0; }
.auto-tab.is-activa .auto-tab-barra { opacity: 1; animation-play-state: running; }
.auto-tab.is-activa.is-corriendo .auto-tab-barra { animation: poste-gira 1.1s linear infinite, barra-avanza var(--dur, 7s) linear forwards; }
@keyframes barra-avanza { from { width: 0; } to { width: 100%; } }

.auto-paneles { position: relative; }
.auto-panel {
  background: #121010; color: var(--espuma); color-scheme: dark; border-radius: 30px; padding: 30px;
  box-shadow: 0 40px 90px -40px rgba(20, 10, 8, 0.6); min-height: 560px; display: flex; flex-direction: column; gap: 24px;
}
.auto-panel[hidden] { display: none; }
.auto-panel.is-activo { animation: panel-entra 0.55s var(--ease) both; }
@keyframes panel-entra { from { opacity: 0; transform: translateY(14px); } }
.receta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: paso; }
.receta li { position: relative; padding: 16px 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--linea); }
.receta li:not(:last-child)::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; z-index: 1;
  border-top: 2px solid var(--neon); border-right: 2px solid var(--neon); transform: translateY(-50%) rotate(45deg);
}
.receta-k { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neon-2); margin-bottom: 8px; }
.receta p { font-size: 14.5px; line-height: 1.45; }
.demo {
  flex: 1; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: var(--chat-fondo); box-shadow: inset 0 0 0 1px var(--linea);
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 18px 18px;
}
.demo .msg { max-width: 78%; font-size: 14px; }
.msg-botones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg-botones .msg-boton { margin-top: 0; flex: 1 1 auto; }
.auto-plata { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--humo); }
.auto-plata .ic { color: var(--ok); width: 18px; height: 18px; }
.auto-plata b { color: var(--espuma); font-weight: 600; }

/* Animación de entrada de elementos dentro del demo activo */
.auto-panel.is-activo .demo > * { animation: demo-entra 0.6s var(--ease) both; }
.auto-panel.is-activo .demo > *:nth-child(2) { animation-delay: 0.35s; }
.auto-panel.is-activo .demo > *:nth-child(3) { animation-delay: 0.6s; }
.auto-panel.is-activo .demo > *:nth-child(4) { animation-delay: 0.85s; }
@keyframes demo-entra { from { opacity: 0; transform: translateY(12px); } }

.demo-chat { display: flex; flex-direction: column; gap: 8px; }
.demo-cita { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #1a1818; box-shadow: inset 3px 0 0 var(--neon), inset 0 0 0 1px var(--linea); }
.demo-cita-hora { font-size: 13px; color: var(--humo); }
.demo-cita-cuerpo b { display: block; font-size: 15px; }
.demo-cita-cuerpo small { display: block; font-size: 12.5px; color: var(--humo); }
.demo-estados { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-linea { flex: 0 1 60px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--humo-2) 0 5px, transparent 5px 9px); }

.demo-fila { flex-direction: row; align-items: center; gap: 22px; }
.fila-tarjeta { flex: 0 0 200px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #221514, #151212); box-shadow: inset 0 0 0 1px rgba(255, 75, 43, 0.3); display: flex; flex-direction: column; gap: 6px; }
.fila-k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--humo); }
.fila-pos { font-family: var(--f-display); font-size: 84px; font-weight: 750; line-height: 0.9; letter-spacing: -0.05em; color: var(--neon); text-shadow: 0 0 30px rgba(255, 75, 43, 0.45); }
.fila-espera { font-size: 14px; color: var(--humo); }
.fila-espera b { color: var(--espuma); }
.fila-barra { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 8px; }
.fila-barra .poste { display: block; height: 100%; width: 70%; border-radius: 6px; }
.fila-lista { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.fila-lista li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #1a1818; font-size: 14.5px; font-weight: 500; }
.fila-lista li span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); font-size: 12.5px; }
.fila-lista li small { margin-left: auto; font-size: 12px; color: var(--humo); font-weight: 400; }
.fila-lista li.es-vos { box-shadow: inset 0 0 0 1px var(--neon); background: #221514; }
.fila-lista li.es-vos span { background: var(--neon); color: #170805; }

.ciclo-cliente { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; align-items: center; padding: 16px; border-radius: 18px; background: #1a1818; box-shadow: inset 0 0 0 1px var(--linea); }
.ciclo-datos b { display: block; font-size: 15px; }
.ciclo-datos small { display: block; font-size: 12.5px; color: var(--humo); }
.ciclo-dias { font-size: 12.5px; color: var(--alerta); }
.ciclo-barra { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-top: 8px; }
.ciclo-barra .poste { display: block; height: 100%; border-radius: 8px; }

.huecos-fila { display: grid; grid-template-columns: 48px repeat(3, 1fr); gap: 8px; align-items: stretch; }
.huecos-hora { font-size: 12.5px; color: var(--humo); align-self: center; }
.huecos-slot { padding: 12px 12px; border-radius: 12px; font-size: 13px; font-weight: 500; background: #1d1b1b; color: var(--humo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.huecos-slot.lleno { background: var(--neon-suave); color: #ffc2b4; box-shadow: inset 0 0 0 1px rgba(255, 75, 43, 0.55); }
.huecos-slot.libre { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16); border-radius: 12px; color: var(--humo-2); }
.huecos-nota { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--humo); margin-top: 6px; }

.liquida-lista { display: flex; flex-direction: column; gap: 8px; }
.liquida-lista li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #1a1818; }
.liquida-lista li > span:nth-child(2) b { display: block; font-size: 15px; }
.liquida-lista li small { display: block; font-size: 12.5px; color: var(--humo); }
.liquida-lista li > b { font-size: 16px; font-weight: 650; }
.liquida-btn { align-self: flex-start; margin-top: 6px; pointer-events: none; }

/* ==========================================================================
   UN SÁBADO — escena clavada con scroll horizontal (momento memorable)
   ========================================================================== */
.sabado { position: relative; background: #090808; border-block: 1px solid var(--linea); }
.sabado-escena { padding: 120px 0 110px; display: flex; flex-direction: column; justify-content: center; gap: 34px; overflow: hidden; }
.sabado-cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.sabado-tablero { display: flex; gap: 12px; }
.sabado-tablero div { min-width: 180px; padding: 14px 18px; border-radius: 18px; background: #141212; box-shadow: inset 0 0 0 1px var(--linea); }
.sabado-tablero small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--humo); margin-bottom: 6px; }
.sabado-tablero b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sabado-progreso { width: min(1200px, calc(100% - 48px)); margin-inline: auto; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.sabado-progreso .poste { display: block; height: 100%; width: 0; border-radius: 4px; }
.sabado-ventana { overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 14px 24px; }
.sabado-ventana::-webkit-scrollbar { display: none; }
.sabado-pista { display: flex; gap: 18px; width: max-content; padding-inline: max(24px, calc((100vw - 1200px) / 2)); will-change: transform; }
.momento {
  scroll-snap-align: center; flex: none; width: 330px; min-height: 330px; padding: 26px; border-radius: 26px;
  background: #141212; box-shadow: inset 0 0 0 1px var(--linea); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s;
}
.momento.is-activo { transform: translateY(-8px); background: #1a1514; box-shadow: inset 0 0 0 1px rgba(255, 75, 43, 0.55), 0 30px 60px -30px rgba(255, 75, 43, 0.45); }
.momento-hora { font-size: 13px; color: var(--humo); letter-spacing: 0.04em; }
.momento-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--espuma); transition: background 0.4s, color 0.4s; }
.momento.is-activo .momento-ico { background: var(--neon); color: #170805; }
.momento h3 { font-family: var(--f-display); font-size: 25px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; margin-top: 6px; }
.momento p { color: var(--humo); font-size: 15.5px; line-height: 1.5; }
.momento-plata { margin-top: auto; align-self: flex-start; font-size: 15px; font-weight: 600; color: #8ff0c4; background: var(--ok-suave); padding: 6px 12px; border-radius: 999px; }
.momento--total { background: linear-gradient(160deg, #ff5f3b, #ff3f20); color: #170805; box-shadow: 0 30px 70px -30px rgba(255, 75, 43, 0.7); }
.momento--total.is-activo { background: linear-gradient(160deg, #ff6a48, #ff4422); box-shadow: 0 30px 70px -26px rgba(255, 75, 43, 0.85); }
.momento--total .momento-hora, .momento--total p, .momento--total .nota-ejemplo { color: rgba(23, 8, 5, 0.78); }
.momento-total-k { font-weight: 600; margin-top: auto; }
.momento-total { font-family: var(--f-ui); font-size: 64px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.sabado-pista-pista { display: none; }

/* Modo clavado (JS en escritorio) */
.sabado.is-clavado .sabado-escena { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 90px 0 40px; }
.sabado.is-clavado .sabado-ventana { overflow: visible; scroll-snap-type: none; }

/* ==========================================================================
   POR QUÉ — comparación
   ========================================================================== */
.porque { padding: 140px 0; }
.tabla-envoltura { overflow-x: auto; overflow-y: visible; padding: 18px 2px 8px; margin: -18px -2px 0; }
.comparar { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.comparar th, .comparar td { padding: 20px 18px; text-align: center; border-bottom: 1px solid rgba(20, 18, 18, 0.1); font-size: 15px; }
.comparar thead th { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinta-2); vertical-align: bottom; padding-top: 26px; }
.comparar tbody th { text-align: left; font-weight: 500; color: var(--tinta); width: 40%; font-size: 16px; }
.comparar .es-bs { background: var(--negro); color: var(--espuma); border-bottom-color: rgba(255, 255, 255, 0.08); }
.comparar thead .es-bs { border-radius: 22px 22px 0 0; }
.comparar tbody tr:last-child .es-bs { border-radius: 0 0 22px 22px; border-bottom: 0; }
.logo--mini { font-size: 17px; text-transform: none; letter-spacing: -0.02em; color: var(--espuma); }
.logo--mini .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.logo--mini .logo-mark .poste { width: 10px; height: 19px; animation-play-state: running; }
.si, .no, .medio { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; }
.si { color: var(--ok); }
.si::before { content: "✓" / ""; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-suave); font-size: 13px; }
.no { color: #8a837e; font-weight: 500; }
.no::before { content: "✕" / ""; font-size: 12px; }
.medio { color: var(--tinta-2); font-weight: 500; font-size: 13.5px; }

/* ==========================================================================
   COBROS
   ========================================================================== */
.cobros { position: relative; padding: 150px 0; overflow: hidden; isolation: isolate; }
.cobros-luz { position: absolute; z-index: -1; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(255, 75, 43, 0.16), transparent 62%); pointer-events: none; }
.cobros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cobros-texto { display: flex; flex-direction: column; gap: 24px; }
.cobros-texto .sec-titulo { max-width: 14ch; }
.medios { display: flex; flex-wrap: wrap; gap: 8px; }
.medios li { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--linea-2); background: rgba(255, 255, 255, 0.03); }
.cobros-lista { display: flex; flex-direction: column; gap: 14px; }
.cobros-lista li { display: flex; gap: 12px; font-size: 15.5px; color: var(--humo); line-height: 1.5; }
.cobros-lista li b { color: var(--espuma); font-weight: 600; }
.cobros-lista .ic { color: var(--ok); margin-top: 2px; }
.letra-chica { font-size: 12.5px; color: var(--humo-2); }
.cobros-visual { position: relative; display: flex; flex-direction: column; gap: 16px; padding-bottom: 30px; }
.caja-tarjeta { background: #151313; border-radius: 28px; padding: 24px; box-shadow: var(--sombra-flota); }
.caja-cabeza { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--linea); }
.caja-cabeza small { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--humo); margin-bottom: 6px; }
.caja-cabeza b { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.caja-movs { display: flex; flex-direction: column; }
.caja-movs li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--linea); }
.caja-movs li:last-child { border-bottom: 0; padding-bottom: 0; }
.caja-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); }
.caja-ico .ic { width: 18px; height: 18px; }
.caja-movs b { font-size: 14.5px; font-weight: 600; display: block; }
.caja-movs small { display: block; font-size: 12.5px; color: var(--humo); }
.caja-movs .pos { color: #8ff0c4; }
.caja-movs .neg { color: var(--espuma); }
.flota--caja { right: -26px; bottom: 34px; }

/* ==========================================================================
   PASOS
   ========================================================================== */
.pasos { padding: 140px 0; }
.pasos-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pasos-lista li { border-top: 2px solid var(--tinta); padding-top: 26px; }
.paso-n { display: block; font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--neon-tinta); margin-bottom: 26px; }
.pasos-lista h3 { font-family: var(--f-display); font-size: 27px; font-weight: 650; letter-spacing: -0.03em; margin-bottom: 10px; }
.pasos-lista p { color: var(--tinta-2); font-size: 16.5px; max-width: 30ch; }

/* ==========================================================================
   PRECIOS
   ========================================================================== */
.precios { padding: 150px 0 130px; }
.periodo { display: inline-flex; padding: 5px; border-radius: 999px; background: #161414; box-shadow: inset 0 0 0 1px var(--linea); margin-top: 8px; }
.periodo button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--humo); transition: background 0.25s, color 0.25s; }
.periodo button.is-activo { background: var(--espuma); color: var(--tinta); }
.periodo-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 6px; background: var(--ok-suave); color: #8ff0c4; }
.periodo button.is-activo .periodo-tag { background: #d9f7e8; color: #0b6b43; }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(6, auto); column-gap: 18px; row-gap: 0; align-items: stretch; }
.plan { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 14px; align-content: start; padding: 34px 30px 32px; border-radius: 30px; background: #131111; box-shadow: inset 0 0 0 1px var(--linea); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.plan:hover { transform: translateY(-4px); }
.plan h3 { font-family: var(--f-display); font-size: 25px; font-weight: 650; letter-spacing: -0.03em; }
.plan-para { color: var(--humo); font-size: 15px; margin-top: -6px; }
.plan-precio { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.plan-precio b { font-size: 46px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan-precio span { color: var(--humo); font-size: 15px; }
.plan-desde { width: 100%; font-size: 13px !important; margin-bottom: -4px; }
.plan-nota { font-family: var(--f-mono); font-size: 11.5px; color: var(--humo-2); margin-top: -4px; }
.plan .btn { margin: 8px 0 10px; }
.plan ul { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--linea); }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--humo); }
.plan li .ic { color: var(--ok); width: 19px; height: 19px; margin-top: 1px; }
.plan--destacado { background: linear-gradient(170deg, #241513 0%, #131111 55%); box-shadow: inset 0 0 0 1px rgba(255, 75, 43, 0.5), 0 40px 80px -40px rgba(255, 75, 43, 0.45); }
.plan--destacado li { color: var(--espuma-2); }
.plan-badge { position: absolute; top: -14px; left: 30px; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--neon); color: #170805; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-badge .poste { width: 8px; height: 16px; border-radius: 99px; box-shadow: 0 0 0 1.5px #170805; }
.precios-pie { text-align: center; margin-top: 30px; color: var(--humo); font-size: 14.5px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 140px 0; }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.faq-grid .sec-cabeza { position: sticky; top: 110px; margin-bottom: 0; }
.faq-lista details { border-bottom: 1px solid rgba(20, 18, 18, 0.12); }
.faq-lista details:first-child { border-top: 1px solid rgba(20, 18, 18, 0.12); }
.faq-lista summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-mas { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; background: rgba(20, 18, 18, 0.06); transition: background 0.25s, transform 0.35s var(--ease); }
.faq-mas::before, .faq-mas::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--tinta); transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.faq-mas::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-mas { background: var(--negro); }
details[open] .faq-mas::before, details[open] .faq-mas::after { background: var(--neon); }
details[open] .faq-mas::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-lista details p { color: var(--tinta-2); font-size: 16.5px; line-height: 1.6; padding: 0 60px 26px 0; max-width: 60ch; }
.faq-lista summary:hover { color: var(--neon-tinta); }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta { padding: 130px 0; }
.cta-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.cta-puerta { border-radius: 34px; padding: 52px 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-puerta p:not(.eyebrow) { color: var(--humo); font-size: 17px; max-width: 34em; }
.cta-puerta--duenio { background: radial-gradient(120% 90% at 0% 0%, rgba(255, 75, 43, 0.28), transparent 60%), #160f0e; box-shadow: inset 0 0 0 1px rgba(255, 75, 43, 0.35); }
.cta-puerta--duenio h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); max-width: 13ch; }
.cta-puerta--cliente { background: #131111; box-shadow: inset 0 0 0 1px var(--linea); justify-content: flex-end; }
.cta-puerta--cliente h3 { font-family: var(--f-display); font-size: 32px; font-weight: 650; letter-spacing: -0.03em; }
.cta-puerta .btn { margin-top: 10px; }

/* ==========================================================================
   PIE
   ========================================================================== */
.pie { border-top: 1px solid var(--linea); padding: 70px 0 34px; }
.pie-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.pie-marca p { color: var(--humo); margin-top: 16px; max-width: 28ch; }
.pie h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--humo-2); margin-bottom: 16px; }
.pie ul { display: flex; flex-direction: column; gap: 10px; }
.pie ul a { color: var(--humo); transition: color 0.2s; }
.pie ul a:hover { color: var(--espuma); }
.pie-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linea); font-size: 13px; color: var(--humo-2); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 961px) and (max-width: 1199px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .flota { max-width: 196px; padding: 9px 12px 9px 9px; }
  .flota b { font-size: 13px; }
  .flota-ico { width: 32px; height: 32px; }
  .flota--a { left: -14px; }
}

@media (max-width: 1100px) {
  .auto-grid { grid-template-columns: 1fr; }
  .auto-tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding: 4px 24px 10px; }
  .auto-tabs::-webkit-scrollbar { display: none; }
  .auto-tab { flex: 0 0 auto; grid-template-columns: 36px auto; padding: 10px 16px 12px 10px; }
  .auto-tab-ico { width: 36px; height: 36px; border-radius: 11px; }
  .auto-tab small { display: none; }
}

@media (max-width: 960px) {
  .nav-links, .nav-entrar { display: none; }
  .nav-burger { display: grid; }
  .hero { padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-titulo { max-width: 13ch; }
  .hero-visual { align-items: center; padding-right: 0; }
  .flota--b { left: calc(50% - 250px); top: 10%; }
  .flota--a { left: auto; right: calc(50% - 240px); top: 44%; }
  .flota--c { left: calc(50% - 230px); top: 76%; }
  .sec-cabeza--split { grid-template-columns: 1fr; gap: 20px; }
  .cobros-grid { grid-template-columns: 1fr; gap: 50px; }
  .planes { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 22px; max-width: 520px; margin-inline: auto; }
  .plan { display: flex; flex-direction: column; grid-row: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid .sec-cabeza { position: static; }
  .cta-grid { grid-template-columns: 1fr; }
  .pie-grid { grid-template-columns: 1fr 1fr; }
  .pie-marca { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .receta { grid-template-columns: 1fr; }
  .receta li:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -11px; transform: rotate(135deg); }
  .demo-fila { flex-direction: column; align-items: stretch; }
  .fila-tarjeta { flex: none; }
  .pasos-lista { grid-template-columns: 1fr; gap: 40px; }
  .dolor-lista { grid-template-columns: 1fr; }
  .dolor-item, .dolor-item:nth-child(even) { padding: 30px 0; border-right: 0 !important; }
}

@media (max-width: 640px) {
  .contenedor, .nav-in { width: calc(100% - 32px); }
  .nav-cta .btn { display: none; }
  .nav-movil-cta { display: flex !important; margin-top: 14px; font-family: var(--f-ui) !important; font-size: 16px !important; border-bottom: 0 !important; }
  .sabado-progreso { width: calc(100% - 32px); }
  .hero { padding: 100px 0 70px; }
  .hero-titulo { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero-sub { font-size: 17px; }
  .hero-acciones .btn { width: 100%; }
  .hero-datos { grid-template-columns: repeat(3, 1fr); }
  .hero-datos div { padding-right: 12px; margin-right: 12px; }
  .hero-datos dt { font-size: 24px; }
  .hero-datos dd { font-size: 12px; }
  .telefono { width: 272px; }
  .telefono-pantalla { height: 540px; }
  .flota { padding: 8px 12px 8px 8px; }
  .flota b { font-size: 12.5px; }
  .flota small { font-size: 10.5px; }
  .flota-ico { width: 30px; height: 30px; border-radius: 9px; }
  .flota { max-width: 250px; }
  .flota--a, .flota--c { display: none; }
  .flota--b { left: 50%; top: -22px; transform: translateX(-50%); }
  .js .hero-visual.is-playing .flota--b { transform: translate(-50%, 14px) scale(0.94); }
  .js .hero-visual.is-playing .flota--b.is-shown { transform: translateX(-50%); }
  .hero-visual { padding-top: 26px; }
  .dolor, .auto, .porque, .pasos, .faq, .cta { padding: 90px 0; }
  .cobros, .precios { padding: 100px 0; }
  .sec-cabeza { margin-bottom: 40px; }
  .auto-tabs { margin-inline: -16px; padding-inline: 16px; }
  .auto-panel { padding: 18px; border-radius: 24px; min-height: 0; }
  .demo { padding: 16px; }
  .demo .msg { max-width: 92%; }
  .huecos-fila { grid-template-columns: 38px repeat(3, 1fr); gap: 6px; }
  .huecos-slot { padding: 10px 8px; font-size: 11.5px; }
  .sabado-escena { padding: 90px 0 80px; }
  .sabado-tablero { width: 100%; }
  .sabado-tablero div { min-width: 0; flex: 1; }
  .sabado-tablero b { font-size: 20px; }
  .sabado-pista { padding-inline: 16px; gap: 12px; }
  .momento { width: min(300px, 82vw); min-height: 310px; }
  .comparar th, .comparar td { padding: 16px 12px; }
  .cta-puerta { padding: 34px 24px; border-radius: 26px; }
  .cta-puerta .btn { width: 100%; }
  .caja-cabeza b { font-size: 32px; }
  .flota--caja { right: 0; bottom: -4px; }
  .pie-legal { flex-direction: column; }
}

/* Menú con «Buscar barbería»: nunca partir un enlace en dos líneas; en pantallas medianas, más compacto */
.nav-links a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1279px) {
  .nav-links { gap: 20px; font-size: 14px; }
  .nav-links a[href="#sabado"] { display: none; }
}
