/* ============================================================
   MAJA Mexico Kite Tour — Landing GKA
   Paleta: azul marino profundo / aqua / blanco / gris claro
   ============================================================ */

:root {
  --navy-900: #04121f;
  --navy-800: #071f33;
  --navy-700: #0a2c47;
  --navy-600: #103a5c;
  --aqua: #21d4d4;
  --aqua-deep: #0fb3c4;
  --electric: #2ea7ff;
  --white: #ffffff;
  --gray-100: #eef3f6;
  --gray-300: #c4d0d8;
  --gray-500: #8aa0ad;

  --text: #e9f1f5;
  --text-dim: #9db2bf;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-card: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 10px 40px -8px rgba(33, 212, 212, 0.45);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.08; font-weight: 800; }

::selection { background: var(--aqua); color: var(--navy-900); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 660px; }

.section { padding: 110px 0; position: relative; }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
}

.section__sub {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.text-aqua { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--aqua) 0%, var(--electric) 100%);
  color: var(--navy-900);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px -8px rgba(33, 212, 212, 0.6);
}
.btn--primary:active { transform: translateY(-1px) scale(0.99); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--aqua);
  color: var(--aqua);
}
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--sm { padding: 10px 20px; font-size: 0.86rem; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border-radius: 10px;
}
.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
}
.logo__img {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 10px;
}
.logo:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; border-radius: 10px; }

/* footer logo */
.footer__logo {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.nav--scrolled {
  background: rgba(4, 18, 31, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__brands {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: 4px;
}
.brand-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.brand-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--aqua);
}
.nav__cta { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 18, 31, 0.55) 0%, rgba(4, 18, 31, 0.35) 35%, rgba(4, 18, 31, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 31, 51, 0.75) 0%, rgba(7, 31, 51, 0) 60%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(33, 212, 212, 0.14);
  border: 1px solid rgba(33, 212, 212, 0.5);
  color: var(--aqua);
  margin-bottom: 22px;
}
.hero__title {
  font-family: "Anton", "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.96;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}
.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--gray-100);
  max-width: 540px;
}
.hero__cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 46px;
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--aqua);
  padding-left: 14px;
}
.hero__meta-item strong { font-size: 1.02rem; color: var(--white); }
.hero__meta-item span { font-size: 0.84rem; color: var(--text-dim); }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--aqua);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(-4px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- Invitación ---------- */
.invite {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.invite__bg { position: absolute; inset: 0; z-index: 0; }
.invite__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.invite__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(4, 18, 31, 0.94) 0%,
    rgba(4, 18, 31, 0.82) 50%,
    rgba(4, 18, 31, 0.96) 100%);
}
.invite .container { position: relative; z-index: 2; }
.invite__lead {
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-weight: 500;
  max-width: 780px;
  margin: 0 auto;
  color: var(--gray-100);
}
.invite__lead strong { color: var(--aqua); font-weight: 700; }
.invite__quote {
  margin: 48px auto;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.invite__note {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-dim);
}
.invite__note strong { color: var(--white); }

/* ---------- Parallax bands ---------- */
.parallax {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax__img {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}
.parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(4, 18, 31, 0.75) 0%,
    rgba(4, 18, 31, 0.55) 50%,
    rgba(4, 18, 31, 0.85) 100%);
}
.parallax__quote {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
  padding: 0 24px;
}

/* ---------- Eventos ---------- */
.events { background: var(--navy-800); }
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.event-card {
  position: relative;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(33, 212, 212, 0.4);
}
.event-card--main {
  border-color: rgba(33, 212, 212, 0.45);
  box-shadow: 0 0 0 1px rgba(33, 212, 212, 0.25);
}
.event-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.event-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.event-card:hover .event-card__media img { transform: scale(1.08); }
.event-card__body { padding: 28px; }
.event-card__date {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua);
}
.event-card__title {
  margin: 8px 0 12px;
  font-size: 1.6rem;
}
.event-card__desc { color: var(--text-dim); font-size: 0.98rem; }
.event-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--electric));
  color: var(--navy-900);
  box-shadow: var(--shadow-glow);
}

