/* ============================================================================
 * CRIS BARBER — capa de diseño sobre el motor de Clean Step (base: la de Richard)
 * ----------------------------------------------------------------------------
 * theme.css y tailwind.css son los de Clean Step sin tocar: app.js y admin.js
 * dibujan con sus clases (.surface, .pick, .slot, .cal-day, .btn…). Esta hoja
 * va DESPUÉS y les pone la cara de Barbas Shop:
 *
 *   · CRISTAL ESMERILADO sobre negro. Un panel translúcido sólo se lee como
 *     cristal si detrás hay algo que refractar: por eso el fondo lleva siempre
 *     aurora (roja y azul, las del poste de barbero del logo), una veta de
 *     mármol muy apagada y grano fino. Quitar una capa "para simplificar"
 *     deja los paneles grises y planos.
 *   · Bodoni Moda en lo grande (con cursivas) y Jost fina en lo demás.
 *   · Botón principal hueso sólido, secundario de cristal, todos en píldora.
 *   · El poste de barbero (rojo, hueso, azul) como filo en barra y pie.
 *
 * Las clases dd-* son las de Don Diablo / Miami Style (el motor las usa); lo
 * nuevo va en rb-*.
 *
 * REGLAS DE FLUIDEZ (las de Luxur y Don Diablo):
 *   · Sólo se anima transform y opacity.
 *   · El fondo es fijo y mide 100lvh (no se reescala con la barra del celular).
 *   · backdrop-filter sólo en paneles grandes y sólo en computadora.
 *   · Lo que se mueve solo se para fuera de la portada (html.dd-hero-on).
 *   · Con "reducir movimiento" no se mueve nada.
 * ========================================================================== */

/* ------------------------------------------------------------- tokens ---- */
:root {
  --tinta:  #050507;
  --carbon: #0E0E13;
  --humo:   #14141B;
  --hueso:  #F4F1EA;
  --plata:  #BCBFC9;
  --gris:   #85878F;
  --rojo:   #E0223A;
  --azul:   #2450E8;
  --rojo-rgb: 224, 34, 58;
  --azul-rgb: 36, 80, 232;

  /* Los nombres que usan theme.css, app.js y admin.js */
  --ink:        #050507;
  --ink-soft:   #0E0E13;
  --panel:      #0E0E13;
  --card:       #14141B;
  --raised:     #1B1B24;
  --accent:     #E0223A;
  --accent-lit: #FF6B7C;
  --accent-dim: #8E1324;
  --accent-rgb: 224, 34, 58;
  --led-cool:   36, 80, 232;
  --text:       #F4F1EA;
  --text-soft:  #BCBFC9;
  --text-faint: #85878F;
  --line:       rgba(244, 241, 234, .11);
  --line-lit:   rgba(244, 241, 234, .24);
  --ok:         #6FCB8B;
  --warn:       #E5AE62;
  --danger:     #EC6C6C;

  --cristal-alto: rgba(255, 255, 255, .075);
  --cristal-bajo: rgba(255, 255, 255, .022);
  --cristal-luz:  rgba(255, 255, 255, .34);
  --vidrio:       rgba(14, 14, 19, .62);

  --rb-bandera: linear-gradient(90deg, var(--rojo), var(--hueso) 50%, var(--azul));
  --dd-curva: cubic-bezier(.22, .61, .36, 1);
  --dd-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --dd-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --dd-tinta: #050507;
}

html { background: var(--tinta); scroll-padding-top: 86px; }
body {
  background: transparent; color: var(--text-soft);
  font-family: var(--dd-sans); font-weight: 300; letter-spacing: .012em;
}
body::before { display: none; }
/* Grano finísimo encima de TODO: sin él los degradados oscuros salen en
   bandas y la página se ve digital; con él, se ve impresa. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--hueso); color: var(--tinta); }
::-webkit-scrollbar-track { background: var(--tinta); }
::-webkit-scrollbar-thumb { background: #2A2A33; }
::-webkit-scrollbar-thumb:hover { background: #3A3A46; }

.font-sans    { font-family: var(--dd-sans); }
.font-display { font-family: var(--dd-display); letter-spacing: 0; }
.font-serif   { font-family: var(--dd-display); font-style: normal; }
.text-lit   { color: var(--text); }
.text-soft  { color: var(--text-soft); }
.text-faint { color: var(--text-faint); }
.text-ink   { color: var(--dd-tinta); }
.bg-ink\/95 { background-color: rgba(5, 5, 7, .96); }
.bg-ink\/90 { background-color: rgba(5, 5, 7, .9); }
.h-sub { font-family: var(--dd-display); font-weight: 500; letter-spacing: 0; color: var(--text); }
.font-bold.font-display, .font-display.font-bold { font-weight: 500; }

.dd-oro, .grad-text { font-style: italic; color: var(--text); background: none; -webkit-text-fill-color: currentColor; }

main, footer, #nav { position: relative; z-index: 2; }
#nav { position: fixed; z-index: 40; }

/* El poste de barbero: rayas rectas e inclinadas con skew para que el bucle
   cierre exacto (una diagonal no se deja animar en horizontal sin costura). */
.rb-poste { position: relative; display: block; height: 3px; overflow: hidden; }
.rb-poste::before {
  content: ""; position: absolute; top: -100%; left: -30%; width: 160%; height: 300%;
  transform: skewX(-32deg);
  background: repeating-linear-gradient(90deg,
    var(--rojo) 0 9px, var(--hueso) 9px 18px, var(--azul) 18px 27px, var(--hueso) 27px 36px);
  animation: rb-poste 2.2s linear infinite;
}
.rb-poste--fino { height: 2px; opacity: .85; }
@keyframes rb-poste { to { background-position-x: 36px; } }

#progress { background: var(--rb-bandera) !important; height: 2px !important; }

/* ----------------------------------------------------------- cristal ----- */
.surface, .surface-soft, .pick, .dd-panel, .step, .rb-vidrio { border-color: rgba(244, 241, 234, .11); }
.surface, .dd-panel, .rb-vidrio {
  position: relative;
  border-radius: 20px;
  background:
    linear-gradient(150deg, var(--cristal-alto) 0%, var(--cristal-bajo) 46%, rgba(255, 255, 255, .045) 100%),
    var(--vidrio);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 26px 60px -30px rgba(0, 0, 0, .95);
  isolation: isolate;
}
.rb-vidrio, .dd-panel { border: 1px solid transparent; }
.surface-soft {
  background: linear-gradient(150deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)), rgba(10, 10, 14, .55);
  border-color: rgba(244, 241, 234, .09);
}
/* El borde de 1px pintado con un DEGRADADO: la luz entra arriba a la
   izquierda, como en el cristal de verdad. */
.edge-lit::before, .dd-panel::before, .step::before, .rb-vidrio::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, var(--cristal-luz) 0%, rgba(255, 255, 255, .06) 38%,
                              rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 3; animation: none;
}
/* Reflejo que sigue al ratón (richard-fx.js publica --mx/--my). */
.rb-vidrio::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .10), transparent 62%);
  opacity: 0; transition: opacity .55s var(--dd-curva);
}
.rb-vidrio[data-brillo="true"]::after { opacity: 1; }
.glow-lit { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 30px 80px -34px rgba(0, 0, 0, .95); }
.surface::after, .surface-soft::after, .pick::after {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .08), transparent 70%);
}
.surface, .surface-soft, .pick, .dd-panel, .step, .modal, .modal-panel, #navPanel, .rb-vidrio {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
@media (min-width: 900px) and (hover: hover) {
  #bookingForm, .rb-servicio, .rb-pildora {
    -webkit-backdrop-filter: blur(22px) saturate(170%) !important;
            backdrop-filter: blur(22px) saturate(170%) !important;
  }
  #bookingForm, .rb-servicio { --vidrio: rgba(14, 14, 19, .34); }
}

