/* ============================================================
   Keep Dealer — Design System
   Premium Enterprise · B2B Ecosystem · Mobility Tech
   Light Mode · Spanish Only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --orange:        #FF6A00;
  --orange-hover:  #E55E00;
  --orange-10:     rgba(255,106,0,0.08);
  --orange-15:     rgba(255,106,0,0.13);
  --orange-shadow: rgba(255,106,0,0.22);

  --white:    #FFFFFF;
  --gray-50:  #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D1D1D1;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-700: #3F3F46;
  --gray-800: #27272A;
  --gray-900: #111111;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 68px;
  --max-w: 1200px;
  --max-w-sm: 820px;

  --r-sm:  6px;
  --r:     10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;
  --r-full:9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 20px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 36px rgba(0,0,0,0.09), 0 3px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.11), 0 6px 14px rgba(0,0,0,0.05);
  --shadow-orange: 0 6px 28px var(--orange-shadow);
  --shadow-orange-lg: 0 14px 48px rgba(255,106,0,0.30);

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font); border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }
img, canvas, svg { display: block; max-width: 100%; }

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 var(--r) var(--r);
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 0; }

/* Focus visible — keyboard navigation */
:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* Remove default outline on mouse clicks */
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.container-sm {
  width: 100%;
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 28px;
}

.section-py   { padding: 96px 0; }
.section-py-lg { padding: 120px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.t-display {
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.t-h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.t-h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.t-h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.t-body-lg {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.72;
  color: var(--gray-500);
}

.t-body {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--gray-500);
}

.t-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.t-xs {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.t-orange { color: var(--orange); }
.t-muted  { color: var(--gray-500); }
.t-white  { color: var(--white); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-900);
  user-select: none;
}
.nav-logo em { font-style: normal; color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--r-full);
  transition: color var(--ease) 0.2s, background var(--ease) 0.2s;
}
.nav-link:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-link.active { color: var(--orange); background: var(--orange-10); font-weight: 600; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gray-900);
  border-radius: var(--r-full);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn-nav:hover { background: var(--orange); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  color: var(--gray-900);
  transition: background 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--gray-100); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset: var(--nav-h) 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 28px 24px;
  z-index: 999;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.22s var(--ease-out);
}
.nav-mobile.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-mobile .nav-link {
  display: block;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border-radius: var(--r);
  margin-bottom: 2px;
}
.nav-mobile .btn-nav {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 13px 20px;
  font-size: 0.9375rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
              transform 0.22s var(--ease);
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-900);
}
.btn-secondary:hover { background: var(--gray-200); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--gray-300); background: var(--gray-50); transform: translateY(-1px); }

.btn-dark {
  background: var(--gray-900);
  color: var(--white);
}
.btn-dark:hover { background: #1a1a1a; transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--gray-900);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-ghost-white:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-orange {
  background: var(--orange-10);
  color: var(--orange);
  border: 1px solid var(--orange-15);
}

.tag-gray {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.tag-white {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head .tag  { margin-bottom: 18px; }
.section-head .t-h2 { margin-bottom: 14px; }
.section-head .t-body-lg { max-width: 540px; }
.section-head.center .t-body-lg { margin: 0 auto; }

.divider {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 72% 45%, rgba(255,106,0,0.045) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,106,0,0.025) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
  padding: 72px 0 80px;
}

.hero-tag   { margin-bottom: 22px; }
.hero-title { margin-bottom: 22px; max-width: 580px; }
.hero-sub   { margin-bottom: 36px; max-width: 480px; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.hero-canvas-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Floating cards over canvas */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  z-index: 2;
  pointer-events: none;
}

.hero-float-1 { top: 28px; right: -20px; min-width: 190px; }
.hero-float-2 { bottom: 44px; left: -16px; min-width: 220px; }

.float-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.float-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

.float-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
}

.float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.float-bar {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 28px;
  margin-top: 8px;
}

.float-bar-item {
  width: 8px;
  border-radius: 3px 3px 0 0;
  background: var(--gray-200);
  flex-shrink: 0;
}

.float-bar-item.active { background: var(--orange); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--gray-200);
}

.stat-num {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}
.stat-num .accent { color: var(--orange); }
.stat-lbl {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  background: var(--orange-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }

.card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.67;
  color: var(--gray-500);
}

/* Cards grid layouts */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ============================================================
   AUDIENCE CARDS (HOME)
   ============================================================ */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aud-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              transform 0.3s var(--ease);
}

.aud-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--orange-10) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.aud-card:hover {
  border-color: rgba(255,106,0,0.28);
  box-shadow: 0 14px 44px rgba(255,106,0,0.10);
  transform: translateY(-6px);
}

.aud-card:hover::after { opacity: 1; }

.aud-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--orange);
  position: relative;
  z-index: 1;
  transition: background 0.25s var(--ease);
}
.aud-icon svg { width: 26px; height: 26px; }
.aud-card:hover .aud-icon { background: var(--orange-10); }

