/* ============================================================
   MindIA Tour — style.css  v4
   Matches class names in index.php exactly.
   Design: glassmorphism dark navy + teal/red/gold accents
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --bg:         #030D1E;
  --bg2:        #0C1E3A;
  --bg3:        #071428;
  --red:        #D52B1E;
  --red2:       #ff3b2e;
  --gold:       #F5A623;
  --gold2:      #ffc745;
  --teal:       #00CFC0;
  --teal2:      #00a89e;
  --teal3:      #00fff7;
  --text:       #EEF3FF;
  --text-muted: rgba(238,243,255,.6);
  --glass:      rgba(255,255,255,.06);
  --glass-b:    rgba(255,255,255,.12);
  --glass-h:    rgba(255,255,255,.10);
  --radius:     20px;
  --radius-sm:  12px;
  --nav-h:      72px;
  --shadow:     0 24px 64px rgba(0,0,0,.55);
  --shadow-sm:  0 8px 24px rgba(0,0,0,.35);
  --font-h:     'Montserrat', sans-serif;
  --font-b:     'Inter', sans-serif;
  --max-w:      1200px;
  --pad:        clamp(16px, 5vw, 40px);
  --fg2:        rgba(238,243,255,.4);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout wrapper ──────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Highlights ──────────────────────────────────────────── */
.hl-red  { color: var(--red); }
.hl-teal { color: var(--teal); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #001A1A;
  box-shadow: 0 6px 28px rgba(0,207,192,.35);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,207,192,.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  color: var(--text);
  backdrop-filter: blur(12px);
  transition: background .2s, transform .2s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--glass-h);
  transform: translateY(-2px);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), #0099FF);
  color: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(0,207,192,.4);
  margin-top: 8px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  cursor: pointer;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,207,192,.6);
}
.btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* Spinner used by JS */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Section heads ───────────────────────────────────────── */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,207,192,.1);
  border: 1px solid rgba(0,207,192,.25);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
}
.section-head.center .section-sub { margin-inline: auto; }


/* ══════════════════════════════════════════════════════════
   NAV  (#mainNav)
══════════════════════════════════════════════════════════ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: transparent;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
#mainNav.scrolled {
  background: rgba(3,13,30,.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--glass-b);
}

/* app.js uses .nav class for scroll — alias */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: transparent;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(3,13,30,.9);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--glass-b);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -.5px;
}
.logo-text span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--glass);
}

.lang-select {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: background .2s;
  flex-shrink: 0;
  appearance: none;
}
.lang-select:hover { background: var(--glass-h); }
.lang-select option { background: var(--bg2); color: var(--text); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #001A1A;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,207,192,.4);
}

