*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:    #1B2A4A;
  --navy2:   #0F1E35;
  --green:   #5B9E7A;
  --green2:  #4a8a68;
  --white:   #ffffff;
  --light:   #F4F7F5;
  --gray:    #6b7280;
  --border:  #e5e9ef;
  --text:    #1a202c;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── COOKIE BANNER ── */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001; background: rgba(15,30,53,.97); backdrop-filter: blur(6px); padding: 18px 5%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#cookie-banner p { font-size: 13px; color: rgba(255,255,255,.8); flex: 1; min-width: 240px; }
#cookie-banner a { color: var(--green); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.btn-ck { padding: 9px 20px; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; cursor: pointer; border: none; letter-spacing: .06em; }
.btn-ck-yes { background: var(--green); color: var(--white); }
.btn-ck-no  { background: transparent; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.2); }

/* ── HEADER ── */
#header { position: sticky; top: 0; z-index: 100; background: var(--navy2); border-bottom: 1px solid rgba(255,255,255,.07); padding: 0 5%; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 44px; width: auto; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: rgba(255,255,255,.78); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .04em; transition: color .2s; }
nav a:hover { color: var(--green); }
.nav-cta { background: var(--green); color: var(--white) !important; padding: 9px 20px; border-radius: 6px; transition: background .2s !important; }
.nav-cta:hover { background: var(--green2) !important; }
.lang-sw { color: rgba(255,255,255,.5) !important; font-size: 12px !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .3s; }
@media(max-width:860px){
  nav { display: none; flex-direction: column; align-items: flex-start; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy2); padding: 20px 5%; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  nav.active { display: flex; }
  .menu-toggle { display: block; }
}

/* ── HERO ── */
#inicio { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,30,53,.92) 0%, rgba(15,30,53,.75) 55%, rgba(15,30,53,.4) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 680px; padding: 60px 5%; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(91,158,122,.18); border: 1px solid rgba(91,158,122,.4); border-radius: 50px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-content h1 { font-size: clamp(32px, 4.5vw, 58px); font-weight: 800; color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.hero-content h1 span { color: var(--green); }
.hero-content p { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary { display: inline-block; background: var(--green); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 15px 32px; border-radius: 8px; letter-spacing: .04em; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--green2); transform: translateY(-2px); }
.btn-ghost { display: inline-block; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 13px 30px; border-radius: 8px; letter-spacing: .04em; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; color: var(--green); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }

/* ── TRUST BAR ── */
#trust { background: var(--navy); padding: 20px 5%; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 10px 28px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 20px; height: 20px; fill: var(--green); flex-shrink: 0; }
.trust-item span { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 500; }

/* ── SECTIONS ── */
section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--gray); max-width: 580px; line-height: 1.65; }
.section-title.light { color: var(--white); }
.section-sub.light { color: rgba(255,255,255,.7); }

/* ── PROBLEMA / SOLUCIÓN ── */
#problema { background: var(--white); }
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 56px; }
.prob-left h3 { font-size: clamp(22px,2.5vw,32px); font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.prob-left p { color: var(--gray); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.prob-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prob-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.prob-checks li::before { content: '✓'; color: var(--green); font-weight: 800; font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.prob-right { display: flex; flex-direction: column; gap: 16px; }
.prob-card { background: var(--light); border-radius: 14px; padding: 24px 28px; border-left: 4px solid var(--green); }
.prob-card h3, .prob-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.prob-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── CASO DE ÉXITO ── */
#caso { background: var(--navy2); }
.caso-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 56px; }
.caso-img { border-radius: 16px; overflow: hidden; position: relative; }
.caso-img img { width: 100%; height: 420px; object-fit: cover; }
.caso-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,30,53,.8) 0%, transparent 50%); }
.caso-img-badge { position: absolute; bottom: 20px; left: 20px; background: var(--green); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 50px; letter-spacing: .06em; }
.caso-text .section-label { color: var(--green); }
.caso-text .section-title { color: var(--white); }
.caso-text p { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.caso-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 28px 0; }
.metric { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 20px 16px; text-align: center; }
.metric strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; color: var(--green); }
.metric span { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .05em; }
.caso-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 8px; }
.caso-step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 24px 20px; }
.caso-step-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 36px; color: var(--green); opacity: .4; margin-bottom: 8px; }
.caso-step h3, .caso-step h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--white); font-size: 14px; margin-bottom: 8px; }
.caso-step p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; }
.caso-cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ── SERVICIOS ── */
#servicios { background: var(--white); }
.serv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.serv-card { background: var(--light); border-radius: 16px; padding: 32px 28px; border: 1px solid var(--border); transition: box-shadow .25s, transform .25s; }
.serv-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(27,42,74,.1); }
.serv-icon { width: 50px; height: 50px; background: rgba(91,158,122,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.serv-icon svg { width: 24px; height: 24px; fill: var(--green); }
.serv-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.serv-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ── PARA QUIÉN ── */
#quienes { background: var(--light); }
.quien-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.quien-card { background: var(--white); border-radius: 16px; padding: 36px 28px; text-align: center; border: 2px solid transparent; transition: border-color .25s, box-shadow .25s; }
.quien-card:hover { border-color: var(--green); box-shadow: 0 8px 28px rgba(91,158,122,.12); }
.quien-emoji { font-size: 36px; margin-bottom: 14px; }
.quien-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); font-size: 17px; margin-bottom: 12px; }
.quien-card p { font-size: 14px; color: var(--gray); line-height: 1.65; margin-bottom: 18px; }
.quien-link { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--green); display: inline-flex; align-items: center; gap: 5px; }