.aud-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.aud-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.aud-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.67;
  flex: 1;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.aud-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  position: relative;
  z-index: 1;
}
.aud-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.aud-card:hover .aud-link svg { transform: translateX(4px); }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-line {
  position: absolute;
  top: 27px;
  left: calc(16.66% + 4px);
  right: calc(16.66% + 4px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-15) 50%, var(--orange) 100%);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-orange);
  position: relative;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-item {
  padding: 32px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.problem-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: rgba(239,68,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #EF4444;
}
.problem-icon svg { width: 20px; height: 20px; }

.problem-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.problem-text {
  font-size: 0.9rem;
  line-height: 1.67;
  color: var(--gray-500);
}

/* ============================================================
   NETWORK VISUAL (small)
   ============================================================ */
.network-visual-wrap {
  position: relative;
  height: 420px;
  border-radius: var(--r-xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.network-visual-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 60%, transparent);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
}

.network-label strong { color: var(--orange); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255,106,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  padding: 100px 0 108px;
  position: relative;
  z-index: 1;
}

.cta-inner .t-h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner .t-body-lg { color: rgba(255,255,255,0.55); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner { padding: 60px 0 36px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
}
.footer-logo em { font-style: normal; color: var(--orange); }

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s var(--ease);
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}

.footer-ecosystem {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
}
.footer-ecosystem strong { color: var(--orange); font-weight: 600; }

/* ============================================================
   BENEFITS LIST
   ============================================================ */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.benefit-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange-10);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefit-check svg { width: 14px; height: 14px; }

.benefit-content {}
.benefit-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.benefit-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   TWO COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { }

/* ============================================================
   HIGHLIGHT STAT (large number + text)
   ============================================================ */
.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.hl-stat {
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
}

.hl-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 6px;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}
.hl-num .accent { color: var(--orange); }
.hl-lbl { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }

/* ============================================================
   PAGE HERO (inner pages, smaller)
   ============================================================ */
.page-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0 80px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ============================================================
   BG VARIANTS
   ============================================================ */
.bg-white  { background: var(--white); }
.bg-gray   { background: var(--gray-50); }
.bg-dark   { background: var(--gray-900); color: var(--white); }

/* ============================================================
   HOW IT WORKS — 4 STEP FLOW
   ============================================================ */
.how-flow {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  align-items: start;
  gap: 0;
}

.how-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.how-card:hover {
  border-color: rgba(255,106,0,0.28);
  box-shadow: 0 8px 32px rgba(255,106,0,0.09);
  transform: translateY(-4px);
}

.how-card-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-orange);
}

.how-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--orange-10);
  border: 1px solid var(--orange-15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--orange);
}
.how-card-icon svg { width: 24px; height: 24px; }

.how-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.how-card-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.how-card-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  text-align: left;
}

.how-result-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.how-result-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.how-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 52px;
  color: var(--orange);
}
.how-connector svg { width: 22px; height: 22px; opacity: 0.55; }

/* Step 4 result card variant */
.how-card--result {
  border-color: rgba(255,106,0,0.22);
  background: var(--orange-10);
}
.how-card--result .how-card-icon {
  background: var(--white);
}

/* ============================================================
   WHO WINS — 3 CARD SECTION
   ============================================================ */
.win-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.win-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border-left: 4px solid var(--orange);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.win-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.win-who {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.win-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.win-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   PROVIDER TYPE CHIPS
   ============================================================ */
.provider-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.provider-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.provider-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.provider-chip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner,
  .page-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 0 72px; }
  .hero-title { max-width: 100%; }
  .hero-visual { height: 360px; }
  .hero-float-1 { right: 0; }
  .hero-float-2 { left: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .steps-line { display: none; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .how-flow {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .how-connector { display: none; }
  .win-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-py { padding: 72px 0; }
  .section-py-lg { padding: 88px 0; }

  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero-inner { text-align: center; grid-template-columns: 1fr; padding: 52px 0 64px; }
  .hero-sub, .hero-title { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 300px; }

  .aud-grid,
  .cards-3,
  .cards-4 { grid-template-columns: 1fr; }

  .cards-2 { grid-template-columns: 1fr; }

  .problem-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; gap: 24px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .two-col { grid-template-columns: 1fr; gap: 40px; }

  .highlight-stats { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero-inner { grid-template-columns: 1fr; text-align: center; }

  .section-head.center .t-body-lg { max-width: 100%; }

  .how-flow { grid-template-columns: 1fr; gap: 14px; }
  .how-connector { display: none; }
  .win-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; max-width: 360px; }
  .highlight-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION — accesibilidad
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Deshabilitar scroll reveal */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Detener animaciones de pulso */
  .float-dot {
    animation: none;
  }

  /* Detener animación de mobile nav */
  .nav-mobile {
    animation: none;
  }

  /* Eliminar transforms en hover — mantener solo cambios de color/sombra */
  .btn:hover,
  .btn-nav:hover,
  .card:hover,
  .aud-card:hover,
  .win-card:hover,
  .how-card:hover,
  .benefit-item:hover,
  .problem-item:hover {
    transform: none;
  }

  /* Detener animación de pulso en dot */
  @keyframes pulse-dot {
    from, to { opacity: 1; transform: none; }
  }
}
