/* oCloc — página pública del tenant, plantilla estilo link.me (link-in-bio).
   Tema oscuro inmersivo · hero a sangre con perfil · tarjetas-imagen con etiqueta.
   Contenido del tenant (Lashes Original). Inter. */

:root {
  --otp-bg: #2d6cb2;
  --otp-card: #245a98;
  --otp-card-2: #2f6fb8;
  --otp-ink: #ffffff;
  --otp-muted: #eaf2fb; /* WCAG AA: 4.77:1 sobre --otp-bg royal (#dbe7f5 daba 4.3 = AA-large). Por-paleta en ocloc_tp_palettes(). */
  --otp-blue: #84b1e8; /* NO devolver a #1c5193: solo se pinta en el pin de .otp-loc__ic y sobre su chip daba 1.18:1. En lockstep con royal['blue']. */
  --otp-gold: #E0A82E;
  --otp-line: rgba(255,255,255,.10);
  --otp-radius: 18px;
  --otp-radius-sm: 14px;
  /* Densidad (4º eje, ocloc_tp_disposiciones() = 'carril'). En lockstep, igual que royal y suave.
     --otp-col estaba declarada y SIN USAR desde siempre (600px muerto): ahora es de verdad el ancho
     de .otp-main, por eso vale 900px — el valor que esa regla llevaba hardcodeado. */
  --otp-col: 900px;   /* ancho de la columna de contenido (.otp-main) */
  --otp-air: 28px;    /* aire sobre cada título de sección (.otp-h) */
  --otp-rows: 22px;   /* separación entre filas de destacados (.otp-feat__grid) */
  --otp-tile: 10px;   /* hueco entre tarjetas (.otp-feat__rail-track) */
  --otp-hsize: .9rem; /* cuerpo del título de sección */
}

