/* Visagebox en modo claro: papel tibio de fondo, el rostro de cristal al centro con anillos y frases alrededor,
   tinta casi negra para las acciones principales y ámbar sólo para marcar lo activo. */

:root {
  --bg: #f6f6f3;
  --bg-2: #f6f6f3;
  --slate: #ecebe6;
  --stone: #e7e4de;
  --paper: #ffffff;
  --ink: #15171c;
  --ink-muted: #5f6470;
  --azul: #7d9cd6;         /* resplandor frío detrás del rostro de cristal */
  --ink-dark: #0d1117;
  --amber: #f4b854;
  --amber-ink: #211201;
  --vitrina: #efeeea;      /* fondo de tarjeta: el gris tibio de las fichas de la tienda */
  --vitrina-2: #f6f5f1;

  --line-dark: rgba(21, 23, 28, 0.1);
  --line-light: rgba(13, 17, 23, 0.11);

  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Ancho generoso que ocupa bien pantallas grandes (1440px–1920px+) */
  --rail-max: 1560px;
  color-scheme: light;
  --gutter: clamp(20px, 3.6vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ol { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.rail {
  width: min(100%, var(--rail-max));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}


/* ==================== BARRA FLOTANTE BLANCA (HIRAEL) ==================== */
.nav-wrap {
  position: fixed;
  inset: calc(14px + env(safe-area-inset-top, 0px)) 0 auto;
  z-index: 40;
  padding-inline: clamp(14px, 3vw, 44px);
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(100%, var(--rail-max));
  margin: 0 auto;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink-dark);
  box-shadow: 0 10px 34px -16px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(13, 17, 23, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-izq { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-der { display: flex; align-items: center; gap: 22px; }

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.marca-circulo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink-dark);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.marca-circulo svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}
.marca-chica { width: 32px; height: 32px; }
.marca-chica svg { width: 18px; height: 18px; }
.marca-nombre { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-dark); transition: color 0.25s; }
.nav-links a:hover { color: rgba(13, 17, 23, 0.48); }

.nav-estado { font-size: 13.5px; color: rgba(13, 17, 23, 0.52); font-weight: 400; }

/* ==================== BOTONES HIRAEL (ROLL-UP + FLECHA -45deg) ==================== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.cta:active { transform: scale(0.98); }

.cta-nav { height: 40px; padding: 0 6px 0 20px; font-size: 14px; gap: 12px; }

.cta-ambar { background: var(--amber); color: var(--amber-ink); }
.cta-oscuro { background: var(--ink-dark); color: #ffffff; }

.cta-texto {
  display: inline-flex;
  flex-direction: column;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
}
.cta-texto span {
  display: block;
  transition: transform 0.48s var(--ease);
}
.cta:hover .cta-texto span { transform: translateY(-100%); }

.cta-icono {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cta-nav .cta-icono { width: 28px; height: 28px; }
.cta-ambar .cta-icono { background: var(--ink-dark); color: var(--amber); }
.cta-oscuro .cta-icono { background: #ffffff; color: var(--ink-dark); }

.cta-icono svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.cta:hover .cta-icono svg { transform: rotate(-45deg); }

/* ==================== 1. HERO FULL-BLEED ==================== */
.hero {
  background: var(--bg);
  padding: clamp(96px, 11vh, 128px) 0 clamp(40px, 6vh, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.hero-eyebrow {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.hero-h1 {
  font-weight: 500;
  font-size: clamp(42px, 4.7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--ink);
}
.mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.mask-in {
  display: block;
  transform: translateY(108%);
  animation: subir 0.9s var(--ease-out) forwards;
}
.mask:nth-child(2) .mask-in { animation-delay: 0.08s; }
.mask:nth-child(3) .mask-in { animation-delay: 0.16s; }
@keyframes subir { to { transform: translateY(0); } }

.hero-bajada {
  margin-top: 26px;
  max-width: 36rem;
  font-size: clamp(16.5px, 1.2vw, 19px);
  line-height: 1.62;
  color: var(--ink-muted);
}

.hero-acciones {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}

.hero-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-dark);
  transition: border-color 0.25s, color 0.25s;
}
.hero-link:hover { border-bottom-color: var(--amber); color: var(--amber); }

/* Cara 3D libre sobre el fondo, sin caja ni bordes artificiales */
.hero-cara {
  display: grid;
  gap: 12px;
}
.cara-escenario {
  position: relative;
  height: min(70svh, 720px);
  min-height: 420px;
  display: grid;
  place-items: center;
}
#cara {
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
}
#cara:active { cursor: grabbing; }

.hero-respaldo {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 40px;
}
.hero-respaldo img {
  max-height: 62%;
  object-fit: contain;
  padding: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--vitrina-2), var(--vitrina) 70%, transparent 71%);
}

