/* ============================================
   ANIMA ITALIANA — Notte Italiana Design System
   animaitaliana.com.ar · 2026
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Montserrat:wght@300;400;500;600;700;800&family=Source+Serif+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Dancing+Script:wght@400;600;700&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Color Palette */
  --ink:           #241A14;
  --ink-light:     #2E221A;
  --ink-deep:      #1A110C;
  --terracota:     #EC5E2F;
  --terra-dark:    #C24420;
  --terra-light:   #F6A07E;
  --verde:         #248F51;
  --verde-deep:    #15623A;
  --crema:         #FCFAEF;
  --crema-dim:     #EDE7D6;
  --crema-faint:   rgba(252, 250, 239, 0.06);
  --sole:          #F4B740;

  /* Glassmorphism */
  --glass-bg:            rgba(252, 250, 239, 0.045);
  --glass-border:        rgba(236, 94, 47, 0.18);
  --glass-border-hover:  rgba(236, 94, 47, 0.48);
  --glass-blur:          blur(20px);

  /* Typography */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Source Serif Pro', Georgia, serif;
  --font-ui:       'Montserrat', sans-serif;
  --font-script:   'Dancing Script', cursive;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  10rem;

  /* Transitions */
  --trans-fast:  all 0.18s ease;
  --trans-base:  all 0.3s ease;
  --trans-slow:  all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Z-index */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ink);
  color: var(--crema);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: var(--terracota); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--terra-dark); }

/* Selection */
::selection { background: var(--terracota); color: var(--crema); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--crema);
  font-weight: 700;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.625rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--crema-dim);
}

a {
  color: var(--terracota);
  text-decoration: none;
  transition: var(--trans-fast);
}
a:hover { color: var(--terra-light); }

strong { color: var(--crema); font-weight: 600; }
em { font-style: italic; }

.text-script {
  font-family: var(--font-script);
  color: var(--terracota);
}
.text-terracota { color: var(--terracota); }
.text-verde      { color: var(--verde); }
.text-sole       { color: var(--sole); }
.text-crema      { color: var(--crema); }
.text-crema-dim  { color: var(--crema-dim); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1440px; }

.section        { padding: var(--space-2xl) 0; }
.section--lg    { padding: var(--space-3xl) 0; }

/* Flex/Grid helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }
.gap-lg       { gap: var(--space-lg); }

.grid-2    { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4    { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-md); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 1.25rem var(--space-md);
  transition: var(--trans-slow);
}

.navbar.scrolled {
  background: rgba(26, 17, 12, 0.93);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(236, 94, 47, 0.14);
  padding: 0.875rem var(--space-md);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar__logo-anima {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--terracota);
}

.navbar__logo-italiana {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(252,250,239,0.55);
  margin-top: 2px;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.navbar__nav a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crema-dim);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: var(--trans-base);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--crema);
  border-bottom-color: var(--terracota);
}

/* ─── "Sorteo de hoy" nav link ─── */
.navbar__sorteo-link,
.mobile-menu__nav .navbar__sorteo-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  color: var(--sole) !important;
}

.navbar__sorteo-link:hover {
  color: var(--sole) !important;
  border-bottom-color: var(--sole) !important;
}

.navbar__sorteo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sole);
  animation: pulseDot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* Right controls */
.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(252,250,239,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-switch__btn {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--crema-dim);
  transition: var(--trans-fast);
}

.lang-switch__btn.active,
.lang-switch__btn:hover {
  background: var(--terracota);
  color: var(--crema);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--crema);
  border-radius: 2px;
  transition: var(--trans-base);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 17, 12, 0.98);
  backdrop-filter: blur(24px);
  z-index: calc(var(--z-sticky) + 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--crema-dim);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: var(--trans-fast);
}
.mobile-menu__close:hover { color: var(--terracota); }

.mobile-menu__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--crema);
  text-decoration: none;
  transition: var(--trans-base);
  font-weight: 700;
}

.mobile-menu__nav a:hover { color: var(--terracota); }

.mobile-menu__lang {
  display: flex;
  gap: var(--space-md);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.35) saturate(0.7);
  transform: scale(1.04);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36,26,20,0.3) 0%,
    rgba(36,26,20,0.05) 40%,
    rgba(36,26,20,0.7) 80%,
    var(--ink) 100%
  );
  z-index: 1;
}

.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(236,94,47,0.18) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

/* ─── Hero Globe 3D (desktop) ───
   El globo asoma detrás del contenido como "tierra naciente".
   Se activa via .hero--globe (agregada por js/globe-hero.js). */
#globe-hero {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 1;
  cursor: grab;
}

#globe-hero:active {
  cursor: grabbing;
}

.hero--globe .hero__bg-img { opacity: 0.22; }
.hero--globe #hero-canvas  { display: none; }

