/* =====================================================================
   HERO: titular centrado con el verbo rotativo
   ===================================================================== */
.hero { padding-bottom: clamp(20px, 3vw, 40px); }
.hero-center { display: grid; justify-items: center; text-align: center; gap: 22px; max-width: 1020px; margin-inline: auto; }
.hero-title2 { font-size: clamp(40px, 7.2vw, 104px); line-height: 1.06; letter-spacing: -.045em; font-weight: 700; font-variation-settings: "opsz" 96; text-wrap: balance; }
.hero-title2 .w { display: inline-block; animation: word-in .9s var(--ease) both; animation-delay: calc(.12s + var(--i) * .06s); }
@keyframes word-in { from { opacity: 0; transform: translateY(.35em); filter: blur(10px); } }
.hl {
  --hl-bg: color-mix(in srgb, var(--blue) 16%, var(--surface)); --hl-fg: var(--blue-ink);
  display: inline-flex; align-items: center; padding: 0 .16em .05em; margin: 0 .03em; border-radius: .22em; vertical-align: baseline;
  background: var(--hl-bg); color: var(--hl-fg); transform: rotate(-2.2deg);
  box-shadow: 0 .07em 0 color-mix(in srgb, var(--hl-fg) 30%, transparent);
  transition: background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s;
  animation: hl-in 1.1s var(--spring) both; animation-delay: calc(.25s + var(--i) * .06s);
}
@keyframes hl-in { from { opacity: 0; transform: rotate(-14deg) scale(.5); } }
.hl[data-tone="sol"] { --hl-bg: color-mix(in srgb, var(--sol) 22%, var(--surface)); --hl-fg: var(--sol-ink); }
.hl[data-tone="under"] { --hl-bg: color-mix(in srgb, var(--under) 18%, var(--surface)); --hl-fg: var(--under-ink); }
.hl-mint { --hl-bg: color-mix(in srgb, var(--mint) 22%, var(--surface)); --hl-fg: var(--mint-ink); transform: rotate(2.4deg); }
.hl .rot { overflow: hidden; padding-block: .05em; transition: width .65s var(--ease); }
.hl .rot-word { justify-self: start; color: inherit; }
.hero-lede2 { max-width: 56ch; margin-inline: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-soft { background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-color: var(--line-2); }

.doors-sec { padding-top: clamp(40px, 6vw, 88px); }
.doors-sec .doors-stage { margin-top: 0; }

@media (max-width: 640px) {
  .hero-title2 { font-size: clamp(36px, 10.5vw, 56px); }
}

/* =====================================================================
   HERO AMANECER: sol partido día/noche, órbita de personajes y sierra
   ===================================================================== */
.hero:has(.sun-stage) { padding-bottom: 0; }
.hero:has(.sun-stage) .aur { opacity: .65; }
.hero-min { gap: 20px; padding-top: clamp(8px, 2vw, 24px); }
.hero-title3 { font-size: clamp(46px, 8.6vw, 132px); line-height: .98; letter-spacing: -.055em; }
.w-sun { background: linear-gradient(90deg, var(--sol) 0%, #E0566E 48%, var(--under) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.link-cta { display: inline-flex; align-items: center; gap: 6px; height: 52px; padding: 0 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.link-cta:hover { color: var(--ink); }
.link-cta .ic { transition: transform .35s var(--ease); }
.link-cta:hover .ic { transform: translateY(3px); }

.sun-stage { --rise: 0; position: relative; height: clamp(300px, 34vw, 490px); margin-top: clamp(20px, 3.4vw, 44px); overflow: hidden; isolation: isolate;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%); mask-image: linear-gradient(180deg, transparent 0, #000 24%); }
.big-sun {
  position: absolute; left: 50%; top: 20%; z-index: 2; width: min(1060px, 128vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  transform: translate(-50%, calc(var(--rise) * -90px)) scale(calc(1 + var(--rise) * .06));
  background: linear-gradient(90deg, #FFD6A6 0%, #F7934E 24%, #EC6C5A 43%, #B95BC8 58%, #7457F6 75%, #2B2470 100%);
  box-shadow: 0 0 150px 26px color-mix(in srgb, var(--sol) 32%, transparent), 0 -30px 240px 70px color-mix(in srgb, var(--under) 20%, transparent);
  animation: sun-up 1.9s var(--ease) .25s both;
}
@keyframes sun-up { from { translate: 0 26%; opacity: .15; } }
.sun-sheen { position: absolute; inset: 0; background: radial-gradient(34% 22% at var(--gx, 50%) 5%, rgba(255, 255, 255, .6), transparent 72%); transition: background .2s; }
.sun-sheen::after { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 0deg, transparent 0 20%, rgba(255, 255, 255, .14) 28%, transparent 36% 60%, rgba(255, 255, 255, .1) 68%, transparent 76%); animation: rays 48s linear infinite; mix-blend-mode: soft-light; }
.sun-grain { position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sun-rings i { position: absolute; left: 50%; z-index: 1; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); transform: translateX(-50%); }
.sun-rings i:nth-child(1) { top: 12%; width: min(1220px, 146vw); opacity: .8; }
.sun-rings i:nth-child(2) { top: 5%; width: min(1400px, 168vw); border-style: dashed; opacity: .6; animation: ring-spin 140s linear infinite; }
.sun-rings i:nth-child(3) { top: -2%; width: min(1580px, 190vw); opacity: .35; }
@keyframes ring-spin { to { transform: translateX(-50%) rotate(1turn); } }
.orbiters { position: absolute; inset: 0; pointer-events: none; }
.orbiter { position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform; animation: fade-in 1s ease 1.2s both; }
@keyframes fade-in { from { opacity: 0; } }
.ob-face { display: block; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--surface), 0 14px 28px -12px rgba(11, 15, 30, .55); transition: transform .45s var(--spring); }
.ob-face .toon { width: 100%; height: 100%; }
.orbiter:hover .ob-face { transform: scale(1.14) rotate(-7deg); }
.ob-tag { position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 5px 11px; border-radius: 999px; white-space: nowrap; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600;
  opacity: 0; transform: translate(-50%, 6px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.orbiter:hover .ob-tag { opacity: 1; transform: translate(-50%, 0); }
.sun-ridge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; width: 100%; height: 34%; pointer-events: none; }
.sun-ridge .r-back { fill: color-mix(in srgb, var(--ink) 9%, var(--bg)); }
.sun-ridge .r-front { fill: var(--bg); }
.sun-label { position: absolute; bottom: 11%; z-index: 6; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.sun-label span { width: 8px; height: 8px; border-radius: 50%; }
.sun-label:hover { color: var(--ink); }
.sl-day { left: max(16px, 6vw); }
.sl-day span { background: var(--sol); }
.sl-night { right: max(16px, 6vw); }
.sl-night span { background: var(--under); }
@media (max-width: 640px) {
  .sun-stage { height: 290px; }
  .big-sun { top: 28%; width: 150vw; }
  .ob-face { width: 42px; height: 42px; }
  .sun-label { bottom: 7%; font-size: 10px; }
  .hero-title3 { font-size: clamp(42px, 13vw, 64px); }
}
