
:root{--navy:#06172e;--ink:#0a2341;--muted:#56687c;--light:#f3f7fa;--line:#dce7ee;--blue:#126dde;--cyan:#24c4eb;--gold:#edb65a;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:82px}body{margin:0;font:16px/1.6 'Segoe UI',Inter,Arial,sans-serif;color:var(--ink);background:white;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}.container{width:min(var(--max),calc(100% - 64px));margin:auto}.skip{position:absolute;top:-90px;left:12px;background:white;padding:10px;z-index:100}.skip:focus{top:12px}.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid #e1e9ef}.header-inner{height:90px;display:flex;justify-content:space-between;align-items:center;gap:25px}.brand img{width:252px;height:auto;display:block}.menu{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:700}.menu a:not(.btn):hover{color:var(--blue)}.btn{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:15px 23px;border-radius:100px;background:#1176e2;color:white!important;font-weight:750;font-size:14px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px);background:#095bb6}.btn.ghost{background:transparent;color:white!important;border-color:#ffffff90}.btn.ghost:hover{background:#ffffff1b}.toggle{display:none;border:1px solid var(--line);border-radius:12px;background:white;padding:8px 12px;font-size:23px}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:850;text-transform:uppercase}.hero{background:#06172e;color:white;position:relative;isolation:isolate;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;z-index:-2;background:url("/assets/horizonte.webp") center 49%/cover no-repeat}.hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#06172efc 0%,#071b38ed 34%,#05162979 72%,#06172e44 100%),linear-gradient(0deg,#06172ede,transparent 27%)}.hero-in{min-height:660px;padding:98px 0 76px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero .eyebrow{color:#8fe6f4}.hero h1{font-size:clamp(55px,7.3vw,100px);letter-spacing:-.075em;line-height:1.02;max-width:840px;margin:25px 0}.hero h1 em{font-style:normal;color:#44c9ef}.hero .lead{max-width:690px;font-size:clamp(18px,1.9vw,23px);line-height:1.55;color:#e0eaf4;margin:0 0 34px}.actions{display:flex;gap:12px;flex-wrap:wrap}.hero-foot{display:flex;flex-wrap:wrap;gap:25px;margin-top:86px;color:#d4e7f1;font-size:12px;letter-spacing:.03em}.hero-foot span:before{content:'✦';color:var(--gold);margin-right:9px}.band{background:#0b2b4e;color:#d8edf7;border-top:1px solid #ffffff2b;border-bottom:1px solid #ffffff2b}.band .container{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;padding:23px 0;font-size:12px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.band span{white-space:nowrap}.section{padding:105px 0}.soft{background:var(--light)}.topline{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:42px}.kicker{color:#147bcc;margin-bottom:16px}.section h2{font-size:clamp(36px,4.1vw,58px);letter-spacing:-.055em;line-height:1.1;margin:0;font-weight:790}.section h2 em{color:#1176da;font-style:normal}.intro{max-width:460px;color:var(--muted);line-height:1.8;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:30px;min-height:247px;transition:border-color .2s,transform .2s}.card:hover{transform:translateY(-4px);border-color:#7bcfe9}.card .cardtop{display:flex;justify-content:space-between;align-items:center;color:#668096;font-size:12px}.card svg{width:32px;height:32px;stroke:#168dd3;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;margin:22px 0 14px}.card h3{font-size:21px;margin:0 0 10px;letter-spacing:-.035em}.card p{color:var(--muted);font-size:14px;line-height:1.75;margin:0}.statement{background:#081e39;color:white;position:relative;overflow:hidden}.statement:after{content:'';position:absolute;width:510px;height:510px;border:1px solid #21bde944;border-radius:100%;top:-240px;right:-90px;box-shadow:0 0 0 90px #21bde911,0 0 0 180px #21bde908}.statement .container{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:85px;align-items:center}.statement h2 em{color:#45d1ec}.statement p{line-height:1.85;color:#d2e0ef}.statement .quote{border-left:2px solid var(--gold);padding-left:27px;font-size:clamp(21px,2.5vw,30px);line-height:1.48;font-weight:580;color:white}.cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cap{padding:27px;border:1px solid var(--line);border-radius:18px;background:#fff}.cap small{color:#0d7bc9;font-weight:800;letter-spacing:.12em}.cap h3{margin:15px 0 9px;font-size:21px;line-height:1.25}.cap p{color:var(--muted);font-size:14px;line-height:1.75;margin:0}.method{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin-top:50px}.method article{padding:29px 22px 0 0;margin-right:22px;border-right:1px solid var(--line)}.method article:last-child{border:0;margin-right:0}.method strong{font-size:12px;color:#1176da}.method h3{font-size:21px;margin:20px 0 8px}.method p{font-size:14px;line-height:1.75;color:var(--muted)}.solutions{display:grid;grid-template-columns:1fr 1fr;gap:20px}.solution{padding:42px;border-radius:21px;min-height:340px;display:flex;flex-direction:column;justify-content:space-between}.solution.dark{background:linear-gradient(135deg,#06172e,#0e4371);color:white}.solution.pale{background:#e8f3fa;border:1px solid #d2e5ee}.solution h3{font-size:37px;letter-spacing:-.045em;line-height:1.1;margin:18px 0}.solution p{max-width:450px;line-height:1.8;color:inherit;opacity:.83}.solution a{font-weight:800;font-size:14px;color:#2bcaf4}.solution.pale a{color:#126dde}.contact{background:#06172e;color:white}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.contact h2 em{color:#44c9ef}.contact p{color:#d2e0ee;line-height:1.8}.contact-panel{border:1px solid #ffffff39;background:#ffffff0c;border-radius:20px;padding:32px}.contact-panel label{display:block;font-weight:650;font-size:13px;margin-bottom:7px}.contact-panel input,.contact-panel textarea{border:1px solid #cbd6df;background:#fff;width:100%;padding:13px 14px;border-radius:9px;margin-bottom:18px;color:var(--ink)}.contact-panel textarea{resize:vertical;min-height:110px}.contact-panel .btn{width:100%}.contact-panel small{display:block;line-height:1.55;color:#a9c2d5;margin-top:15px}.footer{background:#031124;color:#b5cddd;padding:32px 0}.footer-in{display:flex;justify-content:space-between;gap:25px;align-items:center;font-size:13px}.footer b{color:#fff;letter-spacing:.07em}.footer a{color:#8cdcef}.pillset{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.pillset span{border:1px solid #9bd2e5;padding:9px 14px;color:#caecf9;border-radius:100px;font-size:12px}.muted{color:var(--muted)}@media(max-width:960px){.container{width:min(var(--max),calc(100% - 42px))}.menu{gap:14px}.brand img{width:215px}.cards,.cap-grid{grid-template-columns:repeat(2,1fr)}.statement .container,.contact-layout{gap:38px}}@media(max-width:730px){.header-inner{height:75px}.brand img{width:196px}.toggle{display:block}.menu{display:none;position:absolute;top:75px;left:0;right:0;padding:20px;background:#fff;box-shadow:0 12px 26px #0a23411f;flex-direction:column;align-items:stretch;gap:16px}.menu.open{display:flex}.hero-in{min-height:600px;padding:80px 0 57px}.hero h1{font-size:clamp(54px,12vw,80px)}.hero:after{background:linear-gradient(90deg,#06172ef7,#06172e94)}.hero-foot{margin-top:55px}.band .container{gap:12px}.section{padding:75px 0}.topline{display:block}.intro{margin-top:20px}.cards,.cap-grid,.statement .container,.solutions,.contact-layout{grid-template-columns:1fr}.method{grid-template-columns:1fr 1fr}.method article:nth-child(2){border:0}.statement .quote{margin:0}.solution{min-height:300px}.footer-in{flex-direction:column;align-items:start}}@media(max-width:460px){.cards,.cap-grid,.method{grid-template-columns:1fr}.method article{border-right:0;border-bottom:1px solid var(--line)}.hero h1{font-size:53px}.solution{padding:29px}.contact-panel{padding:23px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.card{transition:none}}

/* Portafolio RUAJ Projects v5 */
.products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}
.product-card{border:1px solid #dae7f0;border-radius:22px;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:0 14px 45px #092a4810;transition:transform .2s,border-color .2s}
.product-card:hover{transform:translateY(-4px);border-color:#78cbea}
.product-card .product-top{min-height:150px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:29px 30px;background:linear-gradient(130deg,#06172e,#104b78);color:#fff;position:relative;overflow:hidden}
.product-card .product-top:after{content:'';position:absolute;width:200px;height:200px;border:1px solid #ffffff29;border-radius:50%;right:-40px;top:-110px;box-shadow:0 0 0 34px #ffffff08,0 0 0 66px #ffffff07}
.product-card:nth-child(2) .product-top{background:linear-gradient(135deg,#0c3260,#08617e)}
.product-card:nth-child(3) .product-top{background:linear-gradient(135deg,#092e47,#217f80)}
.product-card:nth-child(4) .product-top{background:linear-gradient(135deg,#113654,#385078)}
.product-top svg{width:48px;height:48px;stroke:#56d2f0;stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round;z-index:1}
.product-label{font-size:11px;letter-spacing:.16em;font-weight:800;text-transform:uppercase;color:#bceefa;z-index:1;text-align:right}
.product-body{padding:27px 30px 29px;display:flex;flex-direction:column;flex:1}
.product-body h3{font-size:27px;letter-spacing:-.04em;line-height:1.15;margin:0 0 13px;color:#082b4b}
.product-body p{color:#5b6e82;font-size:14px;line-height:1.8;margin:0 0 13px}
.product-points{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px;padding:0;list-style:none}
.product-points li{font-size:11px;line-height:1.3;font-weight:700;color:#18547b;border:1px solid #cae1ec;background:#f1f8fc;border-radius:99px;padding:7px 10px}
.product-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:auto}
.product-actions a{font-size:13px;font-weight:800;color:#0d6faf}
.product-actions a.product-cta{background:#096bca;color:white;padding:11px 14px;border-radius:9px}
.contact-panel select{border:1px solid #cbd6df;background:#fff;width:100%;padding:13px 14px;border-radius:9px;margin-bottom:18px;color:var(--ink)}
.contact-panel .checkrow{display:flex;align-items:flex-start;gap:9px;color:#e8f4fb;font-size:12px;line-height:1.5;margin:3px 0 17px}
.contact-panel .checkrow input{width:16px;margin:3px 0 0;flex-shrink:0}
.contact-panel .hidden-trap{position:absolute;left:-9999px;height:0;width:0;overflow:hidden}
#cf-turnstile{min-height:25px;margin-bottom:12px}
#status[aria-live]{font-weight:600}
#status.success{color:#8fecd2}
#status.error{color:#ffd29e}
.contact-panel button:disabled{opacity:.65;cursor:wait}
@media(max-width:760px){.products-grid{grid-template-columns:1fr}.product-top{min-height:125px!important}}

/* RUAJ v5.1 — Confirmación visible y accesible de envío de consultas */
#contact-success[hidden]{display:none!important}
#brief.is-sent{background:linear-gradient(155deg,#102c46,#0b2539);border-color:#45c9e8;box-shadow:0 10px 45px #020e2055}
#brief.is-sent>:not(#contact-success){display:none!important}
.send-success{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:420px;padding:36px 12px;gap:14px;outline:none}
.send-success-icon{display:grid;place-items:center;border:2px solid #7be9cf;background:#1b756450;color:white;width:86px;height:86px;border-radius:50%;font-size:43px;font-weight:800;line-height:1;box-shadow:0 0 0 10px #7be9cf16}
.send-success-overline{color:#8ef6de;font-size:11px;letter-spacing:.2em;font-weight:900;margin-top:12px}
.contact-panel .send-success h3{font-size:clamp(26px,3.2vw,35px);letter-spacing:-.035em;line-height:1.16;margin:0;color:#fff}
.contact-panel .send-success p{max-width:420px;color:#d4eaf2;margin:2px 0 13px;line-height:1.75;font-size:14px;overflow-wrap:anywhere}
.contact-panel .send-success strong{color:#b2f0fa}
.contact-panel .send-success .send-again{width:auto;min-width:215px;border:0;cursor:pointer}
@media(max-width:460px){.send-success{min-height:370px;padding:24px 0}}

/* RUAJ v5.2 — Validación de longitud del mensaje de contacto */
.contact-panel textarea#reto{margin-bottom:8px}
.contact-panel .field-hint{display:block;font-size:12px;line-height:1.5;margin:0 0 19px;color:#bed4e3;font-weight:500}
.contact-panel .field-hint.error{color:#ffcfad;font-weight:700}
.contact-panel .field-hint.success{color:#a4eed9}
.contact-panel #reto.field-invalid{border:2px solid #ffb791;outline:2px solid #ffb79135;outline-offset:1px}
