/* ---------------------------------------------------------
   UN UNIVERSO PARA TI
   Tipografía, atmósfera y composición
   --------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-LatinExt.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-CyrillicExt.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-LatinExt.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Cyrillic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-CyrillicExt.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Vietnamese.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --night-0: #030b08;
  --night-1: #07150f;
  --night-2: #0b1d15;
  --night-3: #10261b;
  --emerald: #4f8f72;
  --pine: #234737;
  --sage: #a9c7b0;
  --sage-light: #d8e7d5;
  --fern: #8fae8d;
  --fern-soft: #dce9d8;
  --gold: #d8c49a;
  --gold-soft: #eadbb8;
  --warm-white: #f7f2e4;
  --paper: #f5efdf;
  --ink: #1d3429;
  --ink-soft: #5a6c5e;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(.22, .68, .22, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--night-0);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--warm-white);
  background:
    radial-gradient(ellipse at 68% 42%, #0f241e 0%, transparent 52%),
    linear-gradient(180deg, #02070a 0%, #061511 52%, #020709 100%);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  touch-action: manipulation;
}

body.is-modal-open {
  cursor: default;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button,
[role="button"],
input[type="range"] {
  touch-action: manipulation;
}

::selection {
  color: var(--night-1);
  background: rgba(208, 232, 207, .9);
}

:focus-visible {
  outline: 2px solid rgba(231, 242, 230, .92);
  outline-offset: 4px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 300;
  padding: 12px 16px;
  border: 1px solid rgba(197, 224, 201, .4);
  border-radius: 8px;
  background: #07150f;
  color: #f7f2e4;
  font-family: var(--sans);
  font-size: 12px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- El cielo ---------- */

.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 42%, #10251e 0%, transparent 54%),
    linear-gradient(180deg, #02070a, #071813 55%, #020709);
}

#space-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  animation: cosmosReveal 2.8s var(--ease-out) both;
}

.cosmos__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 62% 43%, transparent 35%, rgba(2, 8, 8, .2) 70%, rgba(2, 8, 8, .68) 100%),
    linear-gradient(90deg, rgba(2, 8, 8, .86) 0%, rgba(2, 8, 8, .52) 30%, rgba(2, 8, 8, .13) 58%, transparent 76%),
    linear-gradient(0deg, rgba(2, 8, 8, .74) 0%, rgba(2, 8, 8, .16) 21%, transparent 38%);
}

.cosmos__grain {
  position: absolute;
  inset: -10%;
  z-index: 3;
  pointer-events: none;
  opacity: .019;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.9'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 18s steps(5) infinite;
}

.heart-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity .8s var(--ease-soft);
}

body.effects-off .heart-canvas {
  opacity: 0;
}

body.effects-off .cosmos__grain {
  animation: none;
}

.stat__value.is-changing {
  animation: counterPop .55s var(--ease-out);
}

@keyframes counterPop {
  0% { transform: translateY(0); }
  35% { transform: translateY(-3px); color: #f7f2e4; }
  100% { transform: translateY(0); }
}

/* ---------- Corazones con idiomas ---------- */

.heart-field {
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  contain: layout style;
}

.love-heart {
  --heart-w: 132px;
  --heart-h: 120px;
  --heart-opacity: .9;
  --label-size: 13px;
  --heart-glow: rgba(143, 190, 151, .42);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--heart-w);
  height: var(--heart-h);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--warm-white);
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  transition: opacity 1.1s var(--ease-soft);
}

.love-heart.is-visible {
  opacity: var(--heart-opacity);
}

.love-heart.is-behind-copy {
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.love-heart.is-picked {
  pointer-events: none;
  opacity: 0;
  transition: opacity .52s ease .1s;
}

.love-heart__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transform-origin: 50% 52%;
  transition: transform .5s var(--ease-out), filter .5s var(--ease-out);
}

.love-heart:hover .love-heart__inner,
.love-heart:focus-visible .love-heart__inner {
  transform: scale(1.075);
  filter: brightness(1.14);
}

.love-heart:active .love-heart__inner {
  transform: scale(.98);
  transition-duration: .14s;
}

