/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1B7F4E;
  --green-mid:   #25A665;
  --green-light: #E8F5EE;
  --green-ultra: #F0FAF4;
  --navy:        #1A2E4A;
  --navy-mid:    #2C4A6E;
  --purple:      #5B3FA6;
  --purple-mid:  #7B5EC9;
  --purple-light:#F0EBFF;
  --gray-dark:   #2D2D2D;
  --gray-mid:    #555555;
  --gray-light:  #888888;
  --gray-ultra:  #F5F7FA;
  --white:       #FFFFFF;
  --border:      #E2E8F0;

  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12);

  --max-w: 1280px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ───────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── NAVBAR ──────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 152px;
  height: auto;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--gray-mid);
  text-decoration: none;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-ultra); }
.nav-links a.active { color: var(--green); }
.nav-cta {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: white !important;
  background: var(--green) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--green-mid) !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all .3s;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px; font-weight: 500; color: var(--gray-mid);
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .mob-cta {
  margin-top: 8px; text-align: center;
  background: var(--green); color: white !important;
  border-radius: 50px; border-bottom: none !important;
  font-weight: 700; font-family: var(--font-display);
}

/* ── HERO ────────────────────────────────────────── */
#hero {
  min-height: 860px;
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 72px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.hero-bg-blob {
  position: absolute; top: 20px; right: -160px;
  width: 760px; height: 620px; border-radius: 0 0 0 420px;
  background:
    radial-gradient(ellipse at 72% 22%, rgba(240,235,255,.82) 0%, rgba(240,235,255,.4) 42%, transparent 68%),
    radial-gradient(ellipse at 42% 72%, rgba(232,245,238,.9) 0%, rgba(232,245,238,.35) 44%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 32px; align-items: center; position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); border: 1px solid #b7e0c8;
  color: var(--green); border-radius: 50px;
  font-size: 13px; font-weight: 600; font-family: var(--font-display);
  padding: 6px 14px; margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.hero-tag::before {
  content: ''; width: 7px; height: 7px;
  background: var(--green); border-radius: 50%; flex-shrink: 0;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 800; line-height: 1.1;
  color: var(--navy); letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: fadeUp .6s .1s ease both;
}
.hero-h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-sub {
  font-size: 18px; line-height: 1.62; color: var(--gray-mid);
  font-weight: 400; max-width: 530px; margin-bottom: 36px;
  animation: fadeUp .6s .2s ease both;
}
.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  animation: fadeUp .6s .3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: white;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(27,127,78,.3);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,127,78,.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none; border: 2px solid var(--border); cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap;
  animation: fadeUp .6s .4s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  color: var(--navy); letter-spacing: -1px; line-height: 1;
}
.hero-stat-num span { color: var(--green); }
.hero-stat-label { font-size: 12px; color: var(--gray-light); font-weight: 500; margin-top: 4px; }
.hero-stat-div { width: 1px; background: var(--border); align-self: stretch; }

.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 540px;
  margin-right: -38px;
  animation: fadeUp .6s .2s ease both;
}
.hero-img {
  width: min(730px, 57vw); max-width: none; height: auto;
  box-shadow: none;
}

.logos-strip {
  margin-top: 76px;
  animation: fadeUp .6s .5s ease both;
}
.logos-label {
  text-align: center; font-size: 13px; font-weight: 500;
  color: var(--gray-light); letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 24px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px 40px;
}
.logo-pill {
  background: var(--gray-ultra); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 20px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--gray-mid); letter-spacing: .3px;
}

/* ── PROBLEM SECTION ─────────────────────────────── */
#problema {
  padding: 100px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
#problema::before {
  content: ''; position: absolute;
  top: -100px; left: -100px; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(27,127,78,.15) 0%, transparent 70%);
  pointer-events: none;
}
.section-eyebrow {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 16px;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  line-height: 1.15; letter-spacing: -1px;
}
.section-h2.light { color: var(--white); }
.section-h2.dark { color: var(--navy); }
.section-sub {
  font-size: 17px; line-height: 1.7; max-width: 560px;
}
.section-sub.light { color: rgba(255,255,255,.65); }
.section-sub.dark { color: var(--gray-mid); }
.problema-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-top: 56px;
}
.problema-copy .section-sub { margin-top: 20px; max-width: 440px; }
.pain-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.pain-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.pain-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.pain-text { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.75); padding-top: 6px; }
.pain-text strong { color: white; font-weight: 600; }

.problema-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.stat-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 24px 20px;
  transition: background .2s;
}
.stat-card:hover { background: rgba(255,255,255,.09); }
.stat-card-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  letter-spacing: -1px; line-height: 1;
}
.stat-card-num.green { color: var(--green-mid); }
.stat-card-num.green.neg::before { content: '-'; }
.stat-card-num.green.pos::before { content: '+'; }
.stat-card-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 8px; line-height: 1.4; }
.stat-card-big {
  grid-column: span 2;
  background: rgba(27,127,78,.18); border-color: rgba(27,127,78,.35);
  text-align: center; padding: 28px;
}
.stat-card-big .stat-card-num { font-size: 44px; color: white; }
.stat-card-big .stat-card-label { color: rgba(255,255,255,.7); font-size: 14px; }