* { box-sizing: border-box; }
body.otp {
  margin: 0; background: var(--otp-bg); color: var(--otp-ink);
  /* Cuerpo elegible (2º slot del preset). Sin elección el var no se emite y cae al mismo Inter de
     siempre → página byte-idéntica. Solo las fuentes marcadas body en ocloc_tp_fonts() llegan aquí. */
  font-family: var(--otp-font-b, "Inter", -apple-system, "Segoe UI", system-ui, sans-serif); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.otp a { color: inherit; text-decoration: none; }
.otp-shell { max-width: none; margin: 0 auto; min-height: 100vh; background: var(--otp-bg); overflow-x: clip; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.otp-hero { position: relative; min-height: clamp(440px, 64vh, 600px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.otp-hero__slides { position: absolute; inset: 0; z-index: 0; }
.otp-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 900ms ease; }
.otp-hero__slide.is-active { opacity: 1; }
.otp-hero__slide--plain { opacity: 1; background: linear-gradient(150deg, #1b3a5c, #0c1626); }
/* Portada con vídeo (2026-10-09): el <video> llena la diapositiva (cover, centrado) POR ENCIMA del fondo-póster, que
   se queda debajo hasta que arranca. Vale en clásico y en Aurora (cuelga de la diapositiva, no del estilo). El recorte
   (`crop`) es de la foto: su `background-position` no aplica al vídeo, pero el `transform` va en la diapositiva y lo escala igual. */
.otp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .otp-hero__video { display: none; } } /* queda el póster */
.otp-hero__scrim { display: none; }
/* Dots del slider del hero (estilo 21st.dev: el activo se expande en píldora) */
.otp-hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 10px; pointer-events: none; }
/* El punto DIBUJA 7px (22px el activo) pero eso es un objetivo imposible para el pulgar. Un
   pseudo-elemento amplía SOLO la zona sensible: 43px de alto (el fallo real es vertical, la
   fila es finísima) y 4px por lado en horizontal. Ojo: NO se puede ampliar a 44 de ancho —
   con centros a ~17px las áreas se solaparían y un punto robaría el toque del vecino. Por eso
   el gap sube a 10px y la expansión lateral se queda en 4+4=8px < 10px → nunca se tocan. */
.otp-dot { position: relative; pointer-events: auto; width: 7px; height: 7px; padding: 0; margin: 0; border: none; border-radius: 99px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s cubic-bezier(.4,0,.2,1), background .2s ease; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.otp-dot::before { content: ""; position: absolute; inset: -18px -4px; }
.otp-dot.is-active { width: 22px; background: #fff; }
.otp-dot:hover { background: rgba(255,255,255,.85); }
/* Pins del hero (fijados a píxel de imagen; el JS pone left/top, el centro del pin cae en el punto) */
/* z-index 4 = por ENCIMA de .otp-hero__top y .otp-hero__foot (z:2) y dots (z:3), si no el foot/nombre
   (bloques a ancho completo) tapan el pin y se traga el clic. El contenedor es pointer-events:none →
   solo el PIN concreto queda encima; nombre/sociales/reseñas siguen clicables donde no hay pin. */
.otp-hero__pins { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.otp-hero__pin { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; text-decoration: none; opacity: var(--otp-pin-alpha, 1); }
/* Botón/icono del hero = cristal líquido como la píldora de reseñas (.otp-reviews) */
.otp-hero__pin--button { padding: calc(9px * var(--otp-ps,1)) calc(16px * var(--otp-ps,1)); border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--otp-pin-color, #fff); font-weight: 800; font-size: calc(.9rem * var(--otp-ps,1)); box-shadow: 0 4px 16px rgba(0,0,0,.32); white-space: nowrap; }
.otp-hero__pin--text { color: var(--otp-pin-color, #fff); font-weight: 800; font-size: calc(1.1rem * var(--otp-ps,1)); text-shadow: 0 2px 12px rgba(0,0,0,.65); white-space: nowrap; }
.otp-hero__pin--icon { width: calc(44px * var(--otp-ps,1)); height: calc(44px * var(--otp-ps,1)); border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--otp-pin-color, #fff); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.otp-hero__pin--icon svg { width: calc(22px * var(--otp-ps,1)); height: calc(22px * var(--otp-ps,1)); }
/* Fondo del hero demasiado CLARO bajo el pin → el blanco se perdería → la letra pasa al color
   main (azul, --otp-bg) sobre chip claro. Lo activa ocloc-tenant.js (muestreo de luminancia),
   también en vivo mientras se arrastra el pin en el editor. Transición suave. */
.otp-hero__pin { transition: text-shadow .2s ease, filter .2s ease; }
.otp-hero__pin.otp-hp-off { display: none; } /* #4b: pin de otra foto del slideshow → oculto */
/* Sombra ADAPTATIVA: cuanto MÁS CLARO el fondo bajo el pin, más intensa la sombra de la letra/icono
   (para diferenciar el blanco); fondo oscuro → sombra mínima. --otp-pinsha (0..1) lo fija
   ocloc-tenant.js según la luminancia muestreada. La letra sigue BLANCA y el glass NO cambia. */
.otp-hero__pin--text { text-shadow: 0 2px 12px rgba(0,0,0,.5), 0 0 12px rgba(0,0,0,calc(var(--otp-pinsha,0) * .9)), 0 0 24px rgba(0,0,0,calc(var(--otp-pinsha,0) * .6)); }
.otp-hero__pin--button { text-shadow: 0 0 12px rgba(0,0,0,calc(var(--otp-pinsha,0) * .425)), 0 0 24px rgba(0,0,0,calc(var(--otp-pinsha,0) * .275)); }
.otp-hero__pin--icon { filter: drop-shadow(0 0 11px rgba(0,0,0,calc(var(--otp-pinsha,0) * .85))); }
/* Línea del hero: SVG superpuesto al marco (2 extremos en % del hero). non-scaling-stroke mantiene el
   grosor en px pese al preserveAspectRatio=none. Sombra fija para legibilidad sobre cualquier foto. */
.otp-hero__line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.otp-hero__line.otp-hp-off { display: none; } /* línea de otra foto del slideshow → oculta (igual que los pins) */
/* Tag de cristal opcional por elemento (mismo glass que botón/icono). El editor lo activa/quita por
   tipo: texto gana glass (--tag); botón/icono lo pierden (--notag). Sin tinte (cristal blanco).
   ⚠️ --notag DEBE quedar DESPUÉS de --button/--icon: misma especificidad (0,1,0) → anula su
   background/border/backdrop-filter/box-shadow por ORDEN de fuente. No lo muevas arriba. */
.otp-hero__pin--tag { padding: calc(7px * var(--otp-ps,1)) calc(14px * var(--otp-ps,1)); border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 16px rgba(0,0,0,.32); }
.otp-hero__pin--notag { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
/* Override de color del elemento. Necesita 2 clases (0,2,0) para GANAR a `.otp a { color: inherit }`
   (0,1,1): un pin con enlace se renderiza como <a> y, sin esto, heredaría el blanco en vez del color
   elegido. Aplica a los 3 tipos porque texto/icono también pueden llevar enlace. */
.otp-hero__pin.otp-hero__pin--button, .otp-hero__pin.otp-hero__pin--text, .otp-hero__pin.otp-hero__pin--icon { color: var(--otp-pin-color, #fff); }

.otp-hero__top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 0; color: #fff; }
.otp-hero__id { text-align: left; min-width: 0; }
.otp-name { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: clamp(.85rem, 2.75vw, 1.05rem); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.otp-verified { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #3897f0; color: #fff; }
.otp-verified svg { width: 10px; height: 10px; }
/* Logotipo del header (sustituye al nombre de texto). Alto acotado; drop-shadow para legibilidad sobre la foto. */
.otp-name__logo { height: clamp(28px, 8vw, 44px); width: auto; max-width: min(70vw, 320px); display: block; object-fit: contain; filter: drop-shadow(0 1px 6px rgba(0,0,0,.5)); }
.otp-topbar__name--logo .otp-name__logo { height: 22px; max-width: 200px; filter: none; }
.otp-handle { margin-top: 1px; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* Wrapper de acciones del header (sociales + control de cuenta). En base para
   que el layout sea idéntico con el login activo o no (account.css solo añade
   estilos del control; aquí garantizamos la fila flex aunque esté dark). */
.otp-hero__actions, .otp-topbar__actions { display: flex; align-items: center; gap: 10px; }
.otp-socials { display: flex; gap: 9px; flex-shrink: 0; }
.otp-soc { position: relative; width: 37px; height: 37px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--soc, #444); color: #fff; transition: transform .15s ease; box-shadow: 0 3px 12px rgba(0,0,0,.35); }
/* Zona sensible a ≥44px sin agrandar el círculo. Vertical libre (hay padding de sobra en hero y
   topbar); lateral solo 4px, que es lo que cabe en el gap de 9px sin pisar al icono vecino. */
.otp-soc::before { content: ""; position: absolute; inset: -6px -4px; }
.otp-soc:hover { transform: translateY(-2px); }
.otp-soc svg { width: 19px; height: 19px; }

.otp-hero__foot { position: relative; z-index: 2; padding: 0 18px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; color: #fff; }
.otp-reviews { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; backdrop-filter: blur(6px); font-size: .88rem; }
.otp-reviews__stars { display: inline-flex; gap: 1px; }
.otp-reviews__stars .ocs svg { width: 15px; height: 15px; color: rgba(255,255,255,.35); }
.otp-reviews__stars .ocs.on svg { color: var(--otp-gold); }
.otp-reviews__txt strong { font-weight: 700; }
.otp-tag { margin: 0; max-width: 42ch; color: rgba(255,255,255,.92); font-size: .98rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.otp-tag:empty { display: none; } /* bio vacía → sin hueco (en edición el customizer la muestra con placeholder) */

/* ── Top bar liquid-glass (aparece al salir el hero de vista) ──────────────────
   Estilo Apple "Liquid Glass": cristal esmerilado (backdrop-blur) + borde de luz
   superior + reflejo de color que MUTA + veta especular que recorre el borde. */
.otp-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 18px;
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border-bottom: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 34px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(-110%); opacity: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s ease; }
.otp-topbar.is-visible { transform: translateY(0); opacity: 1; }
.otp-topbar__name { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .98rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.otp-verified--sm { width: 14px; height: 14px; }
.otp-verified--sm svg { width: 9px; height: 9px; }
.otp-topbar__socials { position: relative; z-index: 2; display: flex; gap: 8px; }
.otp-topbar__socials .otp-soc { width: 32px; height: 32px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.otp-topbar__socials .otp-soc svg { width: 17px; height: 17px; }
.otp-topbar__sheen { position: absolute; inset: -60% -15%; z-index: 0; pointer-events: none; filter: blur(22px);
  background:
    radial-gradient(55% 130% at 28% -10%, rgba(140,190,255,.30), transparent 60%),
    radial-gradient(50% 130% at 78% 110%, rgba(37,103,181,.30), transparent 62%),
    radial-gradient(42% 120% at 55% 50%, rgba(255,255,255,.10), transparent 60%);
  animation: otp-sheen 9s ease-in-out infinite alternate; }
@keyframes otp-sheen {
  0%   { transform: translate(-10%, -4%) scale(1.05); }
  50%  { transform: translate(9%, 3%) scale(1.18); }
  100% { transform: translate(-5%, -2%) scale(1.08); }
}
.otp-topbar::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  background-size: 45% 100%; background-repeat: no-repeat; animation: otp-streak 7s linear infinite; }
@keyframes otp-streak { 0% { background-position: -45% 0; } 100% { background-position: 145% 0; } }
@media (prefers-reduced-motion: reduce) { .otp-topbar__sheen, .otp-topbar::after { animation: none; } }

/* ── Tema CLARO (paletas nude/blanco/rosita): el hero va sobre foto (texto blanco,
   intacto); aquí adaptamos lo que flota sobre el área principal clara. ───────── */
body[data-theme="light"] .otp-topbar { background: rgba(255,255,255,.62);
  border-bottom: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.6); }
body[data-theme="light"] .otp-topbar__name { color: var(--otp-ink); text-shadow: none; }
body[data-theme="light"] .otp-topbar__sheen { opacity: .3; }
body[data-theme="light"] .otp-topbar::after { opacity: .5; }
/* Icono de la card-CTA: en claro, el acento (no el fondo) para que contraste con el círculo blanco. */
body[data-theme="light"] .otp-tile__ic { color: var(--otp-blue); }

/* ── Main ──────────────────────────────────────────────────────────────────── */
/* Columna de contenido acotada: en pantallas anchas NO deja crecer las cards sin
   sentido (las tiles son % del ancho × aspect-ratio → ballooneaban a 1180px).
   Ancho cómodo tipo link.me con márgenes a los lados en desktop. */
.otp-main { max-width: var(--otp-col); margin: 0 auto; padding: 22px 24px 8px; }
/* Descripción SEO visible (texto real on-page = la meta description) */
.otp-about { margin: 40px auto 18px; max-width: 640px; } /* + margen tras el wizard (owner 2026-06-19) */
.otp-about__text { margin: 0; text-align: center; color: var(--otp-muted, rgba(255,255,255,.92)); font-size: 1rem; line-height: 1.6; }
/* Módulo ocultado por el Personalizador: invisible al público (en modo edición
   el customizer lo re-muestra atenuado para poder reactivarlo). */
.otp-mod--hidden { display: none; }
.otp-h { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: var(--otp-hsize); font-weight: 600;
  color: var(--otp-muted); margin: var(--otp-air) 0 14px; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--otp-font-h, inherit); } /* fuente de títulos elegible (personalizador) → var emitida en #otp-theme */
.otp-feat__rh, .otp-feat__rh h2 { font-family: var(--otp-font-h, inherit); }
.otp-h__star svg { width: 15px; height: 15px; color: var(--otp-gold); }

/* ── Tarjetas-imagen (tiles) ───────────────────────────────────────────────── */
.otp-tile { position: relative; display: block; border-radius: var(--otp-radius); overflow: hidden;
  background-image: var(--bg); background-size: cover; background-position: center; background-color: var(--otp-card);
  box-shadow: 0 7px 20px rgba(0,0,0,.30); transition: transform .18s ease; }
.otp-tile:hover { transform: translateY(-3px); }
.otp-tile__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06) 30%, rgba(0,0,0,.72) 100%); }
.otp-tile__label { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 2; color: #fff; font-weight: 700;
  font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 2px; }
.otp-tile__label small { font-weight: 500; font-size: .8rem; opacity: .9; }
.otp-tile__label--sm { font-size: .9rem; left: 10px; right: 10px; bottom: 9px; }
.otp-tile__ic { position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--otp-bg); display: flex; align-items: center; justify-content: center; }
.otp-tile__ic svg { width: 19px; height: 19px; }

.otp-tile--feature { aspect-ratio: 5 / 2; margin-bottom: 4px; }
.otp-tile--feature .otp-tile__label { font-size: 1.3rem; bottom: 16px; }

/* Rails (autoslide si desbordan) */
/* padding vertical (sin tocar el horizontal) = sitio para que la sombra de los tiles se pinte
   DENTRO del scrollport y no la recorte el overflow del carril. El horizontal queda en 16px
   porque la maqueta JS mide rail.clientWidth (incluye padding lateral) para dimensionar tiles. */
.otp-rail { margin: 0 -16px; padding: 16px 16px 28px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.otp-rail::-webkit-scrollbar { display: none; }
.otp-rail__track { display: flex; gap: 14px; padding-bottom: 4px; align-items: stretch; }
.otp-rail--2 .otp-tile { flex: 0 0 calc(50% - 7px); scroll-snap-align: start; aspect-ratio: 4 / 3; }
.otp-rail--4 .otp-tile { flex: 0 0 calc(25% - 11px); scroll-snap-align: start; aspect-ratio: 3 / 4; }

/* ── Destacados (content builder F3) — layout por FILAS (cada fila = bloque o tira-carrusel) ──────── */
.otp-feat__grid { display: flex; flex-direction: column; gap: var(--otp-rows); }
/* Sección = encabezado(h2) + texto(p) + contenido como UNA unidad; el gap del grid (18px) separa secciones.
   Espaciado FIJO sin negativos: título→texto pegado (4px); título/texto→tiles con aire (10px). */
.otp-feat__row { position: relative; }
/* Títulos de SECCIÓN (encabezado por fila): tono fino/aesthetic, alineado con Inter del tema. */
.otp-feat__rh { margin: 0 0 10px; font-size: 1.22rem; font-weight: 500; color: var(--otp-ink, #fff); letter-spacing: -.012em; line-height: 1.25; }
.otp-feat__rh:has(+ .otp-feat__rp) { margin-bottom: 4px; }
.otp-feat__rh h2 { margin: 0; font: inherit; }
.otp-feat__rh--link { text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.otp-feat__rh--link::after { content: "›"; opacity: .5; font-weight: 400; }
.otp-feat__rp { margin: 0 0 10px; font-size: .92rem; line-height: 1.55; color: var(--otp-muted, #eaf2fb); white-space: pre-line; }
/* Alineación del encabezado (selector del editor): SIEMPRE en el contenedor de fila
   (.otp-feat__row--c/--r), que hereda al h2/p y mueve además el enlace inline. SSR y editor
   usan el mismo modificador, así que no hacen falta variantes por elemento. */
.otp-feat__row--c { text-align: center; }
.otp-feat__row--r { text-align: right; }
/* Separador: línea fina o espacio en blanco (alto inline) — bloque propio entre secciones */
.otp-feat__sep { display: block; width: 100%; }
.otp-feat__sep--line { height: 0; border-top: 1px solid rgba(255,255,255,.22); }
/* ── Acordeón de destacados (content builder) — puntos plegables, lenguaje liquid-glass nativo ──────
   Animación por grid-template-rows (0fr→1fr): el cuerpo vive SIEMPRE en el DOM (no display:none → Google
   lo indexa mobile-first). El toggle (exclusivo por bloque) lo da initFeatAccordions() de ocloc-tenant.js. */
.otp-acc { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.otp-acc__item { border: 1px solid rgba(255,255,255,.12); border-radius: var(--otp-radius-sm); background: rgba(255,255,255,.05); overflow: hidden; transition: border-color .25s ease, background .25s ease; }
.otp-acc__item.is-open { background: rgba(255,255,255,.085); border-color: rgba(255,255,255,.26); }
.otp-acc__head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0; background: none; border: 0; color: var(--otp-ink); font: inherit; font-family: var(--otp-font-h, inherit); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.otp-acc__mark { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: var(--otp-ink); font-weight: 800; font-size: .92rem; line-height: 1; }
.otp-acc__mark svg { width: 16px; height: 16px; }
.otp-acc__mark--num { color: var(--otp-gold); }
.otp-acc__mark--empty { background: transparent; border-color: transparent; } /* hueco reservado (icono ausente) → todas las pestañas miden igual */
.otp-acc__t { flex: 1 1 auto; font-weight: 600; font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
.otp-acc__chev { flex: 0 0 auto; display: inline-flex; color: var(--otp-muted); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.otp-acc__item.is-open .otp-acc__chev { transform: rotate(180deg); }
.otp-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s cubic-bezier(.22,1,.36,1); }
.otp-acc__item.is-open .otp-acc__panel { grid-template-rows: 1fr; }
.otp-acc__panelin { overflow: hidden; min-height: 0; }
.otp-acc__b { margin: 0; padding: 0 16px 15px; color: var(--otp-muted); font-size: .92rem; line-height: 1.6; white-space: pre-line; text-align: left; }
.otp-acc__item--mark .otp-acc__b { padding-left: 58px; }
@media (prefers-reduced-motion: reduce) { .otp-acc__panel, .otp-acc__chev, .otp-acc__item { transition: none; } }
/* ── Superficie del acordeón en las paletas OSCURAS ──────────────────────────────
   El velo blanco (.05 cerrado / .085 abierto) ACLARA el fondo, y en royal (#2d6cb2, un azul
   de luminancia media) eso se come el poco margen que hay: --otp-muted quedaba en 4.32:1
   (cerrado) y 4.02:1 (abierto), por debajo del AA de 4.5:1. No era arreglable desde el texto:
   sobre ese velo ni el blanco puro pasa de 4.55:1 — el problema es la SUPERFICIE, no la tinta.
   Solución: en tema oscuro la tarjeta se dibuja con el propio --otp-card de la paleta (que ya
   es "más profundo que la página" en royal, igual que tiles y FAQ) en vez de con velo blanco.
   Medido: royal 4.02 → 5.36:1 · negro 7.04 → 8.32:1. Las paletas CLARAS no se tocan: ahí el
   velo blanco SUBE el contraste del texto oscuro (5.48-5.66:1) y ya cumplían. */
body:not([data-theme="light"]) .otp-acc__item { background: color-mix(in srgb, var(--otp-card) 45%, transparent); }
body:not([data-theme="light"]) .otp-acc__item.is-open { background: color-mix(in srgb, var(--otp-card) 72%, transparent); }
body:not([data-theme="light"]) .otp-acctabs__tab { background: color-mix(in srgb, var(--otp-card) 45%, transparent); }
body:not([data-theme="light"]) .otp-acctabs__tab:hover,
body:not([data-theme="light"]) .otp-acctabs__tab.is-active,
body:not([data-theme="light"]) .otp-acctabs__panels { background: color-mix(in srgb, var(--otp-card) 72%, transparent); }
/* ── Disposición CARPETAS / ARCHIVADOR (it.layout='tabs') — pestañas 1·2·3 EN FILA + un panel cada vez ──
   Plegado por defecto (lo más bajo posible): solo la fila de chips. Al abrir uno, las pestañas se aplanan y
   se "asientan" sobre el cajón (efecto carpeta). Título a UNA línea (elipsis) → todas las pestañas miden igual. */
.otp-acc--tabs { display: block; }
.otp-acctabs__strip { display: flex; gap: 6px; align-items: stretch; }
.otp-acctabs__tab { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 8px; margin: 0; border: 1px solid rgba(255,255,255,.14); border-radius: var(--otp-radius-sm); background: rgba(255,255,255,.05); color: var(--otp-muted); font: inherit; font-family: var(--otp-font-h, inherit); cursor: pointer; text-align: center; transition: background .18s ease, color .18s ease; -webkit-tap-highlight-color: transparent; }
.otp-acctabs__tab:hover { background: rgba(255,255,255,.085); color: var(--otp-ink); }
.otp-acctabs__tab .otp-acc__mark { width: 26px; height: 26px; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.otp-acctabs__tab .otp-acc__mark svg { width: 15px; height: 15px; }
/* Con un panel abierto: las pestañas se aplanan abajo y se asientan sobre el cajón */
.otp-acc--tabs.is-anyopen .otp-acctabs__tab { border-radius: var(--otp-radius-sm) var(--otp-radius-sm) 0 0; border-bottom: none; }
.otp-acctabs__tab.is-active { background: rgba(255,255,255,.1); color: var(--otp-ink); border-color: rgba(255,255,255,.2); position: relative; z-index: 1; margin-bottom: -1px; }
.otp-acctabs__tab.is-active .otp-acc__mark { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); }
.otp-acctabs__t { width: 100%; font-weight: 600; font-size: .84rem; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Cajón (panel): oculto mientras todo esté plegado → altura mínima */
.otp-acctabs__panels { display: none; border: 1px solid rgba(255,255,255,.2); border-radius: 0 0 14px 14px; background: rgba(255,255,255,.1); }
.otp-acc--tabs.is-anyopen .otp-acctabs__panels { display: block; }
.otp-acctabs__panel { padding: 14px 16px; animation: otp-acctabs-in .26s cubic-bezier(.22,1,.36,1); }
.otp-acctabs__panel[hidden] { display: none; }
.otp-acctabs__b { margin: 0; color: var(--otp-muted); font-size: .93rem; line-height: 1.6; white-space: pre-line; text-align: left; }
@keyframes otp-acctabs-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .otp-acctabs__tab, .otp-acctabs__tab .otp-acc__mark { transition: none; } .otp-acctabs__panel { animation: none; } }

/* ── FAQ ("Preguntas frecuentes", bajo Posts) — Soft-UI, disclosure accesible. Adapta a CUALQUIER paleta
   del tenant SOLO con tokens (--otp-card/-line/-ink/-muted/-gold) → válido en royal/negro (oscuras) y
   nude/blanco/rosita (claras). Indicador +/− que morfa (transform), reveal por grid-rows. */
.otp-faq__card { background: var(--otp-card); border: 1px solid var(--otp-line); border-radius: var(--otp-radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -28px rgba(0,0,0,.45); }
.otp-faq__item + .otp-faq__item { border-top: 1px solid var(--otp-line); }
.otp-faq__h { margin: 0; font: inherit; }
.otp-faq__btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 17px 18px; margin: 0; background: none; border: 0; color: var(--otp-ink); font: inherit; font-family: var(--otp-font-h, inherit); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .18s ease; }
.otp-faq__btn:hover { background: color-mix(in srgb, var(--otp-ink) 6%, transparent); }
/* Foco = mismo par de dos tonos que el resto del sitio (--otp-ink sobre halo --otp-bg). El oro
   valía como acento decorativo pero NO como indicador de foco: medido contra --otp-card daba
   1.86:1 (nude) · 1.97 (blanco) · 2.16 (rosita) · 3.28 (royal), por debajo del 3:1 que pide
   WCAG 2.4.11. --otp-ink contrasta con su propio fondo por construcción, en las 5 paletas. */
.otp-faq__btn:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: -3px; border-radius: 6px; box-shadow: inset 0 0 0 5px var(--otp-bg); }
.otp-faq__qt { flex: 1 1 auto; font-weight: 600; font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; }
/* Indicador +/− dibujado con pseudo-elementos: barra horizontal fija + barra vertical que colapsa al abrir */
.otp-faq__ico { position: relative; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--otp-gold) 16%, transparent); }
.otp-faq__ico::before, .otp-faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--otp-gold); border-radius: 2px; }
.otp-faq__ico::before { width: 11px; height: 2px; transform: translate(-50%, -50%); }
.otp-faq__ico::after  { width: 2px; height: 11px; transform: translate(-50%, -50%); transition: transform .26s cubic-bezier(.22,1,.36,1); }
.otp-faq__item.is-open .otp-faq__ico::after { transform: translate(-50%, -50%) scaleY(0); }
.otp-faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s cubic-bezier(.22,1,.36,1); }
.otp-faq__item.is-open .otp-faq__panel { grid-template-rows: 1fr; }
.otp-faq__panelin { overflow: hidden; min-height: 0; }
.otp-faq__a { margin: 0; padding: 2px 18px 17px; color: var(--otp-muted); font-size: .95rem; line-height: 1.62; white-space: pre-line; text-align: left; max-width: 68ch; }
.otp-faq__empty { margin: 0; padding: 18px; color: var(--otp-muted); font-size: .92rem; text-align: center; }
/* Botón "Editar preguntas" (solo en modo edición del personalizador) — adapta a la paleta vía tokens */
.otp-faq__edithost { margin-top: 12px; }
.otp-faq__editbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border: 1px dashed var(--otp-line); border-radius: var(--otp-radius-sm); background: color-mix(in srgb, var(--otp-ink) 7%, transparent); color: var(--otp-ink); font: inherit; font-weight: 600; cursor: pointer; transition: background .18s ease; }
.otp-faq__editbtn:hover { background: color-mix(in srgb, var(--otp-ink) 12%, transparent); }
.otp-faq__editbtn svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .otp-faq__panel, .otp-faq__ico::after, .otp-faq__btn, .otp-faq__editbtn { transition: none; } }
/* Carril (fila de tiles del mismo tamaño): tira horizontal con scroll. Auto-avance ESCALONADO por JS
   (página por tramo, snap), no marquesina continua. Navegación manual = arrastrar (click-and-drag, ratón). */
.otp-feat__rail { position: relative; padding: 20px 0 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; } /* Carril = EXACTAMENTE el ancho de columna (sin width:100% explícito, auto-width lo iguala; SIN padding/margen lateral). Así el scrollport = una página de N tiles enteras → ningún tile cortado asomando (el padding lateral de "sangrado de sombra" hacía que el scrollport fuera 40px más ancho que la página y asomara el siguiente tile = "corte"). El padding vertical conserva el espacio para la sombra (que es vertical: 0 7px 20px). La sombra lateral de los tiles del borde se recorta a ras de columna (= como el resto de secciones); prioridad del owner = tiles enteros que respetan su config xN. */
.otp-feat__rail--grabbing { cursor: grabbing; scroll-snap-type: none; } /* durante el arrastre: sin snap para seguir el dedo/ratón */
.otp-feat__rail::-webkit-scrollbar { display: none; }
/* gap NUNCA a 0: ocloc-tenant.js hace `parseFloat(gap) || 10` para calcular el ancho de tarjeta,
   así que un 0 legítimo se convertiría en un canalón fantasma de 10px en sus cuentas. */
.otp-feat__rail-track { display: flex; gap: var(--otp-tile); width: max-content; max-width: none; }
.otp-feat__rail .otp-feat__item { scroll-snap-align: start; }
/* Ancho = default (el JS lo recalcula para que entren N enteras por página); altura por aspect-ratio */
.otp-feat__rail--square .otp-feat__item   { flex: 0 0 auto; width: 168px; height: auto; aspect-ratio: 1 / 1; }
.otp-feat__rail--vertical .otp-feat__item { flex: 0 0 auto; width: 165px; height: auto; aspect-ratio: 3 / 4; }
.otp-feat__rail--reservar .otp-feat__item { flex: 0 0 auto; width: min(410px, 82vw); height: auto; aspect-ratio: 16 / 9; } /* banner 2-up tipo "lifting/cejas" */
.otp-feat__item { position: relative; display: flex; align-items: flex-end; border-radius: var(--otp-radius); overflow: hidden;
  background-color: var(--otp-card);
  box-shadow: 0 7px 20px rgba(0,0,0,.28); transition: transform .18s ease; text-decoration: none; }
.otp-feat__item:hover { transform: translateY(-3px); }
/* Capa de imagen encuadrable (transform no destructivo: zoom/pan/rotar/voltear). Sin encuadre = cover center (idéntico a antes). */
.otp-feat__bg { position: absolute; inset: 0; z-index: 0; background-image: var(--bg); background-size: cover; background-position: center; background-repeat: no-repeat; transform-origin: center center; transform: var(--bgt, none); }
.otp-feat__grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%); }
.otp-feat__label { position: relative; z-index: 2; color: #fff; font-weight: 700; font-size: 1.05rem; padding: 12px 14px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
/* Proporciones UNIVERSALES (idénticas en Estilo 1 y 2; el estilo solo cambia la ETIQUETA).
   reservar/horizontal = banner a ancho completo · cuadrado 3-up · vertical 4-up · marquesina a sangre.
   flex:0 0 → tamaño FIJO por tipo (una fila parcial queda alineada a la izq, no se estira). */
.otp-feat__grid { align-content: flex-start; }
.otp-feat--reservar   { flex: 0 0 100%; aspect-ratio: 5 / 2; }
.otp-feat--horizontal { flex: 0 0 100%; aspect-ratio: 16 / 9; }
.otp-feat--square     { flex: 0 0 calc(33.333% - 8px); aspect-ratio: 1 / 1; }
.otp-feat--vertical   { flex: 0 0 calc(25% - 9px); aspect-ratio: 3 / 4; }
.otp-feat--square .otp-feat__label   { font-size: .92rem; padding: 9px 10px; }
.otp-feat--vertical .otp-feat__label { font-size: .85rem; padding: 8px 9px; }
.otp-feat--button { flex: 1 1 100%; aspect-ratio: auto; min-height: 56px; align-items: center; justify-content: center;
  background: var(--otp-card); border: 1px solid var(--otp-line); box-shadow: none; }
.otp-feat--button .otp-feat__label { color: var(--otp-ink); text-shadow: none; text-align: center; padding: 16px; }
/* Reservar = tarjeta ancha (título + subtítulo), estilo de la card "Reservar tu cita" */
.otp-feat__label--res { display: flex; flex-direction: column; gap: 2px; }
.otp-feat__label--res small { font-weight: 500; font-size: .82rem; opacity: .92; }
/* La píldora es transparente en Estilo 1 (solo texto); el Estilo 2 la convierte en badge */
.otp-feat__pill { display: inline; }
/* Aliases legacy → mismas proporciones universales (la normalización ya migra; cubre HTML cacheado) */
.otp-feat--big    { flex: 0 0 100%; aspect-ratio: 5 / 2; }
.otp-feat--medium { flex: 0 0 calc(33.333% - 8px); aspect-ratio: 1 / 1; }
.otp-feat--small  { flex: 0 0 calc(25% - 9px); aspect-ratio: 3 / 4; }
.otp-feat--small .otp-feat__label { font-size: .85rem; padding: 8px 9px; }
@media (max-width: 560px) { .otp-feat--square, .otp-feat--vertical, .otp-feat--medium, .otp-feat--small { flex-basis: calc(50% - 6px); } }

/* Marquesina: billboard a sangre (rompe la columna a 100vw) con scroll de texto si no cabe.
   flex:0 0 auto + width:100vw + márgenes negativos calc(50% - 50vw): el margin-box = ancho de
   columna (ocupa su propia fila) pero el contenido llega a los bordes del viewport. */
.otp-feat--marquee { flex: 0 0 auto; width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  aspect-ratio: auto; height: var(--mh, clamp(104px, 22vw, 220px)); border-radius: 0;
  align-items: center; justify-content: center; }
.otp-feat--marquee:hover { transform: none; } /* sin lift en el banner */
.otp-feat--marquee .otp-feat__grad { background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.18) 30%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.45)); }
.otp-feat--marquee .otp-feat__label { width: 100%; max-width: 100%; padding: 0 18px; text-align: center; overflow: hidden;
  font-size: clamp(1.1rem, 3.4vw, 1.8rem); }
.otp-mq { display: inline-flex; white-space: nowrap; max-width: 100%; vertical-align: top; will-change: transform; }
.otp-mq:not(.is-scrolling) { width: 100%; justify-content: center; }
.otp-mq:not(.is-scrolling) .otp-mq__seg { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.otp-mq__seg { display: inline-block; }
.otp-mq.is-scrolling { width: max-content; animation: otp-mq-l linear infinite; }
.otp-mq.is-scrolling .otp-mq__seg { padding-right: 3rem; }
.otp-mq.is-scrolling.otp-mq--right { animation-name: otp-mq-r; }
@keyframes otp-mq-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes otp-mq-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .otp-mq.is-scrolling { animation: none; } }

/* Etiqueta = ESTILO 1: texto blanco sobre degradado, sin píldora (la píldora del SSR queda transparente,
   ver .otp-feat__pill arriba). Las FILAS/carriles/scroll (el "funcionamiento") son universales. */

/* ── DISPOSICIÓN (4º eje) — cómo se colocan los destacados ──────────────────────────────────────
   'carril' (default) NO tiene bloque: es todo lo de arriba, y el <body> sale SIN data-otp-disp, así
   que las páginas ya publicadas no cambian ni una regla.

   Las otras dos APAGAN el carril. El marcado es el mismo (rail > track > items): aquí solo se le
   quita el scroll y se deja que el track envuelva o apile. Lo que NO se puede hacer desde el CSS es
   evitar que initFeatRails() escriba un `style.width` inline en cada tarjeta y CLONE el juego
   entero — eso lo corta el guard por data-otp-disp en ocloc-tenant.js. Sin ese guard, aquí saldría
   todo duplicado y con anchos px pisando estos flex-basis. Los dos cambios van juntos. */
body[data-otp-disp="mosaico"] .otp-feat__rail,
body[data-otp-disp="vitrina"] .otp-feat__rail {
  overflow-x: visible; scroll-snap-type: none; cursor: default; padding: 0;
}
body[data-otp-disp="mosaico"] .otp-feat__rail-track,
body[data-otp-disp="vitrina"] .otp-feat__rail-track {
  width: auto; max-width: 100%; /* `max-content` mantendría la fila única aunque envuelva */
}

/* MOSAICO — rejilla que envuelve: todo visible de una, sin scroll lateral ni contenido escondido. */
body[data-otp-disp="mosaico"] .otp-feat__rail-track { flex-wrap: wrap; }
body[data-otp-disp="mosaico"] .otp-feat__rail--square .otp-feat__item,
body[data-otp-disp="mosaico"] .otp-feat__rail--vertical .otp-feat__item {
  width: auto; flex: 0 0 calc(33.333% - (var(--otp-tile) * 2 / 3));
}
body[data-otp-disp="mosaico"] .otp-feat__rail--reservar .otp-feat__item {
  width: auto; flex: 0 0 calc(50% - (var(--otp-tile) / 2));
}
@media (max-width: 560px) {
  body[data-otp-disp="mosaico"] .otp-feat__rail--square .otp-feat__item,
  body[data-otp-disp="mosaico"] .otp-feat__rail--vertical .otp-feat__item { flex-basis: calc(50% - (var(--otp-tile) / 2)); }
  body[data-otp-disp="mosaico"] .otp-feat__rail--reservar .otp-feat__item { flex-basis: 100%; }
}

/* VITRINA — una tarjeta por fila a ancho completo. Las proporciones se relajan porque un 1:1 a 640px
   de ancho es una tarjeta altísima que empuja el resto de la página fuera de la pantalla. */
body[data-otp-disp="vitrina"] .otp-feat__rail-track { flex-direction: column; }
body[data-otp-disp="vitrina"] .otp-feat__rail .otp-feat__item { width: auto; flex: 0 0 auto; }
body[data-otp-disp="vitrina"] .otp-feat__rail--square .otp-feat__item   { aspect-ratio: 4 / 3; }
body[data-otp-disp="vitrina"] .otp-feat__rail--vertical .otp-feat__item { aspect-ratio: 4 / 5; }
body[data-otp-disp="vitrina"] .otp-feat__label { font-size: 1.15rem; padding: 16px 18px; }

/* ── Reservar (wizard en tarjeta clara) ────────────────────────────────────── */
.otp-book { scroll-margin-top: 14px; }
.otp-book__card { background: #fbf8f7; color: #2a1a1f; border-radius: var(--otp-radius); padding: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); }

/* ── Dónde estamos ─────────────────────────────────────────────────────────── */
.otp-loc__card { display: flex; gap: 14px; align-items: center; background: var(--otp-card); border: 1px solid var(--otp-line);
  border-radius: var(--otp-radius); padding: 16px; transition: background .2s ease; }
.otp-loc__card:hover { background: var(--otp-card-2); }
.otp-loc__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(37,103,181,.22); color: var(--otp-blue);
  display: flex; align-items: center; justify-content: center; }
.otp-loc__ic svg { width: 22px; height: 22px; }
.otp-loc__txt { display: flex; flex-direction: column; gap: 3px; font-size: .92rem; color: var(--otp-muted); }
.otp-loc__txt strong { color: var(--otp-ink); font-size: 1rem; font-weight: 600; }
.otp-loc__hours { display: inline-flex; align-items: center; gap: 6px; }
.otp-loc__hours svg { width: 15px; height: 15px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.otp-footer { text-align: center; padding: 30px 16px 44px; color: var(--otp-muted); font-size: .82rem; }
.otp-footer strong { color: var(--otp-ink); font-weight: 600; }
.otp-footer__legal { margin-top: 6px; }
.otp-footer__legal a { color: var(--otp-muted); text-decoration: underline; }

/* ── Banners promo (a todo el ancho de su columna, apiladas) ───────────────── */
.otp-banners { display: flex; flex-direction: column; gap: 13px; }
.otp-banner { display: block; border-radius: var(--otp-radius); overflow: hidden; background: var(--otp-card);
  box-shadow: 0 8px 26px rgba(0,0,0,.35); transition: transform .18s ease; }
.otp-banner:hover { transform: translateY(-3px); }
.otp-banner img { display: block; width: 100%; height: auto; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .otp-tile--feature { aspect-ratio: 16 / 9; }
  .otp-rail--4 .otp-tile { flex-basis: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  .otp-hero__slide, .otp-tile, .otp-soc { transition: none !important; }
}

/* ── Accesibilidad: foco de teclado (WCAG 2.4.7 / 2.4.11). Antes NO había ninguno.
   Anillo de DOS tonos independiente del tema/superficie: un aro interior con el color
   de fondo (--otp-bg) separa el elemento, y el outline exterior usa el color de texto
   (--otp-ink), que SIEMPRE contrasta con el fondo. Así se ve sobre hero (foto), tarjetas
   oscuras, hojas claras del editor y modales. `outline` (no box-shadow) para que no lo
   recorten los contenedores con overflow. Solo en navegación por teclado (:focus-visible). */
.otp a:focus-visible,
.otp button:focus-visible,
.otp input:focus-visible,
.otp select:focus-visible,
.otp textarea:focus-visible,
.otp [role="button"]:focus-visible,
.otp [tabindex]:focus-visible {
  outline: 2px solid var(--otp-ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--otp-bg);
}

/* ── Información (info widgets) ────────────────────────────────────────────── */
/* Sección contenedora: entre .otp-about y .otp-mod--loc ("Dónde estamos").
   Bloques apilados verticalmente; sin padding lateral (lo da .otp-main). */
.otp-info { }
.otp-info__blocks { display: flex; flex-direction: column; gap: 30px; }

/* Bloque genérico (las tres variantes comparten estructura base) */
.otp-info-block { }

/* Título (H2) del bloque: centrado, Inter 800, en la tinta de la paleta.
   ⚠️ Iba en #fff fijo. Este H2 va sobre la PÁGINA (no sobre una tarjeta con velo oscuro como
   .otp-info-card__t), así que en nude/blanco/rosita quedaba blanco sobre fondo claro = 1.41:1,
   prácticamente invisible. Con --otp-ink no cambia nada en royal/negro (ink = #fff). */
.otp-info__title { margin: 0 0 6px; text-align: center; color: var(--otp-ink);
  font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.otp-info__title:empty { display: none; }

/* Párrafo introductorio (normal): centrado, tono muted */
.otp-info__intro { margin: 0 0 14px; text-align: center; color: var(--otp-muted); font-size: .95rem; line-height: 1.55; }
.otp-info__intro:empty { display: none; }

/* Párrafo introductorio del bloque prosa: centrado, itálica, tono muted */
.otp-info__lead { margin: 0 0 14px; text-align: center; color: var(--otp-muted);
  font-size: .95rem; font-style: italic; line-height: 1.55; }
.otp-info__lead:empty { display: none; }

/* ── Tipo categorias: cuadrícula de tarjetas-imagen ── */
/* SIEMPRE 3 en una fila (owner 2026-06-20): al estrecharse NO se rompe a 2/1. El ajuste responsive
   (verticalidad + tipografía) va DESPUÉS de las reglas base (si no, el orden de cascada lo pisaría). */
.otp-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }

/* Tarjeta: imagen con velo oscuro + etiqueta centrada sobre ella */
.otp-info-card { position: relative; display: flex; border-radius: var(--otp-radius);
  overflow: hidden; background: var(--otp-card); min-height: 150px;
  box-shadow: 0 7px 20px rgba(0,0,0,.28); transition: transform .18s ease;
  text-decoration: none; }
a.otp-info-card { cursor: pointer; }
a.otp-info-card:hover { transform: translateY(-3px); }
/* Anillo de foco para cards enlazadas (coherente con el anillo global) */
a.otp-info-card:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--otp-bg); }

/* Capa de imagen encuadrable (igual que .otp-feat__bg) */
.otp-info-card__bg { position: absolute; inset: 0; background-image: var(--bg);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: var(--bgt, none); }

/* Velo degradado oscuro sobre la imagen */
.otp-info-card__velo { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.60)); }

/* Cuerpo de la tarjeta: centrado, texto sobre el velo */
.otp-info-card__body { position: relative; z-index: 1; display: flex;
  flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; padding: 14px 10px; width: 100%; gap: 3px; }

/* Título de la tarjeta */
.otp-info-card__t { color: #fff; font-weight: 800; font-size: .97rem; line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  /* palabras largas (p.ej. "Micropigmentación") no se desbordan en la tarjeta estrecha de móvil */
  overflow-wrap: break-word; word-break: break-word; hyphens: auto; max-width: 100%; }

/* Descripción de la tarjeta */
.otp-info-card__d { color: #e8eff9; font-size: .8rem; line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.otp-info-card__d:empty { display: none; }

/* ── Tarjetas categorias responsive: 3-up SIEMPRE → más verticales y tipografía menor al estrechar.
   DESPUÉS de las reglas base (misma especificidad → gana el orden de fuente). ── */
@media (max-width: 600px) {
  .otp-info-cards { gap: 7px; }
  .otp-info-card { min-height: 172px; }
  .otp-info-card__body { padding: 11px 6px; }
  .otp-info-card__t { font-size: .82rem; }
  .otp-info-card__d { font-size: .7rem; line-height: 1.3; }
}
@media (max-width: 380px) {
  .otp-info-cards { gap: 5px; }
  .otp-info-card { min-height: 178px; }
  .otp-info-card__body { padding: 9px 4px; }
  .otp-info-card__t { font-size: .76rem; }
  .otp-info-card__d { font-size: .66rem; }
}

/* ── Servicios con VENTAJAS desplegables (tarjeta = toggle; panel debajo) ──────────
   Rejilla: las tarjetas en una fila; el panel de ventajas de cada tarjeta se coloca en SU columna
   (debajo de la tarjeta) en desktop, y a ANCHO COMPLETO debajo de la fila en móvil. */
.otp-info-svc { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 11px; align-items: start; }
.otp-info-svc > .otp-info-card { grid-column: var(--col); grid-row: 1; }
.otp-info-svc > .otp-info-adv  { grid-column: var(--col); }
/* tarjeta-botón (toggle): reset de <button> + conserva el look de .otp-info-card */
button.otp-info-card { width: 100%; border: none; font: inherit; text-align: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.otp-info-card:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--otp-bg); }
.otp-info-card--toggle:hover { transform: translateY(-3px); }
.otp-info-card__more { margin-top: 7px; display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; color: #eaf1fb; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.otp-info-card__chv { transition: transform .22s cubic-bezier(.22,1,.36,1); }
.otp-info-card--toggle[aria-expanded="true"] .otp-info-card__chv { transform: rotate(180deg); }
/* Panel de ventajas (semántico: <h3> + <ul>). hidden por defecto → display:none nativo. */
.otp-info-adv { padding: 12px 4px 2px; }
.otp-info-adv__h { margin: 0 0 9px; font-size: .98rem; font-weight: 800; color: var(--otp-ink); text-align: center; }
.otp-info-adv__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.otp-info-adv__item { display: flex; gap: 9px; align-items: flex-start; }
/* Mismo caso que .otp-info__title: el chip va sobre la página, no sobre un velo → en tokens,
   si no el icono blanco sobre cristal blanco desaparecía en las paletas claras. */
.otp-info-adv__ic { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; color: var(--otp-ink);
  background: color-mix(in srgb, var(--otp-ink) 14%, transparent); border: 1px solid color-mix(in srgb, var(--otp-ink) 22%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.otp-info-adv__tx { font-size: .86rem; line-height: 1.4; }
.otp-info-adv__t { color: var(--otp-ink); font-weight: 700; }
.otp-info-adv__d { color: var(--otp-muted); }
@media (max-width: 600px) {
  .otp-info-svc { gap: 7px; }
  .otp-info-svc > .otp-info-adv { grid-column: 1 / -1; padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .otp-info-card--toggle:hover { transform: none; }
  .otp-info-card__chv { transition: none; }
}

/* ── Tipo comparativa: lista de razones en cuadrícula 2-col ── */
.otp-info-reasons { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
@media (max-width: 560px) { .otp-info-reasons { grid-template-columns: 1fr; } }

/* Fila de razón: icono + texto */
.otp-info-reason { display: flex; align-items: flex-start; gap: 11px; }

/* Icono del check: disco liquid-glass igual que .otp-hero__pin--button / .otp-reviews */
.otp-info-reason__ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-top: 1px; }

/* Bloque de texto (título + descripción) */
.otp-info-reason__tx { display: flex; flex-direction: column; gap: 2px; }

/* Título de la razón */
.otp-info-reason__t { color: #fff; font-weight: 700; font-size: .97rem; line-height: 1.25; }
/* Si el título lleva enlace, hereda el color y quita el subrayado base */
a.otp-info-reason__t { color: inherit; text-decoration: none; }
a.otp-info-reason__t:hover { text-decoration: underline; }
a.otp-info-reason__t:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--otp-bg); border-radius: 2px; }

/* Descripción de la razón */
.otp-info-reason__d { color: var(--otp-muted); font-size: .85rem; line-height: 1.45; }
.otp-info-reason__d:empty { display: none; }

/* ── Tipo prosa: texto largo centrado ── */
.otp-info-prose { max-width: 64ch; margin: 0 auto; line-height: 1.65; color: #e8eff9; }
.otp-info-prose a { text-decoration: underline; color: inherit; }
.otp-info-prose a:hover { opacity: .85; }

.otp-info-prose__p { margin: 0 0 .9em; }
.otp-info-prose__p:last-child { margin-bottom: 0; }

/* CTA del bloque prosa: botón glass centrado */
.otp-info__cta { margin-top: 18px; text-align: center; }
.otp-info__ctabtn { display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.32); transition: transform .18s ease; }
.otp-info__ctabtn:hover { transform: translateY(-2px); }
.otp-info__ctabtn:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--otp-bg); }

/* Acordeón "Ver más": agrupa los bloques plegados (collapsed) tras un único toggle. El contenido sigue
   en el DOM (Google lo indexa en mobile-first) → SEO intacto; la link-in-bio queda limpia. */
.otp-info__morewrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.otp-info__moretoggle { display: inline-flex; align-items: center; gap: 7px; align-self: center; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--otp-ink); padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: background .2s ease, transform .18s ease; }
.otp-info__moretoggle:hover { background: rgba(255,255,255,.20); transform: translateY(-1px); }
.otp-info__moretoggle:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--otp-bg); }
.otp-info__morechv { transition: transform .22s cubic-bezier(.22,1,.36,1); }
.otp-info__morewrap.is-open .otp-info__morechv { transform: rotate(180deg); }
/* :not([hidden]) → no pisar el atributo hidden (si pusiera display:flex directo, anularía el hidden). */
.otp-info__more:not([hidden]) { display: flex; flex-direction: column; gap: 30px; width: 100%; }

/* Respeta prefers-reduced-motion: desactiva todos los transforms animados del módulo */
@media (prefers-reduced-motion: reduce) {
  .otp-info-card, .otp-info__ctabtn, .otp-info__moretoggle, .otp-info__morechv { transition: none !important; }
  a.otp-info-card:hover, .otp-info__ctabtn:hover, .otp-info__moretoggle:hover { transform: none; }
}

/* ── Cursos online (2026-09-16) ─────────────────────────────────────────────── */
#otp-cursos { scroll-margin-top: 14px; } /* mismo margen que #otp-reservar (.otp-book) al llegar por ancla */
.otp-cursos__grid { display: grid; gap: var(--otp-tile); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .otp-cursos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.otp-cursos__card { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--otp-card); border: 1px solid var(--otp-line);
  border-radius: var(--otp-radius); transition: background .2s ease; }
.otp-cursos__card:hover { background: var(--otp-card-2); }
.otp-cursos__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--otp-radius-sm); margin-bottom: 4px; }
.otp-cursos__title { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.otp-cursos__meta { color: var(--otp-muted); font-size: .85rem; }
.otp-cursos__price { font-weight: 700; margin-bottom: auto; overflow-wrap: anywhere; } /* en fila de 2, «Ver curso» abajo aunque una tarjeta no tenga foto */
/* CTA propia: .otp-btn vive en ocloc-account.css, que solo carga con el login. */
.otp-cursos__cta { align-self: flex-start; margin-top: 6px; padding: 9px 16px; border-radius: 999px; background: var(--otp-ink); color: var(--otp-bg); font-weight: 700; font-size: .9rem; }
/* 2 clases: `.otp a` (0,1,1) quitaría el subrayado y el color. */
.otp-cursos .otp-cursos__aula { display: block; text-align: center; margin: 12px 0 0; color: var(--otp-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════════════════════════════════════════════════════
   ESTILO «AURORA» — 5º eje (owner 2026-10-09). TODO bajo body[data-otp-estilo="aurora"]:
   Clásico no cambia ni una regla. Sin colores propios: luces, cristal y cabecera salen de los
   tokens de la paleta (--otp-*), más tres de Aurora que emite el tema: --otp-fx (opacidad de
   las luces), --otp-glass-tint y --otp-glass-a (tinte y alfa del cristal).
   ══════════════════════════════════════════════════════════════════════════════ */
:root { --otp-fx: .5; --otp-glass-tint: var(--otp-card); --otp-glass-a: 40%; } /* única fuente del fallback si una paleta no los trae; el tinte por defecto es el color de la tarjeta */

/* Luces: SIEMPRE en el HTML (el editor previsualiza con el atributo); solo se ven en aurora. */
.otp-fx { display: none; }
/* El desenfoque va en cada luz (capa propia compuesta), no en el padre: un blur sobre un contenedor
   cuyos hijos se animan obliga a re-desenfocar toda la capa en cada fotograma. */
body[data-otp-estilo="aurora"] .otp-fx { display: block; position: fixed; inset: 0; overflow: hidden; contain: strict; z-index: 0; pointer-events: none; opacity: var(--otp-fx); }
body[data-otp-estilo="aurora"] .otp-fx i { position: absolute; border-radius: 50%; will-change: transform; filter: blur(72px); }
body[data-otp-estilo="aurora"] .otp-fx i:nth-child(1) { width: 62vmax; height: 42vmax; left: -12vmax; top: -6vmax; background: radial-gradient(closest-side, var(--otp-blue), transparent 70%); animation: otp-fx-a 36s ease-in-out infinite; }
body[data-otp-estilo="aurora"] .otp-fx i:nth-child(2) { width: 52vmax; height: 52vmax; right: -16vmax; top: 12vmax; background: radial-gradient(closest-side, var(--otp-card-2), transparent 70%); animation: otp-fx-b 44s ease-in-out infinite; }
body[data-otp-estilo="aurora"] .otp-fx i:nth-child(3) { width: 40vmax; height: 30vmax; left: 24vmax; bottom: -10vmax; opacity: .6; background: radial-gradient(closest-side, var(--otp-gold), transparent 70%); animation: otp-fx-c 31s ease-in-out infinite; }
@keyframes otp-fx-a { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8vmax, 6vmax) rotate(10deg); } }
@keyframes otp-fx-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-9vmax, 5vmax) scale(1.1); } }
@keyframes otp-fx-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6vmax, -8vmax); } }
/* El shell debe ser transparente para que las luces se vean a través: el fondo ya lo pone body.
   Sin z-index: crearía un contexto de apilado y el hero del editor (z 1395 sobre el velo) quedaría atrapado. */
