/* =============================================
   FUENTES (LOCAL)
   ============================================ */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-900.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/Lora-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../assets/fonts/SpaceMono-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   VARIABLES
   ============================================ */
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-lighter: #334155;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #60a5fa;
  --blue-bg: #eff6ff;
  --blue-bg-hover: #dbeafe;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --green: #10b981;
  --gray-bg: #f8fafc;
  --gray-border: #e2e8f0;
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --text-light: #94a3b8;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-mono: 'Space Mono', 'Monaco', monospace;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 40px rgba(37, 99, 235, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger effect for grids */
.grid [data-reveal].revealed:nth-child(1) { transition-delay: 0ms; }
.grid [data-reveal].revealed:nth-child(2) { transition-delay: 80ms; }
.grid [data-reveal].revealed:nth-child(3) { transition-delay: 160ms; }
.grid [data-reveal].revealed:nth-child(4) { transition-delay: 240ms; }
.grid [data-reveal].revealed:nth-child(5) { transition-delay: 320ms; }
.grid [data-reveal].revealed:nth-child(6) { transition-delay: 400ms; }
.grid [data-reveal].revealed:nth-child(7) { transition-delay: 480ms; }
.grid [data-reveal].revealed:nth-child(8) { transition-delay: 560ms; }
.grid [data-reveal].revealed:nth-child(9) { transition-delay: 640ms; }

.faq-list [data-reveal].revealed:nth-child(1) { transition-delay: 0ms; }
.faq-list [data-reveal].revealed:nth-child(2) { transition-delay: 60ms; }
.faq-list [data-reveal].revealed:nth-child(3) { transition-delay: 120ms; }
.faq-list [data-reveal].revealed:nth-child(4) { transition-delay: 180ms; }
.faq-list [data-reveal].revealed:nth-child(5) { transition-delay: 240ms; }
.faq-list [data-reveal].revealed:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =============================================
   CONTAINER & GRID
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

/* =============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--gray-border);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* =============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.navbar-logo svg { width: 36px; height: 36px; }
.navbar-brand-blue { color: var(--blue); }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-links {
  display: flex;
  gap: 32px;
}

.navbar-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
}

.navbar-link:hover {
  color: var(--text-dark);
}

.navbar-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0;
  position: relative;
  z-index: 2;
}

.navbar-toggle .icon-menu,
.navbar-toggle .icon-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.navbar-toggle .icon-close {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

body.menu-open .navbar-toggle .icon-menu {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

body.menu-open .navbar-toggle .icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* =============================================
   HERO SECTION
   ============================================ */
.hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, #020617 100%);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blue-light);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--blue-light), #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* =============================================
   SECTIONS
   ============================================ */
section {
  padding: 100px 0;
}

.section-white { background: var(--white); }
.section-gray { background: var(--gray-bg); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   COMPARISON
   ============================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.comparison-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-header {
  margin-bottom: 8px;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.comparison-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.badge-before {
  background: var(--red-bg);
  color: var(--red);
}

.badge-before .dot { background: var(--red); }

.badge-after {
  background: var(--blue-bg);
  color: var(--blue);
}

.badge-after .dot { background: var(--blue); }

.comparison-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.comparison-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.comparison-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.comparison-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.comparison-item.before .comparison-icon-wrapper {
  background: var(--red-bg);
  color: var(--red);
}

.comparison-item.after .comparison-icon-wrapper {
  background: var(--blue-bg);
  color: var(--blue);
}

.comparison-item p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: var(--text-dark);
}

/* =============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   MODULE BLOCKS
   ============================================ */
.modules-section {
  display: grid;
  gap: 100px;
}

.module-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.module-block.reverse .module-content { order: 2; }
.module-block.reverse .module-image { order: 1; }

.module-content h3 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.module-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.75;
  margin: 0;
}

.module-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.module-image:hover img {
  transform: scale(1.02);
}

/* =============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover:not(.featured) {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--blue);
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.pricing-card .subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.pricing-card.featured .subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.pricing-period {
  font-size: 15px;
  color: var(--text-gray);
  font-weight: 500;
}

.pricing-card.featured .pricing-period {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-annual-note {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-border);
}

.pricing-card.featured .pricing-annual-note {
  color: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.pricing-features {
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.5;
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

.pricing-card.featured .pricing-features svg {
  color: var(--blue-light);
}

.pricing-card .pricing-footer {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 16px;
  text-align: center;
}

.pricing-card.featured .pricing-footer {
  color: rgba(255, 255, 255, 0.55);
}

/* =============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

.team-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: var(--blue-light);
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-sans);
  gap: 16px;
}

.faq-item.open .faq-question {
  color: var(--blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--gray-border);
  padding-top: 16px;
}

/* =============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  line-height: 1.15;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section-highlight {
  background: linear-gradient(135deg, var(--blue-light), #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================ */
