/* ================================================================
   Simplus Latam — Sitio Web Oficial
   Hoja de estilos principal
   © 2025 ENTERPRISEPLUS S.A.
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #0F172A; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }

:root {
  --brand:      #4A98E8;
  --brand-d:    #1D3D87;
  --gradient:   linear-gradient(135deg, #5BB4F0 0%, #1D3D87 100%);
  --g-light:    linear-gradient(135deg, #EBF4FF 0%, #EEF2FF 100%);
  --navy:       #0C1A3D;
  --text:       #0F172A;
  --muted:      #64748B;
  --border:     #E1ECF8;
  --surface:    #F7FAFF;
  --white:      #FFFFFF;
  --radius:     12px;
  --radius-lg:  18px;
  --shadow-sm:  0 2px 8px rgba(15,23,42,.06);
  --shadow:     0 4px 20px rgba(15,23,42,.09);
  --shadow-lg:  0 12px 48px rgba(15,23,42,.14);
}

/* ── NAVBAR ── */
nav {
  height: 68px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 998;
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-mark { width: 40px; height: 40px; flex-shrink: 0; }
.nav-wordmark { line-height: 1.1; }
.nav-wordmark strong {
  display: block; font-size: 16px; font-weight: 800; letter-spacing: -.3px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-wordmark small { font-size: 8px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #94A3B8; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--brand-d); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-login-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #fff;
  text-decoration: none; padding: 8px 18px;
  background: var(--gradient);
  border: none; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(29,61,135,.25);
  transition: opacity .18s, box-shadow .18s;
  white-space: nowrap;
}
.nav-login-btn:hover { opacity: .88; box-shadow: 0 4px 16px rgba(29,61,135,.35); }
.nav-login-ico { width: 15px; height: 15px; flex-shrink: 0; }
.lang-pill {
  display: flex; border: 1.5px solid var(--border); border-radius: 20px;
  overflow: hidden; font-size: 11.5px; font-weight: 700;
}
.lang-pill span {
  padding: 5px 13px; cursor: pointer; user-select: none;
  transition: background .15s, color .15s;
}
.lang-pill span.active { background: var(--brand-d); color: #fff; }
.btn-demo {
  background: var(--gradient); color: #fff; border: none;
  padding: 10px 22px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: opacity .2s, transform .15s; white-space: nowrap;
}
.btn-demo:hover { opacity: .9; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  padding: 80px 5% 70px; overflow: hidden; position: relative;
  background: #fff;
}
.hero-mesh {
  position: absolute; top: -200px; right: -150px; width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(74,152,232,.09) 0%, rgba(29,61,135,.05) 50%, transparent 70%);
  pointer-events: none;
}
.hero-mesh2 {
  position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(91,180,240,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EFF6FF; color: var(--brand-d);
  border: 1px solid #BFDBFE;
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 22px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}
.hero h1 {
  font-size: clamp(36px, 3.8vw, 56px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.07; color: var(--text); margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.72;
  margin-bottom: 34px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-primary {
  background: var(--gradient); color: #fff; border: none;
  padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .2s, transform .15s; box-shadow: 0 4px 14px rgba(74,152,232,.35);
}
.btn-primary:hover { opacity: .92; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--brand-d);
  border: 2px solid var(--border); padding: 12px 26px;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--brand); background: #F0F7FF; }
.hero-social-proof {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.proof-avatars { display: flex; }
.proof-avatars span {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient); border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  margin-left: -8px; box-shadow: var(--shadow-sm);
}
.proof-avatars span:first-child { margin-left: 0; }

/* ── HERO DASHBOARD CARD ── */
.hero-visual { position: relative; }
.dash-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15,23,42,.12), 0 0 0 1px rgba(15,23,42,.05);
  overflow: hidden;
}
.dash-titlebar {
  background: var(--navy); padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.r{background:#ff5f57} .dash-dot.y{background:#febc2e} .dash-dot.g{background:#28c840}
.dash-tabs { display: flex; gap: 4px; margin-left: 12px; }
.dash-tab {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,.4);
  padding: 4px 10px; border-radius: 5px; cursor: pointer;
}
.dash-tab.active { background: rgba(255,255,255,.1); color: #fff; }
.dash-body { padding: 20px; background: var(--navy); }
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpi {
  background: rgba(255,255,255,.05); border-radius: 10px; padding: 14px;
  border: 1px solid rgba(255,255,255,.07);
}
.dash-kpi-label { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.45); margin-bottom: 6px; letter-spacing: .5px; text-transform: uppercase; }
.dash-kpi-val { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.dash-kpi-delta { font-size: 10px; font-weight: 600; color: #4ADE80; margin-top: 2px; }
.dash-kpi-delta.neg { color: #F87171; }
.dash-chart { background: rgba(255,255,255,.04); border-radius: 10px; padding: 14px; border: 1px solid rgba(255,255,255,.07); }
.dash-chart-label { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.45); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(74,152,232,.3);
  transition: background .2s;
}
.chart-bar.hi { background: rgba(74,152,232,.8); }
.chart-bar:hover { background: rgba(91,180,240,.7); }
.dash-rows { margin-top: 12px; }
.dash-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 11.5px;
}
.dash-row:last-child { border: none; }
.dash-row-label { color: rgba(255,255,255,.55); }
.dash-row-val { color: #fff; font-weight: 600; }
.dash-row-badge {
  font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 8px;
  background: rgba(74,222,128,.15); color: #4ADE80;
}
.dash-row-badge.b { background: rgba(74,152,232,.2); color: var(--brand); }
.dash-pill {
  position: absolute; bottom: -16px; right: -16px;
  background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.dash-pill-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #DCFCE7; display: flex; align-items: center; justify-content: center;
}
.dash-pill-icon svg { color: #16A34A; }

/* ── STATS STRIP ── */
.stats { background: var(--navy); padding: 28px 5%; }
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px;
}
.stat { text-align: center; }
.stat strong {
  display: block; font-size: 28px; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -1px;
}
.stat span { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500; margin-top: 2px; display: block; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* ── SECTION COMMONS ── */
section { padding: 88px 5%; }
.max-w { max-width: 1200px; margin: 0 auto; }
.sec-tag {
  display: inline-block; background: #EFF6FF; color: var(--brand-d);
  border: 1px solid #BFDBFE; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
h2.sec-h {
  font-size: clamp(28px, 3vw, 44px); font-weight: 800;
  color: var(--text); letter-spacing: -1.2px; line-height: 1.13; margin-bottom: 16px;
}
h2.sec-h .grad {
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.sec-sub { font-size: 16.5px; color: var(--muted); max-width: 560px; line-height: 1.72; margin-bottom: 56px; }
.centered { text-align: center; }
.centered .sec-sub { margin-left: auto; margin-right: auto; }

/* ── ABOUT ── */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
blockquote.about-q {
  font-size: 20px; color: var(--text); line-height: 1.68;
  border-left: 4px solid var(--brand); padding-left: 22px; margin-bottom: 28px; font-style: italic;
}
blockquote.about-q strong { font-style: normal; color: var(--brand-d); }
.about-author strong { font-size: 15px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.about-author span { font-size: 13px; color: var(--muted); }
.val-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.val-card {
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border); transition: box-shadow .2s, border-color .2s;
}
.val-card:hover { box-shadow: var(--shadow); border-color: #BFDBFE; }
.val-icon {
  width: 46px; height: 46px; background: #EFF6FF; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.val-icon svg { color: var(--brand-d); }
.val-card h4 { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.val-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── PRODUCTS ── */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.prod-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.prod-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 2px var(--brand);
  opacity: 0; transition: opacity .2s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card:hover::after { opacity: 1; }
.prod-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.prod-icon.blue { background: #EFF6FF; }
.prod-icon.blue svg { color: var(--brand-d); }
.prod-card h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.prod-card > p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.feat-ul { list-style: none; }
.feat-ul li {
  font-size: 13.5px; color: var(--muted); padding: 7px 0;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid var(--surface);
}
.feat-ul li:last-child { border: none; }
.feat-ul li .chk { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.feat-ul li .chk svg { width: 14px; height: 14px; }

/* ── FEATURES GRID ── */
.feats { background: var(--surface); }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.feat-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); display: flex; gap: 16px;
  transition: box-shadow .2s, border-color .2s;
}
.feat-card:hover { box-shadow: var(--shadow); border-color: #BFDBFE; }
.feat-card-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: #EFF6FF; display: flex; align-items: center; justify-content: center;
}
.feat-card-icon svg { color: var(--brand-d); }
.feat-card h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.feat-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── ADVANCED (dark) ── */
.advanced { background: var(--navy); }
.advanced .sec-tag { background: rgba(91,180,240,.12); color: var(--brand); border-color: rgba(91,180,240,.25); }
.advanced h2.sec-h { color: #fff; }
.advanced h2.sec-h .grad { background: linear-gradient(135deg,#5BB4F0,#93C5FD); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.advanced .sec-sub { color: rgba(255,255,255,.5); }
.adv-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1200px; margin: 0 auto 20px; }
.adv-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1200px; margin: 0 auto; }
.adv-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 32px 26px;
  transition: background .2s, border-color .2s;
}
.adv-card:hover { background: rgba(255,255,255,.07); border-color: rgba(91,180,240,.25); }
.adv-icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(91,180,240,.12); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.adv-icon-box svg { color: var(--brand); }
.adv-card h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.adv-card > p { font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.68; margin-bottom: 16px; }
.adv-list { list-style: none; margin-bottom: 20px; }
.adv-list li {
  font-size: 13.5px; color: rgba(255,255,255,.55); padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.adv-list li:last-child { border: none; }
.adv-list li svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.adv-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.adv-tag {
  background: rgba(91,180,240,.1); color: var(--brand);
  font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 20px;
  border: 1px solid rgba(91,180,240,.2);
}
.adv-tag.green { background: rgba(74,222,128,.1); color: #4ADE80; border-color: rgba(74,222,128,.2); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.plan {
  border: 1.5px solid var(--border); border-radius: 20px; padding: 32px 24px;
  position: relative; transition: box-shadow .2s, transform .2s;
}
.plan:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.plan.featured { border-color: var(--brand-d); background: var(--navy); }
.plan-hot {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg,#F59E0B,#EF4444);
  color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 4px 16px; border-radius: 12px; white-space: nowrap; letter-spacing: .3px;
}
.plan-tier { font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.plan.featured .plan-tier { color: rgba(255,255,255,.6); }
.plan-price { font-size: 42px; font-weight: 800; color: var(--text); letter-spacing: -2px; line-height: 1; margin-bottom: 4px; }
.plan.featured .plan-price { color: #fff; }
.plan-price sup { font-size: 20px; font-weight: 600; vertical-align: super; letter-spacing: 0; }
.plan-price sub { font-size: 13.5px; font-weight: 400; letter-spacing: 0; }
.plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 22px; line-height: 1.55; }
.plan.featured .plan-desc { color: rgba(255,255,255,.55); }
.plan-feats { list-style: none; margin-bottom: 24px; }
.plan-feats li {
  font-size: 13px; padding: 8px 0;
  border-bottom: 1px solid var(--surface);
  display: flex; align-items: center; gap: 9px; color: var(--muted);
}
.plan.featured .plan-feats li { border-bottom-color: rgba(255,255,255,.07); color: rgba(255,255,255,.75); }
.plan-feats li svg { flex-shrink: 0; }
.plan-feats li.yes svg { color: var(--brand); }
.plan.featured .plan-feats li.yes svg { color: #5BB4F0; }
.plan-feats li.no { color: #CBD5E1; }
.plan-feats li.no svg { color: #CBD5E1; }
.btn-plan {
  width: 100%; padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: 2px solid var(--brand-d); background: transparent; color: var(--brand-d);
  transition: background .2s, color .2s;
}
.btn-plan:hover { background: var(--brand-d); color: #fff; }
.plan.featured .btn-plan { background: #fff; color: var(--brand-d); border-color: #fff; }
.plan.featured .btn-plan:hover { background: transparent; color: #fff; }
.pricing-note { text-align: center; margin-top: 24px; font-size: 13px; color: var(--muted); }
.pricing-note a { color: var(--brand-d); font-weight: 600; text-decoration: none; }

/* ── CLIENTS ── */
.clients { background: var(--surface); }
.clients-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 1000px; margin: 0 auto;
}
.client-chip {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 20px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.client-chip:hover { border-color: var(--brand); color: var(--brand-d); box-shadow: var(--shadow-sm); }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.testi {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.testi:hover { box-shadow: var(--shadow-lg); border-color: #BFDBFE; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { color: #FBBF24; }
.testi q {
  font-size: 14.5px; color: var(--muted); line-height: 1.72;
  display: block; margin-bottom: 22px;
}
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.testi-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.testi-biz { font-size: 12px; color: var(--muted); }
.testi-video { text-align: center; margin-top: 32px; font-size: 13.5px; color: var(--muted); }
.testi-video a { color: var(--brand-d); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* ── CONTACT ── */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-info h3 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--muted); line-height: 1.72; margin-bottom: 32px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.contact-ico { width: 42px; height: 42px; background: #EFF6FF; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-ico svg { color: var(--brand-d); }
.contact-label { font-size: 11.5px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 2px; letter-spacing: .4px; text-transform: uppercase; }
.contact-val { font-size: 14.5px; color: var(--text); font-weight: 500; }
.form-card { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-card h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .3px; text-transform: uppercase; }
input, textarea, select {
  width: 100%; border: 1.5px solid var(--border); border-radius: 9px;
  padding: 11px 13px; font-size: 14px; font-family: inherit;
  color: var(--text); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(74,152,232,.12); }
textarea { height: 96px; resize: vertical; }
.btn-submit {
  width: 100%; background: var(--gradient); color: #fff; border: none;
  padding: 14px; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 4px; transition: opacity .2s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(74,152,232,.35);
}
.btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-note a { color: var(--brand-d); font-weight: 600; text-decoration: none; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 60px 5% 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto 48px; }
.foot-brand .nav-wordmark strong { color: #fff; }
.foot-brand .nav-wordmark small { color: rgba(255,255,255,.28); }
.foot-tagline { font-size: 14px; margin-top: 14px; line-height: 1.65; color: rgba(255,255,255,.45); }
.foot-tagline strong { color: #fff; }
.foot-social { display: flex; gap: 9px; margin-top: 20px; }
.soc-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,.06);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; text-decoration: none;
}
.soc-btn:hover { background: rgba(255,255,255,.12); }
.soc-btn svg { color: rgba(255,255,255,.6); }
.foot-col h5 { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul li a { color: rgba(255,255,255,.55); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.foot-col ul li a:hover { color: #fff; }
.foot-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; flex-wrap: wrap; gap: 10px;
}
.foot-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.foot-bottom a:hover { color: #fff; }

/* ── PRIVACY MODAL ── */
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); z-index: 9997; align-items: center; justify-content: center; padding: 20px; }
.overlay.open { display: flex; }
.modal { background: #fff; border-radius: 20px; max-width: 680px; width: 100%; max-height: 82vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.modal-hdr { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-hdr h3 { font-size: 17px; font-weight: 700; color: var(--text); }
.modal-close { width: 32px; height: 32px; background: var(--surface); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: background .2s; }
.modal-close:hover { background: var(--border); }
.modal-close svg { color: var(--muted); }
.modal-body { padding: 22px 26px; overflow-y: auto; font-size: 14px; color: var(--muted); line-height: 1.72; }
.modal-body h4 { font-size: 14.5px; font-weight: 700; color: var(--text); margin: 18px 0 6px; }
.modal-body p { margin-bottom: 10px; }

/* ── WA FLOAT ── */
.wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 996;
  width: 52px; height: 52px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45); cursor: pointer; transition: transform .2s;
  text-decoration: none;
}
.wa:hover { transform: scale(1.1); }
.wa svg { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid, .foot-grid,
  .adv-row, .adv-row-2, .pricing-grid, .testi-grid,
  .prod-grid, .feat-grid, .val-grid { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
  .hero-visual { display: none; }
}

/* ── ICON SIZE HELPERS ── */
.ico-sm { width: 16px; height: 16px; }
.ico-md { width: 20px; height: 20px; }
.ico-lg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════════
   MEJORAS v2 — Animaciones, scroll y mobile
   ═══════════════════════════════════════════════ */

/* ── DASH FLOAT (fix overflow clipping del pill) ── */
.dash-float {
  position: relative;
}

/* ── BADGE PULSE ── */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}
.hero-badge .pulse {
  animation: pulse-ring 2.2s ease-in-out infinite;
}

/* ── CHART BARS ANIMATION ── */
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.chart-bar { transform-origin: bottom; }
.bars-animated .chart-bar {
  animation: bar-grow .65s cubic-bezier(.16,1,.3,1) both;
}
.bars-animated .chart-bar:nth-child(1) { animation-delay: .00s; }
.bars-animated .chart-bar:nth-child(2) { animation-delay: .07s; }
.bars-animated .chart-bar:nth-child(3) { animation-delay: .14s; }
.bars-animated .chart-bar:nth-child(4) { animation-delay: .21s; }
.bars-animated .chart-bar:nth-child(5) { animation-delay: .28s; }
.bars-animated .chart-bar:nth-child(6) { animation-delay: .35s; }
.bars-animated .chart-bar:nth-child(7) { animation-delay: .42s; }

/* ── SCROLL REVEAL ── */
.sl-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1),
              transform .65s cubic-bezier(.16,1,.3,1);
}
.sl-init.sl-in {
  opacity: 1;
  transform: none;
}

/* ── NAV SCROLLED ── */
nav.scrolled {
  box-shadow: 0 2px 24px rgba(15,23,42,.10);
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: 8px;
  transition: background .15s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--surface); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .btn-demo  { display: none; }

  /* Logo: solo ícono en móvil, sin texto */
  .nav-wordmark { display: none; }
  .nav-right { gap: 8px; }
  .nav-login-btn { padding: 7px 13px; font-size: 12px; }

  nav { position: relative; }
  nav .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    gap: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 5% 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    z-index: 997;
    animation: fadeDown .22s ease;
  }
  nav .nav-links.open li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface);
    font-size: 15px;
  }
  nav .nav-links.open li:last-child a { border: none; }
}

/* En pantallas muy pequeñas: botón Ingresar solo muestra el ícono */
@media (max-width: 400px) {
  .nav-login-label { display: none; }
  .nav-login-btn { padding: 8px 10px; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ── PRIVACY MODAL FORMATTING ── */
.privacy-part {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand-d);
  background: #EFF6FF; border: 1px solid #BFDBFE;
  padding: 4px 12px; border-radius: 20px;
  margin: 20px 0 12px;
}
.modal-body ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
.modal-body ul li {
  margin-bottom: 6px;
  line-height: 1.65;
}
