/* AMM — hoja de estilos del sitio (azul profundo, órbitas) */
:root{
  --blue:#0038A8;
  --night:#030E26;
  --deep:#071B4D;
  --navy:#0A2766;
  --green:#00A830;
  --green-deep:#00922A;
  --green-hi:#5BE07F;
  --sky:#9CC1FF;
  --white:#FFFFFF;
  --text:#E3ECFF;
  --ink:#0B1B3A;
  --glass:linear-gradient(160deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.035) 100%);
  --glass-hover:linear-gradient(160deg,rgba(255,255,255,.15) 0%,rgba(255,255,255,.06) 100%);
  --line:rgba(255,255,255,.16);
  --radius:18px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--night)}
body{
  color:var(--white);
  font-family:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased;
  background:linear-gradient(to top right,var(--night) 0%,var(--deep) 45%,#0E2F80 100%);
}
img,svg{max-width:100%}
a{color:inherit}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px;position:relative;z-index:1}
h1,h2,h3{font-family:"Jost",system-ui,sans-serif;font-weight:500;line-height:1.15;color:var(--white)}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:"Jost",sans-serif;font-size:16px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--green-hi)}
.eyebrow::before{content:"";width:28px;height:2px;background:linear-gradient(90deg,var(--green-hi),transparent);border-radius:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--white);color:var(--blue);padding:10px 16px;z-index:100}
.skip:focus{left:12px;top:12px}

/* ---------- Capa artística (órbitas) ---------- */
.art{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.4) 38%,#000 62%);mask-image:linear-gradient(90deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.4) 38%,#000 62%)}
.orb{transform-box:view-box}
.orb-1{animation:spin 160s linear infinite}
.orb-2{animation:spin 110s linear infinite reverse}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* ---------- Header ---------- */
header.site{position:sticky;top:0;z-index:20;background:rgba(3,14,38,.72);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:84px}
.logo{display:inline-block;background:var(--white);border-radius:14px;padding:7px 14px 7px 10px;box-shadow:0 6px 20px -8px rgba(0,0,0,.5)}
.logo svg{height:50px;width:auto;display:block}
.menu{display:flex;align-items:center;gap:30px;list-style:none}
.menu a{text-decoration:none;font-family:"Jost",sans-serif;font-size:17px;font-weight:500;color:var(--white);padding-bottom:4px;border-bottom:2px solid transparent}
.menu a:hover{color:var(--green-hi)}
.menu a[aria-current="page"]{border-bottom-color:var(--green-hi)}
.burger{display:none;background:none;border:0;cursor:pointer;padding:8px}
.burger span{display:block;width:26px;height:2px;background:var(--white);margin:6px 0}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-family:"Jost",sans-serif;font-weight:500;font-size:17px;padding:14px 28px;border-radius:999px;border:2px solid transparent;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-wa{background:var(--green);color:var(--white)}
.btn-wa:hover{background:var(--green-deep)}
.btn-blue{background:var(--white);color:var(--blue);box-shadow:0 10px 30px -10px rgba(156,193,255,.6)}
.btn-blue:hover{box-shadow:0 14px 34px -10px rgba(156,193,255,.85)}
.btn-ghost{border-color:rgba(255,255,255,.7);color:var(--white)}
.btn-ghost:hover{background:rgba(255,255,255,.1);border-color:var(--white)}
.menu .btn{padding:10px 20px;font-size:16px;color:var(--white);border-bottom:2px solid transparent}
.menu .btn:hover{color:var(--white)}
.ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}

/* ---------- Home hero ---------- */
.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 20% 0%,rgba(3,14,38,.9),transparent 60%)}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;padding-top:104px;padding-bottom:150px}
.hero h1{font-size:clamp(38px,5vw,62px);margin:18px 0 22px}
.hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--green-hi),#B6F5C6);-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{font-size:20px;color:var(--text);max-width:600px}
.hero-mark{display:flex;justify-content:center}
.tile{width:min(360px,76vw);background:var(--white);border-radius:48px;padding:40px 44px 34px;box-shadow:0 0 0 10px rgba(255,255,255,.06),0 0 0 22px rgba(255,255,255,.03),0 40px 80px -20px rgba(0,8,40,.8),0 0 90px rgba(46,102,240,.45);animation:float 9s ease-in-out infinite}
.hero h1.brand-title{font-size:clamp(46px,7.2vw,96px);font-weight:600;line-height:1;letter-spacing:.01em;margin:20px 0 18px;color:var(--white);text-shadow:0 6px 40px rgba(46,102,240,.55)}
.hero h1.brand-title span{font-weight:400;background:linear-gradient(90deg,var(--white),var(--sky));-webkit-background-clip:text;background-clip:text;color:transparent}
.tagline{font-family:"Jost",sans-serif;font-size:clamp(26px,2.8vw,36px);font-weight:500;line-height:1.2;color:var(--white);margin-bottom:20px;max-width:620px}
.tagline em{font-style:normal;color:var(--green-hi)}
.tile svg{width:100%;height:100%;display:block}