/* ── BENEFICIOS EMPLEADOS ─────────────────────────── */
#empleados {
  padding: 100px 0;
  background: var(--white);
}
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 16px auto 0; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.benefit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.benefit-card:hover { border-color: #b7e0c8; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon {
  width: 52px; height: 52px; background: var(--green-light);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.benefit-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; letter-spacing: -.3px;
}
.benefit-desc { font-size: 14px; line-height: 1.65; color: var(--gray-mid); }
.benefit-tag {
  display: inline-block; margin-top: 16px;
  background: var(--green-ultra); color: var(--green);
  font-size: 12px; font-weight: 600; font-family: var(--font-display);
  padding: 4px 10px; border-radius: 50px;
}

/* ── BENEFICIOS EMPRESA ───────────────────────────── */
#empresa {
  padding: 100px 0;
  background: var(--gray-ultra);
}
.empresa-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.empresa-list { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.empresa-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; background: white; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.empresa-item:hover { border-color: #b7e0c8; box-shadow: var(--shadow-sm); }
.empresa-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.empresa-item-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 5px; letter-spacing: -.2px;
}
.empresa-item-desc { font-size: 14px; color: var(--gray-mid); line-height: 1.55; }

.empresa-visual-wrap { position: relative; }
.empresa-img {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.empresa-floating {
  position: absolute; right: -24px; top: 40%;
  background: white; border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); min-width: 180px;
}
.floating-label { font-size: 11px; font-weight: 600; color: var(--gray-light); text-transform: uppercase; letter-spacing: .5px; }
.floating-val {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--green); letter-spacing: -1px; line-height: 1.1; margin-top: 4px;
}
.floating-sub { font-size: 12px; color: var(--gray-light); margin-top: 2px; }

/* ── COMO FUNCIONA ────────────────────────────────── */
#como-funciona {
  padding: 100px 0;
  background: var(--white);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 34px; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--green), var(--purple-mid));
  z-index: 0;
}
.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
}
.step-num {
  width: 68px; height: 68px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  margin-bottom: 24px; border: 3px solid white;
}
.step-num.s1 { background: var(--green); color: white; box-shadow: 0 0 0 4px var(--green-light); }
.step-num.s2 { background: #2A7BAE; color: white; box-shadow: 0 0 0 4px #dceeff; }
.step-num.s3 { background: var(--purple); color: white; box-shadow: 0 0 0 4px var(--purple-light); }
.step-num.s4 { background: var(--navy); color: white; box-shadow: 0 0 0 4px #e2e8f0; }
.step-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; letter-spacing: -.2px;
}
.step-desc { font-size: 14px; color: var(--gray-mid); line-height: 1.6; }

/* ── POR QUÉ HARO ────────────────────────────────── */
#por-que {
  padding: 100px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
#por-que::after {
  content: ''; position: absolute;
  bottom: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(91,63,166,.2) 0%, transparent 70%);
  pointer-events: none;
}
.pq-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px;
}
.pq-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: background .2s, transform .2s;
}
.pq-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.pq-num {
  font-family: var(--font-display); font-size: 48px; font-weight: 800;
  color: rgba(27,127,78,.3); letter-spacing: -2px; line-height: 1; margin-bottom: 12px;
}
.pq-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: white; margin-bottom: 12px; letter-spacing: -.3px;
}
.pq-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; }
.pq-featured {
  background: rgba(27,127,78,.2) !important;
  border-color: rgba(27,127,78,.4) !important;
}
.pq-featured .pq-num { color: rgba(37,166,101,.5); }

/* ── PLANES ──────────────────────────────────────── */
#planes {
  padding: 100px 0;
  background: var(--gray-ultra);
}
.planes-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 800px; margin: 56px auto 0;
}
.plan-card {
  background: white; border-radius: var(--radius-lg);
  border: 2px solid var(--border); padding: 36px 32px;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.plan-card:hover { border-color: #b7e0c8; box-shadow: var(--shadow-md); }
.plan-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27,127,78,.1), var(--shadow-md);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: white;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 50px; white-space: nowrap;
  letter-spacing: .3px;
}
.plan-name {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--gray-light); letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-display); font-size: 52px; font-weight: 800;
  color: var(--navy); letter-spacing: -2px; line-height: 1;
}
.plan-price sup { font-size: 24px; letter-spacing: -1px; vertical-align: top; margin-top: 10px; }
.plan-period { font-size: 14px; color: var(--gray-light); margin-top: 6px; margin-bottom: 28px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--gray-mid); line-height: 1.5;
}
.plan-list li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.btn-plan {
  display: block; text-align: center; width: 100%;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  padding: 14px; border-radius: 50px; text-decoration: none;
  cursor: pointer; border: 2px solid var(--green);
  transition: all .2s;
}
.btn-plan.outline { color: var(--green); background: transparent; }
.btn-plan.outline:hover { background: var(--green); color: white; }
.btn-plan.filled { color: white; background: var(--green); border-color: var(--green); }
.btn-plan.filled:hover { background: var(--green-mid); }

