/* ═══════════════════════════════════════
   NOVA — Stripe-clean light theme
   ═══════════════════════════════════════ */

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

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e2e8f0;
  --accent: #1e3a8a; /* Navy Blue */
  --accent-light: #eff6ff;
  --font-h: 'Manrope', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-h);
  color: var(--text);
  line-height: 1.1;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ BUTTONS ═══ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
.btn-primary:hover {
  background: #172a6b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-full { width: 100%; }

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

/* ═══ NAV ═══ */

.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
}

.nav.scrolled .nav-inner {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border-color: var(--border);
}

.nav-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 100px;
  padding: 0 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.3s var(--ease);
}

.nav-logo {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.87rem;
  font-weight: 450;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-cta { padding: 8px 18px; font-size: 0.85rem; }

@media (max-width: 767px) {
  .nav-cta { display: none; }
}

/* Burger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 7px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s;
}
@media (min-width: 768px) {
  .nav-burger { display: none; }
}
.nav-burger:hover { border-color: var(--text); }
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.25s var(--ease);
  transform-origin: center;
}
.nav-burger span:nth-child(1) { width: 16px; }
.nav-burger span:nth-child(2) { width: 12px; }
.nav-burger span:nth-child(3) { width: 8px; }
.nav-burger.open span:nth-child(1) { width: 16px; transform: translateY(5.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { width: 16px; transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-link {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.15s;
}
.mobile-link:hover { color: var(--text); }

.mobile-menu-cta {
  margin-top: 24px;
  padding: 14px 32px;
  font-size: 0.95rem;
}

/* ═══ HERO ═══ */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(30, 58, 138, 0.2);
  background: var(--accent-light);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ TRUST BAR ═══ */

.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.trust-bar::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.trust-bar::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.trust-track {
  display: flex;
  gap: 0;
  animation: marquee 35s linear infinite;
  width: max-content;
  align-items: center;
}

.trust-item {
  font-size: 0.82rem;
  font-weight: 450;
  color: var(--text-3);
  white-space: nowrap;
}

.trust-sep {
  color: var(--border);
  margin: 0 20px;
  font-size: 0.75rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ SERVICE SECTIONS ═══ */

.service-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.service-alt { background: var(--bg-alt); }

.service-number {
  position: absolute;
  top: 40px;
  right: 40px;
  font-family: var(--font-h);
  font-size: clamp(100px, 12vw, 160px);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (min-width: 860px) {
  .service-grid {
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
  }
}

.service-label {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 12px;
}

.service-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.5;
}

.service-features svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Pricing card */
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.service-alt .pricing-card {
  background: var(--bg);
}

.popular-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  margin-bottom: 20px;
}

.pricing-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: var(--font-h);
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.pricing-suffix {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 4px;
  margin-bottom: 20px;
}

.pricing-included {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--accent-light);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.pricing-included svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 24px;
}

/* Tiers */
.tiers {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tiers-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 12px;
}

.tiers-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.tiers-table td {
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.tiers-table tr:last-child td { border-bottom: none; }
.tiers-table td:last-child {
  text-align: right;
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* ═══ SECTIONS (proceso, por qué) ═══ */

.section {
  padding: 96px 0;
}

.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 400px;
  margin: 0 auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Reasons */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}

.reason-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.reason-card:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.reason-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.reason-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ═══ CTA ═══ */

.cta-section {
  padding: 120px 0;
  background: var(--bg-alt);
}

.cta-card {
  position: relative;
  background: var(--accent);
  border-radius: 32px;
  padding: 80px 40px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 24px 48px rgba(30, 58, 138, 0.15);
}

.cta-card-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.cta-content h2 span {
  color: #93c5fd; /* Soft light blue */
  font-style: italic;
  font-family: var(--font-h);
  font-weight: 800;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  border-radius: 100px;
  padding: 18px 40px;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

.cta-avatars {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cta-reply-time {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ═══ FOOTER ═══ */

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer-inner a {
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-inner a:hover { color: var(--text); }

.footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 4px;
  }
}

/* ═══ SCROLL REVEAL ═══ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }

/* ═══ RESPONSIVE ═══ */

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn { justify-content: center; }
  .pricing-card { padding: 28px 20px; }
  .service-number { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