/* ---------- Inner page hero ---------- */
.page-hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.page-hero .wrap{padding-top:76px;padding-bottom:76px}
.page-hero h1{font-size:clamp(34px,4.4vw,54px);margin:14px 0 18px;max-width:820px}
.page-hero .lead{max-width:720px}
.crumbs{font-size:16px;color:var(--text);margin-bottom:10px}
.crumbs a{color:var(--white);text-decoration:underline;text-underline-offset:3px}

/* ---------- Compromiso (tarjeta blanca flotante) ---------- */
.commit{position:relative;z-index:2}
.commit.lift{margin-top:-84px}
.commit:not(.lift){padding:24px 0}
.commit-card{display:grid;grid-template-columns:repeat(3,1fr);background:var(--white);color:var(--ink);border-radius:26px;box-shadow:0 30px 70px -30px rgba(0,0,0,.7);overflow:hidden}
.commit .item{padding:38px 34px;border-left:1px solid #DCE5F5}
.commit .item:first-child{border-left:0}
.commit h3{color:var(--blue);font-size:24px;margin-bottom:8px;display:flex;align-items:center;gap:12px}
.commit h3::before{content:"";width:12px;height:12px;background:var(--green);transform:rotate(45deg);border-radius:2px;flex:none}
.commit p{color:var(--ink);font-size:18px}

/* ---------- Sections ---------- */
section.block{padding:100px 0;position:relative}
section.block.tight{padding-top:0}
.head{max-width:720px;margin-bottom:48px}
.head h2{font-size:clamp(30px,3.6vw,46px);margin-top:12px}
.head p{margin-top:16px;font-size:19px;color:var(--text)}
.mist{background:url("/assets/img/arcos.svg") right -120px center/auto 130% no-repeat,rgba(255,255,255,.025);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);padding:34px 30px;background:var(--glass);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:transform .2s ease,background .2s ease,border-color .2s ease;text-decoration:none;overflow:hidden}
.card::after{content:"";position:absolute;right:-60px;top:-60px;width:160px;height:160px;border-radius:50%;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 18px rgba(255,255,255,.03)}
a.card:hover{background:var(--glass-hover);border-color:rgba(91,224,127,.55);transform:translateY(-4px)}
.ico{width:56px;height:56px;border-radius:16px;background:var(--white);display:grid;place-items:center;margin-bottom:22px;flex:none;box-shadow:0 8px 24px -10px rgba(0,0,0,.6)}
.card h3{font-size:24px;margin-bottom:12px}
.card p{color:var(--text)}
.card .more{margin-top:auto;padding-top:20px;font-family:"Jost",sans-serif;font-weight:500;color:var(--green-hi)}

ul.check{list-style:none;margin-top:16px}
ul.check li{padding-left:24px;position:relative;margin-top:8px;color:var(--white)}
ul.check li::before{content:"";position:absolute;left:2px;top:11px;width:9px;height:9px;background:var(--green-hi);transform:rotate(45deg)}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:s}
.step{position:relative;padding-top:72px}
.step::before{counter-increment:s;content:"0" counter(s);position:absolute;top:0;left:0;font-family:"Jost",sans-serif;font-size:48px;font-weight:500;line-height:1;background:linear-gradient(135deg,var(--white),var(--sky));-webkit-background-clip:text;background-clip:text;color:transparent}
.step::after{content:"";position:absolute;top:24px;left:80px;right:-12px;height:2px;background:linear-gradient(90deg,var(--green-hi),rgba(255,255,255,.08));border-radius:2px}
.step:last-child::after{display:none}
.step h3{font-size:22px;margin-bottom:8px}
.step p{color:var(--text)}
.note{margin-top:40px;padding:22px 26px;border-left:4px solid var(--green-hi);background:var(--glass);border-radius:0 var(--radius) var(--radius) 0;color:var(--white)}
.note strong{color:var(--green-hi)}