/* ── CTA FINAL ───────────────────────────────────── */
#contacto {
  padding: 100px 0;
  background: var(--white);
}
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #243d5e 100%);
  border-radius: var(--radius-xl); padding: 72px 60px;
  text-align: center; position: relative; overflow: hidden;
  max-width: 860px; margin: 0 auto;
}
.cta-box::before {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(27,127,78,.25), transparent 70%);
}
.cta-box::after {
  content: ''; position: absolute;
  bottom: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(91,63,166,.2), transparent 70%);
}
.cta-box .section-eyebrow { color: var(--green-mid); margin-bottom: 12px; }
.cta-box .section-h2 { color: white; margin-bottom: 16px; }
.cta-box .section-sub { color: rgba(255,255,255,.65); margin: 0 auto 40px; text-align: center; }
.cta-form {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  position: relative; z-index: 1; max-width: 560px; margin: 0 auto;
}
.cta-input {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 14px 22px;
  font-family: var(--font-body); font-size: 15px; color: white;
  outline: none; transition: border-color .2s, background .2s;
}
.cta-input::placeholder { color: rgba(255,255,255,.45); }
.cta-input:focus { border-color: var(--green-mid); background: rgba(255,255,255,.15); }
.cta-submit {
  background: var(--green); color: white;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.cta-submit:hover { background: var(--green-mid); transform: translateY(-2px); }
.cta-trust {
  margin-top: 24px; position: relative; z-index: 1;
  font-size: 13px; color: rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-trust::before { content: '🔒'; font-size: 12px; }

/* ── MODAL ───────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,35,.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white; border-radius: var(--radius-xl);
  width: 100%; max-width: 480px; padding: 48px 40px;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97); transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-ultra); border: none; cursor: pointer;
  font-size: 18px; color: var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--border); }
.modal-icon {
  width: 64px; height: 64px; background: var(--green-light);
  border-radius: var(--radius-md); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.modal-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--navy); text-align: center; margin-bottom: 8px; letter-spacing: -.5px;
}
.modal-sub {
  font-size: 15px; color: var(--gray-mid); text-align: center;
  margin-bottom: 32px; line-height: 1.6;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; font-family: var(--font-display);
}
.form-input {
  width: 100%; background: var(--gray-ultra); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 16px;
  font-family: var(--font-body); font-size: 15px; color: var(--gray-dark);
  outline: none; transition: border-color .2s;
}
.form-input:focus { border-color: var(--green); background: white; }
.form-submit {
  width: 100%; background: var(--green); color: white;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 16px; border-radius: 50px; border: none; cursor: pointer;
  margin-top: 8px; transition: background .2s;
  box-shadow: 0 4px 20px rgba(27,127,78,.3);
}
.form-submit:hover { background: var(--green-mid); }
.form-trust {
  text-align: center; font-size: 12px; color: var(--gray-light);
  margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-logo-img {
  width: 148px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 240px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: white; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,.55);
  text-decoration: none; margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-legal a:hover { color: white; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  #hero { min-height: auto; padding-top: calc(var(--nav-h) + 56px); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 0; margin-right: 0; }
  .hero-img { width: min(640px, 100%); margin: 0 auto; }
  .problema-grid { grid-template-columns: 1fr; }
  .problema-visual { max-width: 480px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .empresa-grid { grid-template-columns: 1fr; }
  .empresa-visual-wrap { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid::before { display: none; }
  .pq-grid { grid-template-columns: 1fr 1fr; }
  .planes-grid { grid-template-columns: 1fr; max-width: 440px; }
  .cta-box { padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  #hero { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 56px; }
  .nav-logo-img { width: 126px; }
  .hero-bg-blob {
    top: 220px; right: -260px;
    width: 560px; height: 520px;
    opacity: .72;
  }
  .hero-tag { font-size: 12px; margin-bottom: 18px; }
  .hero-h1 {
    font-size: clamp(40px, 13vw, 58px);
    letter-spacing: -1px;
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 1.58;
    margin-bottom: 26px;
  }
  .hero-actions { gap: 10px; }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 32px;
  }
  .hero-stat { padding: 0 8px; }
  .hero-stat-num { font-size: 28px; }
  .hero-stat-label { font-size: 11px; line-height: 1.2; }
  .hero-visual { margin-top: 10px; }
  .hero-img {
    width: min(112%, 520px);
    max-width: none;
    transform: translateX(-4%);
  }
  .benefits-grid { grid-template-columns: 1fr; }
  .pq-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
  .modal { padding: 36px 24px; }
  .cta-box { padding: 40px 24px; border-radius: var(--radius-lg); }
  .cta-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