.love-heart.is-picked .love-heart__inner {
  animation: heartPicked .72s var(--ease-out) both;
}

.love-heart:focus-visible {
  outline: 1px solid rgba(237, 246, 234, .82);
  outline-offset: 7px;
  border-radius: 46% 46% 42% 42%;
}

.love-heart__shape {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 7px 24px rgba(4, 13, 9, .45))
    drop-shadow(0 0 17px var(--heart-glow));
  transition: filter .5s var(--ease-out);
}

.love-heart:hover .love-heart__shape,
.love-heart:focus-visible .love-heart__shape {
  filter:
    drop-shadow(0 9px 28px rgba(4, 13, 9, .5))
    drop-shadow(0 0 26px var(--heart-glow));
}

.love-heart__label {
  position: absolute;
  inset: 30% 14% 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--sans);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: .015em;
  color: rgba(255, 248, 244, .97);
  text-shadow:
    0 1px 3px rgba(9, 24, 16, .86),
    0 2px 15px rgba(7, 18, 12, .84);
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
  pointer-events: none;
}

.love-heart[dir="rtl"] .love-heart__label {
  direction: rtl;
  font-size: calc(var(--label-size) * 1.04);
}

.love-heart__spark {
  position: absolute;
  top: 19%;
  right: 23%;
  width: 7px;
  height: 7px;
  opacity: .9;
  color: #f3f0dc;
  filter: drop-shadow(0 0 6px rgba(219, 239, 216, .85));
  transform: rotate(8deg);
  pointer-events: none;
}

.love-heart__spark svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.love-heart:hover .love-heart__spark {
  animation: starWink 1.7s ease-in-out infinite;
}

/* Tipografías para las escrituras del corazón */
.love-heart__label[lang="ja"],
.love-heart__label[lang="zh"],
.love-heart__label[lang="ko"],
.script-cjk {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Songti SC", "SimSun", "Batang", serif;
}

.love-heart__label[lang="ar"],
.love-heart__label[lang="fa"],
.love-heart__label[lang="ur"],
.love-heart__label[lang="ps"],
.love-heart__label[lang="ug"],
.love-heart__label[lang="ckb"],
.script-arabic {
  font-family: "Noto Naskh Arabic", "Amiri", "Traditional Arabic", "Segoe UI", Tahoma, sans-serif;
}

.love-heart__label[lang="he"],
.love-heart__label[lang="yi"],
.script-hebrew {
  font-family: "Noto Serif Hebrew", "Frank Ruhl Libre", "Segoe UI", David, serif;
}

.love-heart__label[lang="hi"],
.love-heart__label[lang="mr"],
.love-heart__label[lang="ne"],
.love-heart__label[lang="sa"],
.script-devanagari {
  font-family: "Noto Serif Devanagari", "Nirmala UI", Mangal, serif;
}

.love-heart__label[lang="bn"],
.love-heart__label[lang="as"],
.script-bengali {
  font-family: "Noto Serif Bengali", "Nirmala UI", Vrinda, serif;
}

.love-heart__label[lang="pa"],
.script-gurmukhi {
  font-family: "Noto Serif Gurmukhi", "Nirmala UI", Raavi, serif;
}

.love-heart__label[lang="gu"],
.script-gujarati {
  font-family: "Noto Serif Gujarati", "Nirmala UI", Shruti, serif;
}

.love-heart__label[lang="ta"],
.script-tamil {
  font-family: "Noto Serif Tamil", "Nirmala UI", Latha, serif;
}

.love-heart__label[lang="te"],
.script-telugu {
  font-family: "Noto Serif Telugu", "Nirmala UI", Gautami, serif;
}

.love-heart__label[lang="kn"],
.script-kannada {
  font-family: "Noto Serif Kannada", "Nirmala UI", Tunga, serif;
}

.love-heart__label[lang="ml"],
.script-malayalam {
  font-family: "Noto Serif Malayalam", "Nirmala UI", Kartika, serif;
}

.love-heart__label[lang="si"],
.script-sinhala {
  font-family: "Noto Serif Sinhala", "Iskoola Pota", "Nirmala UI", serif;
}