.step {
  position: relative;
  padding: clamp(20px, 4vw, 30px);
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(150deg, var(--cristal-alto), var(--cristal-bajo) 50%, rgba(255, 255, 255, .04)),
    var(--vidrio);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.step[data-locked="true"] { background: rgba(10, 10, 14, .5); }
.step .surface, .step .surface-soft { background-color: rgba(0, 0, 0, .22); }

/* ------------------------------------------------------------ botones ---- */
.btn {
  border-radius: 999px; font-family: var(--dd-sans); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px;
}
.btn-primary {
  background: var(--hueso); color: var(--tinta); border-color: transparent;
  box-shadow: 0 0 0 1px rgba(244, 241, 234, .4), 0 18px 40px -16px rgba(244, 241, 234, .45);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--dd-curva), box-shadow .3s;
}
/* El brillo que cruza el botón, como en Barbas Shop */
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: skewX(-18deg); transition: transform .9s var(--dd-curva);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(244, 241, 234, .6), 0 22px 46px -16px rgba(244, 241, 234, .6); }
.btn-primary:hover::after { transform: translateX(420%) skewX(-18deg); }
.btn-primary:disabled { background: rgba(244, 241, 234, .25); color: rgba(5, 5, 7, .6); box-shadow: none; }
.btn-ghost {
  color: var(--hueso); border: 1px solid rgba(244, 241, 234, .24);
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-ghost:hover { border-color: rgba(244, 241, 234, .5); background: rgba(255, 255, 255, .1); }
.btn-quiet { color: var(--text-soft); }
.btn-quiet:hover { background: rgba(255, 255, 255, .08); }
.btn-danger { border-radius: 999px; }
/* En el panel hay muchos botones juntos: menos espaciado para que quepan. */
#adminRoot .btn { letter-spacing: .08em; font-size: 12px; }
.btn-beam::before, .btn-beam::after { display: none !important; }

/* ------------------------------------------------------ selecciones ------ */
.pick { background: rgba(10, 10, 14, .55); border-color: rgba(244, 241, 234, .11); border-radius: 16px; }
.pick:hover { border-color: rgba(244, 241, 234, .26); }
.pick[data-on="true"] {
  border-color: rgba(244, 241, 234, .75);
  background: linear-gradient(150deg, rgba(var(--rojo-rgb), .16), rgba(255, 255, 255, .04) 50%, rgba(var(--azul-rgb), .16)), rgba(14, 14, 19, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 40px -20px rgba(0, 0, 0, .9);
}
.pick .tick { border-color: rgba(244, 241, 234, .3); }
.pick[data-on="true"] .tick { background: var(--hueso); border-color: transparent; color: var(--tinta); }
.pick[data-pendiente="true"] { opacity: .5; cursor: default; }
.pick[data-pendiente="true"]:hover { transform: none; }
.pay-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; flex: none;
  color: var(--hueso); background: rgba(255, 255, 255, .06); border: 1px solid rgba(244, 241, 234, .2);
}
.pick[data-on="true"] .pay-ico { background: var(--hueso); color: var(--tinta); border-color: transparent; }

.step-num {
  font-family: var(--dd-display); font-weight: 500; font-style: italic;
  background: rgba(255, 255, 255, .05); border-color: rgba(244, 241, 234, .3); color: var(--hueso);
}
.step[data-done="true"] .step-num { background: var(--hueso); border-color: transparent; color: var(--tinta); }
.step[data-locked="false"][data-done="false"] .step-num { animation: none; box-shadow: 0 0 0 4px rgba(244, 241, 234, .08); }

.cal-day { background: rgba(255, 255, 255, .035); border-color: rgba(244, 241, 234, .07); }
.cal-day:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.cal-day[data-on="true"], .slot[data-on="true"] {
  background: var(--hueso); color: var(--tinta); border-color: transparent; font-weight: 500;
  box-shadow: 0 10px 26px -12px rgba(244, 241, 234, .7);
}
.cal-day[data-on="true"] .dot { background: var(--rojo); }
.slot { background: rgba(10, 10, 14, .5); border-color: rgba(244, 241, 234, .12); border-radius: 999px; }
.slot:hover:not(:disabled) { border-color: rgba(244, 241, 234, .5); }

.field { background: rgba(5, 5, 7, .55); border-color: rgba(244, 241, 234, .14); border-radius: 14px; }
.field:focus { border-color: rgba(244, 241, 234, .55); box-shadow: 0 0 0 3px rgba(244, 241, 234, .1); }
.label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.chip { border-radius: 999px; }
.chip-lit { border-color: rgba(var(--azul-rgb), .55); background: rgba(var(--azul-rgb), .16); color: #CFDAFF; }
.led-strip { display: none; }

.dd-svc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dd-svc-meta:empty { display: none; }
.dd-svc-meta span {
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  color: var(--plata); border: 1px solid rgba(244, 241, 234, .16);
}

.dd-cuenta { border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, .35); border: 1px solid rgba(244, 241, 234, .12); }
.dd-cuenta > div + div { border-top: 1px solid rgba(244, 241, 234, .08); }
.dd-cuenta-mini {
  font-size: 12px; line-height: 1.5; color: var(--text-soft);
  padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(244, 241, 234, .12);
}
.dd-cuenta-mini b { color: var(--hueso); letter-spacing: .04em; }

/* --------------------------------------------------------------- nav ----- */
#nav { color: var(--text); background: linear-gradient(180deg, rgba(5, 5, 7, .75), rgba(5, 5, 7, 0)); }
#nav > .rb-poste { opacity: 0; transition: opacity .4s; }
#nav.nav-solido, #nav.scrolled {
  background: rgba(5, 5, 7, .86);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9);
}
#nav.nav-solido > .rb-poste, #nav.scrolled > .rb-poste { opacity: .85; }
@media (min-width: 900px) and (hover: hover) {
  #nav.nav-solido, #nav.scrolled { background: rgba(5, 5, 7, .6); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
}
.rb-nav-logo { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(244, 241, 234, .2), 0 6px 18px rgba(0, 0, 0, .7); }
.rb-nav-marca {
  display: flex; flex-direction: column; text-align: left; line-height: 1;
  font-family: var(--dd-display); font-size: 19px; color: var(--hueso);
}
.rb-nav-marca em { font-style: italic; }
.rb-nav-marca small {
  margin-top: 5px; font-family: var(--dd-sans); font-size: 9px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--text-faint);
}
@media (max-width: 400px) { .rb-nav-marca small { display: none; } .rb-nav-marca { font-size: 17px; } }
.dd-navlink { position: relative; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); transition: color .25s; }
.dd-navlink:hover { color: var(--hueso); }
.dd-navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px;
  background: var(--rb-bandera); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--dd-curva);
}
.dd-navlink:hover::after { transform: scaleX(1); }
.dd-nav-boton { color: var(--hueso); background: rgba(255, 255, 255, .06); border: 1px solid rgba(244, 241, 234, .2); }

/* ------------------------------------------------------------ portada ---- */
.rb-portada {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: center;
  padding: 96px 20px 110px;
}
.rb-gigante {
  position: absolute; left: 50%; top: 52%; z-index: 0; margin: 0;
  transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap;
  font-family: var(--dd-display); font-weight: 700; font-size: clamp(6rem, 30vw, 22rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 234, .07);
}
.rb-portada-rejilla {
  position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; gap: 34px; justify-items: center; text-align: center;
}
@media (min-width: 960px) {
  .rb-portada-rejilla { grid-template-columns: 1fr 1.05fr; align-items: center; justify-items: start; text-align: left; gap: 56px; }
  .rb-portada-texto { order: -1; }
}


.rb-rotulo {
  font-size: 11px; font-weight: 400; letter-spacing: .36em; text-transform: uppercase; color: var(--text-faint);
}
.rb-portada .rb-rotulo { display: inline-flex; align-items: center; gap: 14px; }
.rb-portada .rb-rotulo::before { content: ""; width: 34px; height: 1px; background: var(--rb-bandera); }
.rb-h1 {
  margin-top: 1.1rem;
  font-family: var(--dd-display); font-weight: 400;
  font-size: clamp(2.5rem, 9.5vw, 5rem); line-height: 1.02; letter-spacing: -.01em;
  color: var(--hueso);
  text-wrap: balance;
}
.rb-h1 em { font-style: italic; }
.rb-pal {
  display: inline-block; opacity: 0; transform: translate3d(0, .45em, 0);
  transition: opacity .7s var(--dd-curva), transform .9s var(--dd-curva);
  transition-delay: calc(var(--i) * 70ms + 120ms);
}
.rb-listo .rb-pal { opacity: 1; transform: none; }
.rb-entra { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .8s var(--dd-curva), transform .9s var(--dd-curva); transition-delay: var(--retraso, 0ms); }
.rb-listo .rb-entra { opacity: 1; transform: none; }
.rb-bajada { margin-top: 1.2rem; max-width: 34rem; font-size: clamp(.98rem, 2.6vw, 1.08rem); line-height: 1.7; color: var(--text-soft); }
@media (max-width: 959px) { .rb-bajada { margin-inline: auto; } }
.rb-botones { margin-top: 1.8rem; display: grid; gap: 10px; }
@media (min-width: 480px) { .rb-botones { grid-auto-flow: column; justify-content: center; } }
@media (min-width: 960px) { .rb-botones { justify-content: start; } }
.rb-botones .btn { padding: 16px 30px; }

.rb-pildora {
  margin-top: 1.6rem; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  padding: 11px 20px; border-radius: 999px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft);
  background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), rgba(10, 10, 14, .5);
  border: 1px solid rgba(244, 241, 234, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.rb-pildora b { color: var(--hueso); font-weight: 500; }
.rb-pildora-sep { width: 1px; height: 12px; background: rgba(244, 241, 234, .2); }
@media (max-width: 520px) { .rb-pildora-sep { display: none; } .rb-pildora { border-radius: 22px; } }
.rb-estado { display: inline-flex; align-items: center; gap: 8px; color: var(--hueso); }
.rb-estado i { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 3px rgba(236, 108, 108, .18); }
.rb-estado[data-abierto="true"] i { background: var(--ok); box-shadow: 0 0 0 3px rgba(111, 203, 139, .2); }
html.dd-hero-on .rb-estado[data-abierto="true"] i { animation: rb-latido 2s ease-in-out infinite; }
@keyframes rb-latido { 50% { box-shadow: 0 0 0 7px rgba(111, 203, 139, 0); } }

.rb-baja {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--text-faint);
}
.rb-baja i { position: relative; width: 1px; height: 38px; background: rgba(244, 241, 234, .18); overflow: hidden; }
.rb-baja i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--hueso); }
html.dd-hero-on .rb-baja i::after { animation: rb-gota 2.2s var(--dd-curva) infinite; }
@keyframes rb-gota { from { transform: translateY(-14px); } to { transform: translateY(40px); } }

/* --------------------------------------------------------- marquesinas --- */
.rb-marquesinas { position: relative; z-index: 2; overflow: hidden; padding: 6px 0; }
.rb-marquesina {
  overflow: hidden; border-block: 1px solid rgba(244, 241, 234, .08);
  background: rgba(5, 5, 7, .55);
}
.rb-marquesina + .rb-marquesina { margin-top: -1px; }
.rb-pista { display: flex; width: max-content; animation: rb-correr 46s linear infinite; }
.rb-marquesina--inversa .rb-pista { animation-direction: reverse; animation-duration: 52s; }
.rb-pista span {
  display: inline-flex; align-items: center; gap: 28px; padding: 14px 0 14px 28px; white-space: nowrap;
  font-family: var(--dd-display); font-size: clamp(1.15rem, 3.8vw, 1.75rem); color: var(--hueso);
}
.rb-pista span:nth-child(even) { font-style: italic; color: var(--plata); }
.rb-pista span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); }
.rb-pista span:nth-child(even)::after { background: var(--azul); }
.rb-marquesina--inversa .rb-pista span { font-size: clamp(.95rem, 3vw, 1.3rem); color: var(--text-faint); }
@keyframes rb-correr { to { transform: translate3d(-50%, 0, 0); } }