/* ---------- Beneficios ---------- */
.benefits {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}
.benefits__bg { position: absolute; inset: 0; z-index: 0; }
.benefits__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.22;
}
.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(4, 18, 31, 0.9) 0%,
    rgba(7, 31, 51, 0.82) 50%,
    rgba(4, 18, 31, 0.95) 100%);
}
.benefits .container { position: relative; z-index: 2; }
.benefits__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit {
  background: rgba(7, 31, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.benefit:hover {
  transform: translateY(-6px);
  background: rgba(33, 212, 212, 0.1);
  border-color: rgba(33, 212, 212, 0.4);
}
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(33, 212, 212, 0.2), rgba(46, 167, 255, 0.2));
  color: var(--aqua);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.benefit h3 { font-size: 1.12rem; margin-bottom: 8px; }
.benefit p { color: var(--text-dim); font-size: 0.93rem; }
.benefits__highlight {
  margin-top: 36px;
  text-align: center;
  font-size: 1.02rem;
  color: var(--gray-100);
  background: rgba(33, 212, 212, 0.12);
  border: 1px solid rgba(33, 212, 212, 0.4);
  border-radius: var(--radius-sm);
  padding: 22px 28px;
  backdrop-filter: blur(6px);
}
.benefits__highlight strong { color: var(--aqua); }

/* ---------- Galería ---------- */
.gallery { background: var(--navy-900); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 31, 0) 50%, rgba(4, 18, 31, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Registro ---------- */
.register {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.register__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.register__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-card);
}
.register__visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.register__visual:hover img { transform: scale(1.06); }
.register__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 31, 0) 40%, rgba(4, 18, 31, 0.85) 100%);
}
.register__visual-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--aqua);
  padding-left: 14px;
}
.register__visual-tag strong { font-size: 1.15rem; color: var(--white); }
.register__visual-tag span { font-size: 0.85rem; color: var(--gray-100); }
.register__form-wrap { display: flex; flex-direction: column; }
.form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.form__field { margin-bottom: 18px; }
.form__field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-100);
}
.form__field input {
  width: 100%;
  padding: 15px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--white);
  background: rgba(4, 18, 31, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.form__field input::placeholder { color: var(--gray-500); }
.form__field input:focus {
  outline: none;
  border-color: var(--aqua);
  background: rgba(4, 18, 31, 0.9);
  box-shadow: 0 0 0 4px rgba(33, 212, 212, 0.15);
}
.form__field input.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}
.form__error {
  display: block;
  min-height: 1.1em;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #ff8585;
}
.form button[type="submit"] { margin-top: 8px; }
.form__alt {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.form__alt a { color: var(--aqua); font-weight: 600; }
.form__alt a:hover { text-decoration: underline; }

.form__success {
  text-align: center;
  background: rgba(33, 212, 212, 0.08);
  border: 1px solid rgba(33, 212, 212, 0.35);
  border-radius: var(--radius);
  padding: 48px 38px;
  animation: fadeUp 0.6s var(--ease) both;
}
.form__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--electric));
  color: var(--navy-900);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.form__success h3 { font-size: 1.6rem; margin-bottom: 12px; }
.form__success p { color: var(--gray-100); }