.love-heart__label[lang="or"],
.script-odia {
  font-family: "Noto Serif Oriya", "Nirmala UI", Kalinga, serif;
}

.love-heart__label[lang="dv"],
.script-thaana {
  font-family: "MV Boli", "Noto Sans Thaana", "Segoe UI", sans-serif;
}

.love-heart__label[lang="th"],
.script-thai {
  font-family: "Noto Serif Thai", "Leelawadee UI", Tahoma, serif;
}

.love-heart__label[lang="lo"],
.script-lao {
  font-family: "Noto Serif Lao", "Leelawadee UI", DokChampa, serif;
}

.love-heart__label[lang="km"],
.script-khmer {
  font-family: "Noto Serif Khmer", "Khmer UI", Leelawadee UI, serif;
}

.love-heart__label[lang="my"],
.script-myanmar {
  font-family: "Noto Serif Myanmar", "Myanmar Text", Padauk, serif;
}

.love-heart__label[lang="ka"],
.script-georgian {
  font-family: "Noto Serif Georgian", "Sylfaen", serif;
}

.love-heart__label[lang="hy"],
.script-armenian {
  font-family: "Noto Serif Armenian", "Sylfaen", serif;
}

.love-heart__label[lang="am"],
.love-heart__label[lang="ti"],
.script-ethiopic {
  font-family: "Noto Serif Ethiopic", "Nyala", serif;
}

.love-heart__label[lang="bo"],
.script-tibetan {
  font-family: "Noto Serif Tibetan", "Microsoft Himalaya", "Kailasa", serif;
}

.love-heart__label[lang="mn"],
.script-mongolian {
  font-family: "Noto Serif", "Segoe UI", serif;
}

/* ---------- Destellos ---------- */

.sparkle-layer {
  position: fixed;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: var(--size, 6px);
  height: var(--size, 6px);
  margin: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fbf8ec 0%, rgba(214, 238, 211, .95) 30%, rgba(150, 196, 156, .3) 65%, transparent 72%);
  box-shadow: 0 0 10px rgba(220, 240, 218, .7), 0 0 22px rgba(135, 187, 143, .3);
  transform: translate(-50%, -50%);
  animation: sparkFly var(--dur, .9s) cubic-bezier(.14, .75, .28, 1) forwards;
  will-change: transform, opacity;
}

.spark--star {
  border-radius: 0;
  background: none;
  box-shadow: none;
  width: var(--size, 10px);
  height: var(--size, 10px);
  color: rgba(247, 242, 228, .95);
  filter: drop-shadow(0 0 7px rgba(222, 241, 219, .8));
}

.spark--star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
}

.burst-ring {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(220, 241, 218, .66);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
  animation: burstRing .95s var(--ease-out) forwards;
  box-shadow: 0 0 24px rgba(143, 190, 151, .25);
}

/* ---------- Cabecera ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 3.2vh, 36px) clamp(22px, 5.2vw, 72px);
  pointer-events: none;
  animation: topbarIn 1.2s var(--ease-out) .15s both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand__orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(178, 210, 184, .3);
  border-radius: 50%;
}

.brand__orbit::before {
  content: "";
  position: absolute;
  inset: 3px -5px;
  border: 1px solid rgba(190, 219, 194, .17);
  border-radius: 50%;
  transform: rotate(-28deg) scaleY(.44);
}

.brand__orbit::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fern-soft);
  box-shadow: 0 0 8px rgba(199, 227, 197, .8);
}

.brand__star {
  width: 12px;
  height: 12px;
  fill: var(--gold-soft);
  filter: drop-shadow(0 0 5px rgba(234, 219, 184, .5));
}

.brand__text {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .31em;
  text-transform: uppercase;
  color: rgba(231, 242, 230, .76);
}

.topbar__aside {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(190, 217, 192, .38);
}

.topbar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(181, 213, 181, .8);
  box-shadow: 0 0 8px rgba(181, 213, 181, .65);
}

/* ---------- La frase central ---------- */

.hero {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 108px clamp(24px, 6vw, 104px) 120px;
  pointer-events: none;
}

