/* ═══════════════════════════════════════════════════════════════════════════
   Vistro Landing — vistro.css
   Soporta modo oscuro (por defecto) y claro via [data-theme="light"]
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

/* ── Variables — Tema Oscuro (default) ──────────────────────────────────── */
:root {
  --accent:      #E8C547;
  --accent-dim:  #C9A227;
  --accent-glow: rgba(232, 197, 71, 0.15);

  --bg:          #0F0F14;
  --bg-2:        #1A1A24;
  --bg-3:        #242433;
  --bg-4:        #2E2E40;

  --text:        #F0EEE8;
  --text-2:      #C8C6C0;
  --muted:       #7A7A8A;

  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.14);

  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.5);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-2xl: 48px;

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ── Variables — Tema Claro ─────────────────────────────────────────────── */
[data-theme="light"] {
  --accent:      #B8931A;
  --accent-dim:  #9A7A14;
  --accent-glow: rgba(184, 147, 26, 0.12);

  --bg:          #FAFAF7;
  --bg-2:        #F0EFE8;
  --bg-3:        #E8E7DF;
  --bg-4:        #E0DED6;

  --text:        #1A1A14;
  --text-2:      #3A3A30;
  --muted:       #7A7A6A;

  --border:      rgba(0, 0, 0, 0.08);
  --border-2:    rgba(0, 0, 0, 0.14);

  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.14);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition-slow), color var(--transition-slow);
}

/* Noise texture overlay — solo en oscuro */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.35;
  transition: opacity var(--transition-slow);
}
[data-theme="light"] body::before { opacity: 0.1; }