.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.split.top{align-items:start}
.pillars{display:grid;gap:18px}
.pillar{display:flex;gap:20px;padding:26px 28px;border-radius:var(--radius);border:1px solid var(--line);background:var(--glass)}
.pillar .n{font-family:"Jost",sans-serif;font-size:20px;font-weight:600;color:var(--blue);background:var(--white);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none}
.pillar:nth-child(2) .n{background:var(--green);color:var(--white)}
.pillar h3{font-size:22px;margin-bottom:4px}
.pillar p{color:var(--text)}

.prose p{color:var(--text);font-size:19px;margin-top:16px}
.prose p:first-child{margin-top:0}
.prose h2{font-size:clamp(28px,3vw,36px);margin:44px 0 6px}
.prose h2:first-child{margin-top:0}
.panel{border:1px solid var(--line);border-radius:var(--radius);padding:32px;background:var(--glass)}
.panel h3{font-size:22px;margin-bottom:6px}
.panel p{color:var(--text)}
.panel strong{color:var(--white)}
.panel + .panel{margin-top:20px}

.team{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.person{display:flex;flex-direction:column;gap:18px;padding:32px;border-radius:var(--radius);background:var(--glass);border:1px solid var(--line)}
.avatar{width:80px;height:80px;border-radius:50%;background:var(--white);color:var(--blue);font-family:"Jost",sans-serif;font-size:27px;font-weight:600;display:grid;place-items:center;flex:none;box-shadow:0 0 0 6px rgba(255,255,255,.08)}
.person:nth-child(3) .avatar{background:var(--green);color:var(--white)}
.person h3{font-size:24px}
.person .role{font-family:"Jost",sans-serif;font-weight:500;color:var(--green-hi);margin:2px 0 10px}
.person p{color:var(--text)}

/* ---------- CTA band & contact ---------- */
.cta-band{position:relative;overflow:hidden;background:url("/assets/img/arcos.svg") right -220px center/auto 150% no-repeat,radial-gradient(ellipse at 85% 50%,rgba(46,102,240,.35),transparent 60%),rgba(3,14,38,.55);border-top:1px solid var(--line)}
.cta-band .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding-top:96px;padding-bottom:96px}
.cta-band h2{font-size:clamp(30px,3.6vw,46px);margin:12px 0 18px}
.cta-band p{color:var(--text);font-size:19px}
.info{list-style:none;display:grid;gap:18px;padding:30px 32px;border-radius:var(--radius);background:var(--glass);border:1px solid var(--line)}
.info li{display:flex;gap:16px;align-items:flex-start;font-size:19px}
.info svg{flex:none;margin-top:3px}
.info a{text-decoration:none;color:var(--white)}
.info a:hover{text-decoration:underline}

.contact-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.ccard{display:flex;gap:18px;align-items:flex-start;padding:28px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;background:var(--glass);transition:background .2s ease,border-color .2s ease}
a.ccard:hover{background:var(--glass-hover);border-color:rgba(91,224,127,.55)}
.ccard h3{font-size:21px;margin-bottom:4px}
.ccard p{color:var(--white);font-size:19px}
.ccard .ico{margin-bottom:0}
.map{margin-top:28px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);aspect-ratio:16/7;background:var(--glass)}
.map iframe{width:100%;height:100%;border:0;display:block}

/* ---------- Footer ---------- */
footer.site{background:#020A1E;color:var(--white);font-size:16px;border-top:1px solid var(--line)}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-top:56px;padding-bottom:40px}
footer.site h4{font-family:"Jost",sans-serif;font-weight:600;font-size:16px;letter-spacing:.12em;text-transform:uppercase;color:var(--green-hi);margin-bottom:14px}
footer.site ul{list-style:none;display:grid;gap:8px}
footer.site a{color:var(--white);text-decoration:none}
footer.site a:hover{text-decoration:underline}
footer.site .logo:hover{text-decoration:none}
footer.site .brand p{margin-top:16px;max-width:360px;color:var(--text)}
footer.site .legal{border-top:1px solid var(--line)}
footer.site .legal .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;padding-bottom:24px}