.hero__copy {
  position: relative;
  width: 100%;
  max-width: 738px;
  animation: heroIn 1.6s var(--ease-out) .32s both;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: -9% -8% -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 42% 50%, rgba(4, 16, 11, .7) 0%, rgba(4, 16, 11, .38) 48%, transparent 76%);
  filter: blur(9px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 clamp(16px, 2.8vh, 28px);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(184, 214, 187, .72);
}

.hero__line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 214, 187, .7));
}

.hero__title {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 4.28vw, 4.32rem);
  font-weight: 300;
  line-height: 1.015;
  letter-spacing: -.018em;
  color: rgba(249, 246, 231, .97);
  text-shadow:
    0 2px 46px rgba(3, 11, 8, .68),
    0 0 38px rgba(91, 146, 111, .1);
  text-wrap: balance;
}

.hero__title em {
  font-weight: 300;
  font-style: italic;
  color: var(--sage-light);
  text-shadow:
    0 2px 44px rgba(3, 11, 8, .72),
    0 0 46px rgba(139, 188, 148, .22);
}

.hero__sub {
  max-width: 440px;
  margin: clamp(20px, 3.5vh, 32px) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.55vw, 1.48rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: .012em;
  color: rgba(203, 222, 203, .72);
  text-shadow: 0 2px 28px rgba(3, 11, 8, .7);
}

.hero__cue {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: clamp(26px, 5vh, 48px) 0 0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(198, 219, 199, .5);
}

.hero__heart {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(194, 221, 192, .24);
  border-radius: 50%;
  background: rgba(236, 246, 234, .035);
  box-shadow: 0 0 18px rgba(167, 204, 168, .08);
}

.hero__heart svg {
  width: 9px;
  height: 9px;
  fill: rgba(191, 224, 190, .88);
  animation: heartCue 3.4s ease-in-out infinite;
}