body[data-otp-estilo="aurora"] .otp-shell { position: relative; background: transparent; }

/* Cristal: una receta para cualquier paleta. */
body[data-otp-estilo="aurora"] .otp-book__card,
body[data-otp-estilo="aurora"] .otp-faq__card,
body[data-otp-estilo="aurora"] .otp-loc__card,
body[data-otp-estilo="aurora"] .otp-cursos__card,
body[data-otp-estilo="aurora"] .otp-info-adv,
body[data-otp-estilo="aurora"] .otp-news__card {
  background: color-mix(in srgb, var(--otp-glass-tint) var(--otp-glass-a), transparent);
  border: 1px solid color-mix(in srgb, var(--otp-ink) 16%, transparent);
  border-top-color: color-mix(in srgb, var(--otp-ink) 28%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--otp-bg) 50%, #000 20%);
  color: var(--otp-ink);
}
body[data-otp-estilo="aurora"] .otp-loc__card:hover,
body[data-otp-estilo="aurora"] .otp-cursos__card:hover { background: color-mix(in srgb, var(--otp-glass-tint) calc(var(--otp-glass-a) + 10%), transparent); }
/* .otp-info-adv trae padding de 4px y sin radio (vivía sin caja): como cristal necesita las dos cosas. */
body[data-otp-estilo="aurora"] .otp-info-adv { border-radius: var(--otp-radius); padding: 12px 14px; }
/* Tiles: la foto se queda; la etiqueta pasa a píldora de cristal y hay brillo al pasar. */
body[data-otp-estilo="aurora"] .otp-feat__item { isolation: isolate; }
body[data-otp-estilo="aurora"] .otp-feat__item:not(.otp-feat--marquee):not(.otp-feat--button) .otp-feat__label {
  margin: 0 12px 12px; padding: 7px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; text-shadow: none;
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: inline-flex; flex-direction: column;
}
/* En móvil la píldora tapaba media foto (a 375 px: 49–54 % de un banner y hasta 66 % de una tarjeta vertical, porque el
   texto partía en 2-3 líneas). Pasa a rótulo compacto: letra y aire menores, cristal más ligero, esquina de 12 px (una
   cápsula de dos líneas queda abultada) y el subtítulo en UNA línea. Owner 2026-11-14. Mismo selector que la regla de
   arriba a propósito: con menos especificidad no la pisa. */