/* ------------------------------------------------------------ secciones -- */
.dd-seccion { position: relative; padding: clamp(68px, 10vw, 124px) 16px; }
@media (min-width: 640px) { .dd-seccion { padding-left: 32px; padding-right: 32px; } }
.dd-cabeza {
  position: relative; isolation: isolate;
  max-width: 680px; margin: 0 auto clamp(30px, 5vw, 52px); text-align: center;
}
.dd-cabeza[data-num]::before {
  content: attr(data-num);
  position: absolute; left: 50%; top: -.48em; z-index: -1; transform: translateX(-50%);
  font-family: var(--dd-display); font-weight: 400; font-style: italic; font-size: clamp(6rem, 22vw, 10.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 234, .08);
}
.dd-rotulo {
  display: inline-flex; flex-direction: column; align-items: center; gap: .7rem;
  font-family: var(--dd-sans); font-size: 11px; font-weight: 400; letter-spacing: .36em; text-transform: uppercase;
  color: var(--text-faint); padding-left: .36em;
}
.dd-rotulo::after { content: ""; width: 40px; height: 1px; background: var(--rb-bandera); }
.dd-rotulo--izq { align-items: flex-start; padding-left: 0; }
.dd-h2 {
  margin-top: 1rem;
  font-family: var(--dd-display); font-weight: 400;
  font-size: clamp(2.2rem, 7.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.01em;
  color: var(--hueso); text-wrap: balance;
}
.dd-lead { margin: 1rem auto 0; max-width: 34rem; font-size: clamp(.96rem, 2.6vw, 1.06rem); line-height: 1.7; color: var(--text-soft); }
#syncBadge { background: rgba(5, 5, 7, .8); }

.dd-palabra {
  display: inline-block; opacity: 0; transform: translate3d(0, .4em, 0);
  transition: opacity .55s var(--dd-curva), transform .7s var(--dd-curva);
  transition-delay: calc(var(--i) * 60ms);
}
.seen .dd-palabra { opacity: 1; transform: none; }
.reveal { filter: none; transform: translate3d(0, 22px, 0);
          transition: opacity .6s ease, transform .7s var(--dd-curva);
          transition-delay: var(--delay, 0s); }
.reveal.seen { opacity: 1; transform: none; }

/* ----------------------------------------------------------- galería ----- */
.dd-galeria { content-visibility: auto; contain-intrinsic-size: auto 760px; }
.dd-carrusel { position: relative; max-width: 1180px; margin: 0 auto; }
.dd-pista {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px calc(50% - min(36vw, 160px)) 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}
.dd-pista::-webkit-scrollbar { display: none; }
.dd-pista:focus-visible { outline: 2px solid rgba(244, 241, 234, .6); outline-offset: 4px; border-radius: 24px; }
.dd-foto {
  position: relative; flex: 0 0 min(72vw, 320px); aspect-ratio: 4 / 5; margin: 0;
  scroll-snap-align: center; scroll-snap-stop: always;
  border-radius: 20px; overflow: hidden; background: var(--carbon);
  border: 1px solid rgba(244, 241, 234, .12);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .95);
  opacity: .4; transform: scale(.94); filter: grayscale(.6);
  transition: opacity .5s var(--dd-curva), transform .6s var(--dd-curva), filter .6s;
}
.dd-foto.activa { opacity: 1; transform: none; filter: none; box-shadow: 0 0 0 1px rgba(244, 241, 234, .3), 0 30px 60px -26px rgba(0, 0, 0, .95); }
.dd-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dd-flecha {
  position: absolute; top: calc(50% - 30px); z-index: 2;
  width: 50px; height: 50px; border-radius: 999px; display: grid; place-items: center;
  color: var(--hueso); background: rgba(5, 5, 7, .7); border: 1px solid rgba(244, 241, 234, .24);
  transition: transform .2s var(--dd-curva), background .2s;
}
.dd-flecha:hover { background: rgba(244, 241, 234, .14); }
.dd-flecha:active { transform: scale(.94); }
.dd-flecha svg { width: 18px; height: 18px; }
.dd-flecha--izq { left: 12px; }
.dd-flecha--der { right: 12px; }
@media (max-width: 640px) { .dd-flecha { display: none; } }
.dd-puntos { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
.dd-puntos button {
  width: 7px; height: 7px; padding: 0; border-radius: 999px; background: rgba(244, 241, 234, .2); border: 0;
  transition: width .35s var(--dd-curva), background .35s;
}
.dd-puntos button[aria-current="true"] { width: 28px; background: var(--rb-bandera); }

/* ------------------------------------------------------- dónde estamos ---- */
.rb-donde { display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 860px) { .rb-donde { grid-template-columns: 1.25fr 1fr; } }
.rb-donde .rb-vidrio > * { position: relative; z-index: 1; }
.rb-mapa { overflow: hidden; min-height: 320px; padding: 0; }
.rb-mapa iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit;
  filter: grayscale(1) invert(.9) contrast(.9) brightness(.85);
  pointer-events: none;
}
/* Todo el mapa es un enlace a la ubicación. */
.rb-donde .rb-vidrio > .rb-mapa-ir {
  position: absolute; inset: 0; z-index: 4; border-radius: inherit;
  display: flex; align-items: flex-end; justify-content: center; padding: 16px;
}
.rb-mapa-ir span {
  padding: 10px 18px; border-radius: 999px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tinta); background: var(--hueso); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .9);
  transition: transform .25s var(--dd-curva);
}
.rb-mapa-ir:hover span { transform: translateY(-2px); }
.rb-mapa-ir:focus-visible { outline: 2px solid var(--hueso); outline-offset: 3px; }
.dd-horario { display: grid; gap: 8px; margin-top: 14px; }
.dd-horario div {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(244, 241, 234, .08); font-size: .9rem;
}
.dd-horario b { font-weight: 500; white-space: nowrap; color: var(--hueso); }

/* ----------------------------------------------------- flotante / pie ---- */
#waFloat { background: #25D366 !important; color: #fff !important; box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .8) !important; }
.dd-pie { position: relative; padding-top: 0 !important; background: linear-gradient(180deg, rgba(5, 5, 7, .7), #030304); }
.rb-pie-logo { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(244, 241, 234, .2); }
.rb-pie-marca { font-family: var(--dd-display); font-size: 1.6rem; color: var(--hueso); line-height: 1; }
.rb-pie-marca em { font-style: italic; }

.modal.bg-black\/80 { background: rgba(3, 3, 5, .9); }
#adminModal { background: rgba(5, 5, 7, .98); }
.rb-adm-logo, .og-adm-logo.rb-adm-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rb-local {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.rb-local p {
  flex: 1 1 260px; font-size: 12.5px; line-height: 1.5; color: var(--text-soft);
  padding: 10px 14px; border-radius: 14px; border: 1px dashed rgba(229, 174, 98, .45); background: rgba(229, 174, 98, .07);
}
.rb-local b { color: var(--warn); font-weight: 500; }

/* ---------------------------------------------------- ventana "Hoy" ------ */
.dd-hoy { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 24px 16px; background: rgba(3, 3, 5, .82); }
.dd-hoy-caja { width: 100%; max-width: 380px; text-align: center; padding: 30px 24px 24px; display: flex; flex-direction: column; align-items: center; }
.dd-hoy-caja > * { position: relative; z-index: 4; }
.dd-hoy-logo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 14px; box-shadow: 0 0 0 1px rgba(244, 241, 234, .2); }
.dd-hoy-cerrar {
  position: absolute !important; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px;
  color: var(--text-soft); background: rgba(255, 255, 255, .06); border: 1px solid rgba(244, 241, 234, .16);
}
.dd-hoy-titulo { margin-top: 1rem; font-family: var(--dd-display); font-weight: 400; font-size: clamp(1.6rem, 6.5vw, 2rem); line-height: 1.1; color: var(--hueso); }
.dd-hoy-texto { margin-top: .7rem; font-size: .94rem; line-height: 1.6; color: var(--text-soft); }
.dd-hoy-texto b { color: var(--hueso); font-weight: 500; }
.dd-hoy-reloj { margin-top: 1.3rem; display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.dd-hoy-reloj div { min-width: 72px; padding: 12px 6px 10px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(244, 241, 234, .14); }
.dd-hoy-reloj b { display: block; font-family: var(--dd-display); font-weight: 400; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--hueso); }
.dd-hoy-reloj span { display: block; margin-top: 6px; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint); }
.dd-hoy-reloj i { font-style: normal; font-size: 1.5rem; line-height: 2.1rem; color: var(--rojo); }
.dd-hoy-pie { margin-top: .8rem; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint); }
.dd-hoy-agendar { margin-top: 1.3rem; width: 100%; padding: 15px 20px; }

/* --------------------------------------- panel: comisiones y horarios ---- */
.og-com-periodos { display: flex; gap: .4rem; overflow-x: auto; padding: 2px; margin: 0 -2px .2rem; }
.og-com-periodo {
  flex: none; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text-soft); cursor: pointer; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.og-com-periodo:hover { color: var(--text); border-color: var(--line-lit); }