/* Mobile nav elements (for JS wiring) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(3,13,30,.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 22px;
  font-family: var(--font-h);
  font-weight: 700;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text); padding: 8px 20px; }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
}
.lang-btn {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  color: var(--text-muted);
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn.active,
.lang-btn:hover { background: var(--teal); color: #001A1A; border-color: var(--teal); }

@media (max-width: 800px) {
  .nav-links  { display: none; }
  .btn-nav    { display: none; }
  .nav-hamburger { display: flex; }
}


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--bg);
}

/* ── Hero: video background ─────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .82;
}
/* degradado traslúcido: sólo oscurece bordes para legibilidad del texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* franja izquierda (texto) ligeramente más oscura */
    linear-gradient(to right,
      rgba(3,13,30,.60) 0%,
      rgba(3,13,30,.30) 35%,
      rgba(3,13,30,.08) 65%,
      rgba(3,13,30,.12) 100%
    ),
    /* top y bottom oscuros, centro transparente */
    linear-gradient(to bottom,
      rgba(3,13,30,.50) 0%,
      rgba(3,13,30,.08) 18%,
      rgba(3,13,30,.08) 72%,
      rgba(3,13,30,.92) 100%
    );
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stars::before,
.stars::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 45%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 15%, rgba(255,255,255,.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 60%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 30%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 82% 70%, rgba(255,255,255,.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 91% 12%, rgba(255,255,255,.65) 0%, transparent 100%),
    radial-gradient(1px 1px at 5%  80%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 88%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 62% 50%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 34%, rgba(180,220,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 88%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 93% 55%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 95%, rgba(255,255,255,.4) 0%, transparent 100%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.stars::after {
  background-image:
    radial-gradient(1px 1px at 18% 33%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 44% 72%, rgba(255,255,255,.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 62% 18%, rgba(255,255,255,.65) 0%, transparent 100%),
    radial-gradient(1px 1px at 84% 42%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 97% 78%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 3%  60%, rgba(255,255,255,.55) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 8%, rgba(180,210,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 95%, rgba(255,255,255,.4) 0%, transparent 100%);
  animation-duration: 5.5s;
  animation-delay: -2.3s;
}
@keyframes twinkle {
  from { opacity: .55; }
  to   { opacity: 1; }
}

.mountains {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-block: 80px 140px;
  width: 100%;
}

.hero-content { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,207,192,.1);
  border: 1px solid rgba(0,207,192,.3);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px var(--teal); }
  50%       { box-shadow: 0 0 16px var(--teal); opacity: .8; }
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat-item { }
.stat-num {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.4;
}

/* Phone mockup */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a2744, #0D1B2A);
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: rgba(0,0,0,.55);
  border-radius: 20px;
  z-index: 4;
}
.phone-screen {
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}
/* Video en loop dentro del phone mockup */
.phone-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  pointer-events: none;
}

/* ── App UI desenhado em CSS (sem imagens) ── */
.app-header {
  background: linear-gradient(135deg, var(--red), var(--gold));
  padding: 40px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.app-logo-s {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  letter-spacing: .02em;
}
.app-icon-s { font-size: 20px; }

.app-body {
  padding: 14px 12px;
  flex: 1;
  overflow: hidden;
}
.app-search {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 9px 12px;
  color: rgba(238,243,255,.5);
  font-size: 11px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 12px;
}
.mini-card {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.mc-1 { background: linear-gradient(135deg, #2d5016, #4a7c25); }
.mc-2 { background: linear-gradient(135deg, #1a3a6b, #2560b8); }
.mc-3 { background: linear-gradient(135deg, #6b2d16, #b84925); }
.mc-4 { background: linear-gradient(135deg, #2d1a6b, #5a25b8); }
.mini-card-label {
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  font-family: var(--font-h);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.app-chat-preview {
  background: rgba(0,207,192,.08);
  border-radius: 10px;
  padding: 8px 10px;
}
.app-chat-bubble {
  font-size: 10px;
  color: var(--teal);
  line-height: 1.5;
}

.phone-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,207,192,.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1);   opacity: .65; }
  50%       { transform: translate(-50%,-50%) scale(1.12); opacity: 1;  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 60px 100px;
    gap: 40px;
  }
  .hero-ctas    { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-badge   { margin-inline: auto; }
  .hero-sub     { margin-inline: auto; }
  .phone-wrap   { justify-content: center; }
}
@media (max-width: 480px) {
  .phone { width: 240px; height: 480px; }
}


/* ══════════════════════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════════════════════ */
.features-section {
  padding: 120px 0;
  background: var(--bg3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,207,192,.4);
  background: rgba(255,255,255,.10);
}

.feat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.fi-teal { background: rgba(0,207,192,.14); }
.fi-red  { background: rgba(213,43,30,.14); }
.fi-gold { background: rgba(245,166,35,.14); }

.feat-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 28px 24px; }
}


/* ══════════════════════════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════════════════════════ */
.video-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.video-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,207,192,.05) 0%, transparent 70%);
  pointer-events: none;
}

.video-box {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--bg2);
  border: 2px solid var(--glass-b);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.video-box:hover,
.video-box:focus {
  border-color: rgba(0,207,192,.4);
  box-shadow: 0 0 60px rgba(0,207,192,.12);
  outline: none;
}
.video-box video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  background: #000;
}

.play-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #001A1A;
  box-shadow: 0 8px 32px rgba(0,207,192,.5);
  transition: transform .25s, box-shadow .25s;
}
.video-box:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 14px 50px rgba(0,207,192,.7);
}

.video-label {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
}

.video-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg2);
  margin-top: 20px;
}


/* ══════════════════════════════════════════════════════════
   PLANS SECTION
══════════════════════════════════════════════════════════ */
.plans-section {
  padding: 120px 0;
  background: var(--bg3);
}

.currency-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 56px;
}
.curr-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, color .2s;
  letter-spacing: .05em;
}
.curr-btn.active,
.curr-btn:hover {
  background: var(--teal);
  color: #001A1A;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* Plan card (server-rendered) */
.plan-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-card.featured {
  background: linear-gradient(160deg, rgba(0,207,192,.12), rgba(0,207,192,.04));
  border-color: rgba(0,207,192,.45);
  box-shadow: 0 0 60px rgba(0,207,192,.15);
}

.plan-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--teal);
  color: #001A1A;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.plan-top {
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--glass-b);
}
.plan-name {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-amount {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 900;
  color: var(--teal);
}
.plan-card.featured .plan-amount { color: var(--teal3); }
.plan-curr-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.plan-feat svg { flex-shrink: 0; margin-top: 1px; }

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
}
.plan-cta:hover { transform: translateY(-2px); opacity: .9; }