/* ---------- Panel inferior ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: max(20px, calc(14px + var(--safe-bottom)));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1230px, calc(100vw - 56px));
  min-height: 76px;
  margin: 0;
  padding: 12px 16px 12px 28px;
  border: 1px solid rgba(178, 210, 184, .14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(12, 31, 22, .72), rgba(5, 19, 13, .82)),
    rgba(4, 16, 11, .55);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, .46),
    0 2px 10px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(235, 245, 232, .055);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  transform: translateX(-50%);
  animation: dockIn 1.3s var(--ease-out) .6s both;
}

.stats {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  min-width: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2vw, 1.95rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.02em;
  color: rgba(247, 242, 228, .93);
  font-variant-numeric: lining-nums tabular-nums;
}

.stat__of {
  font-size: .58em;
  font-weight: 300;
  letter-spacing: .02em;
  color: rgba(185, 214, 187, .48);
}

.stat__label {
  overflow: hidden;
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: .17em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(191, 216, 191, .4);
}

.stat--languages .stat__value {
  color: rgba(195, 223, 198, .9);
}

.stats__rule {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(188, 216, 190, .2), transparent);
}

.dock__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .35s var(--ease-out);
}

.btn--primary {
  color: #1e3b2d;
  background: linear-gradient(135deg, #f3efd9 0%, #dfe7d2 47%, #c9dbc8 100%);
  box-shadow:
    0 8px 26px rgba(178, 208, 173, .18),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 11px 36px rgba(178, 208, 173, .26),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

.btn--primary:active {
  transform: translateY(0) scale(.99);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: #3f6b4f;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn__shine {
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left .8s var(--ease-out);
}

.btn--primary:hover .btn__shine {
  left: 130%;
}

.control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(178, 210, 184, .12);
  border-radius: 999px;
  background: rgba(235, 245, 232, .035);
  color: rgba(207, 226, 207, .66);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

.control:hover {
  color: rgba(238, 246, 236, .92);
  border-color: rgba(178, 210, 184, .26);
  background: rgba(235, 245, 232, .06);
}

.control__icon {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
}

.control__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.control__icon .icon-pause {
  display: none;
}

#music-toggle.is-playing .icon-play {
  display: none;
}

#music-toggle.is-playing .icon-pause {
  display: block;
}

#music-toggle.is-playing {
  color: rgba(211, 232, 212, .94);
  border-color: rgba(178, 210, 184, .25);
  background: rgba(56, 111, 82, .13);
}

#effects-toggle.is-off {
  color: rgba(155, 178, 159, .36);
  border-color: rgba(178, 210, 184, .07);
  background: rgba(235, 245, 232, .018);
}

#effects-toggle.is-off .control__icon {
  opacity: .55;
}

.sound {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 4px;
  border: 1px solid rgba(178, 210, 184, .12);
  border-radius: 999px;
  background: rgba(235, 245, 232, .035);
  transition: border-color .3s ease, background-color .3s ease;
}

.sound:hover {
  border-color: rgba(178, 210, 184, .22);
  background: rgba(235, 245, 232, .05);
}

.sound .control {
  min-height: 38px;
  padding: 0 9px 0 11px;
  border: 0;
  background: transparent;
}

.volume {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 82px;
  padding-right: 6px;
  opacity: .58;
  transition: opacity .3s ease;
}

.sound:hover .volume,
.volume:focus-within {
  opacity: 1;
}

.volume > svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: rgba(202, 223, 202, .72);
}

.volume input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.volume input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(190, 224, 193, .72) 0 var(--volume, 42%), rgba(167, 200, 171, .24) var(--volume, 42%) 100%);
}

.volume input[type="range"]::-moz-range-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(190, 224, 193, .72) 0 var(--volume, 42%), rgba(167, 200, 171, .24) var(--volume, 42%) 100%);
}

.volume input[type="range"]::-moz-range-progress {
  height: 2px;
  border-radius: 999px;
  background: rgba(190, 224, 193, .66);
}

.volume input[type="range"]::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 50%;
  background: #f2e9d2;
  box-shadow: 0 0 9px rgba(242, 234, 210, .35);
  appearance: none;
  -webkit-appearance: none;
}

.volume input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #f2e9d2;
  box-shadow: 0 0 9px rgba(242, 234, 210, .35);
}

.equalizer {
  display: none;
  align-items: flex-end;
  gap: 2px;
  width: 10px;
  height: 10px;
  margin-left: 1px;
}

#music-toggle.is-playing .equalizer {
  display: inline-flex;
}

.equalizer i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: rgba(190, 224, 193, .9);
  animation: equalize 1.25s ease-in-out infinite;
}

.equalizer i:nth-child(2) {
  height: 8px;
  animation-delay: -.35s;
}

.equalizer i:nth-child(3) {
  height: 6px;
  animation-delay: -.7s;
}

/* ---------- Sin JavaScript ---------- */

.noscript {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 200;
  padding: 18px 22px;
  border: 1px solid rgba(198, 222, 198, .28);
  border-radius: 14px;
  background: rgba(6, 19, 13, .94);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- Animaciones ---------- */

@keyframes cosmosReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes grainShift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-1.4%, 1%, 0); }
  50% { transform: translate3d(1%, -1.2%, 0); }
  75% { transform: translate3d(-.6%, -.5%, 0); }
}

@keyframes topbarIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dockIn {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes heartCue {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes heartPicked {
  0% { transform: scale(1); filter: brightness(1); }
  24% { transform: scale(1.2); filter: brightness(1.65); }
  55% { transform: scale(1.03); filter: brightness(1.2); }
  100% { transform: scale(.84); filter: brightness(1.08); opacity: .5; }
}

@keyframes starWink {
  0%, 100% { opacity: .5; transform: rotate(8deg) scale(.85); }
  50% { opacity: 1; transform: rotate(8deg) scale(1.15); }
}

@keyframes sparkFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.22);
  }
  12% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(var(--scale, .15));
  }
}

@keyframes burstRing {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  16% { opacity: .9; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(7.2); }
}

@keyframes equalize {
  0%, 100% { transform: scaleY(.55); }
  50% { transform: scaleY(1.2); }
}

/* ---------- Adaptación ---------- */