@media (max-width: 640px) {
  body[data-otp-estilo="aurora"] .otp-feat__item:not(.otp-feat--marquee):not(.otp-feat--button) .otp-feat__label {
    margin: 0 8px 8px; padding: 5px 10px; max-width: calc(100% - 16px); border-radius: 12px;
    font-size: .72rem; line-height: 1.25; letter-spacing: .01em; text-wrap: balance;
    background: rgba(0,0,0,.26); border-color: rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  body[data-otp-estilo="aurora"] .otp-feat__item:not(.otp-feat--marquee):not(.otp-feat--button) .otp-feat__label--res { gap: 0; }
  body[data-otp-estilo="aurora"] .otp-feat__item:not(.otp-feat--marquee):not(.otp-feat--button) .otp-feat__label--res small {
    font-size: .66rem; font-weight: 400; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  /* Tarjetas pequeñas (3 por fila en el móvil ≈ 100 px de ancho): más ajustado todavía para que el nombre quepa en una línea. */
  body[data-otp-estilo="aurora"] .otp-feat__item:not(.otp-feat--marquee):not(.otp-feat--button):is(.otp-feat--square, .otp-feat--vertical, .otp-feat--medium, .otp-feat--small) .otp-feat__label {
    margin: 0 5px 5px; padding: 3px 7px; max-width: calc(100% - 10px); border-radius: 9px; font-size: .66rem;
  }
}
body[data-otp-estilo="aurora"] .otp-feat__item::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .9s ease;
}
body[data-otp-estilo="aurora"] .otp-feat__item:hover::after { transform: translateX(120%); }
/* Rótulos de sección: punto fijo del acento (NO un anillo: nada gira en una página hecha). */
/* Rótulos de sección = MISMA tipografía que el rótulo del hero (la dirección): fuente de TEXTO, 600, .76rem, versalitas
   espaciadas, color atenuado — como la maqueta (owner 2026-10-09). La fuente de títulos queda para el titular y los posts. */
body[data-otp-estilo="aurora"] .otp-h { justify-content: flex-start; font-family: inherit; font-weight: 600; font-size: .76rem; letter-spacing: .16em; color: var(--otp-muted); }
body[data-otp-estilo="aurora"] .otp-feat__rh { display: flex; align-items: center; gap: 12px; font-family: inherit; font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--otp-muted); }
body[data-otp-estilo="aurora"] .otp-feat__rh::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--otp-blue); flex: none; }
/* Preguntas frecuentes con la fuente de texto, como en la maqueta. */
body[data-otp-estilo="aurora"] .otp-faq__btn { font-family: inherit; }
body[data-otp-estilo="aurora"] .otp-h::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--otp-blue); flex: none; }
body[data-otp-estilo="aurora"] .otp-h__star { display: none; }

