/* ==========================================================================
   ICARUS DATA (icarusdata.com.mx) — Executive Design System
   100% Pure CSS3 · Mobile-First · Core Web Vitals Optimized
   ========================================================================== */

:root {
  /* Core Palette */
  --navy-950: #070C17;
  --navy-900: #0F172A;
  --slate-850: #162033;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;

  /* Surfaces */
  --ivory-bg: #F8FAFC;
  --ivory-warm: #FAF9F5;
  --white: #FFFFFF;

  /* Executive Accents */
  --electric-600: #2563EB;
  --electric-500: #3B82F6;
  --electric-400: #38BDF8;
  --electric-soft: rgba(37, 99, 235, 0.1);

  --gold-500: #D4AF37;
  --gold-400: #EAB308;
  --gold-soft: rgba(212, 175, 55, 0.14);

  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.12);

  --danger-600: #DC2626;
  --danger-500: #EF4444;
  --danger-soft: rgba(239, 68, 68, 0.1);

  --amber-600: #D97706;
  --amber-soft: rgba(217, 119, 6, 0.11);

  --whatsapp-green: #25D366;
  --whatsapp-dark: #1DA851;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;

  /* Spacing & Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.09), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 0 1px rgba(56, 189, 248, 0.28), 0 20px 45px -12px rgba(37, 99, 235, 0.32);

  --header-height: 74px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-900);
  background-color: var(--ivory-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.serif-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--electric-600);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section {
  padding: 72px 0;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 104px 0;
  }
}

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

.section--slate {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--slate-850) 100%);
  color: var(--white);
}

.section--ivory {
  background-color: var(--ivory-warm);
}

.section--white {
  background-color: var(--white);
}

/* Section Headers */
.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--electric-600);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.section--dark .eyebrow,
.section--slate .eyebrow {
  background: rgba(56, 189, 248, 0.1);
  color: var(--electric-400);
  border-color: rgba(56, 189, 248, 0.25);
}

.eyebrow--gold {
  background: var(--gold-soft) !important;
  color: #B48A1E !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
}

.section--dark .eyebrow--gold,
.section--slate .eyebrow--gold {
  color: var(--gold-500) !important;
}

.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--slate-600);
  line-height: 1.65;
}

.section--dark .section-subtitle,
.section--slate .section-subtitle {
  color: var(--slate-300);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.hide-xs {
  display: none;
}

@media (min-width: 480px) {
  .brand {
    gap: 12px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .hide-xs {
    display: inline;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  white-space: nowrap;
}

.brand-tagline {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--slate-400);
  letter-spacing: 0.04em;
  margin-top: 3px;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-tagline {
    display: block;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 26px;
  }
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-300);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--electric-400);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 16px 20px 24px;
}

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

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate-200);
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--electric-400);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn--sm {
  padding: 9px 13px;
  font-size: 0.79rem;
  border-radius: 10px;
}

@media (min-width: 640px) {
  .btn--sm {
    padding: 10px 16px;
    font-size: 0.84rem;
  }
}

