/* ═══════════════════════════════════════════
   SmartPadel — Landing Page
   Palette: ink-dark / gold / sand
   Fonts:   Fraunces (serif) + Space Grotesk (sans)
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --sand:    #efe6d5;
  --ink:     #0a0b0e;
  --ink-soft:#111318;
  --mint:    #f0d98a;
  --copper:  #c9a84c;
  --copper-h:#e0c96a;
  --line:    #2a2e38;
  --text:    #d8e0eb;
  --muted:   #9da9bc;
  --white:   #f7fbff;
  --radius:  12px;
  --radius-lg:18px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }

html {
  max-width: 100vw;
  overflow-x: hidden;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  background: #111318;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px; /* offset for fixed topbar */
}

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

img, svg { display: block; }

/* ─── SHELL ─── */
.landing-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

/* ─── TOPBAR ─── */
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 200;
  background: rgba(10,11,14,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157,169,188,.08);
}

.brand {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: -.3px;
  flex-shrink: 0;
}

.brand span { color: var(--white); transition: color .3s ease; }
.brand em   { color: var(--copper); font-style: italic; transition: color .3s ease; }

.brand:hover span { color: var(--copper); }
.brand:hover em   { color: var(--white); }

/* En el footer el brand es estático, sin hover */
.footer-brand-col .brand:hover span { color: var(--white); }
.footer-brand-col .brand:hover em   { color: var(--copper); }

.topbar-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}

.topbar-nav a {
  position: relative;
  transition: color var(--transition);
}

.topbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  border-radius: 1px;
  transition: width var(--transition);
}

.topbar-nav a:hover { color: var(--white); }
.topbar-nav a:hover::after { width: 100%; }

.topbar-actions {
  display: flex;
  gap: 10px;
  margin-left: 24px;
}

.topbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 30px;
  height: 30px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(157,169,188,.35);
  border-radius: 8px;
  background: rgba(10,11,14,.85);
  box-shadow: 0 8px 16px rgba(0,0,0,.28);
  cursor: pointer;
  transition: border-color .2s var(--transition), box-shadow .2s var(--transition), transform .2s var(--transition);
}

.topbar-burger span {
  display: block;
  width: 14px;
  height: 1.4px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.topbar-burger span:nth-child(1),
.topbar-burger span:nth-child(3) {
  width: 10px;
}

.topbar-burger:hover {
  border-color: var(--copper);
  box-shadow: 0 10px 22px rgba(0,0,0,.34);
  transform: translateY(-1px);
}

.topbar-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.topbar-burger.is-open span:nth-child(2) { opacity: 0; }
.topbar-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(157,169,188,.12);
  border-radius: 12px;
  position: fixed;
  left: auto;
  right: 12px;
  width: min(88vw, 260px);
  top: 64px;
  z-index: 99;
  background: rgba(10,11,14,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 24px rgba(0,0,0,.32);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  font-size: .95rem;
  color: var(--muted);
  font-weight: 500;
}

.mobile-nav a:hover { color: var(--white); }

.mobile-nav hr {
  border: none;
  border-top: 1px solid rgba(157,169,188,.1);
  margin: 8px 0;
}

.mobile-nav .btn {
  width: 100%;
  justify-content: center;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .25s ease, border-color .25s ease, color .25s ease;
}

.btn--sm { padding: 8px 14px; font-size: .76rem; }
.btn--lg { padding: 14px 28px; font-size: .86rem; letter-spacing: 1px; }

.btn--solid {
  background: var(--copper);
  color: #0a0b0e;
}

.btn--solid:hover {
  filter: brightness(1.15);
}

.btn--ghost {
  border-color: rgba(157,169,188,.3);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(157,169,188,.6);
  color: var(--white);
}

.btn--danger {
  background: #c0392b;
  color: #fff;
}

.btn--danger:hover {
  filter: brightness(1.15);
}

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.section-title {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.3px;
  color: var(--white);
}

.section-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-copy { padding: 8px 0; }

.kicker {
  margin: 0 0 16px;
  color: var(--mint);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.2px;
}

h1 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.5px;
  color: var(--white);
}

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.micro {
  margin-top: 16px;
  color: var(--muted);
  font-size: .82rem;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(157,169,188,.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(14,20,30,.97), rgba(17,24,36,.88));
  box-shadow:
    0 24px 60px rgba(0,0,0,.4),
    0 1px 0 rgba(255,255,255,.03) inset;
  overflow: hidden;
}