.og-com-periodo[data-on="true"] { color: var(--tinta); background: var(--hueso); border-color: transparent; }
.og-com-rango { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.og-com-error { color: var(--danger); }
.og-com-cifras { display: grid; gap: .7rem; }
@media (min-width: 700px) { .og-com-cifras { grid-template-columns: repeat(3, 1fr); } }
.og-com-cifra { padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(14, 14, 19, .85); }
.og-com-cifra__rot { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); }
.og-com-cifra__imp { font-family: var(--dd-display); font-size: 1.9rem; font-weight: 400; line-height: 1.2; margin-top: .2rem; font-variant-numeric: tabular-nums; color: var(--hueso); }
.og-com-cifra.is-naranja .og-com-cifra__imp { color: var(--warn); }
.og-com-cifra__pie { font-size: .75rem; color: var(--text-soft); margin-top: .2rem; }
.og-com-cifra__pie.is-warn, .og-com-fila__linea.is-warn { color: var(--warn); }
.og-com-lista { display: flex; flex-direction: column; gap: .7rem; }
.og-com-fila { padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(14, 14, 19, .85); }
.og-com-fila__alto { display: flex; align-items: center; gap: .8rem; }
.og-com-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; object-fit: cover;
  border: 1px solid var(--line-lit); background: rgba(255, 255, 255, .06);
  font-family: var(--dd-display); font-size: 1.1rem; font-style: italic; color: var(--hueso);
}
.og-com-fila__quien { min-width: 0; flex: 1; }
.og-com-fila__nombre { font-family: var(--dd-display); font-size: 1.2rem; }
.og-com-fila__sub { font-size: .72rem; color: var(--text-faint); }
.og-com-fila__pago { text-align: right; }
.og-com-fila__pago span { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.og-com-fila__pago strong { font-family: var(--dd-display); font-weight: 400; font-size: 1.6rem; color: var(--hueso); font-variant-numeric: tabular-nums; }
.og-com-barra { margin: .75rem 0 .5rem; height: 4px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.og-com-barra i { display: block; height: 100%; border-radius: inherit; background: var(--rb-bandera); }
.og-com-fila__linea { font-size: .78rem; color: var(--text-soft); line-height: 1.5; }
.og-com-fila__linea b { color: var(--text); }
.og-com-fila__linea.is-casa { color: var(--text-faint); }
.og-com-nota { font-size: .74rem; color: var(--text-faint); line-height: 1.5; }
.og-horas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
@media (min-width: 420px) { .og-horas { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.og-hora {
  padding: .45rem .2rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text-soft); cursor: pointer; font-size: .72rem; font-variant-numeric: tabular-nums;
}
.og-hora:hover:not(:disabled) { border-color: var(--line-lit); color: var(--text); }
.og-hora[data-on="true"] { background: var(--hueso); border-color: transparent; color: var(--tinta); font-weight: 500; }
.og-hora:disabled { cursor: default; opacity: .75; }

.dd-pagar {
  position: relative; overflow: hidden; text-align: center; padding: 20px 18px 18px; border-radius: 20px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--rojo-rgb), .22), transparent 65%), rgba(14, 14, 19, .95);
  border: 1px solid rgba(244, 241, 234, .3);
}
.dd-pagar__rot { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }
.dd-pagar__imp { margin-top: .3rem; font-family: var(--dd-display); font-weight: 400; font-size: clamp(2.4rem, 11vw, 3.2rem); line-height: 1.05; color: var(--hueso); font-variant-numeric: tabular-nums; }
.dd-pagar__pie { margin-top: .4rem; font-size: .8rem; line-height: 1.5; color: var(--text-soft); }
.dd-desglose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.dd-desglose div { padding: .7rem .6rem; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.dd-desglose span { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.dd-desglose b { display: block; margin-top: .2rem; font-size: 1.05rem; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.dd-desglose em { display: block; margin-top: .2rem; font-style: normal; font-size: .66rem; line-height: 1.35; color: var(--text-faint); }
.dd-desglose .is-tarjeta { border-color: rgba(var(--azul-rgb), .6); background: rgba(var(--azul-rgb), .1); }
@media (max-width: 520px) {
  .dd-desglose { grid-template-columns: 1fr; }
  .dd-desglose div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: .8rem; text-align: left; padding: .65rem .8rem; }
  .dd-desglose b { margin-top: 0; }
  .dd-desglose em { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------- opiniones ---- */
.review {
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), rgba(10, 10, 14, .8);
  border: 1px solid rgba(244, 241, 234, .13); border-radius: 20px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.stars { color: var(--hueso); }
#reviewsSummary { color: var(--text-soft); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------- reducir movimiento ---- */
@media (prefers-reduced-motion: reduce) {
  .rb-aurora, .rb-poste::before, .rb-escena-aro, .rb-escena-texto, .rb-escena-brillo::before,
  .rb-estado i, .rb-baja i::after, .rb-pista, .rb-monograma::before, .rb-carga-aro { animation: none !important; }
  .rb-escena, .rb-pal, .rb-entra, .dd-palabra, .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================== agenda por pasos ====
 * La de Barbas Shop: un solo cuadro de cristal. Arriba la barra de pasos, en
 * medio sólo el paso que toca (app.js le pone .rb-paso-activo) y abajo, fijo
 * al pie del cuadro, el total con ← y Continuar. Los .step de siempre se
 * quedan sin caja propia: la caja es el cuadro. */
.rb-agenda { border-radius: 28px; overflow: clip; padding: 0; } /* clip y no hidden: hidden rompe el pie sticky */
.rb-agenda > * { position: relative; z-index: 2; }
.rb-agenda::after { z-index: 0; }

.rb-rail {
  display: flex; gap: .2rem; padding: 14px 16px; overflow-x: auto; scrollbar-width: none;
  box-shadow: inset 0 -1px 0 rgba(244, 241, 234, .07);
}
.rb-rail::-webkit-scrollbar { display: none; }
.rb-rail-paso {
  flex: 1 0 auto; display: flex; align-items: center; gap: .5rem;
  padding: .35rem .55rem; border-radius: 999px; white-space: nowrap;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #4E505A;
  transition: color .4s var(--dd-curva), background-color .4s var(--dd-curva);
}
.rb-rail-paso i {
  width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-content: center;
  font-style: normal; font-size: 10px; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .14);
  transition: background-color .4s, color .4s, box-shadow .4s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.rb-rail-paso[data-estado="abierto"] { color: var(--text-faint); }
.rb-rail-paso[data-estado="hecho"] { color: var(--plata); }
.rb-rail-paso[data-estado="hecho"] i { background: var(--hueso); color: var(--tinta); box-shadow: none; }
.rb-rail-paso[data-estado="actual"] { color: var(--hueso); }
.rb-rail-paso[data-estado="actual"] i { box-shadow: inset 0 0 0 1px var(--hueso); transform: scale(1.12); }
.rb-rail-paso:not(:disabled):not([data-estado="actual"]):hover { background: rgba(255, 255, 255, .05); }
.rb-rail-paso:disabled { cursor: default; }

.rb-agenda-cuerpo { padding: 22px 18px 18px; }
@media (min-width: 640px) { .rb-agenda-cuerpo { padding: 28px 28px 22px; } }
.rb-agenda .step {
  display: none; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  opacity: 1 !important; filter: none !important; pointer-events: auto !important;
}
.rb-agenda .step::before { display: none; }
.rb-agenda .step.rb-paso-activo { display: block; animation: rb-paso-entra .5s var(--dd-curva) both; }
.rb-agenda .step.rb-paso-activo[data-sentido="atras"] { animation-name: rb-paso-entra-atras; }
@keyframes rb-paso-entra { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes rb-paso-entra-atras { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.rb-agenda .step .step-num { display: none; }
.rb-agenda .step > div:first-child { margin-bottom: 18px; }
.rb-agenda .step h3.h-sub { font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 400; }
.rb-agenda .step-body { padding-left: 0 !important; }
.rb-agenda #step1Next { display: none; }

/* La carta en dos columnas en pantallas medianas, como en Barbas. */
@media (min-width: 640px) {
  .rb-agenda #serviceList, .rb-agenda #addonList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rb-agenda #addonList .pick { padding-top: 12px; padding-bottom: 12px; }

.rb-agenda-pie {
  position: sticky; bottom: 0; z-index: 4;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem 1rem;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 14, .88);
  box-shadow: inset 0 1px 0 rgba(244, 241, 234, .07);
}
@media (min-width: 900px) and (hover: hover) {
  .rb-agenda-pie { background: rgba(10, 10, 14, .7); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
}
.rb-agenda-linea {
  grid-column: 1; grid-row: 1; min-width: 0; font-size: 12px; color: var(--text-faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rb-agenda-total {
  grid-column: 1; grid-row: 2; font-family: var(--dd-display); font-size: 1.6rem; line-height: 1;
  color: var(--hueso); font-variant-numeric: tabular-nums;
}
.rb-agenda-total small {
  display: block; margin-bottom: 3px; font-family: var(--dd-sans); font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint);
}
.rb-agenda-acciones { grid-column: 2; grid-row: 1 / 3; display: flex; gap: .5rem; }
.rb-agenda-acciones .btn { min-height: 48px; padding-inline: 1.4rem; }
.rb-atras {
  width: 48px; border-radius: 999px; color: var(--hueso); font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .2); transition: box-shadow .3s, opacity .3s;
}
.rb-atras:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .55); }
.rb-atras:disabled { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: reduce) { .rb-agenda .step.rb-paso-activo { animation: none; } }
.rb-agenda .step.reveal { opacity: 1; transform: none; transition: none; }

/* El iPhone hace zoom solo al tocar un campo con letra de menos de 16 px, y
   la página se queda acercada ("un zoom raro"). Los campos van a 16 px. */
.field, input, select, textarea { font-size: 16px; }

/* =====================================================================
   06/11/2026 · Barbería Richard por sillas
   ===================================================================== */
/* Panel: los próximos 14 días; los que tienen cita, en verde (regla de todas
   las páginas). Tocar uno filtra la lista. */
.rb-dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.rb-dia { position: relative; flex: none; width: 58px; padding: 8px 4px; border-radius: 14px; text-align: center; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: inherit; font: inherit; }
.rb-dia small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.rb-dia b { display: block; font-size: 19px; line-height: 1.2; }
.rb-dia i { position: absolute; top: -6px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  font-style: normal; font-size: 11px; font-weight: 700; line-height: 19px; background: #1f9d55; color: #fff; }
.rb-dia.con-cita { background: rgba(46, 204, 113, .16); border-color: rgba(46, 204, 113, .55); color: #8ff0b4; }
.rb-dia[data-on="true"] { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.rb-dia--todos { width: 64px; }
.rb-sugeridos { display: grid; gap: 6px; }
.rb-sugeridos div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); font-size: 13px; }
.rb-sugeridos b { white-space: nowrap; }
.rb-reglas { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rb-servicio-alto b small { font-size: .55em; font-weight: 500; opacity: .75; margin-right: 2px; }

/* Productos abajo en la página (06/11/2026): tarjetas de cristal, foto arriba. */
.rb-tienda { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; margin-top: 28px; }
.rb-prod { border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.rb-prod img, .rb-prod-sin { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: rgba(255, 255, 255, .04); }
.rb-prod-sin { display: grid; place-items: center; font-family: 'Bodoni Moda', serif; font-size: 44px; opacity: .35; }
.rb-prod-txt { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rb-prod-nombre { font-size: 15px; font-weight: 500; }
.rb-prod-desc { font-size: 12.5px; opacity: .7; line-height: 1.45; }
.rb-prod-pie { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rb-prod-pie b { font-size: 18px; }

/* El enlace "Productos" del menú de arriba sólo cabe en pantallas anchas; en el celular va en el menú. */
.dd-navlink { white-space: nowrap; }
.rb-nav-ancho { display: none; }
@media (min-width: 1200px) { .rb-nav-ancho { display: inline; } }

/* ============================================================================
 * CAPA CRIS BARBER (06/11/2026)
 * ----------------------------------------------------------------------------
 * Lo que pidió el dueño: grises azulados con blanco y negro, un color de
 * barbería tradicional que distinga (el ROJO del poste), lujoso y exclusivo
 * pero un poco urbano, paneles como de RESINA, minimalista.
 *   · Fondo: su muro de graffiti, gris, fijo y muy oscurecido (parallax CSS).
 *   · Resina: panel grueso y brillante, grafito azulado con una veta blanca
 *     apenas visible y un canto de luz arriba. Pintado, sin backdrop-filter.
 *   · Cinzel (las letras de "CRIS BARBER" de su logo) + Manrope; la gótica
 *     (UnifrakturCook) sólo en una o dos palabras, como su logo CR.
 * Fluidez: sólo transform/opacity, parallax con animation-timeline (sin JS),
 * nada se mueve fuera de la portada.
 * ========================================================================== */
:root {
  --tinta:  #06080B;
  --carbon: #0D1117;
  --humo:   #141A22;
  --pizarra:#26303C;
  --hueso:  #EEF2F6;
  --plata:  #A9B4C2;
  --gris:   #6F7B8A;
  --rojo:   #D21F35;
  --azul:   #3A5F9E;
  --rojo-rgb: 210, 31, 53;
  --azul-rgb: 58, 95, 158;
  --acero-rgb: 143, 160, 181;

  --ink: #06080B; --ink-soft: #0D1117; --panel: #0D1117; --card: #141A22; --raised: #1B232D;
  --accent: #D21F35; --accent-lit: #FF5A6E; --accent-dim: #7E1220; --accent-rgb: 210, 31, 53;
  --led-cool: 143, 160, 181;
  --text: #EEF2F6; --text-soft: #B3BDCA; --text-faint: #7D8999;
  --line: rgba(190, 205, 225, .11); --line-lit: rgba(190, 205, 225, .26);

  --cristal-alto: rgba(var(--acero-rgb), .16);
  --cristal-bajo: rgba(var(--acero-rgb), .03);
  --cristal-luz:  rgba(214, 226, 240, .42);
  --vidrio:       rgba(13, 17, 23, .9);

  --rb-bandera: linear-gradient(90deg, var(--rojo), var(--hueso) 50%, var(--azul));
  --dd-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --dd-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --cb-gotica: "UnifrakturCook", "Old English Text MT", serif;
  --dd-tinta: #06080B;
  --cb-poste: repeating-linear-gradient(90deg, var(--rojo) 0 6px, var(--hueso) 6px 12px, var(--azul) 12px 18px, var(--hueso) 18px 24px);

  /* La resina: luz arriba a la izquierda, cuerpo grafito y una veta. */
  --cb-veta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-20 300C90 250 150 330 260 270S430 150 620 190' stroke-opacity='.07' stroke-width='1.3'/%3E%3Cpath d='M-10 340C120 300 200 360 330 300S520 230 610 250' stroke-opacity='.04' stroke-width='.8'/%3E%3Cpath d='M180 -10C230 60 210 120 300 170S420 260 470 410' stroke-opacity='.035' stroke-width='.7'/%3E%3C/g%3E%3C/svg%3E");
  --cb-resina:
    radial-gradient(120% 70% at 0% 0%, rgba(var(--acero-rgb), .17), transparent 55%),
    var(--cb-veta) center / 100% 100% no-repeat,
    linear-gradient(162deg, #232C38 0%, #131921 42%, #0A0D12 100%);
}

html { background: var(--tinta); }
body { font-family: var(--dd-sans); font-weight: 400; letter-spacing: 0; color: var(--text-soft); }
body::after { opacity: .035; }
::selection { background: var(--rojo); color: #fff; }
.font-display, .h-sub { font-family: var(--dd-display); letter-spacing: .02em; }
.font-bold.font-display, .font-display.font-bold { font-weight: 700; }
.dd-oro, .grad-text { font-style: normal; color: var(--hueso); }

/* ------------------------------------------------------------ fondo ------ */
.cb-fondo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 0;
  height: 100vh; height: 100lvh; overflow: hidden; pointer-events: none; contain: strict;
  background: var(--tinta);
}
.cb-fondo img {
  position: absolute; left: 0; top: 0; width: 100%; height: 112%;
  object-fit: cover; opacity: .3; will-change: transform;
}
.cb-fondo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(var(--acero-rgb), .16), transparent 70%),
    linear-gradient(180deg, rgba(6, 8, 11, .35) 0%, rgba(6, 8, 11, .82) 55%, rgba(6, 8, 11, .94) 100%);
}
.cb-fondo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(130% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .7));
}
.rb-poste::before { background: repeating-linear-gradient(90deg, var(--rojo) 0 9px, var(--hueso) 9px 18px, var(--azul) 18px 27px, var(--hueso) 27px 36px); }

/* ------------------------------------------------------- resina ---------- */
.surface, .dd-panel, .rb-vidrio, .step {
  background: var(--cb-resina);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -30px 50px -30px rgba(0, 0, 0, .7),
    0 30px 60px -32px rgba(0, 0, 0, .95);
}
.surface-soft { background: linear-gradient(160deg, rgba(var(--acero-rgb), .09), rgba(255, 255, 255, .015)), rgba(8, 11, 15, .72); border-color: var(--line); }
.step .surface, .step .surface-soft { background-color: rgba(0, 0, 0, .25); }
#bookingForm, .rb-pildora { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ------------------------------------------------------------ botones ---- */
.btn { font-family: var(--dd-sans); font-weight: 600; letter-spacing: .14em; font-size: 12px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #E0283F 0%, #B5162A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(255, 90, 110, .35), 0 16px 34px -14px rgba(var(--rojo-rgb), .75);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(255, 120, 136, .55), 0 20px 40px -14px rgba(var(--rojo-rgb), .9); }
.btn-primary::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); }
.btn-primary:disabled { background: rgba(var(--acero-rgb), .22); color: rgba(238, 242, 246, .55); box-shadow: none; }
.btn-ghost { color: var(--hueso); border-color: rgba(190, 205, 225, .26); background: linear-gradient(160deg, rgba(var(--acero-rgb), .14), rgba(255, 255, 255, .02)); }

/* ------------------------------------------------------ selecciones ------ */
.pick { background: rgba(9, 12, 16, .7); border-color: var(--line); }
.pick[data-on="true"] {
  border-color: rgba(var(--rojo-rgb), .85);
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--rojo-rgb), .2), transparent 60%), var(--cb-resina);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 36px -18px rgba(var(--rojo-rgb), .6);
}
.pick[data-on="true"] .tick, .pick[data-on="true"] .pay-ico { background: var(--rojo); color: #fff; }
.cal-day[data-on="true"], .slot[data-on="true"] { background: var(--rojo); color: #fff; box-shadow: 0 10px 26px -12px rgba(var(--rojo-rgb), .85); }
.cal-day[data-on="true"] .dot { background: #fff; }
.step[data-done="true"] .step-num { background: var(--rojo); color: #fff; }
.rb-rail-paso[data-estado="hecho"] i { background: var(--rojo); color: #fff; }
.rb-rail-paso[data-estado="actual"] i { box-shadow: inset 0 0 0 1.5px var(--rojo); color: var(--hueso); }
.chip-lit { border-color: rgba(var(--acero-rgb), .45); background: rgba(var(--acero-rgb), .14); color: #D8E2EE; }
.field { background: rgba(5, 7, 10, .6); border-color: rgba(190, 205, 225, .16); }
.field:focus { border-color: rgba(var(--rojo-rgb), .7); box-shadow: 0 0 0 3px rgba(var(--rojo-rgb), .16); }
.rb-agenda .step h3.h-sub { font-weight: 700; font-size: clamp(1.25rem, 4.6vw, 1.6rem); letter-spacing: .06em; }
.rb-agenda-total { font-weight: 700; }

/* --------------------------------------------------------------- nav ----- */
#nav { background: linear-gradient(180deg, rgba(6, 8, 11, .8), rgba(6, 8, 11, 0)); }
#nav.nav-solido, #nav.scrolled { background: rgba(8, 11, 15, .92); }
.cb-nav-logo { width: 38px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)); }
.cb-nav-marca { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.cb-nav-marca b { font-family: var(--dd-display); font-weight: 700; font-size: 15px; letter-spacing: .22em; color: var(--hueso); }
.cb-nav-marca small { margin-top: 5px; font-size: 8.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--text-faint); }
.dd-navlink { font-weight: 500; letter-spacing: .18em; font-size: 11px; }
@media (max-width: 380px) { .cb-nav-marca small { display: none; } }

/* ----------------------------------------------- entrada (clic) --------- */
.cb-entrada {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  color: var(--hueso); text-align: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html.cb-ya .cb-entrada { display: none; }
html:not(.cb-ya) body { overflow: hidden; }
.cb-ent-mitad {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 0; overflow: hidden;
  background: #07090C;
  transition: transform 1s cubic-bezier(.77, 0, .18, 1);
}
.cb-ent-mitad--izq { left: 0; }
.cb-ent-mitad--der { right: 0; }
.cb-ent-mitad img { position: absolute; top: 0; height: 100%; width: 198%; max-width: none; object-fit: cover; opacity: .17; }
.cb-ent-mitad--izq img { left: 0; }
.cb-ent-mitad--der img { right: 0; }
.cb-ent-mitad::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 100% 50%, rgba(var(--acero-rgb), .12), rgba(7, 9, 12, .6) 70%); }
.cb-ent-mitad--der::after { background: radial-gradient(90% 70% at 0% 50%, rgba(var(--acero-rgb), .12), rgba(7, 9, 12, .6) 70%); }
/* El filo de poste donde se parten las dos mitades */
.cb-ent-mitad::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px; z-index: 2; opacity: 0;
  background: repeating-linear-gradient(180deg, var(--rojo) 0 12px, var(--hueso) 12px 24px, var(--azul) 24px 36px, var(--hueso) 36px 48px);
  transition: opacity .3s;
}
.cb-ent-mitad--izq::before { right: 0; }
.cb-ent-mitad--der::before { left: 0; }
.cb-entrada.abre { cursor: default; pointer-events: none; }
.cb-entrada.abre .cb-ent-mitad::before { opacity: 1; }
.cb-entrada.abre .cb-ent-mitad--izq { transform: translate3d(-102%, 0, 0); transition-delay: .35s; }
.cb-entrada.abre .cb-ent-mitad--der { transform: translate3d(102%, 0, 0); transition-delay: .35s; }

.cb-ent-centro { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 24px; transition: opacity .45s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
.cb-entrada.abre .cb-ent-centro { opacity: 0; transform: scale(1.08); }
.cb-ent-sello { position: relative; width: min(56vw, 240px); aspect-ratio: 1; display: grid; place-items: center; }
.cb-ent-aro {
  position: absolute; inset: -7%; border-radius: 50%;
  background: conic-gradient(var(--rojo) 0 12.5%, var(--hueso) 0 25%, var(--azul) 0 37.5%, var(--hueso) 0 50%, var(--rojo) 0 62.5%, var(--hueso) 0 75%, var(--azul) 0 87.5%, var(--hueso) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  opacity: 0; animation: cb-aparece .8s ease .5s forwards, rb-girar 9s linear infinite;
}
.cb-ent-halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--acero-rgb), .32), transparent); animation: cb-respira 3.2s ease-in-out infinite; }
.cb-ent-sello img {
  position: relative; width: 82%; height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .9));
  opacity: 0; transform: translate3d(0, 18px, 0) scale(.86);
  animation: cb-logo-entra 1.1s cubic-bezier(.2, .9, .25, 1.15) .15s forwards;
}
.cb-ent-nombre { margin-top: 32px; display: flex; font-family: var(--dd-display); font-weight: 700; font-size: clamp(1.6rem, 8vw, 2.8rem); letter-spacing: .2em; padding-left: .2em; line-height: 1; }
.cb-ent-nombre span { display: inline-block; opacity: 0; transform: translate3d(0, .6em, 0); animation: cb-letra .7s cubic-bezier(.22, .61, .36, 1) forwards; animation-delay: calc(.75s + var(--i) * 55ms); }
.cb-ent-nombre span.esp { width: .3em; }
.cb-ent-shop { margin-top: 8px; font-family: var(--cb-gotica); font-weight: 700; font-size: clamp(1.5rem, 6.5vw, 2.2rem); color: var(--rojo); text-shadow: 0 0 22px rgba(var(--rojo-rgb), .45); opacity: 0; animation: cb-aparece .9s ease 1.5s forwards; }
.cb-ent-lugar { margin-top: 10px; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--text-faint); opacity: 0; animation: cb-aparece .9s ease 1.7s forwards; }
.cb-ent-boton {
  margin-top: 30px; position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, #E0283F, #B5162A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 36px -12px rgba(var(--rojo-rgb), .8);
  opacity: 0; animation: cb-aparece .8s ease 2s forwards;
}
.cb-ent-boton::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(var(--rojo-rgb), .6); animation: cb-onda 2s ease-out 2.6s infinite; opacity: 0; }
.cb-ent-pista { margin-top: 14px; font-size: 11px; color: var(--text-faint); opacity: 0; animation: cb-aparece .8s ease 2.3s forwards; }
@keyframes cb-aparece { to { opacity: 1; } }
@keyframes cb-respira { 50% { transform: scale(1.08); opacity: .7; } }
@keyframes cb-logo-entra { to { opacity: 1; transform: none; } }
@keyframes cb-letra { to { opacity: 1; transform: none; } }
@keyframes cb-onda { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.5); } }
@keyframes rb-girar { to { transform: rotate(1turn); } }