/* El texto deja pasar el drag del globo, pero los botones siguen clickeables */
.hero--globe .hero__content { pointer-events: none; }
.hero--globe .hero__content a { pointer-events: auto; }

.hero__gradient { pointer-events: none; }

/* Mobile: globo decorativo — visible pero sin touch (no roba el scroll) */
@media (max-width: 767px) {
  #globe-hero {
    top: 42%;
    pointer-events: none;
  }

  /* Más protagonismo del globo: fondo más atenuado y menos velo oscuro abajo */
  .hero--globe .hero__bg-img { opacity: 0.1; }
  .hero--globe .hero__gradient {
    background: linear-gradient(
      to bottom,
      rgba(36,26,20,0.35) 0%,
      rgba(36,26,20,0.02) 45%,
      rgba(36,26,20,0.35) 85%,
      var(--ink) 100%
    );
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 950px;
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeInDown 0.8s ease 0.3s forwards;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--terracota);
  opacity: 0.5;
}

.hero__title {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--crema);
  margin-bottom: 0.25rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--terracota);
}

.hero__title-2 {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  color: rgba(252,250,239,0.75);
  font-weight: 400;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: rgba(252,250,239,0.65);
  max-width: 580px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}

.hero__scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(252,250,239,0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(236,94,47,0.8), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  color: var(--crema);
  margin-bottom: var(--space-sm);
}

.section-header__sub {
  max-width: 580px;
  margin: 0 auto;
  color: var(--crema-dim);
  font-size: 1.05rem;
}

.divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--terracota), var(--verde));
  margin: var(--space-md) auto;
  border-radius: var(--radius-full);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(236,94,47,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: var(--space-sm);
}

.page-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-bottom: var(--space-sm);
}

.page-hero__sub {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--crema-dim);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(236,94,47,0.12);
  padding: var(--space-2xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  text-decoration: none;
}

.footer__logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.footer__brand-name {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--terracota);
}

.footer__tagline {
  font-style: italic;
  font-size: 0.9375rem;
  color: rgba(252,250,239,0.5);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.footer__col-title {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: var(--space-sm);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: rgba(252,250,239,0.5);
  transition: var(--trans-fast);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--crema);
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 1px solid rgba(252,250,239,0.07);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(252,250,239,0.3);
  letter-spacing: 0.04em;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

/* ─── Transición de viaje (overlay "Viajando a...") ─── */
html.traveling body > *:not(.travel-overlay) {
  visibility: hidden;
}

.travel-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at 50% 40%, #33241a 0%, var(--ink, #241A14) 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 1;
  transition: opacity 0.5s ease;
  visibility: visible;
}

.travel-overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.travel-overlay__brand {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--terracota, #EC5E2F);
  letter-spacing: 0.02em;
}

.travel-overlay__brand span {
  font-family: var(--font-ui, sans-serif);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(252,250,239,0.6);
}

.travel-overlay__scene {
  width: min(320px, 78vw);
  height: auto;
}

.travel-overlay .travel-arc {
  animation: travelDash 1.2s linear infinite;
}

@keyframes travelDash {
  to { stroke-dashoffset: -13; }
}

.travel-overlay__text {
  font-family: var(--font-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(252,250,239,0.75);
}

.travel-overlay__dots i {
  font-style: normal;
  animation: travelDot 1.2s infinite;
}
.travel-overlay__dots i:nth-child(2) { animation-delay: 0.2s; }
.travel-overlay__dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes travelDot {
  0%, 60%, 100% { opacity: 0.2; }
  30% { opacity: 1; }
}

/* ─── Íconos SVG de redes ─── */
.social-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon--lg {
  width: 32px;
  height: 32px;
}

.social-icon--btn {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 8px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(236,94,47,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(252,250,239,0.5);
  font-size: 0.875rem;
  transition: var(--trans-base);
  text-decoration: none;
}

.footer__social-link:hover {
  border-color: var(--terracota);
  background: rgba(236,94,47,0.15);
  color: var(--terracota);
  transform: translateY(-2px);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-30px);
}
.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}
.reveal--right.visible {
  transform: translateX(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }
.reveal--delay-6 { transition-delay: 0.6s; }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDrop {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236,94,47,0.7); }
  70%       { box-shadow: 0 0 0 8px rgba(236,94,47,0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes countdownPulse {
  0%, 100% { color: var(--crema); }
  50%       { color: var(--sole); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__nav      { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__right .lang-switch { display: none; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }

  .hero__ctas { flex-direction: column; align-items: center; }

  .section { padding: var(--space-xl) 0; }
}

@media (max-width: 480px) {
  :root {
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
  }
  .container { padding: 0 var(--space-sm); }
}

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.mb-xs  { margin-bottom: var(--space-xs); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.full-width { width: 100%; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