/* ---------- Ubicación ---------- */
.venue { background: var(--navy-800); }
.venue__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.venue-card {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.venue-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 212, 212, 0.4);
}
.venue-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.venue-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.venue-card:hover .venue-card__media img { transform: scale(1.07); }
.venue-card__body { padding: 30px 32px 34px; }
.venue-card__tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 12px;
}
.venue-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.venue-card__when {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.venue-card p { color: var(--text-dim); font-size: 0.96rem; }
.venue-card p strong { color: var(--white); }
.venue__cta { text-align: center; margin-top: 44px; }

/* ---------- Marquee de fotos ---------- */
.marquee {
  overflow: hidden;
  background: var(--navy-900);
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.marquee__track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  width: 240px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0.2);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.marquee__track img:hover {
  filter: grayscale(0);
  transform: scale(1.03);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 48px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__bg { position: absolute; inset: 0; z-index: 0; }
.footer__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.28;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(4, 18, 31, 0.88) 0%,
    rgba(4, 18, 31, 0.94) 100%);
}
.footer .container { position: relative; z-index: 2; }
.footer__claim {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin-bottom: 26px;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.footer__brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer__brands span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.footer__brand-main {
  display: flex;
  justify-content: center;
}
.footer__mail {
  display: inline-block;
  color: var(--aqua);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer__mail:hover { text-decoration: underline; }
.footer__legal { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  text-align: center;
  padding: 16px;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--electric));
  color: var(--navy-900);
  box-shadow: var(--shadow-glow);
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.sticky-cta--visible { transform: translateY(0); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* stagger children of a grid */
.benefits__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.benefits__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.benefits__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.benefits__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.benefits__grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.gallery__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.gallery__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.gallery__grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.gallery__grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.gallery__grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.gallery__grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.gallery__grid .reveal:nth-child(8) { transition-delay: 0.42s; }
.gallery__grid .reveal:nth-child(9) { transition-delay: 0.48s; }
.gallery__grid .reveal:nth-child(10) { transition-delay: 0.54s; }
.gallery__grid .reveal:nth-child(11) { transition-delay: 0.60s; }

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

/* ---------- Sponsors ---------- */
.sponsors {
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}

.sponsors::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(33, 212, 212, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.sponsors .container { position: relative; z-index: 1; }

.sponsors__tier { margin-bottom: 56px; }
.sponsors__tier:last-child { margin-bottom: 0; }

.sponsors__tier-label {
  text-align: center;
  margin-bottom: 24px;
}

.sponsors__tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 999px;
}

.sponsors__tier-badge--1 {
  background: linear-gradient(135deg, rgba(33, 212, 212, 0.18) 0%, rgba(46, 167, 255, 0.14) 100%);
  border: 1px solid rgba(33, 212, 212, 0.55);
  color: var(--aqua);
  box-shadow: 0 0 24px -8px rgba(33, 212, 212, 0.3);
}

.sponsors__tier-badge--2 {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gray-100);
}

.sponsors__tier-badge--3 {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gray-300);
}

.sponsors__tier-badge--4 {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--gray-500);
}

/* Tier 1 wrapper */
.sponsors__main {
  display: flex;
  justify-content: center;
}

/* Base sponsor card — white, crisp */
.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  min-height: 100px;
  box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sponsor-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px -8px rgba(33, 212, 212, 0.22);
}

.sponsor-card img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Tier 1 premium card */
.sponsor-card--main {
  max-width: 460px;
  width: 100%;
  padding: 44px 60px;
  border-radius: 22px;
  gap: 0;
  box-shadow:
    0 0 0 2px rgba(33, 212, 212, 0.45),
    0 24px 64px -16px rgba(33, 212, 212, 0.28),
    0 8px 32px -8px rgba(0, 0, 0, 0.4);
}

.sponsor-card--main:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 0 0 2.5px var(--aqua),
    0 32px 72px -16px rgba(33, 212, 212, 0.45),
    0 12px 40px -8px rgba(0, 0, 0, 0.45);
}

.sponsor-card--main img {
  height: 120px;
  max-width: 300px;
}

.sponsor-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-bottom: 22px;
}

.sponsor-card__name {
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-600);
}

/* Sponsor grids */
.sponsors__grid {
  display: grid;
  gap: 14px;
}

.sponsors__grid--2 {
  grid-template-columns: repeat(3, 1fr);
}

.sponsors__grid--2 .sponsor-card {
  min-height: 116px;
  padding: 28px 22px;
}

.sponsors__grid--2 .sponsor-card img { height: 68px; }

.sponsors__grid--3 {
  grid-template-columns: repeat(4, 1fr);
}

.sponsors__grid--3 .sponsor-card {
  min-height: 96px;
  padding: 20px 16px;
}

.sponsors__grid--3 .sponsor-card img { height: 54px; }

.sponsors__grid--4 {
  grid-template-columns: repeat(5, 1fr);
}

.sponsors__grid--4 .sponsor-card {
  min-height: 82px;
  padding: 16px 12px;
}

.sponsors__grid--4 .sponsor-card img { height: 42px; }

/* TAUBE: PNG con ~70% de espacio en blanco — scale visual sin expandir la tarjeta */
.sponsor-card--taube img {
  transform: scale(3.2);
}
.sponsors__grid--4 .sponsor-card--taube {
  min-height: 82px;
  overflow: hidden;
}