/* ------------------------------------------------------------ portada ---- */
.cb-portada {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center;
  padding: 100px 18px 92px;
}
.cb-portada-texto { position: relative; z-index: 3; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.cb-monograma { width: min(44vw, 220px); height: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .85)); }
.cb-rotulo {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--plata);
}
.cb-rotulo::before, .cb-rotulo::after { content: ""; width: 26px; height: 2px; flex: none; background: var(--cb-poste); }
.cb-h1 {
  margin-top: 16px; font-family: var(--dd-display); font-weight: 700;
  font-size: clamp(1.95rem, 8.2vw, 4.4rem); line-height: 1.06; letter-spacing: .04em; color: var(--hueso);
  text-wrap: balance; text-shadow: 0 6px 30px rgba(0, 0, 0, .85);
}
.cb-h1 em {
  display: block; margin-top: .1em; font-family: var(--cb-gotica); font-style: normal; font-weight: 700; letter-spacing: 0;
  font-size: 1.18em; color: var(--rojo); text-shadow: 0 0 30px rgba(var(--rojo-rgb), .35), 0 6px 24px rgba(0, 0, 0, .9);
}
.cb-bajada { margin-top: 18px; max-width: 32rem; font-size: clamp(.98rem, 3.6vw, 1.1rem); line-height: 1.7; color: var(--text-soft); text-shadow: 0 2px 14px rgba(0, 0, 0, .9); }
.cb-portada .rb-botones { justify-content: center; }
.cb-portada .rb-pildora { background: rgba(8, 11, 15, .8); }