.cara-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.cara-meta { display: grid; gap: 2px; }
.cara-meta strong { font-weight: 500; font-size: 18px; color: var(--ink); }
.cara-meta span { font-size: 14px; color: var(--ink-muted); }

.cara-controles { display: flex; align-items: center; gap: 22px; }
.cara-pista { font-size: 13.5px; color: var(--ink-muted); transition: opacity 0.35s; }
.cara-pista.ocultada { opacity: 0; }
.cara-flechas { display: flex; align-items: center; gap: 10px; }
.cara-cuenta { font-size: 14px; color: var(--ink-muted); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.cara-cuenta b { color: var(--ink); font-weight: 500; }

.flecha-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.flecha-btn:hover { border-color: var(--amber); background: rgba(244, 184, 84, 0.08); }
.flecha-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Selector de estilos del rostro (versión de comparación) */
.selector-estilos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-dark);
}
.selector-titulo { font-size: 13px; color: var(--ink-muted); padding: 0 8px 0 10px; }
.selector-estilos button {
  border: 0;
  border-radius: 999px;
  padding: 7px 13px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.selector-estilos button b { font-weight: 600; margin-right: 2px; }
.selector-estilos button:hover { color: var(--ink); }
.selector-estilos button[aria-checked="true"] { background: var(--amber); color: var(--amber-ink); }

/* ==================== BANDAS ==================== */
.banda { padding-block: clamp(80px, 9vw, 132px); }
.banda-oscura { background: var(--bg-2); border-top: 1px solid var(--line-dark); }
.banda-pizarra { background: var(--slate); }
.banda-vitrina { background: var(--paper); color: var(--ink-dark); }

.h2-grande {
  max-width: 20ch;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink);
}
.banda-vitrina .h2-grande { color: var(--ink-dark); }

.seccion-cabeza {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
}
.seccion-bajada {
  max-width: 44ch;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.62;
  color: rgba(13, 17, 23, 0.66);
}

/* ==================== 2. VITRINA DE MODELOS ==================== */
.vitrina {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(12px, 1.4vw, 20px);
}
.tarjeta { min-width: 0; display: grid; }
.tarjeta-grande { grid-column: span 2; grid-row: span 2; }

.tarjeta-cuerpo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 0 0 4px;
  color: var(--ink-dark);
}
.tarjeta-foto {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 8 / 5;
  width: 100%;
  border-radius: 20px;
  background: var(--vitrina);
  overflow: hidden;
  transition: background 0.3s var(--ease);
}
.tarjeta-grande .tarjeta-foto { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; border-radius: 24px; }
.tarjeta-foto img {
  width: 92%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}
.tarjeta-grande .tarjeta-foto img { width: 88%; }
.tarjeta-texto { display: grid; gap: 2px; padding-inline: 4px; }
.tarjeta-texto strong { font-weight: 500; font-size: clamp(16px, 1.2vw, 18px); letter-spacing: -0.01em; }
.tarjeta-texto span { font-size: 14px; color: rgba(13, 17, 23, 0.58); }
.tarjeta-grande .tarjeta-texto strong { font-size: clamp(19px, 1.6vw, 24px); }


/* ==================== 3. LA EXPERIENCIA ==================== */
.exp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.exp-puntos { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; }
.exp-puntos li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.exp-puntos li:last-child { border-bottom: 1px solid var(--line-dark); }
.exp-puntos h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.exp-puntos p { margin-top: 6px; max-width: 46ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); }