/* Cabecera editorial: foto a la derecha con velo; texto a la izquierda. */
body[data-otp-estilo="aurora"] .otp-hero { min-height: clamp(520px, 78vh, 720px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
body[data-otp-estilo="aurora"] .otp-hero__slides::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--otp-bg) 22%, color-mix(in srgb, var(--otp-bg) 55%, transparent) 50%, transparent 78%),
              linear-gradient(180deg, transparent 55%, var(--otp-bg) 100%);
}
body[data-otp-estilo="aurora"] .otp-hero__id, body[data-otp-estilo="aurora"] .otp-hero__foot { display: none; }
/* Aurora es editorial: sin fuente de títulos elegida, Fraunces (la de la maqueta); si el negocio eligió otra,
   se respeta (--otp-font-h solo existe si la eligió). El SSR añade Fraunces al <link> de Google Fonts en ese caso
   (ocloc_tp_google_fonts_href). Vale para el titular y para la palabra en hueco. */
body[data-otp-estilo="aurora"] .otp-hero__word {
  position: absolute; left: 0; right: 0; top: 46%; z-index: 1; transform: translateY(-50%); pointer-events: none; white-space: nowrap; overflow: hidden;
  font-style: italic; font-weight: 300; font-size: clamp(6rem, 22vw, 18rem); line-height: 1; font-family: var(--otp-font-h, 'Fraunces', Georgia, serif); color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--otp-ink) 14%, transparent); letter-spacing: -.03em;
}
/* Dos copias idénticas (el SSR las pinta): cada una se desliza el 100 % de SU ancho → bucle sin costura.
   Duración = 1,2 s por carácter (--otp-word-n lo pone el SSR): ≈ 120 px/s en escritorio, ~35 px/s en móvil;
   misma sensación sea cual sea la lista de servicios (con 70 s fijos, una lista larga corría y una corta se arrastraba). */