.hero-card__header {
  display: flex;
  gap: 7px;
  padding: 14px 18px 0;
}

.hero-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(157,169,188,.18);
}

.hero-card__dot:first-child { background: rgba(192,57,43,.5); }
.hero-card__dot:nth-child(2) { background: rgba(201,168,76,.5); }
.hero-card__dot:nth-child(3) { background: rgba(201,168,76,.5); }

.hero-card__body {
  padding: 16px 18px 20px;
}

.hero-card__row {
  display: flex;
  gap: 8px;
}

.pill {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
  font-weight: 700;
}

.pill--mint  { background: var(--mint); color: #0a0b0e; }
.pill--copper { background: var(--copper); color: #0a0b0e; }
.pill--ghost {
  background: transparent;
  border: 1px solid rgba(157,169,188,.3);
  color: var(--muted);
}

.hero-card__title {
  margin: 14px 0 12px;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--white);
}

.hero-card__grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(157,169,188,.1);
  border-radius: 10px;
  padding: 10px 14px;
  background: rgba(17,24,36,.6);
  transition: border-color var(--transition);
}

.hero-tile:first-child {
  border-color: rgba(201,168,76,.3);
  background: rgba(201,168,76,.06);
}

.hero-tile__rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(157,169,188,.1);
  color: var(--muted);
  flex-shrink: 0;
}

.hero-tile:first-child .hero-tile__rank {
  background: rgba(201,168,76,.2);
  color: var(--copper);
}

.hero-tile__info { display: flex; flex-direction: column; gap: 2px; }
.hero-tile__info strong { font-size: .88rem; color: var(--white); }
.hero-tile__info span { font-size: .76rem; color: var(--muted); }

.hero-card__bracket {
  margin-top: 12px;
  border: 1px solid rgba(201,168,76,.15);
  border-radius: 10px;
  padding: 10px 14px;
  background: rgba(201,168,76,.04);
}

.hero-bracket-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text);
}

.hero-bracket-vs {
  font-size: .68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mint);
}

.hero-bracket-label {
  text-align: center;
  margin-top: 6px;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}


/* ─── SOCIAL PROOF ─── */
.proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 36px 0;
  border-top: 1px solid rgba(157,169,188,.08);
  border-bottom: 1px solid rgba(157,169,188,.08);
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}

.proof-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.proof-item strong {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--copper);
  letter-spacing: -.5px;
}

.proof-item span {
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(157,169,188,.15);
  flex-shrink: 0;
}

/* ─── FEATURES ─── */
.features {
  padding: 80px 0;
}

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

.feature-card {
  border: 1px solid rgba(157,169,188,.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: linear-gradient(170deg, rgba(17,24,36,.6), rgba(14,20,30,.4));
  transition: all .35s ease;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: rgba(201,168,76,.25);
  background: linear-gradient(170deg, rgba(17,24,36,.8), rgba(14,20,30,.6));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.15);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--copper);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ─── STEPS (HOW IT WORKS) ─── */
.steps {
  padding: 80px 0;
  border-top: 1px solid rgba(157,169,188,.06);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--copper);
  margin: 0 auto 20px;
}

.step h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(201,168,76,.4), rgba(201,168,76,.1));
  border-radius: 1px;
  flex-shrink: 0;
  margin-top: 26px;
}

/* ─── PLANS ─── */

/* ==========================================================================
   TOOLTIP PARA PLANES (SmartPadel) - SIEMPRE AL FRENTE
   ========================================================================== */

.plan-card:hover {
  z-index: 100; /* Esto hace que la tarjeta actual le gane a sus hermanas */
}

.plan-card, .plans-grid, .panel {
  overflow: visible !important;
}

.plan-tooltip-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  /* El contenedor debe tener un z-index alto para destacar sobre la card */
  z-index: 50; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-tooltip-svg-wrapper {
  display: inline-block;
  position: relative;
  cursor: help;
}