.exp-fotos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
}
.selfie { margin: 0; }
.selfie img {
  width: 100%;
  height: auto;
  max-width: 576px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.selfie-b { margin-top: clamp(40px, 7vw, 96px); }


/* ==================== 4. CÓMO FUNCIONA ==================== */
.pasos-fila {
  list-style: none;
  padding: 0;
  margin: clamp(44px, 5vw, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.pasos-fila li { padding-top: 22px; border-top: 1px solid var(--line-dark); }
.paso-n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pasos-fila h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.pasos-fila p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); max-width: 38ch; }

/* ==================== PIE ==================== */
.pie {
  background: var(--stone);
  color: var(--ink-dark);
  padding: clamp(80px, 8vw, 112px) 0 40px;
}
.pie-cta-fila {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(56px, 6vw, 84px);
  border-bottom: 1px solid var(--line-light);
}
.pie-h2 {
  max-width: 15ch;
  font-weight: 500;
  font-size: clamp(36px, 4.8vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
  color: var(--ink-dark);
}
/* Las dos salidas del cierre, del mismo alto y lado a lado: la tienda (principal) y WhatsApp. */
.pie-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pie-wa { gap: 10px; padding-left: 16px; background: #fff; border-color: rgba(21, 23, 28, 0.12); }
.pie-wa svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.pie-directorio {
  padding: clamp(44px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.pie-brand .marca { margin-bottom: 14px; }
.pie-brand p { max-width: 32ch; font-size: 14.5px; line-height: 1.6; color: rgba(13, 17, 23, 0.65); }
.pie-col { display: grid; gap: 11px; align-content: start; }
.pie-col a { text-decoration: none; font-size: 14.5px; color: rgba(13, 17, 23, 0.7); transition: color 0.2s; }
.pie-col a:hover { color: var(--ink-dark); }
.pie-watermark {
  padding: clamp(32px, 4vw, 52px) 0 clamp(40px, 5vw, 68px);
  font-weight: 500;
  font-size: clamp(64px, 16.4vw, 250px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: rgba(13, 17, 23, 0.065);
  user-select: none;
  overflow: hidden;
}
.pie-legal { font-size: 13px; color: rgba(13, 17, 23, 0.5); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .nav-estado { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-cara { order: -1; }
  .cara-escenario { height: min(56svh, 520px); min-height: 320px; }
  .seccion-cabeza { grid-template-columns: minmax(0, 1fr); }
  .vitrina { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarjeta-grande { grid-row: auto; }
  .tarjeta-grande .tarjeta-foto { aspect-ratio: 8 / 5; flex: none; min-height: 0; }
  .exp-grid { grid-template-columns: minmax(0, 1fr); }
  .pie-cta-fila { flex-direction: column; align-items: flex-start; }

}

@media (max-width: 740px) {
  .nav-links { display: none; }
  .cara-pista { display: none; }
  .hero { padding-top: 84px; }
  .cara-escenario { height: min(52svh, 460px); min-height: 300px; margin-inline: calc(-1 * var(--gutter)); }
  .cara-pie { align-items: flex-start; }
  .cara-meta strong { font-size: 16px; }
  .vitrina { gap: 18px 10px; }
  .tarjeta-foto { border-radius: 16px; }
  .tarjeta-texto strong { font-size: 15px; }
  .tarjeta-texto span { font-size: 13px; }
  .pasos-fila { grid-template-columns: minmax(0, 1fr); }
  .pie-directorio { grid-template-columns: minmax(0, 1fr); }
}

/* ==================== MODO CLARO: AJUSTES ==================== */
.nav-pill { box-shadow: 0 10px 30px -18px rgba(21, 23, 28, 0.35), 0 0 0 1px rgba(21, 23, 28, 0.07); }
.banda-oscura { border-top: 1px solid var(--line-dark); }
.banda-vitrina { border-top: 1px solid var(--line-dark); }
.selfie img { box-shadow: 0 30px 60px -34px rgba(21, 23, 28, 0.45); }

/* ==================== HERO CENTRADO ==================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(56px, 9vh, 96px) 0 clamp(40px, 6vh, 72px);
}
.hero-centro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .hero-h1 {
  max-width: 18ch;
  font-size: clamp(36px, 4.3vw, 64px);
  line-height: 1.04;
  text-wrap: balance;
}
.hero .hero-bajada {
  margin-top: 22px;
  max-width: 40rem;
  color: var(--ink-muted);
}
.hero .hero-acciones { margin-top: 30px; justify-content: center; gap: 12px; }
.cta-borde {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s;
}
.cta-borde:hover { border-color: rgba(21, 23, 28, 0.35); }

/* Escena: el rostro al centro, anillos concéntricos y frases flotando alrededor */
.hero-escena {
  position: relative;
  width: 100%;
  margin-top: clamp(-8px, -1vh, 0px);
  display: grid;
  justify-items: center;
}
.anillos { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
.anillos i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--r);
  height: var(--r);
  border-radius: 50%;
  border: 1px solid rgba(21, 23, 28, 0.075);
  transform: translate(-50%, -50%);
}
.anillos i:nth-child(1) { --r: 440px; }
.anillos i:nth-child(2) { --r: 720px; border-color: rgba(21, 23, 28, 0.065); }
.anillos i:nth-child(3) { --r: 1000px; border-color: rgba(21, 23, 28, 0.055); }
.anillos i:nth-child(4) { --r: 1300px; border-color: rgba(21, 23, 28, 0.045); }
/* Un tramo de anillo en azul, como un barrido de escaneo detenido */
.anillos i:nth-child(2)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-left-color: var(--azul);
  transform: rotate(18deg);
  opacity: 0.7;
}
.anillos i:nth-child(3)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-right-color: var(--azul);
  transform: rotate(-24deg);
  opacity: 0.5;
}
.resplandor {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(560px, 80vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(125, 156, 214, 0.28), rgba(125, 156, 214, 0.08) 60%, transparent);
  filter: blur(8px);
  pointer-events: none;
}

.hero .cara-escenario {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  height: clamp(400px, 54vh, 580px);
  min-height: 0;
  margin: 0;
}

.hero-frases, .hero-modelos { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-frases li, .modelo-orbita {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  animation: flotar 9s ease-in-out var(--d, 0s) infinite;
}
@keyframes flotar {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.hero-frases li {
  /* Sin esto, cerca del borde derecho la caja se angosta al espacio que le queda y el texto se sale. */
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px -16px rgba(21, 23, 28, 0.28), 0 0 0 1px rgba(21, 23, 28, 0.06);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.hero-frases svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: #eef2fa;
  fill: none;
  stroke: #4f6fae;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.modelo-orbita { pointer-events: auto; }
.modelo-orbita button {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 12px 28px -14px rgba(21, 23, 28, 0.32), 0 0 0 1px rgba(21, 23, 28, 0.06);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.modelo-orbita img { width: 54px; height: auto; }
.modelo-orbita button:hover { transform: scale(1.08); }
.modelo-orbita.puesta button { box-shadow: 0 12px 28px -14px rgba(21, 23, 28, 0.32), 0 0 0 2px var(--ink); }

.hero .cara-pie {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px -18px rgba(21, 23, 28, 0.35), 0 0 0 1px rgba(21, 23, 28, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero .cara-meta { text-align: center; min-width: 15rem; }
.hero .cara-meta strong { font-size: 16px; color: var(--ink); }
.hero .cara-meta > span { font-size: 13px; color: var(--ink-muted); }
.hero .cara-meta b { font-weight: 600; color: var(--ink); }
.hero .cara-pista { display: none; }
.hero .flecha-btn { background: var(--bg); border-color: transparent; }
.hero .flecha-btn:hover { background: var(--slate); border-color: transparent; }

.hero-respaldo img { background: radial-gradient(closest-side, #fff, var(--vitrina) 70%, transparent 71%); }

@media (max-width: 1080px) {
  .hero-frases li:nth-child(n) { font-size: 13px; }
  .hero-frases li:nth-child(1) { --x: 13%; }
  .hero-frases li:nth-child(3) { --x: 87%; }
}

/* En pantallas angostas las frases se van y los modelos pasan a una fila bajo el rostro */
@media (max-width: 900px) {
  .hero-frases { display: none; }
  .hero-modelos {
    position: static;
    order: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    pointer-events: auto;
  }
  .modelo-orbita { position: static; transform: none; animation: none; }
  .modelo-orbita button { width: 58px; height: 58px; }
  .modelo-orbita img { width: 44px; }
  .anillos i:nth-child(1) { --r: 320px; }
  .anillos i:nth-child(2) { --r: 520px; }
  .anillos i:nth-child(3) { --r: 720px; }
  .anillos i:nth-child(4) { display: none; }
  .hero .cara-escenario { height: clamp(320px, 50svh, 460px); }
}
/* Celular: el título da el contexto, el rostro queda en la primera pantalla y la bajada con los
   botones vienen después, cuando ya se entendió qué es. */
@media (max-width: 740px) {
  .hero { padding-top: 40px; }
  .hero .hero-h1 { order: 0; max-width: 13ch; font-size: clamp(32px, 9vw, 40px); line-height: 1.06; }
  .hero-escena { order: 1; margin-top: 4px; }
  .hero .hero-bajada { order: 2; margin-top: 28px; font-size: 16px; }
  .hero .hero-acciones { order: 3; margin-top: 22px; flex-wrap: nowrap; gap: 8px; }
  .hero .hero-acciones .cta { height: 46px; padding-left: 18px; gap: 10px; font-size: 14px; }
  .hero .hero-acciones .cta-borde { height: 46px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
  .hero .cara-escenario { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); height: clamp(330px, 46svh, 420px); }
  .hero .cara-meta { min-width: 0; }
  .hero .cara-pie { gap: 10px; }
  .hero-modelos { margin-top: 14px; }
  /* La fila de modelos ya marca cuál está puesto. */
  .hero .cara-orden { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frases li, .modelo-orbita { animation: none; }
}

@media (max-width: 560px) {
  .pie-acciones { flex-direction: column; align-items: stretch; width: 100%; }
  .pie-acciones .cta, .pie-acciones .pie-wa { justify-content: center; }
  .pie-acciones .cta { padding-left: 24px; }
}

/* ==================== ANILLOS DE GUIONES ==================== */
/* El 3D cubre todo el hero: los anillos de guiones están detrás del texto y la cara se encuadra en el escenario. */
.hero #cara {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero-centro { position: relative; z-index: 1; pointer-events: none; }
.hero-centro a, .hero-centro button, .hero-centro .hero-respaldo { pointer-events: auto; }
.hero .resplandor { z-index: 0; }
.hero .resplandor { display: none; }