body[data-otp-estilo="aurora"] .otp-hero__word span { flex: none; padding-right: .3em; white-space: nowrap; animation: otp-slide calc(var(--otp-word-n, 60) * 1.2s) linear infinite; }
@keyframes otp-slide { to { transform: translateX(-100%); } }
body[data-otp-estilo="aurora"] .otp-hero__ed { position: relative; z-index: 2; grid-column: 1; padding: 72px clamp(16px, 4vw, 48px) 48px; max-width: 46rem; color: var(--otp-ink); }
body[data-otp-estilo="aurora"] .otp-hero__ed-k { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--otp-muted); }
body[data-otp-estilo="aurora"] .otp-hero__ed-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--otp-blue); flex: none; }
body[data-otp-estilo="aurora"] .otp-hero__ed-k:empty { display: none; }
body[data-otp-estilo="aurora"] .otp-hero__ed h1 { margin: 0; font-family: var(--otp-font-h, 'Fraunces', Georgia, serif); font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 3.6vw, 4.8rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; text-shadow: none; }
body[data-otp-estilo="aurora"] .otp-hero__ed h1 em { font-style: italic; font-weight: 600; }
body[data-otp-estilo="aurora"] .otp-hero__ed-line { height: 1px; width: min(100%, 20rem); margin: 24px 0 18px; background: linear-gradient(90deg, var(--otp-blue), transparent); transform-origin: left; animation: otp-draw 1.6s cubic-bezier(.2,.8,.2,1) both .3s; }
@keyframes otp-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body[data-otp-estilo="aurora"] .otp-hero__ed-sub { margin: 0; max-width: 30rem; font-size: 1rem; line-height: 1.6; color: var(--otp-muted); }
body[data-otp-estilo="aurora"] .otp-hero__ed-sub:empty { display: none; }
/* Reseñas: .otp-hero__foot (su sitio en clásico) se oculta en Aurora, así que el SSR repite la píldora aquí.
   La base es cristal BLANCO sobre foto oscura; sobre el fondo de la paleta pasa a tinta/línea del tema. */
body[data-otp-estilo="aurora"] .otp-hero__ed .otp-reviews {
  display: flex; width: fit-content; margin: 18px 0 0; color: var(--otp-ink);
  background: color-mix(in srgb, var(--otp-glass-tint) var(--otp-glass-a), transparent);
  border-color: color-mix(in srgb, var(--otp-ink) 16%, transparent);
}
body[data-otp-estilo="aurora"] .otp-hero__ed .otp-reviews__stars .ocs svg { color: color-mix(in srgb, var(--otp-ink) 28%, transparent); }
body[data-otp-estilo="aurora"] .otp-hero__ed .otp-reviews__stars .ocs.on svg { color: var(--otp-gold); }
body[data-otp-estilo="aurora"] .otp-hero__ed-cta { margin-top: 28px; }
body[data-otp-estilo="aurora"] .otp-hero__ed-cta a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .92rem; color: var(--otp-bg); background: var(--otp-ink); transition: transform .2s, box-shadow .2s;
}
body[data-otp-estilo="aurora"] .otp-hero__ed-cta a:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
body[data-otp-estilo="aurora"] .otp-hero__ed-cta a:focus-visible { outline: 2px solid var(--otp-ink); outline-offset: 3px; }
/* El bloque editorial existe también en clásico (oculto): el editor lo enseña con el atributo. */
.otp-hero__ed, .otp-hero__word { display: none; }
body[data-otp-estilo="aurora"] .otp-hero__ed { display: block; }
body[data-otp-estilo="aurora"] .otp-hero__word { display: flex; }

/* ── Barra superior (la .top de la maqueta) ──────────────────────────────────────────────────────────────
   En clásico es una barra FIJA que aparece al salir el hero. En Aurora es de cristal, pegajosa y SIEMPRE visible
   (.is-visible no cambia nada: ocloc-tenant.js tampoco la observa), y es la cabecera: nombre, redes y cuenta. Por eso
   se oculta .otp-hero__top (la cuenta también vive en la barra: ocloc_tp_acct_slot('topbar')). Sticky y no fixed: se
   queda en el flujo justo antes del hero, así no hay que compensar su alto ni tapa el titular. ── */
body[data-otp-estilo="aurora"] .otp-hero__top { display: none; }
body[data-otp-estilo="aurora"] .otp-topbar {
  position: sticky; top: 0; left: auto; right: auto; transform: none; opacity: 1;
  justify-content: flex-start; gap: 10px; padding: 14px clamp(16px, 4vw, 48px);
  color: var(--otp-ink); background: color-mix(in srgb, var(--otp-bg) 55%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--otp-line); box-shadow: none;
}
body[data-otp-estilo="aurora"] .otp-topbar__sheen, body[data-otp-estilo="aurora"] .otp-topbar::after { display: none; }
/* El sello va siempre en el HTML (el editor cambia de estilo sin recargar): fuera de Aurora no existe. */
body:not([data-otp-estilo="aurora"]) .otp-topbar__mark { display: none; }
/* Con logo: el sello ES el logo recoloreado con la tinta (máscara sobre su silueta), sin marco, y el nombre no se muestra.
   La <img> queda invisible pero en flujo: da el ancho (proporción del logo) sobre el que se pinta la máscara. Doble clase: gana al sello genérico. */