.plan-tooltip-text {
  /* Estado inicial: Oculto */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  
  /* Posicionamiento */
  position: absolute;
  /* z-index muy alto para asegurar que flote sobre todo lo demás */
  z-index: 9999; 
  left: 50%;
  top: 120%;
  transform: translateX(-50%) translateY(5px);
  
  /* Estética */
  min-width: 220px;
  background: #141414; /* Color sólido para que no trasluzca lo de atrás */
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
  
  /* Sombra profunda para dar efecto de elevación */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  /* Animación suave */
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Flechita superior */
.plan-tooltip-text::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #141414 transparent;
}

/* Mostrar al hacer Hover o Focus */
.plan-tooltip-svg-wrapper:hover .plan-tooltip-text,
.plan-tooltip-svg-wrapper:focus .plan-tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* IMPORTANTE: Aseguramos que la card no recorte el tooltip */
.plan-card {
  overflow: visible !important; 
}

.plans {
  padding: 80px 0;
  border-top: 1px solid rgba(157,169,188,.06);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  scroll-margin-top: 100px;
  margin: 0 auto;
}

.plan-card {
  width: 100%;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: linear-gradient(160deg, rgba(24,33,47,.85), rgba(14,19,29,.9));
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  display: flex;
  flex-direction: column;
}

.plan-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.plan-card--featured {
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(201,168,76,.06) inset;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--copper);
  color: #0a0b0e;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 999px;
}

.plan-badge--annual {
  background: #f0d98a;
}

.plan-badge--custom {
  background: var(--wire-2, #4a5568);
  color: var(--text-hi, #eceef4);
}

.plan-savings {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.plan-savings__original {
  font-size: .95rem;
  color: var(--muted);
  text-decoration: line-through;
}

.plan-savings__tag {
  font-size: .75rem;
  font-weight: 700;
  background: rgba(201,168,76,.15);
  color: var(--copper);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
}

.plan-name {
  margin: 8px 0 0;
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--white);
}
.plan-name span { color: var(--white); }
.plan-name em   { color: var(--copper); font-style: italic; }

.plan-price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price__amount {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: -1px;
}

.plan-price__period {
  font-size: .85rem;
  color: var(--muted);
}

.plan-desc {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--text);
}

.plan-features svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
  flex-shrink: 0;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
}

/* Monthly plan: offset .plan-features to match Annual's position (no .plan-savings present) */
.plans-grid > .plan-card:first-child .plan-features {
  margin-top: 54px;
}

/* Custom plan: offset .plan-features to match Annual's position (no .plan-savings + smaller price font) */
.plans-grid > .plan-card:last-child .plan-features {
  margin-top: 46px;
}

/* ─── FAQ ─── */
.faq {
  padding: 80px 0;
  border-top: 1px solid rgba(157,169,188,.06);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(157,169,188,.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}

.faq-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--copper);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover { color: var(--copper); }

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

/* ─── FINAL CTA ─── */
.final-cta {
  text-align: center;
  padding: 72px 24px;
  margin: 0 -24px;
  border-top: 1px solid rgba(157,169,188,.06);
  background:
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(201,168,76,.08), transparent),
    transparent;
}

.final-cta h2 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  letter-spacing: -.3px;
}

.final-cta p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 48ch;
}

.final-cta__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  padding-top: 80px;
  position: relative;
  border-top: none;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(50%, 400px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.35), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 64px;
  padding-bottom: 56px;
  align-items: start;
}

/* ── Center brand column ── */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}

.footer-brand-col .brand {
  font-size: 1.85rem;
}

.footer-tagline {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.8;
  letter-spacing: .2px;
}

/* ── Link columns ── */
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer-links-col--left {
  text-align: left;
}

.footer-links-col--right {
  text-align: right;
  align-items: flex-end;
}

.footer-links-col h4 {
  margin: 0 0 8px;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--copper);
  font-weight: 500;
}

.footer-links-col a {
  font-size: .85rem;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
  width: fit-content;
}

.footer-links-col--right a {
  margin-left: auto;
}

.footer-links-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width var(--transition);
}

.footer-links-col a:hover {
  color: var(--white);
}

.footer-links-col a:hover::after {
  width: 100%;
}