/* BOSA: PNG con ~70% de espacio en blanco — scale visual sin expandir la tarjeta */
.sponsor-card--bosa img {
  transform: scale(3.2);
}
.sponsors__grid--3 .sponsor-card--bosa {
  min-height: 96px;
  overflow: hidden;
}

/* Dark card — for white logos (e.g. Grupo Flosol) */
.sponsor-card--dark {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.5);
}

.sponsor-card--dark:hover {
  box-shadow:
    0 14px 36px -8px rgba(33, 212, 212, 0.22),
    0 0 0 1px rgba(33, 212, 212, 0.35);
}

/* Text fallback card — for The Kite Zone (only .ai file available) */
.sponsor-card--text {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.sponsor-card--text:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 20px -8px rgba(33, 212, 212, 0.15);
  transform: translateY(-2px) scale(1);
}

.sponsor-card__text-logo {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.3;
}

/* Stagger reveal for sponsor grids */
.sponsors__grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.sponsors__grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.sponsors__grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.sponsors__grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.sponsors__grid .reveal:nth-child(6) { transition-delay: 0.35s; }
.sponsors__grid .reveal:nth-child(7) { transition-delay: 0.42s; }
.sponsors__grid .reveal:nth-child(8) { transition-delay: 0.49s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .events__grid,
  .venue__grid,
  .register__layout { grid-template-columns: 1fr; }
  .register__visual { min-height: 280px; order: -1; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
  .hero__meta { gap: 22px; }
  .parallax { height: 340px; }
  .parallax__img { background-attachment: scroll; }
  .nav__brands { display: none; }

  /* Sponsors responsive — tablet */
  .sponsors__grid--2 { grid-template-columns: repeat(3, 1fr); }
  .sponsors__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .sponsors__grid--4 { grid-template-columns: repeat(4, 1fr); }
  .sponsor-card--main { padding: 34px 44px; max-width: 400px; }
  .sponsor-card--main img { height: 100px; }
  .sponsors__grid--4 .sponsor-card--taube { min-height: 82px; overflow: hidden; }
  .sponsors__grid--3 .sponsor-card--bosa { min-height: 96px; overflow: hidden; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .nav__inner { padding: 12px 18px; }
  .logo__img { height: 44px; }
  .nav__cta { padding: 9px 14px; font-size: 0.76rem; }
  .hero { padding: 110px 18px 110px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { flex-direction: column; gap: 14px; }
  .hero__scroll { display: none; }
  .benefits__grid { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .form { padding: 24px 20px; }
  .form__success { padding: 36px 22px; }
  .section__head { margin-bottom: 40px; }
  .parallax { height: 280px; }
  .marquee__track img { width: 170px; height: 110px; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 96px; }

  /* Sponsors responsive — mobile */
  .sponsors__tier { margin-bottom: 40px; }
  .sponsors__grid--2,
  .sponsors__grid--3,
  .sponsors__grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sponsors__grid--2 .sponsor-card { min-height: 90px; padding: 20px 14px; }
  .sponsors__grid--3 .sponsor-card { min-height: 82px; padding: 16px 12px; }
  .sponsors__grid--4 .sponsor-card { min-height: 72px; padding: 14px 10px; }
  .sponsors__grid--2 .sponsor-card img { height: 52px; }
  .sponsors__grid--3 .sponsor-card img { height: 44px; }
  .sponsors__grid--4 .sponsor-card img { height: 36px; }
  .sponsors__grid--4 .sponsor-card--taube { min-height: 72px; overflow: hidden; }
  .sponsors__grid--3 .sponsor-card--bosa { min-height: 82px; overflow: hidden; }
  .sponsor-card--main { padding: 28px 28px; max-width: 320px; }
  .sponsor-card--main img { height: 80px; max-width: 220px; }
  .sponsor-card__label { margin-bottom: 16px; }
  .sponsor-card__name { margin-top: 14px; }
  .sponsors__grid .reveal:nth-child(n) { transition-delay: 0s; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__img { transform: scale(1); }
  .marquee__track { animation: none; }
  .parallax__img { background-attachment: scroll; }
}