/* ── PROCESO ── */
#proceso { background: var(--navy); }
.proceso-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 52px; position: relative; }
.proceso-steps::before { content: ''; position: absolute; top: 30px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(91,158,122,.3); z-index: 0; }
.proceso-step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.proceso-num { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.proceso-step h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--white); font-size: 15px; margin-bottom: 10px; }
.proceso-step p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ── CTA MID ── */
#cta-mid { background: linear-gradient(135deg, var(--green2) 0%, var(--green) 100%); padding: 64px 5%; }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn-white { display: inline-block; background: var(--white); color: var(--green2); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; padding: 15px 32px; border-radius: 8px; letter-spacing: .04em; transition: transform .15s; }
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost-w { display: inline-block; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 13px 30px; border-radius: 8px; transition: border-color .2s; }
.btn-ghost-w:hover { border-color: var(--white); }

/* ── CONTACTO ── */
#contacto { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; margin-top: 52px; }
.contact-info h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); font-size: 20px; margin-bottom: 16px; }
.contact-info p { color: var(--gray); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--text); }
.contact-detail svg { width: 18px; height: 18px; fill: var(--green); flex-shrink: 0; }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: var(--light); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social-btn:hover { background: var(--green); }
.social-btn svg { width: 16px; height: 16px; fill: var(--navy); transition: fill .2s; }
.social-btn:hover svg { fill: var(--white); }
.form-card { background: var(--light); border-radius: 20px; padding: 36px 32px; }
.form-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); font-size: 18px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12px; color: var(--navy); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text); background: var(--white); transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.form-check input { width: auto; margin-top: 3px; }
.form-check label { font-size: 12px; color: var(--gray); text-transform: none; letter-spacing: 0; font-weight: 400; font-family: 'Inter', sans-serif; }
.form-check a { color: var(--green); text-decoration: underline; }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 15px; border-radius: 8px; border: none; cursor: pointer; letter-spacing: .04em; transition: background .2s; }
.btn-submit:hover { background: var(--green); }

/* ── FOOTER ── */
footer { background: var(--navy2); padding: 56px 5% 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo img { height: 40px; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; max-width: 260px; }
.footer-col h3, .footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col li a:hover { color: var(--green); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: var(--green); }

/* ── WHATSAPP ── */
.wa-float { position: fixed; bottom: 100px; right: 26px; z-index: 999; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .prob-grid, .caso-header, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .caso-steps, .serv-grid, .quien-grid, .proceso-steps { grid-template-columns: 1fr 1fr; }
  .caso-metrics { grid-template-columns: repeat(3,1fr); }
  .proceso-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .caso-steps, .serv-grid, .quien-grid, .proceso-steps { grid-template-columns: 1fr; }
  .caso-metrics { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-proof { gap: 20px; }
  .trust-item { border-right: none; padding: 8px 16px; }
}