.cta-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #001A1A;
  box-shadow: 0 6px 24px rgba(0,207,192,.35);
}
.cta-outline {
  background: transparent;
  border: 2px solid var(--glass-b);
  color: var(--text);
}
.cta-outline:hover { border-color: rgba(0,207,192,.4); }
.cta-grad {
  background: linear-gradient(135deg, var(--red), #ff7040);
  color: #fff;
  box-shadow: 0 6px 24px rgba(213,43,30,.3);
}

/* JS-generated cards */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 28px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.chk { color: var(--teal); font-weight: 700; flex-shrink: 0; }

.plan-btn {
  margin: 0 28px 28px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  width: calc(100% - 56px);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}
.plan-btn.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #001A1A;
  box-shadow: 0 6px 24px rgba(0,207,192,.35);
}
.plan-btn.secondary {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  color: var(--text);
}
.plan-btn:hover { transform: translateY(-2px); }

.plan-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg2);
  margin-top: 32px;
}

@media (max-width: 960px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .plans-grid { grid-template-columns: 1fr; }
  .currency-toggle { width: auto; }
}


/* ══════════════════════════════════════════════════════════
   SCREENSHOTS SECTION
══════════════════════════════════════════════════════════ */
.screenshots-section {
  padding: 120px 0;
  background: var(--bg);
}

.screenshots-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.screenshots-gallery::-webkit-scrollbar { display: none; }

.ss-item {
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--glass-b);
  transition: transform .3s, box-shadow .3s;
}
.ss-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
}
.ss-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ss-sm { width: 160px; height: 300px; }
.ss-md { width: 200px; height: 380px; }
.ss-lg { width: 240px; height: 440px; }

.ss-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.ss-tag {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: .06em;
}
.ss-tag.teal { background: rgba(0,207,192,.12);  color: var(--teal);  border: 1px solid rgba(0,207,192,.25); }
.ss-tag.red  { background: rgba(213,43,30,.12);   color: var(--red2);  border: 1px solid rgba(213,43,30,.25); }
.ss-tag.gold { background: rgba(245,166,35,.12);  color: var(--gold2); border: 1px solid rgba(245,166,35,.25); }

@media (max-width: 700px) {
  .ss-sm { width: 130px; height: 240px; }
  .ss-md { width: 160px; height: 305px; }
  .ss-lg { width: 195px; height: 360px; }
}


/* ══════════════════════════════════════════════════════════
   DESTINATIONS SECTION
══════════════════════════════════════════════════════════ */
.dest-section {
  padding: 120px 0;
  background: var(--bg3);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  grid-auto-rows: 240px;
  gap: 16px;
}

.dest-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  background: var(--bg2);
}
.dest-card:hover { transform: scale(1.02); box-shadow: var(--shadow); }

.dest-card.tall { grid-row: span 2; }
.dest-card.wide { grid-column: span 2; }

.dest-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(3,13,30,.9) 0%, rgba(3,13,30,.08) 60%);
  transition: background .3s;
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(3,13,30,.95) 0%, rgba(3,13,30,.2) 60%);
}

.dest-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
}
.dest-name {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}
.dest-region {
  font-size: 13px;
  color: rgba(238,243,255,.7);
  font-weight: 500;
}

.dest-note {
  font-size: 13px;
  color: var(--fg2);
  margin-top: 20px;
}

@media (max-width: 900px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }
  .dest-card {
    height: 220px;
  }
  .dest-card.tall,
  .dest-card.wide {
    grid-row: span 1;
    grid-column: span 1;
    height: 220px;
  }
}
@media (max-width: 560px) {
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card { height: 200px; }
  .dest-card.tall,
  .dest-card.wide { height: 200px; }
}


