
:root{--navy:#0c3156;--blue:#0879c9;--sky:#45b8e8;--gold:#f4b51b;--ink:#132638;--muted:#607181;--bg:#f6f9fc;--white:#fff;--line:#dfe8ef}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:white;line-height:1.55;overflow-x:hidden}
img,svg{max-width:100%;height:auto}.wrap{width:min(1160px,calc(100% - 36px));margin:auto}.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-size:21px;font-weight:800;color:var(--navy);text-decoration:none}.navlinks{display:flex;align-items:center;gap:18px}.navlinks a{color:var(--ink);text-decoration:none;font-weight:650;font-size:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:12px;text-decoration:none;font-weight:800;border:1px solid transparent}.btn-primary{background:var(--blue);color:white!important}.btn-secondary{border-color:var(--line);background:white;color:var(--navy)!important}
.ecosystem{position:relative}.eco-btn{border:0;background:#eef6fb;padding:10px 12px;border-radius:10px;font-weight:800;color:var(--navy);cursor:pointer}.eco-menu{display:none;position:absolute;right:0;top:46px;width:240px;background:white;border:1px solid var(--line);box-shadow:0 18px 50px rgba(20,45,70,.15);border-radius:14px;padding:9px}.ecosystem:hover .eco-menu,.ecosystem:focus-within .eco-menu{display:block}.eco-menu a{display:block;padding:10px;border-radius:9px}.eco-menu a:hover{background:#f1f7fb}
.hero{background:radial-gradient(circle at 82% 18%,rgba(69,184,232,.22),transparent 32%),linear-gradient(180deg,#fff,#f5f9fc);padding:72px 0}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;min-height:560px}.eyebrow{font-weight:850;color:var(--blue);text-transform:uppercase;letter-spacing:.11em;font-size:13px}h1{font-size:clamp(42px,6vw,72px);line-height:1.02;margin:16px 0 20px;color:var(--navy)}h1 span{color:var(--blue)}.lead{font-size:19px;color:var(--muted);max-width:680px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.visual{background:white;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:0 24px 70px rgba(20,55,85,.12)}.visual img{width:100%;display:block}
section{padding:82px 0}.soft{background:var(--bg)}.section-head{max-width:760px;margin-bottom:34px}.section-head h2{font-size:clamp(31px,4vw,48px);line-height:1.1;color:var(--navy);margin:9px 0}.section-head p{color:var(--muted);font-size:18px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:20px;padding:26px}.card h3{color:var(--navy);margin:8px 0}.icon{font-size:30px}.card p{color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{padding:26px;border-left:4px solid var(--blue);background:white;border-radius:0 18px 18px 0}.num{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--blue);font-weight:900}
.family{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{border:1px solid var(--line);border-radius:20px;padding:25px;background:white}.product strong{display:block;font-size:22px;color:var(--navy)}.product a{color:var(--blue);font-weight:800;text-decoration:none}
.cta{background:var(--navy);color:white;border-radius:28px;padding:42px}.cta h2{font-size:38px;margin:0 0 12px}.cta p{color:#dbe8f3}.by{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;margin-top:20px}.sa-wordmark{font-weight:900;color:var(--navy);letter-spacing:.02em}.footer{padding:34px 0;border-top:1px solid var(--line);color:var(--muted)}.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer a{color:var(--blue);text-decoration:none}
.mobile-toggle{display:none}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.cards,.steps,.family{grid-template-columns:1fr 1fr}.navlinks>a:not(.btn),.ecosystem{display:none}.mobile-toggle{display:block;border:0;background:#eef6fb;border-radius:10px;padding:10px 12px}.mobile-panel{display:none;padding:0 0 16px}.mobile-panel.open{display:grid;gap:8px}.mobile-panel a{padding:9px 0;text-decoration:none;color:var(--navy);font-weight:750}}
@media(max-width:620px){.wrap{width:min(100% - 24px,1160px)}.hero{padding:48px 0}.hero-grid{min-height:auto;gap:28px}.cards,.steps,.family{grid-template-columns:1fr}.actions .btn{width:100%}section{padding:62px 0}.cta{padding:28px}.cta h2{font-size:31px}}

/* MultiNexia brand family v2 */
:root{--mn-multi:#123B63;--mn-nexia:#0B79D0;--mn-envios:#F5B51B;}
.brand-multi{color:var(--mn-multi)}.brand-nexia{color:var(--mn-nexia)}.vertical-envios{color:var(--mn-envios)}
.eco-menu{border-top:3px solid var(--mn-nexia)}

.swa-logo{display:inline-block;width:150px;max-height:46px;object-fit:contain;object-position:left center}
.footer-swa{width:125px;vertical-align:middle}
@media(max-width:620px){.swa-logo{width:130px}}

.mobile-panel{display:none!important}
.ecosystem-visual,.product-visual{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.hero-swa{width:min(330px,82%);max-height:100px;object-fit:contain}
.math-symbol{font-size:42px;font-weight:900;color:var(--blue);line-height:1}
.brand-card{width:100%;padding:16px;background:white;border-radius:20px}
.brand-card img{max-height:190px;object-fit:contain}
.eco-products{display:grid;grid-template-columns:1fr 1fr;gap:15px;width:100%;align-items:center}
.eco-products img{max-height:100px;object-fit:contain;margin:auto}
@media(max-width:620px){.hero-swa{width:75%}.math-symbol{font-size:34px}.brand-card img{max-height:150px}}

/* FINAL — hero equation pattern based on the existing MeLiConex landing */
.mobile-panel{display:none!important}
.meliconex-equation{padding:22px!important;display:block!important;background:#fff;border-radius:26px}
.equation-top{display:grid;grid-template-columns:minmax(0,1.05fr) 42px minmax(0,1.25fr) 42px;gap:8px;align-items:center;margin-bottom:18px}
.eq-box{min-height:74px;border:1px solid #dce7f1;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;padding:10px}
.swa-box img{width:100%;max-width:220px;max-height:64px;object-fit:contain}
.solution-wordmark{font-size:clamp(20px,2.1vw,32px);font-weight:900;white-space:nowrap}
.eq-multi{color:#123B63}.eq-nexia{color:#0B79D0}.eq-envios{color:#F5B51B}
.eq-symbol{width:38px;height:38px;border-radius:50%;background:#edf6fd;color:#0B79D0;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900}
.equation-result{border:1px solid #dce7f1;border-radius:18px;min-height:290px;padding:22px;display:flex;align-items:center;justify-content:center;background:#fff}
.equation-result img{width:100%;max-width:520px;max-height:320px;object-fit:contain}
@media(max-width:700px){
 .equation-top{grid-template-columns:1fr 34px 1fr 34px;gap:5px}
 .eq-symbol{width:30px;height:30px;font-size:18px}
 .eq-box{min-height:58px;padding:6px}.solution-wordmark{font-size:16px}
 .equation-result{min-height:220px;padding:12px}
}

/* V4 */
.mobile-panel{display:none!important}
.ecosystem{position:relative}.eco-menu{display:none;position:absolute;top:100%;right:0;z-index:1000;background:#fff;min-width:230px;padding:8px;border-radius:12px;box-shadow:0 14px 35px rgba(15,45,75,.16)}
.ecosystem:hover .eco-menu,.eco-menu.show{display:block!important}.eco-menu a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none}.eco-menu a:hover{background:#eef7fd}
.v4-equation{background:#fff;border-radius:26px;padding:24px!important;box-shadow:0 10px 35px rgba(20,55,85,.06)}
.v4-top{display:grid;grid-template-columns:1.1fr 42px 1.45fr 42px;align-items:center;gap:10px}.v4-top>img{width:100%;max-height:72px;object-fit:contain}.v4-top>span{width:36px;height:36px;border-radius:50%;background:#edf6fd;color:#087bd1;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:900}
.v4-word{font-size:clamp(20px,2vw,31px);font-weight:900;text-align:center;white-space:nowrap}.v4-word b{color:#123b63}.v4-word strong{color:#087bd1}.v4-word em{font-style:normal;color:#e99a00;margin-right:2px}
.v4-line{height:1px;background:#dbe6ef;margin:17px 0}.v4-result,.v4-parent{display:flex;justify-content:center;align-items:center;min-height:245px}.v4-result img{max-width:94%;max-height:300px;object-fit:contain}.v4-parent img{max-width:80%;max-height:180px;object-fit:contain}
.v4-children{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:16px;margin-top:8px}.v4-children img{width:100%;max-height:105px;object-fit:contain}
@media(max-width:700px){.v4-equation{padding:15px!important}.v4-top{grid-template-columns:1fr 28px 1.25fr 28px;gap:4px}.v4-top>span{width:27px;height:27px;font-size:16px}.v4-word{font-size:14px}.v4-top>img{max-height:50px}.v4-result{min-height:190px}.v4-children{gap:7px}.v4-children img{max-height:75px}}

/* V5 clean correction */
html,body{max-width:100%;overflow-x:hidden}
.topbar,.topbar>.wrap,.nav{overflow:visible!important}
.v5-ecosystem{position:relative;display:inline-flex}
.v5-toggle{border:0;background:#eef6fc;color:#123b63;border-radius:12px;padding:12px 14px;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
.v5-menu{display:none!important;position:absolute;top:calc(100% + 8px);right:0;z-index:9999;min-width:225px;background:#fff;border-radius:12px;padding:7px;box-shadow:0 15px 35px rgba(15,45,75,.18)}
.v5-ecosystem.is-open>.v5-menu{display:block!important}
.v5-menu a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:#123b63;font-weight:700}.v5-menu a:hover{background:#eef7fd}
.v5-card{background:#fff;border-radius:26px;padding:24px!important;box-shadow:0 10px 32px rgba(20,55,85,.06);min-width:0}
.v5-eq{display:grid;grid-template-columns:minmax(0,1.05fr) 36px minmax(0,1.25fr) 36px;align-items:center;gap:8px}
.v5-eq>img{width:100%;max-height:70px;object-fit:contain}
.v5-eq>span{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf6fd;color:#087bd1;font-weight:900;font-size:20px}
.v5-word{font-size:clamp(18px,2vw,30px);font-weight:900;text-align:center;white-space:nowrap}.v5-word b{color:#123b63}.v5-word strong{color:#087bd1}.v5-word em{font-style:normal;color:#e99a00}
.v5-divider{height:1px;background:#dbe6ef;margin:17px 0}
.v5-result{min-height:260px;display:flex;align-items:center;justify-content:center}.v5-result img{max-width:94%;max-height:310px;object-fit:contain}
.v5-parent-logo{display:block;max-width:72%;max-height:160px;object-fit:contain;margin:18px auto 12px}
.v5-children{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:center;margin-top:14px}.v5-children img{width:100%;max-height:100px;object-fit:contain}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr!important}.v5-card{width:100%;box-sizing:border-box}}
@media(max-width:620px){.v5-card{padding:14px!important}.v5-eq{grid-template-columns:minmax(0,1fr) 26px minmax(0,1.25fr) 26px;gap:3px}.v5-eq>span{width:24px;height:24px;font-size:15px}.v5-eq>img{max-height:48px}.v5-word{font-size:13px}.v5-result{min-height:190px}.v5-children{gap:5px}.v5-children img{max-height:70px}}