.btn--lg {
  padding: 16px 26px;
  font-size: 0.98rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--electric-600) 0%, #1D4ED8 100%);
  color: var(--white);
  box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.55);
  border-color: rgba(96, 165, 250, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.7);
  background: linear-gradient(135deg, #3B82F6 0%, var(--electric-600) 100%);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: var(--white);
  box-shadow: 0 10px 26px -6px rgba(16, 185, 129, 0.5);
  border-color: rgba(52, 211, 153, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(16, 185, 129, 0.65);
  background: linear-gradient(135deg, #14C68B 0%, #059669 100%);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(203, 213, 225, 0.28);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--electric-400);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.btn--outline-dark:hover {
  border-color: var(--electric-600);
  color: var(--electric-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--slate-700);
}

.btn--navy:hover {
  background: var(--slate-800);
  border-color: var(--electric-500);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION (GOOGLE ADS & IMMEDIATE CONVERSION)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.1) 0%, transparent 38%),
    linear-gradient(180deg, #090F1E 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 52px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

/* Architectural Data Grid Overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 20%, transparent 80%);
  pointer-events: none;
}

@media (min-width: 992px) {
  .hero {
    padding: 76px 0 96px;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: #F8FAFC;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22);
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title span {
  background: linear-gradient(95deg, #60A5FA 0%, #38BDF8 55%, #FDE68A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.65;
  color: var(--slate-300);
  max-width: 640px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.hero-ctas .btn {
  white-space: normal;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

@media (max-width: 520px) {
  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hero-pillar-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-pillar-val small {
  font-size: 0.72rem;
  color: var(--electric-400);
  font-weight: 600;
}

.hero-pillar-lbl {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 2px;
}

/* Executive Terminal Card (Right Side Hero) */
.audit-brief-card {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.audit-brief-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.audit-brief-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--electric-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.audit-sample-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.audit-brief-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.audit-brief-sub {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 18px;
}

.audit-mini-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.audit-mini-row {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audit-mini-label {
  font-size: 0.8rem;
  color: var(--slate-300);
}

.audit-mini-label strong {
  display: block;
  color: var(--white);
  font-size: 0.84rem;
}

.audit-mini-metric {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.metric--blue { color: var(--electric-400); }
.metric--amber { color: #FBBF24; }
.metric--red { color: #F87171; }
.metric--green { color: #34D399; }

.audit-brief-footer {
  background: rgba(37, 99, 235, 0.13);
  border-left: 3px solid var(--gold-500);
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 0.79rem;
  color: var(--slate-200);
  line-height: 1.45;
}

.audit-brief-footer strong {
  color: var(--gold-500);
}

/* ==========================================================================
   SECTION 2: EL PROBLEMA (3-COLUMN COMPARISON)
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 900px) {
  .comparison-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.comp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.comp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.comp-card--risk::before {
  background: var(--danger-500);
}

.comp-card--agency::before {
  background: var(--amber-600);
}

.comp-card--icarus {
  background: var(--navy-900);
  color: var(--white);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-lg);
}

.comp-card--icarus::before {
  background: linear-gradient(90deg, var(--electric-400), var(--gold-500));
  height: 5px;
}

.comp-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.comp-badge--risk {
  background: var(--danger-soft);
  color: var(--danger-600);
}

.comp-badge--agency {
  background: var(--amber-soft);
  color: var(--amber-600);
}

.comp-badge--icarus {
  background: rgba(56, 189, 248, 0.16);
  color: var(--electric-400);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.comp-title {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.comp-figure {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.comp-card--risk .comp-figure { color: var(--danger-600); }
.comp-card--agency .comp-figure { color: var(--amber-600); }
.comp-card--icarus .comp-figure {
  color: var(--gold-500);
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

.comp-desc {
  font-size: 0.94rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.comp-card--icarus .comp-desc {
  color: var(--slate-300);
}

.comp-points {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.comp-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--slate-700);
}

.comp-card--icarus .comp-points li {
  color: var(--slate-200);
}

.comp-points svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   SECTION 3: CASO MUESTRA VERIFICABLE (FITNESS CDMX)
   ========================================================================== */
.sample-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.sample-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--slate-200);
  padding: 8px 14px;
  border-radius: 10px;
}

.sample-meta-chip strong {
  color: var(--electric-400);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kpi-card {
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.45);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.kpi-card--valley::before { background: var(--electric-400); }
.kpi-card--churn::before { background: var(--gold-500); }
.kpi-card--margin::before { background: #F87171; }

.kpi-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.kpi-number {
  font-family: var(--font-mono);
  font-size: clamp(2.35rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 10px;
}

.kpi-card--valley .kpi-number { color: var(--electric-400); }
.kpi-card--churn .kpi-number { color: var(--gold-500); }
.kpi-card--margin .kpi-number { color: #F87171; }

.kpi-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.kpi-detail {
  font-size: 0.88rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* Tarifario & Plan 30d Executive Box */
.case-matrix-panel {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .case-matrix-panel {
    padding: 30px;
  }
}

.case-matrix-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .case-matrix-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.case-matrix-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.case-matrix-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--slate-400);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.bench-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.bench-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.bench-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--slate-200);
  vertical-align: middle;
}

.bench-table tr:last-child td {
  border-bottom: none;
}

.seg-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 3px;
}

.seg-pill--top { background: rgba(56, 189, 248, 0.15); color: var(--electric-400); }
.seg-pill--direct { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.seg-pill--value { background: rgba(212, 175, 55, 0.16); color: var(--gold-500); }
.seg-pill--agg { background: rgba(248, 113, 113, 0.16); color: #F87171; }

.tactical-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

@media (min-width: 860px) {
  .tactical-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tactical-item {
  background: rgba(30, 41, 59, 0.65);
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--emerald-500);
}

.tactical-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--white);
  margin-bottom: 3px;
}

.tactical-item span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #34D399;
}

.download-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

@media (min-width: 860px) {
  .download-bar {
    flex-direction: row;
    align-items: center;
  }
}

.download-bar-text strong {
  display: block;
  font-size: 1.02rem;
  color: var(--white);
  margin-bottom: 3px;
}

.download-bar-text p {
  font-size: 0.86rem;
  color: var(--slate-300);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 640px) {
  .download-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   SECTION 4: PAQUETES LLAVE EN MANO (PRICING)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 1020px;
  margin: 0 auto 32px;
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--featured {
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--electric-500);
  box-shadow: var(--shadow-glow);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold-500) 0%, #B48A1E 100%);
  color: var(--navy-950);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.price-tier-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
  margin-bottom: 14px;
}

.price-card--featured .price-tier-badge {
  background: rgba(56, 189, 248, 0.14);
  color: var(--electric-400);
}

.price-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-card--featured .price-amount {
  color: var(--white);
}

.price-currency {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-500);
}

.price-card--featured .price-currency {
  color: var(--slate-400);
}

.price-ideal {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--electric-600);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
}

.price-card--featured .price-ideal {
  color: var(--electric-400);
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--slate-700);
}

.price-card--featured .price-features li {
  color: var(--slate-200);
}

.price-features svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--emerald-500);
}