/* ── Zoom hint sobre tarjeta ─────────────────────────────── */
.dest-zoomable { cursor: zoom-in; }

.dest-zoom-hint {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,207,192,.18);
  border: 1px solid rgba(0,207,192,.4);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  z-index: 3;
}
.dest-zoomable:hover .dest-zoom-hint,
.dest-zoomable:focus .dest-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

/* ── Lightbox ────────────────────────────────────────────── */
.dest-lb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;          /* oculto por defecto — se activa con .dest-lb-open */
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dest-lb.dest-lb-open { display: flex; }

.dest-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,13,30,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: lbFadeIn .22s ease;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.dest-lb-panel {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 920px);
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(0,207,192,.15);
  animation: lbZoomIn .28s cubic-bezier(.22,.61,.36,1);
}
@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

.dest-lb-img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain; /* Cambiado de cover a contain para ver la imagen completa */
  object-position: center;
  background: var(--bg2); /* Agrega un fondo para los bordes vacíos si la proporción difiere */
}

.dest-lb-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  background: linear-gradient(to top, rgba(3,13,30,.95) 0%, rgba(3,13,30,.0) 100%);
}
.dest-lb-nombre {
  font-family: var(--font-h);
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.dest-lb-region {
  font-size: 14px;
  color: var(--teal);
  margin-top: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dest-lb-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(3,13,30,.75);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(8px);
}
.dest-lb-close:hover { background: rgba(213,43,30,.75); transform: scale(1.1); }
.dest-lb-close:focus { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ══════════════════════════════════════════════════════════
   CHILE PRIDE SECTION
══════════════════════════════════════════════════════════ */
.chile-section {
  padding: 120px 0;
  background: linear-gradient(160deg, var(--bg3) 0%, var(--bg2) 50%, var(--bg3) 100%);
  position: relative;
  overflow: hidden;
}
.chile-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(213,43,30,.05) 0%, transparent 70%);
  pointer-events: none;
}

.chile-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
}

.chile-text { }
.chile-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.chile-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chile-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}
.chile-list li span:first-child { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

/* Chilean flag */
.chile-flag-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.flag-wrapper {
  width: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255,255,255,.1);
}
.flag-top {
  display: flex;
  height: 120px;
}
.flag-blue {
  width: 120px;
  background: #003F87;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.flag-white {
  flex: 1;
  background: #ffffff;
}
.flag-red {
  height: 120px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flag-text {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 900;
  color: rgba(255,255,255,.25);
  letter-spacing: .2em;
}
.flag-caption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.chile-heart { color: var(--red); }

@media (max-width: 960px) {
  .chile-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .chile-list li { justify-content: center; }
  .chile-flag-box { margin-inline: auto; }
}


/* ══════════════════════════════════════════════════════════
   REGISTER SECTION
══════════════════════════════════════════════════════════ */
.register-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.register-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,207,192,.04) 0%, transparent 70%);
  pointer-events: none;
}

.register-box {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--fg2); }
.form-input:focus {
  border-color: rgba(0,207,192,.5);
  background: rgba(0,207,192,.04);
  box-shadow: 0 0 0 3px rgba(0,207,192,.1);
}
.form-input option { background: var(--bg2); color: var(--text); }
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba%28238%2C243%2C255%2C.5%29' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Form message (shown by JS) */
.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
  animation: fade-in .3s ease;
}
.form-msg.ok {
  background: rgba(0,207,192,.1);
  border: 1px solid rgba(0,207,192,.3);
  color: var(--teal);
  display: block;
}
.form-msg.error {
  background: rgba(213,43,30,.1);
  border: 1px solid rgba(213,43,30,.3);
  color: var(--red2);
  display: block;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg2);
  margin-top: 20px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   DOWNLOAD SECTION
══════════════════════════════════════════════════════════ */
.download-section {
  padding: 120px 0;
  background: var(--bg3);
}

.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,207,192,.1);
  border: 1px solid rgba(0,207,192,.3);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}

.gplay-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 14px 30px;
  color: var(--text);
  transition: background .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none;
}
.gplay-btn:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
.gplay-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
}
.gplay-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.gplay-small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gplay-big {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  background: var(--bg3);
  border-top: 1px solid var(--glass-b);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 64px var(--pad) 40px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 16px; display: flex; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 24px var(--pad);
  border-top: 1px solid var(--glass-b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--fg2);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,207,192,.45); }

/* ── Focus ───────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }