/* Luce · Próximamente — mismos tokens y composición que el acceso V2 */
:root {
  color-scheme: light;
  --blue-200: #c8ddf7;
  --blue-300-rgb: 143 188 240;
  --blue-300: rgb(var(--blue-300-rgb));
  --blue-400: #4f95e6;
  --blue-500-rgb: 47 128 224;
  --blue-500: rgb(var(--blue-500-rgb));
  --gold-100: #f7edd6;
  --gold-300-rgb: 230 185 93;
  --gold-300: rgb(var(--gold-300-rgb));
  --gold-400: #c08f35;
  --hero-from: #0a1f3a;
  --hero-mid: #123a68;
  --hero-warm-1: #2c4467;
  --hero-warm-2: #475260;
  --hero-text-2: rgba(255,255,255,.74);
  --hero-text-3: rgba(255,255,255,.52);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.2,.7,.3,1);
}
* { box-sizing: border-box; margin: 0; }
html, body { min-height: 100%; }
body { font-family: var(--font-sans); background: var(--hero-from); color: #fff; -webkit-font-smoothing: antialiased; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 44px clamp(24px, 7vw, 96px) 32px;
  background:
    radial-gradient(46% 62% at 96% 30%, rgb(var(--gold-300-rgb) / 16%), transparent 70%),
    radial-gradient(64% 58% at 22% 34%, rgb(var(--blue-500-rgb) / 20%), transparent 72%),
    linear-gradient(162deg, var(--hero-from) 0%, var(--hero-mid) 44%, var(--hero-warm-1) 76%, var(--hero-warm-2) 100%);
}
.hero::after { /* destello diagonal */
  content: ""; position: absolute; z-index: -1; inset: -30% -10% auto -40%; height: 150%;
  background: linear-gradient(104deg, transparent 42%, rgba(255,255,255,.05) 50%, transparent 58%);
  transform: rotate(-8deg); animation: shine 19s var(--ease) infinite alternate;
}
.hero__aura {
  position: absolute; z-index: -1; inset: -25% -20% -20% -25%;
  background:
    radial-gradient(38% 34% at 26% 30%, rgb(var(--blue-300-rgb) / 26%), transparent 70%),
    radial-gradient(32% 30% at 76% 72%, rgb(var(--gold-300-rgb) / 10%), transparent 72%);
  animation: aura 34s linear infinite, respira 19s var(--ease) infinite alternate;
}
.hero__corona {
  position: absolute; z-index: -1; right: 0; bottom: 0;
  width: clamp(480px, max(46vw, 72vh), 1100px); aspect-ratio: 200 / 118;
  background: url("img/crown-mark.svg") no-repeat center / contain;
  translate: 22% 24%; rotate: -14deg; opacity: .09; pointer-events: none;
}
.hero__arco {
  position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
  filter: drop-shadow(0 0 2px rgb(var(--gold-300-rgb) / 95%)) drop-shadow(0 0 10px rgb(var(--gold-300-rgb) / 55%)) drop-shadow(0 0 28px rgb(var(--gold-300-rgb) / 25%));
}
.hero__arco path { fill: none; stroke: url(#arcoTrazo); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.hero__logo { width: 168px; height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.hero__body { max-width: 640px; margin-block: auto; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; }
.hero__title { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
.hero__title em {
  font-style: normal; color: transparent;
  background: linear-gradient(120deg, #fff, var(--blue-200) 38%, var(--blue-300));
  -webkit-background-clip: text; background-clip: text;
}
.hero__lead { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--hero-text-2); max-width: 46ch; }
.hero__rule { width: 78px; height: 3px; margin-top: 26px; border-radius: 99px; background: linear-gradient(90deg, var(--blue-400), var(--gold-400)); transform-origin: left; animation: regla .5s var(--ease) .28s backwards; }

.flags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 32px; }
.flag { display: grid; justify-items: center; gap: 8px; font-size: 12.5px; color: var(--hero-text-3); }
.flag svg {
  width: 62px; height: 42px; border-radius: 6px; display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 8px 20px rgba(0,0,0,.3);
  transition: transform .25s var(--ease);
}
.flag:hover svg { transform: translateY(-4px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 600; color: #fff;
  background: var(--blue-500);
  box-shadow: 0 10px 28px rgb(var(--blue-500-rgb) / 38%), inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover { background: var(--blue-400); transform: translateY(-2px); box-shadow: 0 14px 34px rgb(var(--blue-500-rgb) / 48%), inset 0 0 0 1px rgba(255,255,255,.28); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }

.acciones { display: flex; flex-wrap: wrap; gap: 14px; }
.acciones .btn { margin-top: 36px; }
.btn--ghost { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

.hero__foot { font-size: 12.5px; color: var(--hero-text-3); }

.hero__logo, .eyebrow, .hero__title, .hero__lead, .flags, .acciones, .hero__foot { animation: entra .62s var(--ease) backwards; }
.eyebrow { animation-delay: .07s; } .hero__title { animation-delay: .13s; } .hero__lead { animation-delay: .21s; }
.flags { animation-delay: .34s; } .acciones { animation-delay: .42s; } .hero__foot { animation-delay: .5s; }

@keyframes entra { from { opacity: 0; transform: translate3d(0,14px,0); } }
@keyframes regla { from { opacity: 0; transform: scaleX(0); } }
@keyframes shine { from { transform: rotate(-8deg) translate3d(-7%,0,0); } to { transform: rotate(-8deg) translate3d(9%,0,0); } }
@keyframes respira { from { scale: 1; } to { scale: 1.14; } }
@keyframes aura {
  0% { translate: -3% -2%; } 17% { translate: 2% -4%; } 34% { translate: 6% -1%; }
  50% { translate: 5% 3%; } 67% { translate: 0 5%; } 84% { translate: -4% 2%; } 100% { translate: -3% -2%; }
}

@media (max-width: 640px) {
  .hero { padding-top: 32px; }
  .hero__corona { width: max(78vw, 300px); top: 0; bottom: auto; translate: 26% -22%; rotate: 12deg; opacity: .14; }
  .flag svg { width: 54px; height: 36px; }
  .acciones { flex-direction: column; gap: 0; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; transition: none !important; }
}
