/* ============================================================
   VisitAccess — Hoja de estilos principal
   Paleta: #8B0000 crimson | #1A1A1A negro | #FFFFFF blanco
   ============================================================ */

:root {
  --red:       #8B0000;
  --red-light: #a80000;
  --red-soft:  #f9f0f0;
  --black:     #1A1A1A;
  --gray-dark: #333333;
  --gray:      #666666;
  --gray-light:#f4f4f4;
  --white:     #ffffff;
  --border:    #e2e2e2;
  --shadow:    0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius:    10px;
  --radius-lg: 18px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --max-w:     1160px;
  --transition:0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}
main { flex: 1 0 auto; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Tipografía ─────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--gray); }

/* ── Layout helpers ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark p { color: #aaa; }
.section--red  { background: var(--red); color: var(--white); }
.section--red  p { color: rgba(255,255,255,0.82); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: labelPing 2.4s ease-in-out infinite;
}
.section--dark .label { color: #e07070; }
.section--red  .label { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header p { margin-top: 14px; font-size: 1.1rem; }

/* ── Botones ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(139,0,0,0.3); }
.btn-outline { border: 2px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white  { background: var(--white); color: var(--red); font-weight: 700; }
.btn-white:hover { background: #ffe6e6; }
.btn-ghost  { color: var(--red); font-weight: 600; padding: 13px 0; }
.btn-ghost:hover { text-decoration: underline; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: 10px; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 66px;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--black);
}
.nav-logo span { color: var(--red); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
  border-radius: 2px;
}

/* ── Mobile nav ─────────────────────────────────────────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 8px; text-align: center; justify-content: center; }
.mobile-nav.open { display: flex; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 90px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { color: var(--black); margin-bottom: 22px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  margin-bottom: 36px;
  color: var(--gray);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--gray);
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 2px solid white;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
}
.hero-trust-avatars span:first-child { margin-left: 0; }

/* Hero visual / mockup placeholder */
.hero-visual {
  position: relative;
}
.mockup-container {
  position: relative;
  width: 100%;
  padding-top: 70%;
}
.logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 56px);
}
.logo img {
  display: block;
  width: 100%;
  max-width: min(800px, 90%);
  max-height: 100%;
  object-fit: contain;
}
.mockup-phone {
  position: absolute;
  right: 0;
  top: 0;
  width: 44%;
  background: var(--black);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.mockup-phone-screen {
  background: var(--gray-light);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}
.mockup-phone-screen .screen-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mockup-badge-row {
  display: flex;
  gap: 4px;
}
.mockup-badge-row span {
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.5rem;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
}
.mockup-row {
  width: 100%;
  background: var(--white);
  border-radius: 6px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mockup-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gray);
}
.mockup-row-text { flex: 1; }
.mockup-row-text .r1 { height: 7px; background: var(--border); border-radius: 3px; width: 70%; margin-bottom: 4px; }
.mockup-row-text .r2 { height: 5px; background: var(--border); border-radius: 3px; width: 45%; }
.mockup-row-action { width: 18px; height: 18px; background: var(--red); border-radius: 4px; }

.mockup-tablet {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68%;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.mockup-tablet-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mockup-tablet-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-tablet-bar span:first-child { background: #e74c3c; }
.mockup-tablet-bar span:nth-child(2) { background: #f39c12; }
.mockup-tablet-bar span:nth-child(3) { background: #2ecc71; }
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.mockup-stat {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.mockup-stat .num { font-size: 1.1rem; font-weight: 800; color: var(--black); }
.mockup-stat .lbl { font-size: 0.5rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
  padding: 0 4px;
}
.mockup-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--border);
}
.mockup-chart span.active { background: var(--red); }

/* Floating elements on hero */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  z-index: 3;
}
.hero-float .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  flex-shrink: 0;
}
.hero-float--1 { top: 8%; left: 5%; }
.hero-float--2 { bottom: 16%; right: 5%; }

/* ── Logos bar ──────────────────────────────────────────── */
.logos-bar { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos-bar-label {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.logos-list {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.logos-list span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--border);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ── Features ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(139,0,0,0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--red-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { color: var(--black); margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p  { font-size: 0.92rem; line-height: 1.6; }

/* ── How it works ───────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 10px, transparent 10px, transparent 20px);
}
.how-step { text-align: center; padding: 0 24px; }
.how-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.how-step h3 { color: var(--black); margin-bottom: 10px; }
.how-step p  { font-size: 0.92rem; }

/* ── Para quién ─────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.who-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.who-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.who-card-icon {
  width: 60px;
  height: 60px;
  background: var(--red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.who-card-icon svg { width: 30px; height: 30px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { margin-bottom: 10px; color: var(--black); }
.who-card p  { font-size: 0.9rem; margin-bottom: 16px; }
.who-card ul { padding-left: 0; }
.who-card ul li {
  font-size: 0.88rem;
  color: var(--gray);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.who-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.plan-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 8px 40px rgba(139,0,0,0.15);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.plan-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 20px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.plan-currency { font-size: 1.1rem; font-weight: 700; color: var(--gray); }
.plan-amount   { font-size: 2.6rem; font-weight: 800; color: var(--black); line-height: 1; }
.plan-period   { font-size: 0.85rem; color: var(--gray); }
.plan-unit     { font-size: 0.78rem; color: var(--gray); margin-bottom: 20px; }
.plan-divider  { height: 1px; background: var(--border); margin: 20px 0; }
.plan-features { margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-dark);
  padding: 6px 0;
}
.plan-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-features li.muted { color: var(--border); }
.plan-features li.muted svg { stroke: var(--border); }
.plan-cta { width: 100%; text-align: center; justify-content: center; }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars {
  color: #f5b400;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.testimonial-author-name { font-size: 0.9rem; font-weight: 600; color: white; }
.testimonial-author-role { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--red);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red-soft); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.65;
  max-width: 600px;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA final ──────────────────────────────────────────── */
.cta-final { text-align: center; padding: 100px 0; }
.cta-final h2 { color: var(--white); margin-bottom: 16px; }
.cta-final p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── WhatsApp floating ──────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--black);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--black);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  flex-shrink: 0;
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0;
}
.footer-logo span { color: var(--red); }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }

/* ── Aviso de privacidad / Términos ────────────────────── */
.legal-page { padding: 80px 0 100px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-meta { font-size: 0.88rem; color: var(--gray); margin-bottom: 48px; }
.legal-body h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
  color: var(--black);
}
.legal-body h3 {
  font-size: 1rem;
  margin: 24px 0 8px;
  color: var(--black);
}
.legal-body p { font-size: 0.95rem; color: var(--gray-dark); line-height: 1.75; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body ul li { font-size: 0.95rem; color: var(--gray-dark); line-height: 1.7; margin-bottom: 6px; list-style-type: disc; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.88rem; }
.legal-body table th { background: var(--gray-light); padding: 10px 14px; text-align: left; font-weight: 600; color: var(--black); }
.legal-body table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--gray-dark); vertical-align: top; }
.legal-highlight {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 0.93rem;
  color: var(--gray-dark);
}