/* ── Bottom bar ── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(157,169,188,.08);
  color: var(--muted);
  font-size: .88rem;
}

.footer-bottom em { color: var(--copper); font-style: italic; }

/* ─── SCROLL ANIMATIONS ─── */
.feature-card,
.step,
.faq-item,
.plan-card,
.proof-item {
  will-change: opacity, transform;
}

/* stagger delays for features */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: .07s; }
.feature-card:nth-child(3) { transition-delay: .14s; }
.feature-card:nth-child(4) { transition-delay: .21s; }
.feature-card:nth-child(5) { transition-delay: .28s; }
.feature-card:nth-child(6) { transition-delay: .35s; }

/* stagger delays for proof */
.proof-item:nth-child(1) { transition-delay: 0s; }
.proof-item:nth-child(3) { transition-delay: .1s; }
.proof-item:nth-child(5) { transition-delay: .2s; }
.proof-item:nth-child(7) { transition-delay: .3s; }

/* stagger delays for steps */
.step:nth-child(1) { transition-delay: 0s; }
.step:nth-child(3) { transition-delay: .15s; }
.step:nth-child(5) { transition-delay: .3s; }

/* stagger delays for faq */
.faq-item:nth-child(1) { transition-delay: 0s; }
.faq-item:nth-child(2) { transition-delay: .05s; }
.faq-item:nth-child(3) { transition-delay: .1s; }
.faq-item:nth-child(4) { transition-delay: .15s; }
.faq-item:nth-child(5) { transition-delay: .2s; }
.faq-item:nth-child(6) { transition-delay: .25s; }

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

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

  .steps-grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .step-connector {
    display: none;
  }

  .step {
    flex: 0 0 calc(33.3% - 16px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    order: -1;
  }

  .footer-links-col--right {
    text-align: right;
    align-items: flex-end;
  }

  .footer-links-col--right a {
    margin-left: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .landing-shell { padding: 0 16px; }

  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar-nav,
  .topbar-actions { display: none; }

  .topbar-burger { display: flex; }

  .hero { padding: 36px 0; gap: 32px; }

  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn { width: 100%; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .proof {
    flex-wrap: wrap;
    gap: 0;
    padding: 24px 0;
  }

  .proof-divider {
    display: none;
  }

  .proof-item {
    flex: 0 0 50%;
    padding: 16px;
  }

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

  .step {
    flex: none;
    max-width: 100%;
  }

  .plan-card {
    padding: 28px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-brand-col {
    order: -1;
    grid-column: 1 / -1;
  }

  .footer-links-col--left {
    grid-column: 1;
  }

  .footer-links-col--right {
    grid-column: 2;
  }

  .footer-links-col--right {
    text-align: right;
    align-items: flex-end;
    justify-self: end;
  }

  .footer-links-col--right a {
    margin-left: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .final-cta {
    padding: 48px 16px;
    margin: 0 -16px;
  }

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

  .final-cta__actions .btn { width: 100%; max-width: 320px; }

  .hero-bracket-match {
    font-size: .74rem;
  }

}

/* Small mobile */
@media (max-width: 380px) {
  .proof-item { flex: 0 0 100%; }
}

/* ─── WHATSAPP FLOTANTE ─── */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 5000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transition: filter .25s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  filter: brightness(1.15);
}

.whatsapp-float:hover .whatsapp-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Tooltip — burbuja estilo WhatsApp */
.whatsapp-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #1a2030;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.65;
  white-space: nowrap;
  padding: 10px 14px 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,.35);
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.whatsapp-tip strong {
  display: block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  font-size: .84rem;
}

/* Cola exterior — borde dorado */
.whatsapp-tip::before {
  content: '';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid rgba(201,168,76,.35);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  z-index: 0;
}

/* Cola interior — relleno del fondo */
.whatsapp-tip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid #1a2030;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  z-index: 1;
}

/* Single mobile override to keep it inside viewport */
@media (max-width: 768px) {
  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
  }

  .whatsapp-tip { display: none !important; }
}

/* Final hard override to keep the button inside viewport on all screens */
.whatsapp-float {
  position: fixed !important;
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 5000 !important;
}

