/* ═══════════════════════════════════════════════════════════════════
   GESTIONREAL — DESIGN SYSTEM
   Tokens de diseño basados en especificación v1.0
   ═══════════════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── TOKENS ────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --c-brand:     #1E3A5F;
  --c-accent:    #2563EB;
  --c-cyan:      #06B6D4;
  --c-green:     #16A34A;
  --c-amber:     #D97706;
  --c-red:       #DC2626;
  --c-dark:      #111827;
  --c-mid:       #6B7280;
  --c-light:     #F8FAFC;
  --c-border:    #E5E7EB;
  --c-white:     #FFFFFF;
  --c-indigo:    #4338CA;

  /* Gradients */
  --g-hero:    linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  --g-blue:    linear-gradient(135deg, #2563EB 0%, #1E3A5F 100%);
  --g-subtle:  linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-lg:   1.125rem;  /* 18px */
  --fs-xl:   1.25rem;   /* 20px */
  --fs-2xl:  1.5rem;    /* 24px */
  --fs-3xl:  1.875rem;  /* 30px */
  --fs-4xl:  2.25rem;   /* 36px */
  --fs-5xl:  3rem;      /* 48px */
  --fs-6xl:  3.5rem;    /* 56px */

  /* Spacing (4px base) */
  --sp-1: 0.25rem;   --sp-2: 0.5rem;    --sp-3: 0.75rem;
  --sp-4: 1rem;      --sp-5: 1.25rem;   --sp-6: 1.5rem;
  --sp-8: 2rem;      --sp-10: 2.5rem;   --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;     --sp-24: 6rem;

  /* Border radius */
  --r-sm: 4px;    --r-md: 8px;    --r-lg: 10px;
  --r-xl: 12px;   --r-2xl: 16px;  --r-3xl: 20px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(0,0,0,.05);
  --sh-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --sh-lg: 0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --sh-xl: 0 20px 25px rgba(0,0,0,.10), 0 10px 10px rgba(0,0,0,.04);
  --sh-glow: 0 0 0 3px rgba(37,99,235,.20);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
  --t-slow: 300ms ease;
}

/* ── BASE ───────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--c-dark);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; color: var(--c-brand); }
h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
p  { line-height: 1.75; color: var(--c-dark); }

.text-center { text-align: center; }
.text-mid    { color: var(--c-mid); }
.text-white  { color: var(--c-white); }
.text-accent { color: var(--c-accent); }
.text-brand  { color: var(--c-brand); }

/* ── LAYOUT ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.section { padding: var(--sp-20) 0; }
.section-sm { padding: var(--sp-12) 0; }
.section-lg { padding: var(--sp-24) 0; }
.section-dark { background: var(--c-brand); }
.section-gray { background: var(--c-light); }

/* ── GRID ───────────────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-split { grid-template-columns: 55fr 45fr; align-items: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: var(--sp-2); } .gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); } .gap-8 { gap: var(--sp-8); }

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-sans); font-weight: 600;
  border-radius: var(--r-lg); cursor: pointer;
  transition: all var(--t-fast); white-space: nowrap;
  text-decoration: none; border: 2px solid transparent;
}
.btn-primary {
  background: var(--c-accent); color: var(--c-white);
  padding: 14px 28px; font-size: var(--fs-base); box-shadow: var(--sh-md);
}
.btn-primary:hover { background: #1D4ED8; transform: scale(1.02); box-shadow: var(--sh-lg); }
.btn-primary:focus { box-shadow: var(--sh-glow); outline: none; }

.btn-primary-lg {
  background: var(--c-accent); color: var(--c-white);
  padding: 18px 40px; font-size: var(--fs-lg); box-shadow: var(--sh-lg);
  border-radius: var(--r-lg);
}
.btn-primary-lg:hover { background: #1D4ED8; transform: scale(1.02); box-shadow: var(--sh-xl); }

.btn-white {
  background: var(--c-white); color: var(--c-brand);
  padding: 18px 40px; font-size: var(--fs-lg); box-shadow: var(--sh-xl);
  border-radius: var(--r-lg);
}
.btn-white:hover { background: var(--c-light); transform: scale(1.02); }

.btn-outline {
  background: transparent; color: var(--c-accent);
  border: 2px solid var(--c-accent);
  padding: 12px 24px; font-size: var(--fs-base);
}
.btn-outline:hover { background: #EFF6FF; }

.btn-ghost {
  background: transparent; color: var(--c-mid);
  padding: 10px 16px; font-size: var(--fs-base);
}
.btn-ghost:hover { background: #F3F4F6; color: var(--c-dark); }

.btn-sm { padding: 8px 16px; font-size: var(--fs-sm); }

/* ── CARDS ──────────────────────────────────────────────────────────── */
.card {
  background: var(--c-white); border-radius: var(--r-xl);
  box-shadow: var(--sh-sm); transition: all var(--t-base);
  overflow: hidden;
}
.card:hover { box-shadow: var(--sh-md); }