/* ── Auth / Access Hub ──────────────────────────────────── */
.auth-shell {
  max-width: 520px;
  margin: 0 auto;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid var(--border);
}
.auth-copy {
  margin: 14px 0 28px;
  font-size: 1rem;
}
.auth-form {
  display: grid;
  gap: 18px;
}
.auth-field {
  display: grid;
  gap: 8px;
}
.auth-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
}
.auth-field small {
  color: var(--gray);
  font-size: 0.82rem;
}
.field-error {
  color: var(--red);
  font-size: 0.84rem;
}
.auth-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  color: var(--black);
  background: #fff;
}
.auth-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  color: var(--black);
  background: #fff;
  resize: vertical;
  min-height: 92px;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,0,0,0.12);
}
.auth-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,0,0,0.12);
}
.auth-submit {
  justify-content: center;
  width: 100%;
}
.auth-error {
  background: #fff4f4;
  color: var(--red);
  border: 1px solid #f1c9c9;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
}
.access-header {
  margin-bottom: 40px;
}
.access-grid {
  align-items: stretch;
}
.access-card {
  display: grid;
  gap: 10px;
}
.access-card strong {
  color: var(--black);
}
.access-empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.access-message {
  max-width: 720px;
  margin: 0 auto 24px;
}

/* ── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.gap-8 { gap: 32px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .mockup-container { padding-top: 55%; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-grid::before { display: none; }
  .who-grid  { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .cta-final { padding: 70px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .whatsapp-float { bottom: 20px; right: 16px; }
  .auth-card { padding: 28px 22px; }
}

/* ============================================================
   EFECTOS VISUALES — sutiles, sin cambios de color base
   ============================================================ */

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes floatMockup {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0)    rotate(-1.5deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0)    rotate(1deg); }
  50%       { transform: translateY(-6px) rotate(-1.5deg); }
}
@keyframes btnShine {
  from { left: -80%; }
  to   { left: 130%; }
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0);   opacity: 0.5; }
  50%       { transform: translateY(8px); opacity: 0.15; }
}
@keyframes labelPing {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  60%       { box-shadow: 0 0 0 5px transparent; opacity: 0.6; }
}

/* ── Mockup: animación flotante ─────────────────────────── */
.mockup-phone {
  animation: floatMockup 5.5s ease-in-out infinite;
}
.hero-float--1 { animation: floatBadge1 4.2s ease-in-out infinite; }
.hero-float--2 { animation: floatBadge2 5.8s ease-in-out infinite; }

/* ── Scroll cue al pie del hero ─────────────────────────── */
.hero-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.hero-scroll-cue__mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(26,26,26,0.18);
  border-radius: 13px;
  display: flex; align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
}
.hero-scroll-cue__mouse::after {
  content: '';
  width: 4px; height: 8px;
  background: rgba(26,26,26,0.32);
  border-radius: 2px;
  animation: scrollDot 1.9s ease-in-out infinite;
}

/* ── Botones primarios: shine en hover ──────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -80%;
  width: 55%;
  height: 120%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.16) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}
.btn-primary:hover::after {
  opacity: 1;
  animation: btnShine 0.52s ease forwards;
}

/* ── Stats: números con gradiente ───────────────────────── */
.stat-num {
  background: linear-gradient(135deg, #c0392b 0%, #8B0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Feature cards: glow en hover ───────────────────────── */
.feature-card:hover {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--red), 0 8px 32px rgba(139,0,0,0.09);
  transform: translateY(-3px);
}

/* ── How-it-works: halo suave en los círculos ───────────── */
.how-number {
  box-shadow: 0 0 0 8px rgba(139,0,0,0.06), 0 0 32px rgba(139,0,0,0.16);
}

/* ── Testimonials: hover lift ───────────────────────────── */
.testimonial-card {
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover {
  border-color: rgba(139,0,0,0.35);
  transform: translateY(-3px);
}

/* ── CTA roja: dot grid sutil ───────────────────────────── */
.cta-final { overflow: hidden; }
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.cta-final .container { position: relative; z-index: 1; }

/* ── Reducción de movimiento ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mockup-phone,
  .hero-float--1,
  .hero-float--2 { animation: none !important; }
  .btn-primary::after { display: none; }
  .label::before { animation: none; }
}