.footer {
  background: #020617;
  color: var(--white);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.footer-brand h3 svg { width: 28px; height: 28px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p { margin: 0; }

.footer-legal {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

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

/* =============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, #020617 100%);
  padding: 80px 0 60px;
  color: var(--white);
  text-align: center;
}

.legal-hero h1 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.legal-hero .legal-updated {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.legal-content {
  padding: 72px 0 96px;
  background: var(--white);
}

.legal-content .container {
  max-width: 860px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  scroll-margin-top: 96px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.legal-content ul li {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.legal-content strong {
  color: var(--text-dark);
  font-weight: 700;
}

.legal-content a {
  color: var(--blue);
  font-weight: 500;
}

.legal-content a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--gray-border);
  margin: 40px 0;
}

.legal-toc {
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.legal-toc h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  padding-left: 20px;
  margin: 0;
}

.legal-toc ol li {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  break-inside: avoid;
}

.legal-toc ol li a {
  color: var(--text-gray);
}

.legal-toc ol li a:hover {
  color: var(--blue);
}

@media (max-width: 700px) {
  .legal-hero { padding: 60px 0 44px; }
  .legal-hero h1 { font-size: 32px; }
  .legal-content { padding: 48px 0 72px; }
  .legal-content h2 { font-size: 20px; margin-top: 36px; }
  .legal-toc ol { columns: 1; }
}

/* =============================================
   MOBILE NAV DRAWER
   ============================================ */
@media (max-width: 900px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 340px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 28px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 999;
    /* drawer queda DEBAJO del navbar sticky (1000) pero arriba del backdrop (998) */
  }

  .navbar-menu.mobile-open {
    transform: translateX(0);
    height: max-content;
  }

  .navbar-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .navbar-link {
    display: block;
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-border);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .navbar-link:hover {
    color: var(--blue);
    padding-left: 8px;
  }

  .navbar-link::after { display: none; }

  .navbar-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
  }

  .navbar-buttons .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    justify-content: center;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Backdrop con animación suave */
  body::after {
    content: '';
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
  }

  body.menu-open::after {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 900px) and (max-height: 600px) {
  /* landscape phones: tighter drawer */
  .navbar-menu {
    padding: 20px 24px;
    gap: 16px;
  }
  .navbar-link { padding: 10px 4px; font-size: 16px; }
}

/* =============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero {
    padding: 80px 0 100px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image { order: -1; max-width: 520px; margin: 0 auto; }

  .hero-title { font-size: 44px; }

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

  .module-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .module-block.reverse .module-content { order: initial; }
  .module-block.reverse .module-image { order: initial; }

  .modules-section { gap: 64px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .section-title { font-size: 34px; }
  .cta-section h2 { font-size: 36px; }
}

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

  .navbar-inner { height: 64px; }

  /* Drawer y backdrop ajustan al navbar de 64px */
  .navbar-menu { top: 64px; }
  body::after { top: 64px; }

  .hero {
    margin-top: 64px;
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-subtitle { font-size: 16px; margin-bottom: 28px; }

  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }

  .hero-badge { font-size: 11px; }

  section { padding: 64px 0; }

  .section-header { margin-bottom: 40px; }

  .section-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .section-subtitle { font-size: 16px; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .comparison { gap: 24px; }
  .comparison-item { padding: 16px; }

  .feature-card { padding: 28px 24px; }
  .feature-card h3 { font-size: 17px; }

  .module-content h3 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .module-content p { font-size: 15px; }
  .modules-section { gap: 56px; }

  .pricing-card { padding: 32px 24px; }
  .pricing-amount { font-size: 38px; }

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

  .faq-question { padding: 18px 20px; font-size: 15px; }
  .faq-answer-inner { padding: 0 20px 18px; }

  .cta-section { padding: 64px 0; }
  .cta-section h2 {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .cta-section p { font-size: 16px; margin-bottom: 32px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-brand h3 { justify-content: center; }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .cta-section h2 { font-size: 26px; }
  .navbar-logo { font-size: 18px; }
  .navbar-logo svg { width: 32px; height: 32px; }
}