.feature-card {
  background: var(--c-white); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--sh-sm);
  border-top: 3px solid transparent;
  transition: all var(--t-base);
}
.feature-card:hover {
  box-shadow: var(--sh-md);
  border-top-color: var(--c-accent);
  transform: translateY(-2px);
}

.pain-card {
  background: #FEF2F2; border-left: 4px solid var(--c-red);
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  padding: var(--sp-5) var(--sp-6);
}

.testimonial-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-2xl); padding: var(--sp-8);
}

.case-card {
  background: var(--c-white); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--sh-sm);
  transition: all var(--t-base); border: 1px solid var(--c-border);
}
.case-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }

.integration-card {
  background: var(--c-white); border-radius: var(--r-lg);
  padding: var(--sp-4); box-shadow: var(--sh-sm);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3/2; filter: grayscale(1); opacity: .7;
  transition: all var(--t-base); border: 1px solid var(--c-border);
  font-weight: 700; font-size: var(--fs-sm); color: var(--c-mid);
  text-align: center;
}
.integration-card:hover { filter: grayscale(0); opacity: 1; transform: scale(1.05); box-shadow: var(--sh-md); }

/* ── BADGES & TAGS ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 600;
}
.badge-accent { background: #EFF6FF; color: var(--c-accent); }
.badge-green  { background: #DCFCE7; color: var(--c-green); }
.badge-amber  { background: #FEF3C7; color: var(--c-amber); }
.badge-brand  { background: var(--c-brand); color: var(--c-white); }
.badge-cyan   { background: #CFFAFE; color: #0E7490; }

/* ── FORMS ──────────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block; font-weight: 500; font-size: var(--fs-sm);
  color: #374151; margin-bottom: var(--sp-2);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  font-family: var(--font-sans); font-size: var(--fs-base);
  color: var(--c-dark); background: var(--c-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.form-input::placeholder { color: #9CA3AF; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: var(--sh-glow);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-error { font-size: var(--fs-xs); color: var(--c-red); margin-top: 4px; display: none; }

/* ── NAVBAR ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: all var(--t-base);
}
.navbar-transparent { background: transparent; }
.navbar-scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: var(--sp-8);
}
.nav-logo { font-size: var(--fs-xl); font-weight: 800; color: var(--c-white); letter-spacing: -0.5px; }
.navbar-scrolled .nav-logo { color: var(--c-brand); }
.nav-logo span { color: var(--c-cyan); }

.nav-links { display: flex; align-items: center; gap: var(--sp-1); }
.nav-link {
  padding: 8px 14px; border-radius: var(--r-md);
  font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: all var(--t-fast); position: relative;
}
.nav-link:hover { color: var(--c-white); background: rgba(255,255,255,.1); }
.navbar-scrolled .nav-link { color: #374151; }
.navbar-scrolled .nav-link:hover { color: var(--c-accent); background: #EFF6FF; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-login {
  font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,.7);
  transition: color var(--t-fast);
}
.nav-login:hover { color: var(--c-white); }
.navbar-scrolled .nav-login { color: var(--c-mid); }
.navbar-scrolled .nav-login:hover { color: var(--c-accent); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--c-white); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); border: 1px solid var(--c-border);
  min-width: 200px; padding: var(--sp-2);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--t-base);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: block; padding: 10px 16px; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 500; color: #374151;
  transition: all var(--t-fast);
}
.dropdown-item:hover { background: #EFF6FF; color: var(--c-accent); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--c-white); border-radius: 2px;
  transition: all var(--t-base);
}
.navbar-scrolled .nav-hamburger span { background: var(--c-brand); }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; background: var(--g-hero);
  display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(37,99,235,.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(6,182,212,.10) 0%, transparent 40%);
}
/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; width: 3px; height: 3px;
  background: rgba(255,255,255,.3); border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: .3; }
  90%  { opacity: .3; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 55fr 45fr; gap: var(--sp-16); align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(37,99,235,.2); border: 1px solid rgba(37,99,235,.4);
  border-radius: var(--r-full); padding: 6px 16px;
  font-size: var(--fs-sm); font-weight: 600; color: #93C5FD;
  margin-bottom: var(--sp-6);
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--c-white); line-height: 1.1;
  margin-bottom: var(--sp-6); font-weight: 800;
}
.hero-title em { color: var(--c-cyan); font-style: normal; }
.hero-subtitle {
  font-size: var(--fs-lg); color: #94A3B8;
  line-height: 1.75; margin-bottom: var(--sp-8);
  max-width: 520px;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-8); }
.hero-trust {
  display: flex; gap: var(--sp-6); flex-wrap: wrap;
  font-size: var(--fs-sm); color: #64748B;
}
.hero-trust span { display: flex; align-items: center; gap: var(--sp-2); }
.hero-trust span::before { content: '✓'; color: var(--c-cyan); font-weight: 700; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.browser-mock {
  background: #1E293B; border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl), 0 0 80px rgba(37,99,235,.2);
  overflow: hidden; width: 100%;
}
.browser-bar {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 12px 16px; background: #0F172A; border-bottom: 1px solid rgba(255,255,255,.05);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }
.browser-url {
  flex: 1; background: rgba(255,255,255,.08); border-radius: var(--r-sm);
  padding: 4px 12px; font-size: var(--fs-xs); color: #64748B; font-family: var(--font-mono);
}
.browser-screen {
  padding: var(--sp-4); background: var(--c-light);
  min-height: 280px;
}
/* Dashboard mockup */
.dash-header { background: var(--c-brand); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md) var(--r-md) 0 0; margin-bottom: var(--sp-3); }
.dash-header-title { color: var(--c-white); font-size: var(--fs-sm); font-weight: 600; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-3); }
.dash-stat { background: var(--c-white); border-radius: var(--r-md); padding: var(--sp-2) var(--sp-3); box-shadow: var(--sh-sm); }
.dash-stat-num { font-size: var(--fs-lg); font-weight: 800; color: var(--c-brand); }
.dash-stat-label { font-size: 10px; color: var(--c-mid); }
.dash-table { background: var(--c-white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.dash-row { display: flex; align-items: center; justify-content: space-between; padding: 8px var(--sp-3); border-bottom: 1px solid var(--c-border); font-size: var(--fs-xs); }
.dash-row:last-child { border-bottom: none; }
.dash-row-header { background: var(--c-brand); }
.dash-row-header span { color: rgba(255,255,255,.8); font-weight: 600; }
.dash-status { padding: 2px 8px; border-radius: var(--r-full); font-size: 10px; font-weight: 600; }
.status-ok { background: #DCFCE7; color: var(--c-green); }
.status-warn { background: #FEF3C7; color: var(--c-amber); }
.status-err  { background: #FEE2E2; color: var(--c-red); }

/* ── TRUST BAR ──────────────────────────────────────────────────────── */
.trust-bar { background: var(--c-light); border-bottom: 1px solid var(--c-border); padding: var(--sp-4) 0; }
.trust-bar-label { font-size: var(--fs-sm); color: var(--c-mid); margin-bottom: var(--sp-3); text-align: center; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); flex-wrap: wrap; }
.trust-metric { text-align: center; }
.trust-metric-num { font-size: var(--fs-2xl); font-weight: 800; color: var(--c-brand); }
.trust-metric-label { font-size: var(--fs-xs); color: var(--c-mid); }

/* ── SECTION HEADERS ────────────────────────────────────────────────── */
.section-header { margin-bottom: var(--sp-12); }
.section-header.center { text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  color: var(--c-accent); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.section-title { margin-bottom: var(--sp-4); }
.section-subtitle { font-size: var(--fs-lg); color: var(--c-mid); max-width: 600px; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── PAIN SECTION ───────────────────────────────────────────────────── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); margin-bottom: var(--sp-8); }
.pain-card-title { font-size: var(--fs-base); font-weight: 700; color: #991B1B; margin-bottom: var(--sp-2); display: flex; align-items: center; gap: var(--sp-2); }
.pain-card p { font-size: var(--fs-sm); color: #7F1D1D; line-height: 1.6; }
.pain-transition { text-align: center; padding: var(--sp-6); }
.pain-transition p { font-size: var(--fs-xl); font-weight: 700; color: var(--c-accent); }

/* ── FEATURES GRID ──────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.feature-icon { font-size: 2rem; margin-bottom: var(--sp-4); }
.feature-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); color: var(--c-brand); }
.feature-card p { font-size: var(--fs-sm); color: var(--c-mid); line-height: 1.65; }

/* ── PRODUCT TABS ───────────────────────────────────────────────────── */
.product-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: start; }
.tab-nav { display: flex; flex-direction: column; gap: var(--sp-2); }
.tab-btn {
  text-align: left; padding: 14px 18px; border-radius: var(--r-lg);
  font-size: var(--fs-base); font-weight: 500; color: var(--c-mid);
  transition: all var(--t-fast); border: 1px solid transparent;
  display: flex; align-items: center; gap: var(--sp-3);
}
.tab-btn:hover { background: var(--c-light); color: var(--c-dark); }
.tab-btn.active { background: var(--c-accent); color: var(--c-white); box-shadow: var(--sh-md); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); color: var(--c-brand); }
.tab-features { margin-bottom: var(--sp-6); }
.tab-feature-item {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm); color: var(--c-dark);
}
.tab-feature-item:last-child { border-bottom: none; }
.tab-feature-item::before { content: '✓'; color: var(--c-green); font-weight: 700; margin-top: 1px; flex-shrink: 0; }
.tab-visual {
  background: var(--c-light); border-radius: var(--r-xl);
  padding: var(--sp-6); border: 1px solid var(--c-border);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
}

/* ── PROOF SECTION ──────────────────────────────────────────────────── */
.proof-section { background: var(--g-hero); }
.proof-quote {
  text-align: center; margin-bottom: var(--sp-12);
  padding: var(--sp-8); border-bottom: 1px solid rgba(255,255,255,.1);
}
.proof-quote blockquote {
  font-size: clamp(1.25rem, 2vw, 1.75rem); color: var(--c-white);
  font-style: italic; line-height: 1.6; max-width: 700px; margin: 0 auto var(--sp-4);
  position: relative;
}
.proof-quote blockquote::before { content: '"'; font-size: 5rem; color: var(--c-accent); line-height: 0; vertical-align: -2rem; margin-right: var(--sp-2); }
.proof-quote-attr { font-size: var(--fs-sm); color: #94A3B8; }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); margin-bottom: var(--sp-12); text-align: center; }
.proof-stat-num { font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; color: var(--c-white); }
.proof-stat-label { font-size: var(--fs-sm); color: #94A3B8; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.testimonial-card p { font-size: var(--fs-base); color: #E2E8F0; line-height: 1.7; font-style: italic; margin-bottom: var(--sp-4); }
.testimonial-meta { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--g-blue); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--c-white); font-size: var(--fs-base);
  border: 2px solid rgba(255,255,255,.2); flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--c-white); font-size: var(--fs-sm); }
.testimonial-role { font-size: var(--fs-xs); color: #94A3B8; }

/* ── INTEGRATIONS ───────────────────────────────────────────────────── */
.integrations-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }

/* ── DIFFERENTIALS ──────────────────────────────────────────────────── */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.diff-visual {
  background: var(--g-hero); border-radius: var(--r-2xl);
  padding: var(--sp-10); display: flex; align-items: center; justify-content: center;
  min-height: 380px;
}
.diff-visual-inner { text-align: center; }
.diff-visual-icon { font-size: 4rem; margin-bottom: var(--sp-4); }
.diff-visual-text { color: rgba(255,255,255,.7); font-size: var(--fs-sm); }
.diff-list { display: flex; flex-direction: column; gap: var(--sp-6); }
.diff-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.diff-item-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.diff-item-content h4 { font-size: var(--fs-base); margin-bottom: var(--sp-1); color: var(--c-brand); }
.diff-item-content p { font-size: var(--fs-sm); color: var(--c-mid); line-height: 1.65; }

/* ── PROCESS ────────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 28px; left: 14%;  right: 14%;
  height: 2px; background: var(--c-border); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-white);
  font-size: var(--fs-xl); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4); box-shadow: var(--sh-md);
}
.process-step h4 { font-size: var(--fs-base); margin-bottom: var(--sp-2); color: var(--c-brand); }
.process-step p { font-size: var(--fs-sm); color: var(--c-mid); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-8); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-question {
  width: 100%; text-align: left; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  font-size: var(--fs-base); font-weight: 600; color: var(--c-dark);
  transition: color var(--t-fast); cursor: pointer; background: none; border: none; font-family: var(--font-sans);
}
.faq-question:hover { color: var(--c-accent); }
.faq-question.open { color: var(--c-accent); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--t-base); color: var(--c-mid); }
.faq-question.open .faq-icon { transform: rotate(180deg); color: var(--c-accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
  font-size: 0.9375rem; color: var(--c-mid); line-height: 1.75;
}
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }

/* ── CTA FINAL ──────────────────────────────────────────────────────── */
.cta-final { background: var(--g-blue); text-align: center; padding: var(--sp-20) 0; }
.cta-final h2 { color: var(--c-white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: var(--sp-4); }
.cta-final p { color: #CBD5E1; font-size: var(--fs-lg); margin-bottom: var(--sp-8); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-6); }
.cta-trust { display: flex; gap: var(--sp-6); justify-content: center; flex-wrap: wrap; font-size: var(--fs-sm); color: #94A3B8; }
.cta-trust span { display: flex; align-items: center; gap: var(--sp-2); }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.footer { background: var(--c-brand); padding: var(--sp-16) 0 var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-10); margin-bottom: var(--sp-10); }
.footer-logo { font-size: var(--fs-xl); font-weight: 800; color: var(--c-white); margin-bottom: var(--sp-3); }
.footer-logo span { color: var(--c-cyan); }
.footer-tagline { font-size: var(--fs-sm); color: #94A3B8; margin-bottom: var(--sp-4); line-height: 1.65; }
.footer-social { display: flex; gap: var(--sp-3); }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: #94A3B8; transition: all var(--t-fast); font-size: var(--fs-sm); font-weight: 700;
}
.footer-social a:hover { background: var(--c-accent); color: var(--c-white); }
.footer-col h5 { font-size: var(--fs-sm); font-weight: 700; color: var(--c-white); margin-bottom: var(--sp-4); letter-spacing: .05em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link { font-size: var(--fs-sm); color: #94A3B8; transition: color var(--t-fast); }
.footer-link:hover { color: var(--c-white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: #94A3B8; margin-bottom: var(--sp-3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-6); display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-4);
  font-size: var(--fs-xs); color: #6B7280;
}

/* ── PAGE HERO (interior) ────────────────────────────────────────────── */
.page-hero {
  background: var(--g-hero); padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--c-white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--sp-4); }
.page-hero p { color: #94A3B8; font-size: var(--fs-lg); max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: #64748B; margin-bottom: var(--sp-4); }
.breadcrumb a { color: #64748B; } .breadcrumb a:hover { color: #94A3B8; }
.breadcrumb-sep { color: #475569; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; box-shadow: var(--sh-lg);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base);
}
.wa-float:hover { transform: scale(1.1); box-shadow: var(--sh-xl); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── MOBILE NAV DRAWER ───────────────────────────────────────────────── */
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 998; backdrop-filter: blur(4px);
}
.mobile-drawer {
  position: fixed; top: 0; right: -320px; bottom: 0; width: 300px;
  background: var(--c-white); z-index: 999; padding: var(--sp-6);
  box-shadow: var(--sh-xl); transition: right var(--t-slow);
  display: flex; flex-direction: column;
}
.mobile-drawer.open { right: 0; }
.mobile-overlay.open { display: block; }
.mobile-drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-8); }
.mobile-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--c-light); color: var(--c-dark); font-size: 1.25rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.mobile-nav-link { display: block; padding: 12px 16px; border-radius: var(--r-md); font-size: var(--fs-base); font-weight: 500; color: var(--c-dark); transition: all var(--t-fast); }
.mobile-nav-link:hover { background: #EFF6FF; color: var(--c-accent); }
.mobile-nav-section { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-mid); padding: var(--sp-3) var(--sp-4) var(--sp-2); }
.mobile-drawer-footer { margin-top: auto; padding-top: var(--sp-6); border-top: 1px solid var(--c-border); }

/* ── UTILS ──────────────────────────────────────────────────────────── */
.mt-4  { margin-top: var(--sp-4); }  .mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }  .mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); } .mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.py-4  { padding: var(--sp-4) 0; }

.divider { border: none; border-top: 1px solid var(--c-border); margin: var(--sp-8) 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-actions .btn, .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .hero-grid, .diff-grid, .product-tabs { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: var(--fs-4xl); }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-12) 0; }
  .container { padding: 0 var(--sp-4); }
}
@media (max-width: 480px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
}
