/*
Theme Name: KSI International — Sitio Corporativo
Theme URI: https://ksigroupsac.com
Author: KSI / Diseño corporativo
Description: Tema exclusivo de KS International Group S.A.C., versión institucional one-page con portafolio, certificados y contacto por WhatsApp.
Version: 2.0.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ksi-international
*/
:root{--green-950:#06271f;--green-900:#092f25;--green-850:#0b392c;--green-800:#0d4937;--green-700:#0c684b;--green-600:#0f8a62;--lime:#62dba3;--ink:#14251f;--ink-soft:#34483f;--muted:#63746b;--wash:#f3f6f2;--cream:#f8f9f6;--line:#dfe8e0;--white:#fff;--shadow:0 25px 65px rgba(6,48,34,.11);--max:1216px;--radius:16px;--ease:cubic-bezier(.22,1,.36,1)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:86px}body{margin:0;color:var(--ink);font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;background:#fff;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Manrope,"DM Sans",sans-serif;letter-spacing:-.042em}h1{font-size:clamp(3.1rem,5.5vw,5.5rem);line-height:1.075;font-weight:800}h2{font-size:clamp(2.35rem,4vw,3.9rem);line-height:1.13;font-weight:800}h3{font-weight:800}p{line-height:1.73}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}svg{display:block}button,a,select,input,textarea{-webkit-tap-highlight-color:transparent}::selection{background:#bbecd7;color:#082d23}:focus-visible{outline:3px solid var(--green-600);outline-offset:3px}.container{width:min(calc(100% - 72px),var(--max));margin-inline:auto}.skip-link{position:absolute;z-index:1000;top:-100px;left:10px;background:#fff;color:#123d2c;padding:10px 16px}.skip-link:focus{top:10px}.section{padding:112px 0}.section-kicker,.eyebrow,.form-kicker{display:inline-flex;align-items:center;gap:12px;letter-spacing:.15em;font-size:11px;font-weight:800;color:var(--green-700);line-height:1.5}.dot-square{display:inline-block;width:17px;height:4px;background:var(--green-600);border-radius:1px}.muted-text{color:#81968b}button{transition:background .2s,color .2s,transform .2s}.btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 22px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap;transition:transform .25s var(--ease),background .25s,box-shadow .25s,color .25s}.btn:hover{transform:translateY(-2px)}.btn:focus-visible{outline-offset:4px}.btn .arrow{font-size:18px;font-weight:400;margin-left:12px}.btn-primary{background:var(--green-800);color:white}.btn-primary:hover{background:#0e6b50;box-shadow:0 12px 24px rgba(7,86,59,.2)}.btn-white{background:#fff;color:#07372a}.btn-white:hover{background:#effcf3}.btn-outline-white{color:white;border-color:rgba(255,255,255,.67);background:rgba(0,0,0,.05)}.btn-outline-white:hover{background:rgba(255,255,255,.12)}.mini-icon,.value-icon,.stat-icon,.contact-icon,.cert-mark,.service-icon,.portfolio-action-icon,.form-symbol,.experience-highlight-icon{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0}.icon-svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mini-icon .icon-svg{width:19px;height:19px}
/* Header */
.site-header{height:80px;background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(7,44,30,.06);transition:height .3s,box-shadow .3s}.site-header.scrolled{height:72px;box-shadow:0 10px 24px rgba(0,27,14,.055)}.header-inner{height:100%;display:flex;align-items:center;gap:25px;justify-content:space-between}.brand{display:flex;align-items:center;min-width:245px;gap:11px}.brand-logo{width:80px;height:62px;object-fit:contain;object-position:center}.brand-divider{width:1px;height:35px;background:#c0ccc5}.brand-name{font-size:12px;font-weight:800;line-height:1.26;letter-spacing:.016em}.brand-name strong{color:var(--green-700)}.site-nav{display:flex;align-items:center;gap:clamp(12px,2vw,28px);height:100%}.nav-link{position:relative;font-size:12px;font-weight:700;color:#2e4137;transition:color .2s}.nav-link:hover,.nav-link.active{color:var(--green-700)}.nav-link.active:after{content:"";height:3px;border-radius:4px;background:var(--green-600);position:absolute;bottom:-13px;left:0;right:0}.nav-cta{min-height:40px;padding:0 17px;font-size:12px}.nav-cta .mini-icon .icon-svg{width:16px;height:16px}.menu-toggle{display:none;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid var(--line);background:#fff;border-radius:8px}.menu-toggle span{width:20px;height:2px;background:var(--green-850);transition:transform .3s,opacity .3s}
/* Hero */
.hero{min-height:655px;position:relative;overflow:hidden;background:var(--green-950);color:#fff}.hero-photo{position:absolute;inset:0 0 0 35%;overflow:hidden}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 54%;filter:grayscale(.13) contrast(1.04)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(101deg,#06271f 0%,#082d24 32%,rgba(6,39,31,.98) 44%,rgba(9,51,41,.75) 53%,rgba(6,39,31,.09) 78%),linear-gradient(0deg,rgba(4,28,20,.65),transparent 34%)}.hero-grid-lines{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(90deg,rgba(188,233,205,.055) 1px,transparent 1px);background-size:16% 100%;mask-image:linear-gradient(90deg,#000,transparent 65%)}.hero-inner{position:relative;z-index:1;min-height:655px;display:flex;align-items:center;justify-content:space-between;padding-top:65px;padding-bottom:80px}.hero-content{max-width:670px}.eyebrow-light{color:#d4ece0;letter-spacing:.15em}.eyebrow-line{width:28px;height:2px;background:#55d795}.hero h1{margin:25px 0 23px;max-width:650px}.hero h1 em{font-style:normal;color:#b3e9cd;position:relative}.hero h1 em:after{content:"";height:5px;width:85px;position:absolute;bottom:-10px;left:2px;background:#31c985;border-radius:10px}.hero p{font-size:16px;max-width:460px;color:#edf6f0;line-height:1.65;margin-bottom:30px}.hero-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.hero-actions .btn{min-height:53px}.hero-trust{font-size:12px;color:#d2e2da;margin-top:42px;display:flex;align-items:center;gap:10px}.pulse-dot{width:9px;height:9px;display:inline-block;border-radius:100%;background:#65dc98;box-shadow:0 0 0 6px rgba(64,216,126,.13)}.hero-rail{display:flex;align-items:center;gap:26px;transform:rotate(-90deg) translate(-80px,16px);transform-origin:right center;opacity:.78;position:absolute;right:0;bottom:50%;font-size:10px;letter-spacing:.16em;font-weight:800}.hero-rail span+span:before{content:"/";margin-right:26px;opacity:.4}
/* Stats */
.stats-panel{background:linear-gradient(90deg,#f0f7f2,#f8fbf8);border-bottom:1px solid #e4ede5}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:31px 0}.stat{display:flex;align-items:center;gap:24px;justify-content:center;min-height:72px}.stat:not(:last-child){border-right:1px solid #c6d6cb}.stat-icon{color:var(--green-700)}.stat-icon .icon-svg{width:34px;height:34px;stroke-width:1.5}.stat strong{display:block;font-size:34px;line-height:1.12;letter-spacing:-.055em;font-family:Manrope,sans-serif}.stat span{font-size:12px;color:#486255}
/* About */
.about-grid{display:grid;grid-template-columns:1fr .98fr;gap:clamp(45px,6vw,90px);align-items:center}.about-copy h2{margin:20px 0 28px;max-width:570px}.about-copy p{color:#52655b;font-size:15px;max-width:590px;margin:0 0 17px}.about-copy p.lead{font-size:16px;color:#263f33}.values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:37px;gap:0}.value-item{padding:0 18px 0 0}.value-item+.value-item{padding-left:21px;border-left:1px solid var(--line)}.value-icon{color:var(--green-700);justify-content:flex-start;margin-bottom:13px}.value-icon .icon-svg{width:30px;height:30px;stroke-width:1.65}.value-item strong{display:block;font-size:13px;margin-bottom:5px}.value-item small{font-size:11px;color:#65756b;line-height:1.5;display:block}.text-link{margin-top:38px;display:inline-flex;align-items:center;gap:14px;color:var(--green-700);font-size:13px;font-weight:800;border-bottom:1px solid #b7ddc7;padding-bottom:8px}.text-link span{font-size:19px}.about-visual{height:520px;position:relative;padding:0 0 21px 0}.about-photo-wrap{overflow:hidden;height:100%;border-radius:12px 75px 12px 12px;background:#dae9db}.about-photo-wrap img{width:100%;height:100%;object-fit:cover;filter:saturate(.75) contrast(1.07)}.about-photo-caption{position:absolute;bottom:0;left:-25px;width:min(85%,385px);padding:19px 23px;background:var(--green-850);border-radius:6px;color:#fff;box-shadow:var(--shadow);display:grid;gap:8px}.about-photo-caption .caption-label{font-size:10px;letter-spacing:.18em;font-weight:800;color:#7ad7a8}.about-photo-caption span:last-child{font-size:15px;line-height:1.3;font-weight:800;letter-spacing:-.02em}.about-corner-shape{position:absolute;right:-20px;top:-22px;width:95px;height:95px;border-top:7px solid var(--green-600);border-right:7px solid var(--green-600);border-radius:0 15px 0 0;z-index:-1}
/* Solutions */
.section-solutions{background:var(--wash);padding-bottom:100px}.section-topline{display:flex;justify-content:space-between;align-items:end;gap:60px;margin-bottom:42px}.section-topline h2{margin:17px 0 0}.section-topline>p{max-width:360px;font-size:14px;color:#586d61;margin:0 0 4px;border-left:1px solid #c8d9cd;padding-left:24px}.solutions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service-card{position:relative;height:285px;overflow:hidden;border-radius:12px;color:#fff;background:var(--green-800);isolation:isolate}.service-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease);z-index:-2}.service-card:hover>img{transform:scale(1.075)}.service-scrim{position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,27,21,.95) 0%,rgba(3,25,20,.46) 48%,rgba(3,23,19,.04) 100%);z-index:-1}.service-number{position:absolute;top:21px;right:21px;font-weight:800;font-size:10px;letter-spacing:.14em;color:#f0faf4;opacity:.85}.service-bottom{display:flex;align-items:flex-end;gap:13px;position:absolute;bottom:22px;left:20px;right:20px}.service-icon{width:46px;height:46px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(140deg,#0c9a66,#06492e);border-radius:10px;box-shadow:0 6px 18px rgba(0,20,11,.16)}.service-icon .icon-svg{width:24px;height:24px}.service-bottom h3{font-size:18px;letter-spacing:-.04em;line-height:1.25;margin:0 0 7px}.service-bottom p{font-size:11px;line-height:1.4;color:#e4eee8;margin:0;max-width:223px}.service-open{width:37px;height:37px;border:0;border-radius:50%;background:#fff;color:var(--green-850);font-size:22px;display:grid;place-items:center;flex:none;margin-left:auto}.service-open:hover{transform:translate(3px,-3px);background:#ccefdc}.portfolio-drawer{margin-top:44px;background:#fff;border:1px solid #e3ece4;border-radius:16px;padding:30px 34px 27px;box-shadow:0 15px 48px rgba(32,68,43,.025)}.portfolio-intro{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;align-items:center}.portfolio-intro .section-kicker{grid-column:1/-1;margin-bottom:5px}.portfolio-intro h3{margin:0;max-width:560px;font-size:24px}.portfolio-intro h3 span{color:#8ba095}.portfolio-intro p{color:#64796b;max-width:450px;font-size:13px;margin:0;line-height:1.6}.portfolio-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-top:22px}.portfolio-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:14px 22px 13px;color:#74877c;font-size:13px;font-weight:800}.portfolio-tabs button[aria-selected=true]{color:var(--green-700);border-bottom-color:var(--green-600)}.portfolio-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:26px 0 0}.portfolio-panel[hidden]{display:none}.portfolio-column+.portfolio-column{border-left:1px solid var(--line);padding-left:24px}.portfolio-column h4{font-size:13px;letter-spacing:.005em;margin-bottom:13px}.portfolio-column ul{list-style:none;padding:0;margin:0}.portfolio-column li{font-size:12px;color:#617268;padding:7px 0 7px 15px;line-height:1.38;position:relative}.portfolio-column li:before{content:"";position:absolute;left:0;top:14px;width:5px;height:5px;background:#29a06f;border-radius:100%}.portfolio-action{background:#f5f9f6;border-radius:10px;padding:20px !important}.portfolio-action-icon{color:#21875c;justify-content:flex-start;margin-bottom:10px}.portfolio-action strong{display:block;font-size:15px}.portfolio-action p{font-size:12px;color:#69796d}.btn-small{min-height:40px;font-size:12px}
/* Experience */
.experience-section{background:#fff}.experience-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.experience-copy h2{margin:20px 0 25px}.experience-copy h2 em{font-style:normal;color:var(--green-700)}.experience-copy>p{font-size:15px;color:#607167}.experience-highlight{display:flex;align-items:center;gap:18px;padding:21px 0;border-top:1px solid var(--line);margin-top:33px}.experience-highlight-icon{height:49px;width:49px;background:#e8f4eb;border-radius:10px;color:var(--green-700)}.experience-highlight-icon .icon-svg{width:27px;height:27px}.experience-highlight strong{display:block;font-size:13px;margin-bottom:5px}.experience-highlight span{font-size:12px;color:#738477}.clients-block{background:#f7f9f6;border:1px solid #e1eae1;border-radius:14px;padding:30px}.clients-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}.clients-heading h3{font-size:16px;max-width:310px;margin:0}.clients-heading>span{font-size:11px;color:#718276;text-align:right}.client-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e0e8e0;border-left:1px solid #e0e8e0}.client-grid span{min-height:92px;display:flex;align-items:center;justify-content:center;text-align:center;border-right:1px solid #e0e8e0;border-bottom:1px solid #e0e8e0;padding:9px;font-size:12px;line-height:1.32;letter-spacing:-.025em;color:#365f4c;font-weight:800;transition:background .2s}.client-grid span:hover{background:#eaf3eb}.clients-note{font-size:10px;color:#86958a;line-height:1.6;margin:20px 0 0}
/* Certificates */
.cert-section{background:radial-gradient(circle at 77% 0%,#11523f 0%,#0a3429 45%,#07271f 100%);color:#fff;position:relative;overflow:hidden}.cert-section:before{content:"";height:480px;width:480px;border:1px solid rgba(163,235,190,.07);border-radius:50%;position:absolute;right:-130px;top:-220px;box-shadow:0 0 0 70px rgba(163,235,190,.018),0 0 0 140px rgba(163,235,190,.012)}.cert-heading{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:55px;margin-bottom:40px}.section-kicker-light{color:#a9e6c3}.section-kicker-light .dot-square{background:#65e5a6}.cert-heading h2{margin:21px 0 0}.cert-heading p{font-size:14px;color:#d0e1d7;margin:0 0 4px;padding-left:20px;border-left:1px solid rgba(255,255,255,.24)}.cert-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;position:relative}.cert-card{border:1px solid rgba(227,246,229,.22);border-radius:14px;background:rgba(255,255,255,.075);padding:29px;display:flex;align-items:start;gap:23px;backdrop-filter:blur(9px)}.cert-mark{width:64px;height:64px;background:rgba(25,161,103,.21);border-radius:12px;border:1px solid rgba(112,228,162,.35);color:#93efb8}.cert-mark .icon-svg{width:34px;height:34px;stroke-width:1.5}.cert-content{flex:1}.cert-type{font-size:10px;letter-spacing:.11em;color:#b7dcc6;font-weight:800}.cert-content h3{font-size:34px;letter-spacing:-.04em;margin:9px 0 9px}.cert-content h3 span{color:#a2e9be}.cert-content p{font-size:12px;color:#d6e7dd;line-height:1.55;max-width:330px;margin:0 0 23px}.cert-dates{display:flex;gap:37px;padding-top:18px;border-top:1px solid rgba(255,255,255,.15)}.cert-dates small{display:block;color:#9dc8ad;font-size:10px;margin-bottom:4px}.cert-dates strong{font-size:12px}.cert-view{border:0;background:transparent;padding:0;margin-top:23px;font-size:12px;font-weight:800;color:#8aedb3;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(111,222,156,.65)}.cert-view:hover{color:white}.cert-disclaimer{font-size:11px;line-height:1.65;color:#b2cabc;position:relative;max-width:1040px;margin:22px 0 0}
/* Contact */
.contact-section{background:var(--cream)}.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:85px;align-items:center}.contact-copy h2{margin:22px 0}.contact-copy>p{font-size:15px;color:#63746a;max-width:420px}.contact-info{display:grid;gap:20px;margin-top:34px}.contact-info>a{display:flex;align-items:center;gap:17px}.contact-info>a:hover strong{color:var(--green-600)}.contact-icon{width:48px;height:48px;border-radius:10px;background:#e5f2e9;color:var(--green-700)}.contact-icon .icon-svg{width:23px;height:23px}.contact-info small{font-size:11px;color:#819184;display:block;margin-bottom:5px}.contact-info strong{font-size:13px;transition:color .2s}.contact-form-wrap{background:#fff;border:1px solid #e3eae3;box-shadow:0 25px 70px rgba(4,54,32,.08);padding:38px;border-radius:16px}.form-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:27px}.form-kicker{font-size:10px}.form-head h3{font-size:26px;margin:8px 0 0}.form-symbol{width:50px;height:50px;border-radius:12px;background:var(--wash);color:var(--green-700)}.form-symbol .icon-svg{width:28px;height:28px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.contact-form-wrap form{display:grid;gap:17px}.contact-form-wrap label{display:block;font-size:12px;font-weight:800;color:#3d5247}.contact-form-wrap label span{color:#ee795c}.contact-form-wrap input,.contact-form-wrap textarea,.contact-form-wrap select{display:block;width:100%;margin-top:7px;min-height:47px;background:#f7f9f6;color:#243c2f;border:1px solid #dbe6db;border-radius:8px;padding:12px 13px;font-weight:500;font-size:12px;outline:none;transition:border-color .2s,box-shadow .2s}.contact-form-wrap input::placeholder,.contact-form-wrap textarea::placeholder{color:#9aada0}.contact-form-wrap input:focus,.contact-form-wrap textarea:focus,.contact-form-wrap select:focus{border-color:#2c9967;box-shadow:0 0 0 3px rgba(42,151,100,.11)}.contact-form-wrap textarea{resize:vertical;min-height:124px}.btn-submit{width:100%;height:51px;font-size:13px}.btn-submit .icon-svg{height:21px;width:21px}.form-footnote{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;line-height:1.5;color:#8b9b8e;margin:0;text-align:center}.form-footnote .icon-svg{width:13px;height:13px;flex:none}
/* Final CTA and footer */
.final-cta{background:linear-gradient(110deg,#0c503c,#092f25);color:#fff}.final-cta-inner{min-height:190px;display:flex;align-items:center;justify-content:space-between;gap:24px}.final-cta-inner>div>span{display:block;color:#94e0b8;font-size:10px;font-weight:800;letter-spacing:.17em;margin-bottom:14px}.final-cta h2{font-size:clamp(1.65rem,3vw,2.7rem);line-height:1.2;margin:0}.footer{background:#061f1a;color:#fff;padding:65px 0 0}.footer-top{display:grid;grid-template-columns:1.6fr .7fr 1.15fr 1fr;gap:44px;padding-bottom:55px}.footer-brandline{display:flex;align-items:center;gap:10px}.footer-brandline img{width:94px;height:70px;object-fit:contain;filter:brightness(0) invert(1)}.footer-brandline div{border-left:1px solid rgba(255,255,255,.28);padding-left:12px;display:grid;gap:3px;font-size:12px}.footer-brandline div span{color:#83e3ae;font-weight:800}.footer-brand p{font-size:12px;color:#adbfaf;max-width:265px;line-height:1.7;margin:19px 0 11px}.footer-brand>small{font-size:11px;color:#89a89a}.footer-column{display:flex;flex-direction:column;gap:12px}.footer-column h3{font-size:13px;margin-bottom:10px;letter-spacing:.01em}.footer-column a,.footer-column p{color:#a9baaf;font-size:12px;line-height:1.7;margin:0;transition:color .2s;overflow-wrap:anywhere}.footer-column a:hover{color:#9ae7bb}.footer-column .footer-map{color:#8ceab3;font-weight:800}.footer-bottom{min-height:67px;border-top:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;gap:15px;color:#779387;font-size:11px}.floating-whatsapp{position:fixed;right:23px;bottom:23px;background:#11c56a;color:#fff;width:57px;height:57px;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 35px rgba(0,55,31,.24);z-index:45;border:3px solid #fff;transition:transform .2s}.floating-whatsapp svg{width:28px;height:28px}.floating-whatsapp:hover{transform:translateY(-4px)}
/* Dialogs */
dialog{padding:0;border:0;box-shadow:0 35px 100px rgba(0,0,0,.25);border-radius:16px;max-width:min(660px,calc(100vw - 28px));max-height:min(88vh,800px);width:100%;color:var(--ink);background:#fff}dialog::backdrop{background:rgba(3,24,18,.73);backdrop-filter:blur(3px)}.dialog-content,.certificate-dialog-inner{padding:37px 40px;position:relative;overflow-y:auto;max-height:88vh}.dialog-close{position:absolute;top:18px;right:20px;border:0;background:#eff5f0;border-radius:50%;width:39px;height:39px;font-size:25px;line-height:1;color:#2b6343}.dialog-close:hover{background:#dce9df}.dialog-content h2{font-size:32px;margin:16px 40px 12px 0}.dialog-summary{font-size:14px;color:#587063}.dialog-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:24px 0 30px}.dialog-columns h4{font-size:12px;letter-spacing:.08em;color:#207450;margin-bottom:12px}.dialog-columns ul{margin:0;padding-left:18px}.dialog-columns li{font-size:12px;color:#5c7062;margin:8px 0;line-height:1.5}.dialog-cta{width:100%}.certificate-dialog{max-width:min(700px,calc(100vw - 28px))}.certificate-dialog-inner h2{font-size:24px;margin:0 50px 8px 0}.certificate-dialog-inner p{font-size:12px;color:#657569;margin-bottom:18px}.certificate-dialog-inner img{display:block;width:auto;max-height:70vh;margin-inline:auto;border:1px solid #dae4df}
/* Reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s var(--ease),transform .75s var(--ease)}.reveal.in-view{opacity:1;transform:translateY(0)}.solutions-grid .service-card:nth-child(2),.solutions-grid .service-card:nth-child(5){transition-delay:.08s}.solutions-grid .service-card:nth-child(3),.solutions-grid .service-card:nth-child(6){transition-delay:.16s}
@media(min-width:1450px){.hero{min-height:690px}.hero-inner{min-height:690px}}
@media(max-width:1130px){.container{width:min(calc(100% - 50px),var(--max))}.site-nav{gap:15px}.brand{min-width:215px}.brand-name{font-size:11px}.service-bottom{left:16px;right:15px}.service-icon{width:39px;height:39px}.service-icon .icon-svg{width:21px;height:21px}.service-bottom h3{font-size:16px}.service-bottom p{font-size:10px}.service-open{width:32px;height:32px}.contact-layout{gap:45px}.experience-layout{gap:45px}.footer-top{gap:30px}}
@media(max-width:900px){.container{width:min(calc(100% - 40px),var(--max))}.site-header{height:73px}.site-header.scrolled{height:68px}.brand-logo{width:72px;height:57px}.menu-toggle{display:flex;z-index:2}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;height:auto;padding:16px 20px 24px;box-shadow:0 15px 20px rgba(5,31,17,.13);background:#fff;align-items:stretch;flex-direction:column;gap:0}.site-nav.open{display:flex}.nav-link{padding:12px 3px;border-bottom:1px solid #edf2ed;font-size:14px}.nav-link.active:after{display:none}.site-nav .nav-cta{margin-top:16px;justify-content:center}.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-toggle.open span:nth-child(2){opacity:0}.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.hero,.hero-inner{min-height:600px}.hero-content{max-width:580px}.hero h1{font-size:clamp(2.75rem,6vw,4.7rem)}.hero-photo{left:30%}.hero-overlay{background:linear-gradient(90deg,#05271f 0%,rgba(6,44,33,.96) 49%,rgba(6,44,33,.4) 100%)}.hero-rail{display:none}.about-grid,.experience-layout,.contact-layout{grid-template-columns:1fr;gap:48px}.about-visual{height:410px}.section{padding:84px 0}.solutions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-topline{align-items:start}.section-topline>p{max-width:280px}.cert-heading{grid-template-columns:1fr;gap:20px}.cert-heading p{max-width:600px}.cert-card{padding:22px;gap:12px}.cert-mark{width:50px;height:50px}.cert-content h3{font-size:28px}.cert-dates{gap:17px}.client-grid span{min-height:85px}.contact-copy>p{max-width:660px}.contact-form-wrap{max-width:680px;width:100%}.footer-top{grid-template-columns:1.4fr 1fr;gap:40px}.footer-brand p{max-width:340px}}
@media(max-width:620px){.container{width:calc(100% - 34px)}.brand{min-width:auto;gap:7px}.brand-logo{width:63px;height:52px}.brand-divider{height:28px}.brand-name{font-size:10px;line-height:1.18}.hero,.hero-inner{min-height:632px}.hero-inner{align-items:center;padding-top:38px;padding-bottom:46px}.hero-photo{left:0;opacity:.44}.hero-photo img{object-position:60% 50%}.hero-overlay{background:linear-gradient(0deg,rgba(3,31,24,.8),rgba(3,31,24,.52)),linear-gradient(90deg,rgba(4,36,28,.93),rgba(5,40,31,.48))}.hero-content{width:100%}.eyebrow{font-size:9px;gap:8px;letter-spacing:.1em}.hero h1{font-size:clamp(2.75rem,11vw,4rem);margin:22px 0 29px;letter-spacing:-.052em}.hero h1 em:after{width:70px;height:4px;bottom:-10px}.hero p{font-size:14px;line-height:1.65;max-width:470px;margin-bottom:25px}.hero-actions{align-items:stretch;gap:10px}.hero-actions .btn{flex:1 1 auto;padding:0 14px;font-size:11px;min-height:48px}.hero-actions .btn .arrow{margin-left:4px}.hero-trust{margin-top:32px;font-size:10px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:22px 0}.stat{gap:8px;flex-direction:column;text-align:center;min-height:71px}.stat-icon .icon-svg{width:24px;height:24px}.stat strong{font-size:25px}.stat span{font-size:10px;line-height:1.25;display:block}.section{padding:69px 0}.section-kicker{font-size:10px}.section h2{font-size:clamp(2rem,8vw,2.6rem)}.about-grid{gap:35px}.about-copy h2{margin:15px 0 20px}.about-copy p,.about-copy p.lead{font-size:13px;line-height:1.75}.values-grid{margin-top:26px}.value-item{padding-right:9px}.value-item+.value-item{padding-left:11px}.value-icon .icon-svg{width:25px;height:25px}.value-item strong{font-size:11px}.value-item small{font-size:10px}.text-link{margin-top:23px}.about-visual{height:325px;margin-left:15px}.about-photo-caption{width:75%;left:-15px;padding:15px 16px}.about-photo-caption span:last-child{font-size:13px}.about-corner-shape{width:65px;height:65px;right:-10px;top:-12px}.section-topline{display:block;margin-bottom:27px}.section-topline h2{margin-top:12px}.section-topline>p{padding:0;border:0;max-width:100%;font-size:13px;margin-top:15px}.solutions-grid{grid-template-columns:1fr;gap:13px}.service-card{height:236px}.service-bottom{left:20px;right:20px;bottom:19px}.service-bottom h3{font-size:18px}.service-bottom p{font-size:11px}.service-number{top:17px;right:19px}.service-open{width:37px;height:37px}.portfolio-drawer{padding:24px 19px 22px;margin-top:25px}.portfolio-intro{display:block}.portfolio-intro h3{font-size:21px;margin:9px 0}.portfolio-intro p{font-size:12px}.portfolio-tabs button{padding:13px 18px;font-size:12px}.portfolio-panel{grid-template-columns:1fr;gap:22px;padding-top:23px}.portfolio-column+.portfolio-column{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.portfolio-column h4{margin-bottom:8px}.portfolio-column li{font-size:12px}.experience-layout{gap:31px}.experience-copy h2{margin:16px 0 18px}.experience-copy>p{font-size:13px}.experience-highlight{margin-top:23px}.clients-block{padding:21px 15px}.clients-heading{display:block;margin-bottom:17px}.clients-heading h3{margin:0 0 6px;font-size:14px}.clients-heading>span{text-align:left}.client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.client-grid span{min-height:70px;font-size:10px}.clients-note{font-size:9px}.cert-heading{gap:16px;margin-bottom:25px}.cert-heading p{font-size:12px}.cert-grid{grid-template-columns:1fr;gap:13px}.cert-card{padding:21px;gap:16px}.cert-content h3{font-size:29px}.cert-content p{font-size:11px}.cert-dates{gap:25px}.cert-disclaimer{font-size:10px}.contact-layout{gap:38px}.contact-copy>p{font-size:13px}.contact-info{gap:13px;margin-top:27px}.contact-info strong{font-size:12px;overflow-wrap:anywhere}.contact-icon{width:43px;height:43px}.contact-form-wrap{padding:23px 19px}.form-head h3{font-size:22px}.form-head{margin-bottom:19px}.form-row{grid-template-columns:1fr;gap:16px}.contact-form-wrap form{gap:16px}.btn-submit{font-size:12px;white-space:normal}.form-footnote{font-size:9px}.final-cta-inner{padding:35px 0;min-height:200px;display:block}.final-cta h2{font-size:24px;margin-bottom:23px}.final-cta-inner .btn{width:100%}.footer{padding-top:45px}.footer-top{grid-template-columns:1fr 1fr;gap:30px 20px;padding-bottom:38px}.footer-brand{grid-column:1/-1}.footer-brand p{max-width:400px}.footer-location{grid-column:1/-1}.footer-bottom{padding:22px 0;display:grid;text-align:left;font-size:10px;gap:7px}.floating-whatsapp{right:14px;bottom:14px;width:51px;height:51px}.floating-whatsapp svg{width:25px;height:25px}.dialog-content,.certificate-dialog-inner{padding:28px 22px}.dialog-content h2{font-size:26px}.dialog-columns{grid-template-columns:1fr;gap:18px}.certificate-dialog-inner h2{font-size:21px}}
@media(max-width:360px){.brand-name{font-size:9px}.hero h1{font-size:2.55rem}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.cert-dates{gap:11px}.cert-mark{width:43px;height:43px}.cert-mark .icon-svg{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}.reveal{opacity:1;transform:none}}

.more-clients{margin-top:17px;border-bottom:1px solid #dbe7dc;padding-bottom:14px}.more-clients summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px;align-items:center;color:#247251;font-size:12px;font-weight:800;list-style:none}.more-clients summary::-webkit-details-marker{display:none}.more-clients summary span{font-size:20px}.more-clients[open] summary span{transform:rotate(45deg)}.more-clients p{font-size:11px;line-height:1.75;color:#697d6e;margin:12px 0 0}.certificate-dialog-inner img+img{margin-top:18px}.certificate-dialog-inner img[hidden]{display:none}

/* Adjust fixed navigation when WordPress admin toolbar is visible to logged-in editors. */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}


/* KSI 2.0 - accesibilidad, rendimiento y botón de WhatsApp */
html{min-width:320px}body{overflow-x:clip}main section[id]{scroll-margin-top:90px}
.portfolio-tabs button,.cert-view,.more-clients summary,.contact-info>a{min-height:44px}
.portfolio-tabs button{touch-action:manipulation}.form-status{min-height:1.5em;margin:0;text-align:center;font-size:11px;color:var(--green-700);font-weight:700}
.contact-form-wrap :user-invalid{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.1)}
.floating-whatsapp{right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:auto;height:54px;min-width:54px;border-radius:999px;padding:0 16px;display:flex;gap:9px;transition:transform .2s,opacity .2s,visibility .2s}
.floating-whatsapp-label{font-size:12px;font-weight:800;line-height:1}.floating-whatsapp.is-context-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px)}
.footer{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:620px){.floating-whatsapp{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:52px;height:52px;min-width:52px;padding:0;justify-content:center}.floating-whatsapp-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.portfolio-tabs{overflow-x:auto;overscroll-behavior-inline:contain}.portfolio-tabs button{flex:1 0 auto}}
@media(prefers-reduced-motion:reduce){.floating-whatsapp{transition:none}}