/* Stickers: la mascota a la izquierda y el graffiti a la derecha, más arriba. */
.cb-sticker { position: absolute; z-index: 2; pointer-events: none; }
.cb-sticker img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .75)); }
.cb-sticker--izq { left: max(-3vw, -40px); bottom: 8%; width: clamp(118px, 24vw, 320px); }
.cb-sticker--der { right: max(-1vw, -24px); top: 14%; width: clamp(74px, 14vw, 200px); }
@media (max-width: 700px) {
  .cb-sticker--izq { bottom: 1.5%; left: -7vw; width: 30vw; }
  .cb-sticker--der { top: 76px; right: -4vw; width: 16vw; }
}
html.dd-hero-on .cb-sticker--izq img { animation: cb-flota 6s ease-in-out infinite; }
html.dd-hero-on .cb-sticker--der img { animation: cb-flota 7s ease-in-out -2s infinite; }
@keyframes cb-flota { 50% { transform: translate3d(0, -10px, 0) rotate(-1.5deg); } }

/* Entra la portada cuando se quita la entrada (criss-fx pone .rb-listo). */
.cb-sube { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--dd-curva), transform 1s var(--dd-curva); transition-delay: var(--retraso, 0ms); }
.rb-listo .cb-sube { opacity: 1; transform: none; }
.cb-sticker.cb-sube { transform: translate3d(0, 46px, 0); }
.rb-listo .cb-sticker.cb-sube { transform: none; }

/* ------------------------------------------- parallax (sólo CSS) -------- */
/* Se mueve con `translate` (no `transform`) para no pelear con las
   transiciones de entrada; el navegador lo hace en el compositor. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .cb-fondo img { animation: cb-fondo-px linear both; animation-timeline: scroll(root); }
    @keyframes cb-fondo-px { from { translate: 0 0; } to { translate: 0 -9%; } }
    .cb-px { animation: cb-px linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .cb-px--lento { --px: -70px; }
    .cb-px--rapido { --px: -190px; }
    .cb-px--texto { --px: 90px; }
    @keyframes cb-px { from { translate: 0 0; } to { translate: 0 var(--px, -100px); } }
  }
}

/* --------------------------------------------------------- secciones ----- */
.dd-cabeza[data-num]::before { font-family: var(--dd-display); font-style: normal; font-weight: 700; -webkit-text-stroke: 1px rgba(190, 205, 225, .08); }
.dd-rotulo { font-weight: 600; letter-spacing: .34em; color: var(--plata); }
.dd-rotulo::after { height: 2px; width: 44px; background: var(--cb-poste); }
.dd-h2 { font-family: var(--dd-display); font-weight: 700; letter-spacing: .04em; font-size: clamp(1.75rem, 6.4vw, 3.2rem); }
.dd-h2 em { font-family: var(--cb-gotica); font-style: normal; font-weight: 700; letter-spacing: 0; color: var(--rojo); font-size: 1.15em; }
.rb-pista span { font-family: var(--dd-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.95rem, 3.2vw, 1.4rem); }
.rb-pista span:nth-child(even) { font-family: var(--cb-gotica); font-style: normal; text-transform: none; letter-spacing: 0; color: var(--plata); font-size: clamp(1.1rem, 3.8vw, 1.6rem); }
.rb-marquesina { background: rgba(8, 11, 15, .8); border-color: var(--line); }