.price-roi-box {
  background: var(--emerald-soft);
  border-left: 3px solid var(--emerald-600);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.83rem;
  color: var(--navy-900);
  margin-bottom: 22px;
}

.price-card--featured .price-roi-box {
  background: rgba(16, 185, 129, 0.12);
  border-left-color: #34D399;
  color: var(--slate-200);
}

.guarantee-strip {
  max-width: 1020px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
}

.guarantee-strip svg {
  width: 22px;
  height: 22px;
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* 3-Day Process Mini-Timeline */
.process-row {
  max-width: 1020px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .process-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.process-day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--electric-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.process-step h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.84rem;
  color: var(--slate-600);
}

/* ==========================================================================
   SECTION 5: ENTREGABLES TANGIBLES
   ========================================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .deliverables-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.deliv-card {
  background: var(--ivory-bg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.deliv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--electric-500);
}

.deliv-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--electric-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.35);
}

.deliv-icon-box svg {
  width: 26px;
  height: 26px;
}

.deliv-format {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--electric-600);
  margin-bottom: 6px;
}

.deliv-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.deliv-sub {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.deliv-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
}

.before-after-banner {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .before-after-banner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.ba-col-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ba-col--before .ba-col-label { color: #F87171; }
.ba-col--after .ba-col-label { color: #34D399; }

.ba-col p {
  font-size: 0.94rem;
  color: var(--slate-200);
}

@media (min-width: 768px) {
  .ba-col--after {
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    padding-left: 32px;
  }
}

/* ==========================================================================
   SECTION 6: DIAGNÓSTICO INICIAL EXPRESS (5 MIN FORM)
   ========================================================================== */
.diag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.diag-layout > *,
.form-row > *,
.pkg-selector > * {
  min-width: 0;
}

@media (min-width: 992px) {
  .diag-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }
}

.diag-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.diag-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.diag-check-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--electric-400);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.diag-check-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.diag-check-item span {
  font-size: 0.85rem;
  color: var(--slate-300);
}

.form-card {
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .form-card {
    padding: 36px 34px;
  }
}

.form-card-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.form-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.form-card-header p {
  font-size: 0.86rem;
  color: var(--slate-600);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 7px;
}

.form-label .req {
  color: var(--danger-600);
}

/* Interactive Package Selector */
.pkg-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .pkg-selector {
    grid-template-columns: 1fr 1fr;
  }
}

.pkg-option {
  position: relative;
  cursor: pointer;
}

.pkg-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pkg-tile {
  display: block;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--ivory-bg);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.pkg-option input:checked + .pkg-tile {
  border-color: var(--electric-600);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.pkg-option input:focus-visible + .pkg-tile {
  outline: 2px solid var(--electric-600);
  outline-offset: 2px;
}

.pkg-tile-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-900);
}

.pkg-tile-price {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--electric-600);
  margin-top: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: 10px;
  background: var(--white);
  font-size: 0.94rem;
  color: var(--navy-900);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control::placeholder {
  color: var(--slate-400);
}

.form-control:focus {
  outline: none;
  border-color: var(--electric-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.form-control.is-invalid {
  border-color: var(--danger-600);
  background: rgba(239, 68, 68, 0.02);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.field-error {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--danger-600);
  margin-top: 5px;
}

.field-error.is-visible {
  display: block;
}

.form-privacy-note {
  font-size: 0.77rem;
  color: var(--slate-500);
  margin: 14px 0 18px;
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--electric-600);
  text-decoration: underline;
  font-weight: 600;
}

.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065F46;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback a {
  color: #047857;
  text-decoration: underline;
  font-weight: 700;
}

/* ==========================================================================
   SECTION 7: CREDENCIALES EJECUTIVAS & FOOTER
   ========================================================================== */
.founder-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .founder-card {
    grid-template-columns: auto 1fr;
    padding: 42px 44px;
    gap: 40px;
  }
}

.founder-monogram {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--slate-800) 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.founder-initials {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--gold-500);
}

.founder-badge-mini {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--slate-300);
  margin-top: 4px;
}

.founder-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--electric-600);
  margin-bottom: 12px;
}

.founder-bio {
  font-size: 0.94rem;
  color: var(--slate-600);
  max-width: 720px;
  margin-bottom: 18px;
}

.cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.cred-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--ivory-bg);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
}

.contact-chip:hover {
  border-color: var(--electric-600);
  color: var(--electric-600);
}

.contact-chip svg {
  width: 16px;
  height: 16px;
  color: var(--electric-600);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 56px 0 88px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

@media (min-width: 768px) {
  .site-footer {
    padding: 56px 0 44px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--slate-400);
  max-width: 380px;
  margin-top: 14px;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
}

.footer-list a:hover {
  color: var(--electric-400);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-links a {
  color: var(--slate-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  color: var(--electric-400);
}

/* ==========================================================================
   COOKIE BANNER & FLOATING WHATSAPP
   ========================================================================== */
.privacy-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 620px;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: var(--slate-200);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .privacy-bar {
    right: auto;
    left: 24px;
    bottom: 20px;
  }
}

.privacy-bar.is-visible {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .privacy-bar.is-visible {
    flex-direction: row;
  }
}

.privacy-bar-text {
  font-size: 0.8rem;
  line-height: 1.5;
}

.privacy-bar-text a {
  color: var(--electric-400);
  text-decoration: underline;
}

.privacy-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 640px) {
  .privacy-bar-actions {
    width: auto;
  }
}

.privacy-bar-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  flex: 1;
}

.privacy-bar-btn--accept {
  background: var(--electric-600);
  color: var(--white);
}

.privacy-bar-btn--essential {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--slate-300);
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 990;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 140, 126, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.wa-float:hover {
  transform: scale(1.07);
}

.wa-float svg {
  width: 27px;
  height: 27px;
}

/* ==========================================================================
   LEGAL PAGES (AVISO DE PRIVACIDAD & TÉRMINOS)
   ========================================================================== */
.legal-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0 44px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.legal-hero .eyebrow {
  background: rgba(56, 189, 248, 0.12);
  color: var(--electric-400);
  border-color: rgba(56, 189, 248, 0.28);
}

.legal-hero .section-subtitle {
  color: var(--slate-300);
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-body {
  padding: 52px 0 80px;
  background: var(--white);
}

.legal-doc {
  color: var(--slate-700);
  font-size: 0.96rem;
  line-height: 1.75;
}

.legal-doc h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--slate-200);
}

.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 20px 0 8px;
}

.legal-doc p {
  margin-bottom: 14px;
}

.legal-doc ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-callout {
  background: var(--ivory-bg);
  border-left: 4px solid var(--electric-600);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
}

.legal-callout strong {
  color: var(--navy-900);
}