.nav-right{display:flex;align-items:center;gap:30px}
.wa-ico{width:22px;height:22px;flex:none;display:block}
.btn-wa .wa-ico{width:22px;height:22px}
.wa-head{padding:11px 20px;font-size:17px;font-weight:600;box-shadow:0 0 0 0 rgba(0,168,48,.6);animation:ring 2.4s ease-out infinite}
.wa-head .wa-ico{width:24px;height:24px}

/* Botón flotante de WhatsApp: grande, con texto y pulso */
.wa-float{position:fixed;right:22px;bottom:22px;z-index:40;display:flex;align-items:center;gap:12px;padding:14px 24px 14px 18px;border-radius:999px;background:var(--green);color:var(--white);text-decoration:none;font-family:"Jost",sans-serif;font-size:19px;font-weight:500;border:3px solid var(--white);box-shadow:0 14px 34px -10px rgba(0,0,0,.65),0 0 40px rgba(0,168,48,.45);transition:transform .15s ease,background .15s ease}
.wa-float:hover{transform:translateY(-2px) scale(1.02);background:var(--green-deep)}
.wa-float .wa-ico{width:34px;height:34px}
.wa-float strong{font-weight:600}
.wa-pulse{position:absolute;inset:-3px;border-radius:999px;border:3px solid var(--green);animation:pulse 2.2s ease-out infinite;pointer-events:none}
@keyframes pulse{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.35)}}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(91,224,127,.65)}80%,100%{box-shadow:0 0 0 14px rgba(91,224,127,0)}}

/* ---------- 404 ---------- */
.notfound{min-height:60vh;display:grid;place-items:center;text-align:center;padding:80px 0}
.notfound h1{font-size:clamp(34px,4.4vw,52px);margin:16px 0}

@media (prefers-reduced-motion:reduce){
  .orb-1,.orb-2,.tile,.wa-pulse,.wa-head{animation:none}
  html{scroll-behavior:auto}
}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .menu{display:none;position:absolute;top:84px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:0;background:#06173F;border-bottom:1px solid var(--line);padding:8px 24px 20px;box-shadow:0 16px 30px -20px rgba(0,0,0,.7)}
  .menu.open{display:flex}
  .menu li{width:100%}
  .menu a{display:block;padding:14px 0;font-size:19px;border-bottom:0}
  .menu .btn{display:inline-flex;margin-top:10px;padding:12px 22px}
  .burger{display:block}
  .nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
  .nav-right{display:contents}
  .nav .logo{grid-column:2;grid-row:1;justify-self:center}
  .wa-head{grid-column:1;grid-row:1;justify-self:start}
  .burger{grid-column:3;grid-row:1;justify-self:end}
  .wa-head{padding:10px 16px;font-size:16px}
  .wa-float{right:14px;bottom:16px;padding:12px 20px 12px 14px;font-size:18px}
  .wa-float .wa-ico{width:32px;height:32px}
  footer.site .legal .wrap{padding-bottom:100px}
  .hero .wrap{grid-template-columns:1fr;padding-top:48px;padding-bottom:120px;gap:36px}
  .hero-mark{order:-1}
  .tile{width:220px;border-radius:36px;padding:24px 26px 20px}
  .commit-card{grid-template-columns:1fr}
  .commit .item{border-left:0;border-top:1px solid #DCE5F5;padding:26px 26px}
  .commit .item:first-child{border-top:0}
  .commit.lift{margin-top:-72px}
  .cards,.team,.contact-cards{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .step::after{display:none}
  .split,.cta-band .wrap{grid-template-columns:1fr;gap:40px}
  footer.site .cols{grid-template-columns:1fr 1fr}
  footer.site .brand{grid-column:1/-1}
  section.block{padding:72px 0}
  .map{aspect-ratio:4/3}
}
@media (max-width:560px){
  .wrap{padding:0 16px}
  .logo{padding:6px 10px 6px 8px;border-radius:12px}
  .logo svg{height:40px}
  .wa-head span{display:none}
  .wa-head{width:48px;height:48px;padding:0;border-radius:50%}
  .wa-head .wa-ico{width:28px;height:28px}
  .wa-txt{font-size:18px}
  .steps{grid-template-columns:1fr}
  .ctas .btn{width:100%}
  footer.site .cols{grid-template-columns:1fr}
  .page-hero .wrap{padding-top:48px;padding-bottom:48px}
  .info{padding:24px 22px}
}