/* ── Contenedor ─────────────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Botones ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all var(--transition);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.07); }

.btn-primary {
  background: var(--accent);
  color: #0F0F14;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow), 0 0 0 1px var(--accent);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
}

.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: var(--r-lg); }

/* ── NAV ────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

.nav-scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent) !important;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-right {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}

.nav-login {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-login:hover { color: var(--text); }

/* ── Botón de tema ──────────────────────────────────────────────────────── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-3);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-4);
  color: var(--text);
  border-color: var(--border-2);
}
.theme-toggle svg { transition: transform 0.5s ease; }
.theme-toggle:hover svg { transform: rotate(20deg); }

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

.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,    var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%,   rgba(232,197,71,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 20% 60%,   rgba(100,80,200,0.04) 0%, transparent 50%);
  transition: background var(--transition-slow);
}

.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  transition: opacity var(--transition-slow);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(232,197,71,0.25);
  border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow span { opacity: 0.6; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
  color: var(--text);
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  max-width: 560px; margin: 0 auto 48px;
  font-weight: 400; line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-social-proof {
  margin-top: 56px;
  display: flex; align-items: center; gap: 16px;
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero-avatars { display: flex; }
.hero-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-3);
  margin-left: -10px;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition-slow);
}
.hero-avatar:first-child { margin-left: 0; }
.hero-proof-text { font-size: 13px; color: var(--muted); text-align: left; line-height: 1.4; }
.hero-proof-text strong { color: var(--text); }

/* ── Mockup ─────────────────────────────────────────────────────────────── */
.hero-mockup {
  margin-top: 80px;
  position: relative;
  animation: fadeUp 0.8s 0.5s ease both;
  max-width: 900px; width: 100%;
}
.mockup-browser {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 120px var(--accent-glow);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}
.mockup-bar {
  padding: 14px 20px;
  background: var(--bg-3);
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 7px; }
.mockup-dots span { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-url {
  flex: 1; background: rgba(128,128,128,0.1);
  border-radius: 6px; padding: 6px 14px;
  font-size: 12px; color: var(--muted); font-family: var(--font-body);
  max-width: 300px;
}
.mockup-body {
  padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  min-height: 320px;
}
.mock-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform 0.3s, border-color var(--transition-slow), background var(--transition-slow);
}
.mock-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.mock-card-img {
  height: 120px; background: var(--bg-4);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative;
  transition: background var(--transition-slow);
}
.mock-card-body { padding: 12px; }
.mock-card-name  { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.mock-card-price { font-size: 12px; color: var(--accent); font-weight: 700; }
.mock-card-row   { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.mock-likes      { font-size: 11px; color: var(--muted); }
.mock-add {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #0F0F14;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; cursor: pointer;
  transition: transform 0.15s;
}
.mock-add:hover { transform: scale(1.15); }

/* ── LOGOS BAND ─────────────────────────────────────────────────────────── */
.logos-band {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition-slow);
}
.logos-label {
  text-align: center; font-size: 11px; color: var(--muted);
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 24px;
}
.logos-scroll-wrap { overflow: hidden; display: flex; }
.logos-scroll {
  display: flex; gap: 56px; align-items: center;
  animation: scrollLogos 22s linear infinite;
  width: max-content;
}
.logo-item {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.3s, color var(--transition-slow);
}
.logo-item:hover { opacity: 0.85; color: var(--text); }

/* ── SECCIONES ──────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 16px;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub {
  font-size: 18px; color: var(--muted);
  max-width: 520px; line-height: 1.7;
}

/* ── FEATURES ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: border-color var(--transition-slow);
}
.feature-card {
  background: var(--bg-2);
  padding: 40px 36px;
  transition: background var(--transition);
  position: relative;
}
.feature-card:hover { background: var(--bg-3); }
.feature-icon   { font-size: 36px; margin-bottom: 20px; display: block; }
.feature-title  { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-desc   { font-size: 15px; color: var(--muted); line-height: 1.65; }
.feature-badge  {
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 99px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(232,197,71,0.25);
  letter-spacing: 0.5px; text-transform: uppercase;
}

/* ── PASOS ──────────────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 64px; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 28px; left: 14%; right: 14%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step { padding: 0 24px; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900; color: var(--accent);
  position: relative; z-index: 1;
  transition: all 0.3s, background var(--transition-slow);
}
.step:hover .step-num {
  background: var(--accent); color: #0F0F14;
  box-shadow: 0 0 32px var(--accent-glow);
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── TESTIMONIOS ────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin-top: 64px;
}
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  transition: border-color 0.3s, background var(--transition-slow);
}
.testimonial-card:hover { border-color: var(--border-2); }
.testimonial-stars  { color: var(--accent); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text   { font-size: 16px; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-4);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: background var(--transition-slow);
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* ── EXPLORE CTA ────────────────────────────────────────────────────────── */
.explore-section { padding: 100px 0; position: relative; overflow: hidden; }
.explore-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.explore-inner {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 80px 60px; text-align: center; overflow: hidden;
  transition: background var(--transition-slow), border-color var(--transition-slow);
}
.explore-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.explore-inner .section-sub { margin: 12px auto 36px; }
.explore-preview { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.explore-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 99px; font-size: 13px; color: var(--muted);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}
.explore-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ── PRECIOS ────────────────────────────────────────────────────────────── */
.plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 64px;
}
.plan-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 30px;
  position: relative; transition: all 0.3s, background var(--transition-slow);
}
.plan-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-2), color-mix(in srgb, var(--accent) 6%, var(--bg-2)));
}
.plan-featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0F0F14;
  font-size: 11px; font-weight: 800;
  padding: 4px 16px; border-radius: 99px;
  letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap;
}
.plan-name   { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.plan-price  { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 4px; }
.plan-price span { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.plan-period { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.4;
}
.plan-feature .check { color: var(--accent); font-weight: 900; flex-shrink: 0; }
.plan-feature .cross { color: var(--muted); opacity: 0.5; flex-shrink: 0; }
.plan-cta {
  display: block; width: 100%; margin-top: 32px; padding: 14px;
  border-radius: var(--r-md); font-size: 15px; font-weight: 700;
  text-align: center; cursor: pointer; border: none;
  font-family: var(--font-body); transition: all var(--transition);
}
.plan-cta.primary { background: var(--accent); color: #0F0F14; }
.plan-cta.primary:hover { box-shadow: 0 8px 24px var(--accent-glow); transform: translateY(-1px); }
.plan-cta.ghost { background: transparent; border: 1.5px solid var(--border-2); color: var(--text); }
.plan-cta.ghost:hover { background: var(--bg-3); }

/* ── FINAL CTA ──────────────────────────────────────────────────────────── */
.final-cta { padding: 120px 0; text-align: center; position: relative; }
.final-cta::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; transition: border-color var(--transition-slow); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.footer-brand .nav-logo  { font-size: 22px; margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--muted); max-width: 220px; line-height: 1.5; }
.footer-links-group { display: flex; flex-direction: column; gap: 10px; }
.footer-links-title  { font-size: 11px; font-weight: 700; color: var(--text-2); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.footer-link { font-size: 14px; color: var(--muted); transition: color var(--transition); }
.footer-link:hover { color: var(--text); }

.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  transition: border-color var(--transition-slow);
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy strong { color: var(--accent); }

/* Crédito Demage */
.footer-demage {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
  transition: color var(--transition);
}
.footer-demage a {
  color: var(--muted); font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.footer-demage:hover a { color: var(--text); border-bottom-color: var(--border-2); }

/* ── ANIMACIONES ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible         { opacity: 1; transform: translateY(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; }

/* ── HAMBURGUESA ─────────────────────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 8px;
  transition: background var(--transition);
  flex-shrink: 0;
  z-index: 201;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Animación X cuando está abierto */
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MENÚ MOBILE OVERLAY ─────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  width: 100vw;
  max-width: 100%;
  background: var(--bg);
  z-index: 199;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 20px;
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
  width: 100%;
}
.mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
  text-decoration: none;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--accent); }

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}
.mobile-login {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
}
.mobile-login:hover { background: var(--bg-3); }

.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links              { display: none; }
  .nav-right              { display: none; }
  .menu-toggle            { display: flex; }
  /* nav-inner en mobile: logo a la izquierda, hamburguesa a la derecha */
  .nav-inner {
    padding: 0 16px;
    gap: 0;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .section          { padding: 64px 0; }
  .explore-inner    { padding: 48px 24px; }
  .final-cta        { padding: 80px 0; }
  .footer-inner     { flex-direction: column; }
  .steps::before    { display: none; }
  .mockup-body      { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; }
  .mock-card:nth-child(3) { display: none; }
  .hero-proof-text  { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 16px; gap: 8px; }
}

/* ── Lang switcher ──────────────────────────────────────────────────────── */
.lang-switcher {
  display: flex; align-items: center; gap: 6px;
}
.lang-btn {
  background: none; border: none;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  cursor: pointer; padding: 4px 2px;
  transition: color var(--transition);
  line-height: 1;
}
.lang-btn:hover   { color: var(--text); }
.lang-btn.lang-active { color: var(--accent); }
.lang-sep {
  font-size: 12px; color: var(--border-2);
  user-select: none; line-height: 1;
}

/* ── Mobile menu btn full width ─────────────────────────────────────────── */
.mobile-menu-actions .btn {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.mobile-menu-actions .mobile-login {
  box-sizing: border-box;
}