body[data-otp-estilo="aurora"] .otp-topbar__mark.otp-topbar__mark--logo { width: auto; max-width: 180px; padding: 0; border: 0; border-radius: 0; background: var(--otp-ink); -webkit-mask: var(--otp-logo) center / contain no-repeat; mask: var(--otp-logo) center / contain no-repeat; }
body[data-otp-estilo="aurora"] .otp-topbar__mark--logo img { display: block; height: 34px; width: auto; max-width: 180px; opacity: 0; }
body[data-otp-estilo="aurora"] .otp-topbar__name--logo .otp-name__logo { display: none; }
@supports not (mask: url(#x) center / contain no-repeat) {
  body[data-otp-estilo="aurora"] .otp-topbar__mark.otp-topbar__mark--logo { padding: 3px; border-radius: 11px; background: color-mix(in srgb, #fff 88%, var(--otp-bg)); }
  body[data-otp-estilo="aurora"] .otp-topbar__mark--logo img { opacity: 1; height: 28px; }
}
body[data-otp-estilo="aurora"] .otp-topbar__mark {
  position: relative; z-index: 2; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px;
  font: normal 600 .8rem/1 var(--otp-font-b, "Inter", -apple-system, "Segoe UI", system-ui, sans-serif);
  background: color-mix(in srgb, var(--otp-ink) 10%, transparent); border: 1px solid color-mix(in srgb, var(--otp-ink) 18%, transparent);
}
/* display:block (no inline-flex) para que text-overflow recorte un nombre largo con «…»; con logo vuelve a flex para que el sello de verificado no caiga debajo. */
body[data-otp-estilo="aurora"] .otp-topbar__name { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .9rem; color: var(--otp-ink); text-shadow: none; }
body[data-otp-estilo="aurora"] .otp-topbar__name--logo { display: inline-flex; }
body[data-otp-estilo="aurora"] .otp-topbar__name .otp-verified--sm { vertical-align: middle; margin-left: 6px; }
body[data-otp-estilo="aurora"] .otp-topbar__actions { margin-left: auto; flex: none; }
body[data-otp-estilo="aurora"] .otp-topbar .otp-soc,
body[data-otp-estilo="aurora"] .otp-topbar__actions .otp-acct__entrar,
body[data-otp-estilo="aurora"] .otp-topbar__actions .otp-acct__avatar {
  color: var(--otp-ink); background: color-mix(in srgb, var(--otp-ink) 8%, transparent); border: 1px solid color-mix(in srgb, var(--otp-ink) 16%, transparent); box-shadow: none;
}
body[data-otp-estilo="aurora"] .otp-topbar .otp-soc, body[data-otp-estilo="aurora"] .otp-topbar__actions .otp-acct__avatar { width: 34px; height: 34px; }
body[data-otp-estilo="aurora"] .otp-topbar .otp-soc svg { width: 16px; height: 16px; }
body[data-otp-estilo="aurora"] .otp-topbar__actions .otp-acct__entrar:hover { background: color-mix(in srgb, var(--otp-ink) 14%, transparent); }
/* Con una barra siempre encima, un ancla (o el scroll al cambiar de paso del reservador) no debe dejar el título tapado por la barra. */
body[data-otp-estilo="aurora"] #otp-reservar, body[data-otp-estilo="aurora"] #otp-cursos { scroll-margin-top: 78px; }

/* ── Reservar: la .book de la maqueta ────────────────────────────────────────────────────────────────────
   El reservador (ocloc-wizard.css, compartido con el motor: NO se toca aquí) se pinta con tokens --ocloc-* de :root
   —azul de LatePoint, blanco, grises—. Se remapean en la tarjeta a los de la paleta del negocio (la forma es fija,
   el color lo pone la paleta) y se corrige a mano lo que el wizard trae fijo. Todo lleva el prefijo de Aurora: gana a
   ocloc-wizard.css por especificidad, no por orden de carga.
   Texto sobre relleno: el azul de la paleta no sirve de fondo para texto blanco (royal 2,2:1, negro 2,4:1, esmeralda
   1,8:1, café 2,2:1), así que el botón principal es tinta con texto del color del fondo —como la píldora del hero— y
   lo seleccionado es azul suave con borde azul y texto de tinta. ── */
body[data-otp-estilo="aurora"] .otp-book__card,
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-w {
  --ocloc-primary: var(--otp-blue);
  --ocloc-primary-light: color-mix(in srgb, var(--otp-blue) 85%, #000);
  --ocloc-accent: var(--otp-blue);
  --ocloc-accent-light: color-mix(in srgb, var(--otp-blue) 18%, transparent);
  --ocloc-blue: var(--otp-blue);
  --ocloc-blue-light: color-mix(in srgb, var(--otp-blue) 18%, transparent);
  --ocloc-text: var(--otp-ink);
  --ocloc-text-muted: var(--otp-muted);
  --ocloc-surface: transparent;
  --ocloc-surface-alt: color-mix(in srgb, var(--otp-ink) 5%, transparent);
  --ocloc-border: var(--otp-line);
  --ocloc-font: var(--otp-font-b, "Inter", -apple-system, "Segoe UI", system-ui, sans-serif); /* la pila de la página, no `inherit`: dentro de var() el fallback `inherit` no es fiable */
  --ocloc-shadow: none;
  --ocloc-radius: var(--otp-radius-sm, 14px);               /* sigue el eje «forma» */
  --ocloc-radius-sm: calc(var(--otp-radius-sm, 14px) * .6);
  /* Verde (descuento, cupón) y rojo (error) del wizard son oscuros, pensados para fondo blanco: mezclados con la tinta se leen en paletas claras y oscuras. */
  --ocloc-green: color-mix(in srgb, #2e9e5b 60%, var(--otp-ink));
  --ocloc-green-light: color-mix(in srgb, #2e9e5b 16%, transparent);
  --ocloc-error: color-mix(in srgb, #e5484d 60%, var(--otp-ink));
  --ocloc-error-light: color-mix(in srgb, #e5484d 14%, transparent);
  --ocloc-bg-muted: color-mix(in srgb, var(--otp-ink) 8%, transparent); /* el select bloqueado de cumpleaños cae a un gris claro fijo (#f1f5f9) si no se define */
}
body[data-otp-estilo="aurora"] #ocloc-booking-root { padding: 0; scroll-margin-top: 78px; }  /* el relleno lo pone la tarjeta */
body[data-otp-estilo="aurora"] .otp-book__card { padding: clamp(18px, 3vw, 28px); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-w { background: transparent; border: 0; border-radius: 0; box-shadow: none; } /* la tarjeta de cristal ya es el marco */
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-side-panel,
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-summary { background: transparent; } /* el resumen (.sum) es solo la línea a su izquierda */
/* Filas (.row): servicio, especialista y opciones. El fondo sale del token --ocloc-surface a nivel de fila para no pelearse con los estados .selected / :checked. */
body[data-otp-estilo="aurora"] .otp-book__card :is(.ocloc-wiz-item, .ocloc-wiz-agent-card, .ocloc-wiz-extra-opt) { --ocloc-surface: color-mix(in srgb, var(--otp-ink) 5%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card :is(.ocloc-wiz-item, .ocloc-wiz-agent-card) { padding: 12px 14px; }
body[data-otp-estilo="aurora"] .otp-book__card :is(.ocloc-wiz-item, .ocloc-wiz-agent-card):hover { box-shadow: none; }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-item-plus { width: 28px; height: 28px; border-color: color-mix(in srgb, var(--otp-ink) 30%, transparent); }
/* Texto que el wizard pinta con el color primario o con grises fijos (#32373c, #5b6270): sobre cristal va en tinta. */
body[data-otp-estilo="aurora"] .otp-book__card :is(.ocloc-wiz-input, .ocloc-wiz-fieldbox > .ocloc-wiz-input, .ocloc-wiz-phone-trigger, .ocloc-wiz-phone-num, .ocloc-wiz-phone-opt,
  .ocloc-wiz-check, .ocloc-wiz-pref-btn, .ocloc-wiz-acct-title, .ocloc-wiz-legal-box, .ocloc-wiz-cal-nav-btn, .ocloc-wiz-qty-btn,
  .ocloc-wiz-item-price, .ocloc-wiz-booking-code, .ocloc-wiz-btn-secondary, .ocloc-wiz-btn-link, .ocloc-wiz-link, .ocloc-wiz-tab.is-on,
  .ocloc-wiz-authed-head, .ocloc-wiz-balance-applied, .ocloc-wiz-summary-teaser-more) { color: var(--otp-ink); }
/* Botones: píldora, como en la maqueta; el principal es tinta sobre fondo. */
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-btn { border-radius: 999px; }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-btn-primary { background: var(--otp-ink); color: var(--otp-bg); border-color: var(--otp-ink); transition: transform .2s, box-shadow .2s, opacity .2s; }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-btn-primary:hover:not(:disabled) { background: var(--otp-ink); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-btn-secondary.active,
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-pay-mode-btn.active,
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-pref-btn.is-on { background: var(--ocloc-accent-light); border-color: var(--otp-blue); color: var(--otp-ink); box-shadow: none; }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-pay-mode-btn { background: var(--ocloc-surface-alt); color: var(--otp-ink); border-color: var(--otp-line); } /* el gris claro fijo dejaba tinta blanca sobre gris claro en paletas oscuras */
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-pay-mode-btn:hover { background: color-mix(in srgb, var(--otp-ink) 10%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-pay-mode-btn.active { border-color: var(--otp-blue); background: var(--ocloc-accent-light); }
/* Calendario y horas. */
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-cal-day.available { background: color-mix(in srgb, var(--otp-ink) 8%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-cal-day.available:hover { background: var(--ocloc-accent-light); color: var(--otp-ink); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-cal-day.unavailable { background: transparent; color: color-mix(in srgb, var(--otp-ink) 35%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-cal-day.selected { background: var(--ocloc-accent-light) !important; color: var(--otp-ink) !important; box-shadow: inset 0 0 0 2px var(--otp-blue); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-slot-green { background: color-mix(in srgb, #38ac68 16%, transparent); color: var(--otp-ink); border-color: #38ac68; } /* verde = tu especialista libre: se mantiene, solo se aclara el relleno */
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-slot-green:hover { background: #2e9e5b; color: #fff; border-color: #2e9e5b; }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-slot-blue { background: var(--ocloc-accent-light); color: var(--otp-ink); border-color: color-mix(in srgb, var(--otp-blue) 55%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-slot-blue:hover { background: color-mix(in srgb, var(--otp-blue) 32%, transparent); color: var(--otp-ink); border-color: var(--otp-blue); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-slot.selected { background: color-mix(in srgb, var(--otp-blue) 32%, transparent) !important; color: var(--otp-ink) !important; border-color: var(--otp-blue) !important; box-shadow: 0 0 0 2px var(--otp-blue); }
/* Campos: cristal tenue con la línea de la paleta (el wizard los trae blancos). */
body[data-otp-estilo="aurora"] .otp-book__card :is(.ocloc-wiz-input, .ocloc-wiz-fieldbox, .ocloc-wiz-phone, .ocloc-wiz-legal-box, .ocloc-wiz-payment-element) { --ocloc-surface: color-mix(in srgb, var(--otp-ink) 5%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-phone-menu { background: var(--otp-card); box-shadow: 0 18px 40px rgba(0,0,0,.28); } /* el desplegable de países tiene que ser opaco */
body[data-otp-estilo="aurora"] .otp-book__card select.ocloc-wiz-input option { background: var(--otp-card); color: var(--otp-ink); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-check-box { border-color: color-mix(in srgb, var(--otp-ink) 35%, transparent); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-check-box:hover { border-color: var(--otp-blue); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-check-box:checked { background: var(--otp-blue); border-color: var(--otp-blue); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-check-box::after { border-color: var(--otp-bg); }
body[data-otp-estilo="aurora"] .otp-book__card .ocloc-wiz-acct-note { color: var(--ocloc-green); } /* verde fijo #2e7d52: ilegible sobre paletas oscuras */

/* ── Ubicación (.loc): una fila con sello de pin ───────────────────────────────────────────────────────── */
body[data-otp-estilo="aurora"] .otp-loc__card { gap: 14px; padding: clamp(18px, 3vw, 28px); }
body[data-otp-estilo="aurora"] .otp-loc__ic { width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--otp-blue) 22%, transparent); color: var(--otp-blue); }
body[data-otp-estilo="aurora"] .otp-loc__txt { gap: 2px; font-size: .85rem; }
body[data-otp-estilo="aurora"] .otp-loc__txt strong { font-size: 1rem; font-weight: 700; }

/* ── Preguntas frecuentes (.faq .q): filas con línea y «+» en círculo ────────────────────────────────────── */
body[data-otp-estilo="aurora"] .otp-faq__card { padding: clamp(18px, 3vw, 28px); }
body[data-otp-estilo="aurora"] .otp-faq__btn { padding: 14px 0; }
body[data-otp-estilo="aurora"] .otp-faq__btn:hover { background: transparent; }
body[data-otp-estilo="aurora"] .otp-faq__btn:focus-visible { outline-offset: 2px; box-shadow: none; }
body[data-otp-estilo="aurora"] .otp-faq__qt { font-size: .95rem; }
body[data-otp-estilo="aurora"] .otp-faq__ico { box-sizing: border-box; width: 26px; height: 26px; background: transparent; border: 1px solid color-mix(in srgb, var(--otp-ink) 30%, transparent); }
body[data-otp-estilo="aurora"] .otp-faq__ico::before, body[data-otp-estilo="aurora"] .otp-faq__ico::after { background: var(--otp-blue); }
body[data-otp-estilo="aurora"] .otp-faq__a { padding: 2px 0 14px; }

/* ── Posts (.post): portada con su radio, título en serif ───────────────────────────────────────────────── */
body[data-otp-estilo="aurora"] .otp-news__title { font-family: var(--otp-font-h, 'Fraunces', Georgia, serif); font-weight: 600; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.01em; }
body[data-otp-estilo="aurora"] .otp-news__excerpt { color: var(--otp-muted); line-height: 1.5; }
body[data-otp-estilo="aurora"] .otp-news__grid--list .otp-news__card { align-items: center; gap: 14px; padding: clamp(14px, 2.4vw, 22px); }
body[data-otp-estilo="aurora"] .otp-news__grid--list .otp-news__cover { width: 40%; max-width: 220px; min-height: 0; aspect-ratio: 4 / 3; align-self: auto; border-radius: var(--otp-radius-sm, 14px); }
body[data-otp-estilo="aurora"] .otp-news__grid--list .otp-news__body { padding: 0; }

@media (max-width: 760px) {
  body[data-otp-estilo="aurora"] .otp-hero { grid-template-columns: 1fr; min-height: 0; }
  body[data-otp-estilo="aurora"] .otp-hero__slides { position: relative; height: 52vw; min-height: 280px; }
  body[data-otp-estilo="aurora"] .otp-hero__slides::after { background: linear-gradient(180deg, transparent 40%, var(--otp-bg) 100%); }
  /* Pines y puntos se calculan contra la caja del hero; aquí la foto es más baja que el hero (el texto va debajo). */
  body[data-otp-estilo="aurora"] .otp-hero__pins { bottom: auto; height: max(52vw, 280px); }
  body[data-otp-estilo="aurora"] .otp-hero__dots { bottom: auto; top: calc(max(52vw, 280px) - 21px); } /* 14px sobre el borde de la foto + 7px del punto, como en clásico */
  body[data-otp-estilo="aurora"] .otp-hero__word { top: 34%; }
  body[data-otp-estilo="aurora"] .otp-hero__ed { padding-top: 8px; margin-top: -24px; }
}
@media (max-width: 560px) {
  /* Como la maqueta en móvil: la portada pasa encima del texto, a todo el ancho. */
  body[data-otp-estilo="aurora"] .otp-news__grid--list .otp-news__card { flex-direction: column; align-items: stretch; }
  body[data-otp-estilo="aurora"] .otp-news__grid--list .otp-news__cover { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-otp-estilo="aurora"] .otp-fx i, body[data-otp-estilo="aurora"] .otp-hero__word span, body[data-otp-estilo="aurora"] .otp-hero__ed-line { animation: none; }
  body[data-otp-estilo="aurora"] .otp-feat__item::after { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  body[data-otp-estilo="aurora"] .otp-book__card, body[data-otp-estilo="aurora"] .otp-faq__card, body[data-otp-estilo="aurora"] .otp-loc__card,
  body[data-otp-estilo="aurora"] .otp-cursos__card, body[data-otp-estilo="aurora"] .otp-info-adv,
  body[data-otp-estilo="aurora"] .otp-loc__card:hover, body[data-otp-estilo="aurora"] .otp-cursos__card:hover,
  body[data-otp-estilo="aurora"] .otp-news__card { background: var(--otp-card); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body[data-otp-estilo="aurora"] .otp-topbar { background: var(--otp-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Navegador sin color-mix: cristal opaco (legible), luces apagadas. */
@supports not (color: color-mix(in srgb, red, blue)) {
  body[data-otp-estilo="aurora"] .otp-book__card, body[data-otp-estilo="aurora"] .otp-faq__card, body[data-otp-estilo="aurora"] .otp-loc__card,
  body[data-otp-estilo="aurora"] .otp-cursos__card, body[data-otp-estilo="aurora"] .otp-info-adv,
  body[data-otp-estilo="aurora"] .otp-news__card { background: var(--otp-card); border-color: var(--otp-line); box-shadow: none; }
  body[data-otp-estilo="aurora"] .otp-fx { display: none; }
  body[data-otp-estilo="aurora"] .otp-topbar { background: var(--otp-bg); }
  body[data-otp-estilo="aurora"] .otp-topbar__mark, body[data-otp-estilo="aurora"] .otp-topbar .otp-soc { background: var(--otp-card); border-color: var(--otp-line); }
  body[data-otp-estilo="aurora"] .otp-hero__slides::after { background: linear-gradient(90deg, var(--otp-bg) 22%, transparent 78%); }
}

/* ── Portada con scroll (.otp-sh, owner 2026-11-10) ─────────────────────────────────────────────────────────────
   Para campañas con un vídeo corto: la portada se queda fija y sus fotogramas avanzan al desplazarse (los pinta
   initScrollHero en el <canvas>; el texto es HTML y cambia por tiempos). APAGADA salvo option del negocio.
   Estado base = portada FIJA normal con la primera imagen, el primer texto y el botón: es lo que ve quien no
   tiene JS, quien pide «reducir movimiento», quien va con ahorro de datos y quien está editando la página.
   El recorrido solo existe con `.is-live`, que pone el JS cuando ya tiene fotogramas que enseñar. */
.otp-sh { position: relative; --otp-sh-bg: #14284a; --otp-sh-accent: #ffffff; }
.otp-hero--sh { background: var(--otp-sh-bg); }
.otp-hero--sh .otp-hero__foot { display: none; } /* reseñas y lema: el sitio lo ocupa el texto de la campaña */
.otp-sh__img, .otp-sh__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.otp-sh__img { object-fit: cover; }
.otp-hero--sh::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%; background: linear-gradient(180deg, rgba(8,18,36,0), rgba(8,18,36,.74)); z-index: 1; pointer-events: none; }
.otp-sh__copy { position: absolute; z-index: 5; right: clamp(20px, 5vw, 72px); bottom: clamp(30px, 6vh, 64px); width: min(460px, 78vw); display: flex; flex-direction: column; align-items: flex-end; text-align: right; color: #fff; }
.otp-sh__beats { display: grid; width: 100%; }
.otp-sh__beat { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.otp-sh__beat.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.otp-sh__k { margin: 0 0 8px; font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--otp-sh-accent); }
.otp-sh__t { margin: 0; padding-bottom: .08em; font-family: var(--otp-font-h, inherit); font-size: clamp(28px, 3.4vw, 52px); font-weight: 800; line-height: 1.04; color: var(--otp-sh-accent); }
@supports (background: color-mix(in srgb, red, blue)) and ((-webkit-background-clip: text) or (background-clip: text)) {
  .otp-sh__t { background: linear-gradient(180deg, color-mix(in srgb, var(--otp-sh-accent) 72%, #fff) 0%, var(--otp-sh-accent) 46%, color-mix(in srgb, var(--otp-sh-accent) 76%, #000) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.otp-sh__s { margin: 8px 0 0; font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; line-height: 1.4; color: #eaf1fb; }
/* dos clases (0,2,0): con una sola, `.otp a { color: inherit }` (0,1,1) le quita el color al texto del botón */
.otp-sh .otp-sh__cta { display: inline-block; margin-top: 16px; padding: 14px 24px; border-radius: 99px; background: var(--otp-sh-accent); color: var(--otp-sh-bg); font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; transition: opacity .3s ease; }
.otp-sh__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.otp-sh .otp-sh__cta--2 { margin-left: 8px; background: transparent; color: var(--otp-sh-accent); box-shadow: inset 0 0 0 2px var(--otp-sh-accent); }
.otp-sh__note { position: absolute; left: 14px; bottom: 12px; z-index: 5; margin: 0; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.72); }
.otp-sh__hint, .otp-sh__bar { display: none; }

/* Recorrido encendido. `body:not(.otp-editing)`: al personalizar la página vuelve la portada fija, sin tramo de
   scroll que recorrer para llegar a las secciones. El número = px de scroll que dura la animación (owner 10-nov:
   se probó a la mitad, 1200/1000, y pidió volver a la velocidad de antes: 2400/2000). */
body:not(.otp-editing) .otp-sh.is-live { height: calc(100vh + 2400px); }
body:not(.otp-editing) .otp-sh.is-live .otp-hero--sh { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
body:not(.otp-editing) .otp-sh.is-live .otp-sh__cta { opacity: 0; pointer-events: none; }
body:not(.otp-editing) .otp-sh.is-live.is-end .otp-sh__cta { opacity: 1; pointer-events: auto; }
body:not(.otp-editing) .otp-sh.is-live .otp-sh__bar { display: block; position: absolute; left: 0; bottom: 0; z-index: 6; width: 0; height: 3px; background: var(--otp-sh-accent); }
body:not(.otp-editing) .otp-sh.is-live .otp-sh__hint { display: block; position: absolute; left: 50%; bottom: 16px; z-index: 6; margin: 0; transform: translateX(-50%); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: opacity .3s ease; }
body:not(.otp-editing) .otp-sh.is-live.is-moved .otp-sh__hint { opacity: 0; }
@media (max-width: 760px) {
  .otp-sh__t { font-size: 34px; }
  /* Móvil: la imagen arriba (hasta 2:3) y el texto en un panel debajo; un 16:9 a pantalla completa en vertical solo
     enseñaría una franja estrecha. El panel se queda con al menos 240 px. */
  body:not(.otp-editing) .otp-sh.is-live { height: calc(100svh + 2000px); --otp-sh-v: min(150vw, calc(100svh - 240px)); }
  body:not(.otp-editing) .otp-sh.is-live .otp-hero__slides { bottom: auto; height: var(--otp-sh-v); }
  body:not(.otp-editing) .otp-sh.is-live .otp-hero--sh::after { display: none; }
  body:not(.otp-editing) .otp-sh.is-live .otp-sh__copy { left: 22px; right: 22px; bottom: auto; top: calc(var(--otp-sh-v) + 20px); width: auto; align-items: flex-start; text-align: left; }
  body:not(.otp-editing) .otp-sh.is-live .otp-sh__beat { align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .otp-sh__beat { transition: none; } }

/* ── Portada con scroll en Aurora (2026-11-14) ────────────────────────────────────────────────────────────────
   La campaña ocupa el sitio de la cabecera editorial: texto a la izquierda sobre el velo y la secuencia a la
   derecha. El velo y el panel van en el color de la campaña (--otp-sh-bg), no en el de la página: la portada es
   un bloque propio que se despide al acabar el recorrido. En móvil, imagen arriba y texto debajo, como en clásico. */
body[data-otp-estilo="aurora"] .otp-hero--sh .otp-hero__ed,
body[data-otp-estilo="aurora"] .otp-hero--sh .otp-hero__word { display: none; }
body[data-otp-estilo="aurora"] .otp-hero--sh::after { display: none; }
body[data-otp-estilo="aurora"] .otp-hero--sh .otp-hero__slides::after {
  background: linear-gradient(90deg, var(--otp-sh-bg) 22%, color-mix(in srgb, var(--otp-sh-bg) 55%, transparent) 50%, transparent 78%),
              linear-gradient(180deg, transparent 55%, var(--otp-sh-bg) 100%);
}
body[data-otp-estilo="aurora"] .otp-sh__copy { position: relative; right: auto; bottom: auto; grid-column: 1; width: auto; max-width: 46rem; padding: 72px clamp(16px, 4vw, 48px) 64px; align-items: flex-start; text-align: left; }
body[data-otp-estilo="aurora"] .otp-sh__k { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .76rem; letter-spacing: .16em; }
body[data-otp-estilo="aurora"] .otp-sh__k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--otp-sh-accent); flex: none; }
body[data-otp-estilo="aurora"] .otp-sh__t { font-family: var(--otp-font-h, 'Fraunces', Georgia, serif); font-style: italic; font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 3.6vw, 4.8rem); line-height: 1.04; letter-spacing: -.025em; padding-right: .08em; }
body[data-otp-estilo="aurora"] .otp-sh__s { margin-top: 18px; max-width: 30rem; font-size: 1rem; font-weight: 400; line-height: 1.6; color: color-mix(in srgb, #fff 84%, var(--otp-sh-bg)); }
body[data-otp-estilo="aurora"] .otp-sh .otp-sh__cta { display: inline-flex; align-items: center; min-height: 46px; margin-top: 28px; padding: 11px 22px; font-size: .92rem; font-weight: 600; }
/* En Aurora la barra superior es fija y ocupa sitio: la portada se pega DEBAJO de ella y mide lo que queda de
   pantalla; si no, sus últimos píxeles (el botón y «Desliza») caen fuera de la primera pantalla. Y el botón está
   desde el primer tiempo, como en la cabecera editorial a la que sustituye (en clásico sale al final).
   ponytail: 63px = alto de la barra de Aurora (14 + 34 + 14 + 1 de borde); si la barra cambia de alto, medirla
   en initScrollHero y escribir aquí la variable. */
body[data-otp-estilo="aurora"] .otp-sh { --otp-sh-top: 63px; }
body[data-otp-estilo="aurora"]:not(.otp-editing) .otp-sh.is-live .otp-hero--sh { top: var(--otp-sh-top); height: calc(100vh - var(--otp-sh-top)); height: calc(100svh - var(--otp-sh-top)); }
body[data-otp-estilo="aurora"]:not(.otp-editing) .otp-sh.is-live .otp-sh__cta { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) {
  body[data-otp-estilo="aurora"] .otp-hero--sh { align-content: start; }
  body[data-otp-estilo="aurora"] .otp-hero--sh .otp-hero__slides::after { background: linear-gradient(180deg, transparent 62%, var(--otp-sh-bg) 100%); }
  body[data-otp-estilo="aurora"] .otp-sh__copy { padding: 6px 22px 34px; }
  body[data-otp-estilo="aurora"] .otp-sh__t { font-size: 2.3rem; }
  /* recorrido encendido: la secuencia deja sitio debajo para el texto Y el botón (290 px), y el texto va en el flujo */
  body[data-otp-estilo="aurora"]:not(.otp-editing) .otp-sh.is-live { --otp-sh-v: min(150vw, calc(100svh - var(--otp-sh-top) - 290px)); }
  body[data-otp-estilo="aurora"]:not(.otp-editing) .otp-sh.is-live .otp-hero__slides { position: relative; height: var(--otp-sh-v); min-height: 0; }
  body[data-otp-estilo="aurora"]:not(.otp-editing) .otp-sh.is-live .otp-sh__copy { top: auto; left: auto; right: auto; padding: 10px 22px 0; }
  /* el aviso sube a la esquina de la imagen: abajo a la izquierda lo pisaría el botón del último tiempo */
  body[data-otp-estilo="aurora"]:not(.otp-editing) .otp-sh.is-live .otp-sh__note { left: auto; right: 14px; bottom: auto; top: calc(var(--otp-sh-v) - 24px); }
}

/* ── Destacados animados (.otp-feat__mv, owner 2026-11-14) ─────────────────────────────────────────────────────
   La animación (un <video> o un <canvas>, la pone initFeatAnim) va DENTRO de .otp-feat__bg: hereda su encuadre y
   tapa la foto solo cuando ya tiene algo que enseñar. Sin JS, con «reducir movimiento» o editando no existe. */
.otp-feat__mv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.otp-feat__mv.is-on { opacity: 1; }