@media (max-width: 1120px) {
  .hero {
    padding-left: clamp(24px, 4.6vw, 64px);
    padding-right: 40px;
  }

  .hero__title {
    max-width: 610px;
    font-size: clamp(2.65rem, 4.6vw, 3.9rem);
  }

  .stat__label {
    font-size: 7px;
    letter-spacing: .13em;
  }

  .control__label {
    display: none;
  }

  .control {
    width: 40px;
    padding: 0;
  }

  .sound .control {
    width: 38px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 20px 22px;
  }

  .topbar__aside {
    display: none;
  }

  .hero {
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px calc(172px + var(--safe-bottom));
    text-align: center;
  }

  .hero__copy {
    max-width: 620px;
  }

  .hero__copy::before {
    inset: -24px -22px;
    background: radial-gradient(ellipse at 50% 55%, rgba(4, 16, 11, .72) 0%, rgba(4, 16, 11, .42) 52%, transparent 78%);
  }

  .hero__eyebrow {
    justify-content: center;
    margin-bottom: 15px;
    font-size: 8px;
    letter-spacing: .27em;
  }

  .hero__line {
    width: 24px;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(1.92rem, 7.25vw, 3.4rem);
    line-height: 1.04;
  }

  .hero__sub {
    max-width: 360px;
    margin-top: 15px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1rem, 3.2vw, 1.22rem);
  }

  .hero__cue {
    justify-content: center;
    margin-top: 21px;
    font-size: 8px;
    letter-spacing: .17em;
  }

  .dock {
    width: calc(100vw - 24px);
    min-height: 0;
    padding: 12px 14px;
    border-radius: 21px;
    bottom: max(12px, calc(8px + var(--safe-bottom)));
    gap: 13px;
  }

  .stats {
    gap: 18px;
  }

  .stat__value {
    font-size: 1.5rem;
  }

  .stat__label {
    font-size: 6.8px;
  }

  .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 10px;
  }
}

@media (max-width: 720px) {
  .dock {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 11px 12px;
  }

  .stats {
    width: 100%;
    justify-content: space-between;
    padding: 0 4px;
  }

  .stats__rule {
    height: 26px;
  }

  .stat {
    flex: 1;
  }

  .stat--languages {
    align-items: flex-end;
    text-align: right;
  }

  .stat__value {
    font-size: 1.36rem;
  }

  .stat__label {
    overflow: visible;
    font-size: 6.3px;
    letter-spacing: .1em;
    white-space: normal;
  }

  .dock__actions {
    width: 100%;
    justify-content: space-between;
    gap: 7px;
  }

  .btn--primary {
    flex: 1;
    padding: 0 15px;
  }

  .sound {
    flex: 0 0 auto;
  }

  .volume {
    width: 68px;
  }

  .hero {
    padding-bottom: calc(196px + var(--safe-bottom));
  }
}

@media (max-width: 520px) {
  .brand__text {
    font-size: 8.5px;
    letter-spacing: .26em;
  }

  .brand {
    gap: 10px;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: calc(190px + var(--safe-bottom));
  }

  .hero__eyebrow {
    font-size: 7.2px;
    letter-spacing: .22em;
  }

  .hero__title {
    font-size: clamp(1.82rem, 7.7vw, 2.6rem);
  }

  .hero__sub {
    max-width: 300px;
    font-size: .98rem;
  }

  .hero__cue {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.65;
  }

  .volume {
    display: none;
  }

  .sound {
    padding-right: 0;
  }

  .sound .control {
    width: 40px;
  }

  .dock__actions {
    justify-content: space-between;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 1.72rem;
  }

  .hero__sub {
    font-size: .92rem;
  }

  .btn--primary {
    padding: 0 11px;
    font-size: 9.3px;
  }

  .btn__icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-height: 630px) and (min-width: 901px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
  }

  .hero__sub {
    margin-top: 16px;
  }

  .hero__cue {
    margin-top: 22px;
  }

  .dock {
    min-height: 64px;
    bottom: 12px;
  }

  .btn {
    min-height: 38px;
  }
}

@media (max-height: 690px) and (max-width: 900px) {
  .hero__cue {
    display: none;
  }

  .hero {
    padding-bottom: calc(158px + var(--safe-bottom));
  }

  .hero__eyebrow {
    margin-bottom: 9px;
  }

  .hero__sub {
    margin-top: 10px;
  }

  .hero__title {
    font-size: clamp(1.62rem, 6.8vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .heart-canvas {
    opacity: .55;
  }
}