/* ------------------------------------------------------------- carta ----- */
.cb-apertura {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #FFD9DE;
  border: 1px solid rgba(var(--rojo-rgb), .5); background: rgba(var(--rojo-rgb), .12);
}
.cb-apertura i { width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 3px rgba(var(--rojo-rgb), .25); }
.cb-carta { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.cb-carta-grupo { margin: 14px 4px 2px; display: flex; align-items: center; gap: 14px; font-family: var(--dd-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .4em; color: var(--hueso); }
.cb-carta-grupo::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(190, 205, 225, .35), transparent); }
.cb-item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 18px; text-align: left; width: 100%; color: inherit; cursor: pointer;
  border: 1px solid var(--line);
  transition: transform .35s var(--dd-curva), border-color .35s;
}
.cb-item > * { position: relative; z-index: 1; }
.cb-item:hover { transform: translateY(-3px); border-color: rgba(var(--rojo-rgb), .55); }
.cb-item:active { transform: scale(.985); }
.cb-ico { width: 46px; height: 46px; display: grid; place-items: center; padding-right: 14px; box-sizing: content-box; border-right: 1px solid rgba(190, 205, 225, .16); color: #C9B08A; }
.cb-ico svg { width: 30px; height: 30px; }
.cb-item h3 { font-family: var(--dd-display); font-weight: 700; font-size: clamp(.98rem, 3.8vw, 1.18rem); letter-spacing: .24em; color: var(--hueso); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cb-item p { margin-top: 4px; font-size: .86rem; line-height: 1.45; color: var(--text-soft); }
.cb-item small { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.cb-precio { font-family: var(--dd-display); font-weight: 700; font-size: clamp(1.35rem, 5.4vw, 1.7rem); color: var(--hueso); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cb-fav { font-family: var(--dd-sans); font-size: 9px; font-weight: 800; letter-spacing: .14em; padding: 3px 8px; border-radius: 6px; color: #2A1A05; background: linear-gradient(180deg, #E9C98E, #C79A55); }
.cb-item--fav { border-color: rgba(var(--rojo-rgb), .45); }
@media (max-width: 440px) {
  .cb-item { grid-template-columns: auto 1fr; padding: 16px; gap: 6px 12px; }
  .cb-item .cb-ico { grid-row: span 2; }
  .cb-precio { grid-column: 2; font-size: 1.3rem; }
  .cb-ico { width: 36px; height: 36px; padding-right: 10px; }
  .cb-ico svg { width: 26px; height: 26px; }
}
.cb-carta-pie { margin-top: 18px; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint); }

/* ------------------------------------------------------ la barbería ----- */
.cb-local { max-width: 1120px; margin: 0 auto; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cb-local figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--carbon); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .95); }
.cb-local img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--dd-curva); }
.cb-local figure:hover img { transform: scale(1.04); }
.cb-local figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 11px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--hueso); background: rgba(6, 8, 11, .75); }
.cb-local .alto { aspect-ratio: 2 / 3; }
.cb-local .ancho { grid-column: span 2; aspect-ratio: 4 / 3; }
.cb-barbero { grid-column: span 2; display: grid; gap: 18px; padding: 20px; border-radius: 22px; align-items: center; border: 1px solid var(--line); }
.cb-barbero > * { position: relative; z-index: 1; }
.cb-barbero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.cb-barbero h3 { font-family: var(--dd-display); font-weight: 700; font-size: clamp(1.45rem, 6vw, 2.1rem); letter-spacing: .08em; color: var(--hueso); }
.cb-barbero p { margin-top: 10px; line-height: 1.75; color: var(--text-soft); }
.cb-firma { font-family: var(--cb-gotica); font-size: 1.7rem; color: var(--rojo); margin-top: 12px; }
@media (min-width: 760px) {
  .cb-local { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .cb-local .ancho { grid-column: span 2; aspect-ratio: auto; }
  .cb-barbero { grid-column: span 4; grid-template-columns: 300px 1fr; padding: 28px; }
}

/* ------------------------------------------------------------ cursos ----- */
.cb-academia { max-width: 900px; margin: 0 auto 18px; overflow: hidden; border-radius: 22px; padding: 0; }
.cb-academia > * { position: relative; z-index: 1; }
.cb-academia img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cb-academia-txt { padding: 20px 22px 22px; }
.cb-academia-txt p { line-height: 1.7; color: var(--text-soft); }
.cb-qr-nota { margin-top: 12px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.55; border: 1px dashed rgba(190, 205, 225, .3); background: rgba(0, 0, 0, .25); }
.cb-qr-nota svg { flex: none; width: 26px; height: 26px; color: var(--hueso); }
#courseList, #coursesEmpty { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------- contacto ----- */
.cb-redes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cb-redes a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--hueso);
  border: 1px solid var(--line-lit); background: rgba(255, 255, 255, .04); transition: border-color .25s, background .25s;
}
.cb-redes a:hover { border-color: rgba(var(--rojo-rgb), .6); background: rgba(var(--rojo-rgb), .1); }
.cb-redes svg { width: 16px; height: 16px; }
.dd-horario div.cb-cerrado b { color: var(--text-faint); }
.rb-mapa iframe { filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.88) brightness(.9); }
.rb-mapa-ir span { background: var(--rojo); color: #fff; }

/* -------------------------------------------------------------- pie ------ */
.dd-pie { background: linear-gradient(180deg, rgba(6, 8, 11, .75), #040506); }
.cb-pie-mono { width: 110px; height: auto; opacity: .92; }
.cb-pie-marca { font-family: var(--dd-display); font-weight: 700; letter-spacing: .26em; font-size: 1.05rem; color: var(--hueso); }

@media (prefers-reduced-motion: reduce) {
  .cb-ent-aro, .cb-ent-halo, .cb-ent-boton::before, .cb-sticker img { animation: none !important; }
  .cb-ent-sello img, .cb-ent-nombre span, .cb-ent-shop, .cb-ent-lugar, .cb-ent-boton, .cb-ent-pista, .cb-ent-aro { opacity: 1; transform: none; animation: none; }
  .cb-sube { opacity: 1; transform: none; transition: none; }
}
.rb-adm-logo, .og-adm-logo.rb-adm-logo { border-radius: 0; object-fit: contain; height: auto; }

/* ============================================================================
 * CAPA JN BARBER (07/11/2026)
 * ----------------------------------------------------------------------------
 * Sobre el diseño urbano de Cris: los colores de SU logo (rojo y azul de la
 * gorra, blanco del poste) y LUCES LED como de barbería de noche.
 *   · Tiras LED: canto de luz rojo → blanco → azul en paneles y placas,
 *     con un resplandor fijo (box-shadow quieto: no se anima).
 *   · Tubos de neón a los lados de la portada y aro LED que gira en el logo.
 *   · Lo que se mueve es sólo transform/opacity y sólo con la portada a la
 *     vista (html.dd-hero-on).
 * FLUIDEZ (lo mismo que se le arregló a Cris): el fondo NO se mueve con el
 * scroll (animation-timeline: scroll(root) va por porcentaje y en celular
 * brinca al aparecer la barra del navegador) y nada usa content-visibility.
 * ========================================================================== */
:root {
  --rojo: #E0233B;
  --azul: #2F6FD6;
  --rojo-rgb: 224, 35, 59;
  --azul-rgb: 47, 111, 214;
  --accent: #E0233B; --accent-rgb: 224, 35, 59;
  --jn-led: linear-gradient(90deg, rgba(var(--rojo-rgb), .95), rgba(255, 255, 255, .85) 50%, rgba(var(--azul-rgb), .95));
}

/* ---------------------------------------------------------- fluidez ----- */
.cb-fondo { transform: translateZ(0); }
.cb-fondo img { animation: none !important; translate: none !important; height: 100%; will-change: auto; }
.dd-galeria, #barberia, #productos { content-visibility: visible; contain-intrinsic-size: none; }

/* ------------------------------------------------------ tiras LED ------- */
/* El canto de 1px de cada panel se vuelve una tira LED: roja arriba a la
   izquierda, blanca al centro y azul abajo a la derecha. */
.rb-vidrio::before, .dd-panel::before, .edge-lit::before {
  background: linear-gradient(135deg, rgba(var(--rojo-rgb), .9) 0%, rgba(255, 255, 255, .25) 30%,
                              rgba(255, 255, 255, 0) 55%, rgba(var(--azul-rgb), .9) 100%);
}
.rb-vidrio, .surface.edge-lit {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    -10px -8px 28px -18px rgba(var(--rojo-rgb), .55),
    10px 12px 30px -18px rgba(var(--azul-rgb), .55),
    0 30px 60px -32px rgba(0, 0, 0, .95);
}
/* Bajo el menú y sobre el pie, la tira se ve encendida. */
.rb-poste--fino { box-shadow: 0 0 12px rgba(var(--rojo-rgb), .55), 0 0 22px rgba(var(--azul-rgb), .35); }
.dd-pie > .rb-poste { box-shadow: 0 0 16px rgba(var(--rojo-rgb), .5), 0 0 28px rgba(var(--azul-rgb), .35); }

/* Títulos: la palabra en gótica se ilumina como neón rojo; la raya del
   rótulo, como LED azul. */
.dd-h2 em, .cb-h1 em {
  color: #FF4A5F;
  text-shadow: 0 0 6px rgba(var(--rojo-rgb), .9), 0 0 22px rgba(var(--rojo-rgb), .55), 0 0 44px rgba(var(--rojo-rgb), .3);
}
.dd-rotulo::after, .cb-rotulo::before, .cb-rotulo::after { box-shadow: 0 0 10px rgba(var(--azul-rgb), .6); }

/* Marquesinas: una tira LED arriba y abajo. */
.rb-marquesinas { position: relative; }
.rb-marquesinas::before, .rb-marquesinas::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; z-index: 2; pointer-events: none;
  background: var(--jn-led); box-shadow: 0 0 14px rgba(var(--rojo-rgb), .5), 0 0 24px rgba(var(--azul-rgb), .4);
}
.rb-marquesinas::before { top: 0; }
.rb-marquesinas::after { bottom: 0; }
.rb-pista span:nth-child(even) { color: #8FB3F0; text-shadow: 0 0 14px rgba(var(--azul-rgb), .55); }

/* Botones con resplandor LED. */
.btn-primary {
  background: linear-gradient(180deg, #F0304A 0%, #C0182E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(255, 110, 128, .45),
              0 0 22px -4px rgba(var(--rojo-rgb), .65), 0 16px 34px -14px rgba(var(--rojo-rgb), .8);
}
.btn-ghost { border-color: rgba(var(--azul-rgb), .55); box-shadow: 0 0 18px -6px rgba(var(--azul-rgb), .6); }
.cal-day[data-on="true"], .slot[data-on="true"] { box-shadow: 0 0 18px -2px rgba(var(--rojo-rgb), .8); }
.pick[data-on="true"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 22px -6px rgba(var(--rojo-rgb), .7), 8px 10px 26px -14px rgba(var(--azul-rgb), .6); }
.cb-item:hover { border-color: rgba(var(--azul-rgb), .65); }
.cb-ico { color: #8FB3F0; filter: drop-shadow(0 0 6px rgba(var(--azul-rgb), .6)); }
.cb-fav { color: #fff; background: linear-gradient(180deg, #F0304A, #B5162A); box-shadow: 0 0 12px rgba(var(--rojo-rgb), .6); }
.cb-apertura { color: #DCE7FF; border-color: rgba(var(--azul-rgb), .6); background: rgba(var(--azul-rgb), .14); }
.cb-apertura i { background: #6FA0F0; box-shadow: 0 0 10px rgba(var(--azul-rgb), .9); }
.cb-carta-pie a { color: var(--hueso); text-decoration: underline; text-underline-offset: 3px; }
.rb-mapa-ir span { box-shadow: 0 0 18px rgba(var(--rojo-rgb), .6); }

/* ---------------------------------------------------------- portada ----- */
/* Su logo es una "estampa": se ve tal cual, sin sombras raras, con un aro
   LED de poste que gira despacio detrás. */
.jn-sello { position: relative; width: min(58vw, 250px); aspect-ratio: 1; display: grid; place-items: center; }
.jn-sello .cb-monograma { position: relative; z-index: 1; width: 88%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .8)); }
.jn-sello-aro {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--rojo) 0 12.5%, #fff 0 25%, var(--azul) 0 37.5%, #fff 0 50%, var(--rojo) 0 62.5%, #fff 0 75%, var(--azul) 0 87.5%, #fff 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  filter: drop-shadow(0 0 8px rgba(var(--rojo-rgb), .7)) drop-shadow(0 0 10px rgba(var(--azul-rgb), .6));
  opacity: .9;
}
html.dd-hero-on .jn-sello-aro { animation: rb-girar 14s linear infinite; }
.jn-sello::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--azul-rgb), .28), rgba(var(--rojo-rgb), .12) 60%, transparent);
}

/* Tubos de neón verticales a los lados (rojo a la izquierda, azul a la
   derecha). El resplandor es fijo; sólo parpadea la opacidad. */
.jn-tubo {
  position: absolute; top: 18%; bottom: 18%; width: 4px; border-radius: 4px; z-index: 1; pointer-events: none;
}
.jn-tubo--rojo { left: max(14px, 4vw); background: #FF5267; box-shadow: 0 0 8px #FF5267, 0 0 22px rgba(var(--rojo-rgb), .9), 0 0 60px rgba(var(--rojo-rgb), .55); }
.jn-tubo--azul { right: max(14px, 4vw); background: #6FA0F0; box-shadow: 0 0 8px #6FA0F0, 0 0 22px rgba(var(--azul-rgb), .9), 0 0 60px rgba(var(--azul-rgb), .55); }
html.dd-hero-on .jn-tubo--rojo { animation: jn-neon 5s ease-in-out infinite; }
html.dd-hero-on .jn-tubo--azul { animation: jn-neon 6s ease-in-out -2.5s infinite; }
@keyframes jn-neon { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: .55; } 50% { opacity: 1; } 70% { opacity: .82; } }
@media (max-width: 600px) { .jn-tubo { top: 22%; bottom: 26%; width: 3px; } }
.cb-portada .rb-pildora { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 26px -8px rgba(var(--azul-rgb), .6); }

/* Entrada: el logo de JN completo, un poco más grande. */
.cb-ent-sello img { width: 90%; }
.cb-ent-shop { color: #FF4A5F; text-shadow: 0 0 10px rgba(var(--rojo-rgb), .8), 0 0 30px rgba(var(--rojo-rgb), .45); }

/* Nav y pie con el logo de JN (más ancho que alto, casi cuadrado). */
.cb-nav-logo { width: 40px; }
.cb-pie-mono { width: 120px; }

/* ----------------------------------------------------------- equipo ----- */
.jn-equipo { max-width: 1040px; margin: 0 auto; display: grid; gap: 14px; }
@media (min-width: 760px) { .jn-equipo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jn-barbero {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 20px; border-radius: 20px;
}
.jn-barbero > * { position: relative; z-index: 1; }
@media (min-width: 760px) { .jn-barbero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; } }
.jn-inicial {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--dd-display); font-weight: 700; font-size: 2.1rem; line-height: 1; color: #fff;
  border: 2px solid rgba(var(--led), .95);
  background: radial-gradient(closest-side, rgba(var(--led), .22), rgba(0, 0, 0, .35));
  box-shadow: 0 0 10px rgba(var(--led), .8), 0 0 30px rgba(var(--led), .45), inset 0 0 14px rgba(var(--led), .5);
  text-shadow: 0 0 12px rgba(var(--led), .9);
}
@media (min-width: 760px) { .jn-inicial { width: 92px; height: 92px; font-size: 2.8rem; } }
.jn-rol { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgb(var(--led)); text-shadow: 0 0 10px rgba(var(--led), .6); }
.jn-barbero h3 { margin-top: 4px; font-family: var(--dd-display); font-weight: 700; font-size: clamp(1.4rem, 5.6vw, 1.9rem); letter-spacing: .1em; color: var(--hueso); }
.jn-barbero p { margin-top: 6px; font-size: .9rem; line-height: 1.6; color: var(--text-soft); }
.jn-cta { margin-top: 22px; display: flex; justify-content: center; }

/* ------------------------------------------------------ colorimetría ---- */
.jn-color { max-width: 900px; margin: 0 auto; border-radius: 22px; overflow: hidden; padding: 0; }
.jn-color > * { position: relative; z-index: 1; }
/* Mechones de tinte: barras con brillo, como una carta de colores. */
.jn-tintes { display: grid; grid-template-columns: repeat(8, 1fr); height: 96px; }
.jn-tintes i {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 30%, rgba(0, 0, 0, .35)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 6px),
    var(--c);
}
.jn-tintes::after { content: none; }
.jn-color::after { content: none; }
.jn-color-txt { padding: 20px 22px 24px; }
.jn-color-txt p { line-height: 1.7; color: var(--text-soft); }
.jn-color-txt p + p { margin-top: 10px; }
.dd-horario .jn-dia-color span { color: #8FB3F0; }
.dd-horario .jn-dia-color b { color: #DCE7FF; }

@media (prefers-reduced-motion: reduce) {
  .jn-sello-aro, .jn-tubo { animation: none !important; }
}

/* Mapa dibujado en vez del de Google (07/11/2026): cero peso, el pin brilla. */
.rb-mapa .jn-mapa {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit;
  background: radial-gradient(70% 60% at 50% 45%, rgba(var(--azul-rgb), .12), transparent 70%), #0A0D12;
}
.jn-mapa-pin { filter: drop-shadow(0 0 8px rgba(var(--rojo-rgb), .9)); }

/* ============================================================================
 * JN BARBER · MÁS VIDA (08/11/2026)
 * ----------------------------------------------------------------------------
 * "Más bonita, más llamativa, con más animaciones y pesando menos": todo es
 * CSS (0 imágenes, 0 librerías) y sólo anima transform/opacity, que mueve la
 * tarjeta de video y no repinta la página. Lo que no está a la vista no se
 * mueve (portada: html.dd-hero-on; secciones: .seen de su reveal).
 * ========================================================================== */

/* ----- barra LED de avance arriba (sólo navegadores con scroll-timeline) -- */
.jn-progreso { display: none; }
@supports (animation-timeline: scroll()) {
  .jn-progreso {
    display: block; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
    background: var(--jn-led); transform-origin: 0 50%; transform: scaleX(0);
    box-shadow: 0 0 10px rgba(var(--rojo-rgb), .7), 0 0 16px rgba(var(--azul-rgb), .5);
    animation: jn-avance linear both; animation-timeline: scroll(root);
  }
  @keyframes jn-avance { to { transform: scaleX(1); } }
}

/* El logo late: dos ondas de luz salen del aro, roja y azul alternadas. */
.jn-sello::after, .jn-sello-onda {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(var(--rojo-rgb), .8); opacity: 0;
}
.jn-sello-onda { border-color: rgba(var(--azul-rgb), .85); }
html.dd-hero-on .jn-sello::after { animation: jn-onda 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
html.dd-hero-on .jn-sello-onda { animation: jn-onda 3.2s cubic-bezier(.2, .6, .3, 1) 1.6s infinite; }
@keyframes jn-onda { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.45); } }
/* y flota un poco */
html.dd-hero-on .jn-sello .cb-monograma { animation: jn-flota 5s ease-in-out infinite; }
@keyframes jn-flota { 50% { transform: translate3d(0, -8px, 0) rotate(-1.5deg); } }

/* "tu color": el neón cambia de rojo a azul pasando por blanco. */
.cb-h1 em {
  background: linear-gradient(90deg, #FF4A5F, #FFFFFF 25%, #7FAAF5 50%, #FFFFFF 75%, #FF4A5F) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 14px rgba(var(--rojo-rgb), .55));
}
html.dd-hero-on .cb-h1 em { animation: jn-tinte 6s linear infinite; }
@keyframes jn-tinte { to { background-position: -200% 0; } }

/* El botón principal: el brillo cruza solo cada pocos segundos, y respira. */
.btn-primary::after { animation: jn-destello 4.5s cubic-bezier(.4, 0, .2, 1) 1.5s infinite; }
@keyframes jn-destello { 0%, 62% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
html.dd-hero-on .cb-portada .btn-primary { animation: jn-respira 2.8s ease-in-out infinite; }
@keyframes jn-respira { 50% { transform: scale(1.04); } }

/* ----- títulos: el neón "se prende" al llegar ---------------------------- */
.dd-cabeza .dd-h2 em { display: inline-block; opacity: .15; }
.dd-cabeza.seen .dd-h2 em { animation: jn-prende 1.1s steps(1, end) .35s forwards; }
@keyframes jn-prende {
  0% { opacity: .15; } 12% { opacity: 1; } 18% { opacity: .2; } 30% { opacity: 1; }
  36% { opacity: .45; } 44%, 100% { opacity: 1; }
}

/* ----- la carta: entra en cascada y el precio brilla al tocarlo --------- */
.cb-carta .cb-item { opacity: 0; transform: translate3d(-28px, 0, 0); }
.cb-carta.seen .cb-item { animation: jn-entra-lado .7s var(--dd-curva) forwards; }
.cb-carta.seen .cb-item:nth-of-type(2) { animation-delay: .12s; }
.cb-carta.seen .cb-item:nth-of-type(3) { animation-delay: .24s; }
.cb-carta.seen .cb-item:nth-of-type(4) { animation-delay: .36s; }
@keyframes jn-entra-lado { to { opacity: 1; transform: none; } }
.cb-item .cb-precio { transition: transform .35s var(--dd-curva), color .3s, text-shadow .3s; }
.cb-item:hover .cb-precio, .cb-item:focus-visible .cb-precio {
  transform: scale(1.12); color: #fff; text-shadow: 0 0 14px rgba(var(--rojo-rgb), .9);
}
/* "Más pedido" late. */
.cb-fav { animation: jn-late 1.8s ease-in-out infinite; }
@keyframes jn-late { 50% { transform: scale(1.1); } }

/* ----- equipo: aro LED girando alrededor de cada inicial ----------------- */
.jn-inicial { position: relative; }
.jn-inicial::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(rgba(var(--led), 1) 0 18%, transparent 18% 50%, rgba(var(--led), 1) 50% 68%, transparent 68%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: .9;
}
.jn-barbero.seen .jn-inicial::before { animation: rb-girar 5s linear infinite; }
.jn-barbero:nth-child(2).seen .jn-inicial::before { animation-duration: 6s; animation-direction: reverse; }
.jn-barbero.reveal { transform: translate3d(0, 34px, 0) scale(.96); transition: opacity .6s ease, transform .7s var(--dd-curva); transition-delay: var(--delay, 0s); }
.jn-barbero.reveal.seen { transform: none; }
.jn-barbero.reveal.seen:hover { transform: translateY(-6px); transition-delay: 0s; }
.jn-equipo .jn-barbero:nth-child(2) { --delay: .12s; }
.jn-equipo .jn-barbero:nth-child(3) { --delay: .24s; }

/* ----- colorimetría: los mechones suben y un brillo los recorre ---------- */
.jn-tintes { position: relative; overflow: hidden; }
.jn-tintes i { transform-origin: 50% 100%; transform: scaleY(0); }
.jn-color.seen .jn-tintes i { animation: jn-mechon .8s var(--dd-curva) forwards; }
.jn-color.seen .jn-tintes i:nth-child(2) { animation-delay: .06s; }
.jn-color.seen .jn-tintes i:nth-child(3) { animation-delay: .12s; }
.jn-color.seen .jn-tintes i:nth-child(4) { animation-delay: .18s; }
.jn-color.seen .jn-tintes i:nth-child(5) { animation-delay: .24s; }
.jn-color.seen .jn-tintes i:nth-child(6) { animation-delay: .30s; }
.jn-color.seen .jn-tintes i:nth-child(7) { animation-delay: .36s; }
.jn-color.seen .jn-tintes i:nth-child(8) { animation-delay: .42s; }
@keyframes jn-mechon { to { transform: none; } }
.jn-tintes::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-120%) skewX(-16deg);
}
.jn-color.seen .jn-tintes::after { animation: jn-gloss 3.6s ease-in-out 1.2s infinite; }
@keyframes jn-gloss { 0%, 55% { transform: translateX(-120%) skewX(-16deg); } 100% { transform: translateX(420%) skewX(-16deg); } }

/* ----- galería: la foto activa se enciende con LED ----------------------- */
.dd-foto.activa { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), -12px -10px 34px -16px rgba(var(--rojo-rgb), .8),
                  12px 14px 36px -16px rgba(var(--azul-rgb), .8), 0 30px 60px -26px rgba(0, 0, 0, .95); }
.dd-foto img { transition: transform 1.2s var(--dd-curva); }
.dd-foto.activa img { transform: scale(1.06); }

/* ----- quien prefiere sin movimiento: todo quieto y visible --------------- */
@media (prefers-reduced-motion: reduce) {
  .jn-sello::after, .jn-sello-onda, .jn-progreso { display: none !important; }
  .jn-sello .cb-monograma, .cb-h1 em, .btn-primary::after, .cb-portada .btn-primary, .cb-fav,
  .jn-inicial::before, .jn-tintes::after { animation: none !important; }
  .dd-cabeza .dd-h2 em, .cb-carta .cb-item, .jn-tintes i { opacity: 1 !important; transform: none !important; animation: none !important; }
}
