:root{--green:#04c85c;--green2:#00a94d;--ink:#0a1315;--ink2:#101d20;--white:#fff;--muted:#697579;--line:#dfe6e7;--soft:#f4f7f7;--radius:18px;--shell:1180px;--shadow:0 18px 50px rgba(6,26,22,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.45;-webkit-font-smoothing:antialiased}body.nav-open{overflow:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{width:min(var(--shell),calc(100% - 48px));margin:auto}.icon{display:inline-block;flex:none}.eyebrow{text-transform:uppercase;letter-spacing:.27em;font-size:11px;font-weight:800;color:#fff;margin:0 0 13px}.eyebrow.dark{color:#859095}.section{padding:76px 0}.section-light{background:#fff}.section h2,.cta-band h2,.process-band h2,.metrics-band h2,.case-study h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(34px,4vw,58px);line-height:1.03;margin:0;letter-spacing:-.045em}.section h2 em,.cta-band h2 em,.process-band h2 em,.metrics-band h2 em,.case-study h2 em{font-style:normal;color:var(--green)}.section-heading>p:last-child{color:var(--muted);font-size:17px;max-width:440px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:10px;font-weight:800;font-size:14px;border:1px solid transparent;transition:.25s ease}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--green);color:#fff;box-shadow:0 9px 26px rgba(4,200,92,.22)}.btn-primary:hover{background:#00b854}.btn-darkline{border-color:var(--green);color:#fff;background:rgba(5,15,16,.55)}.btn-outline{border-color:var(--green2);color:#0c5f35;background:#fff}.btn-big{min-height:58px;padding:0 28px;border-radius:18px}.site-header{height:76px;position:fixed;left:0;right:0;top:0;z-index:100;background:rgba(7,18,20,.94);border-bottom:1px solid rgba(255,255,255,.09);backdrop-filter:blur(12px);transition:.25s}.site-header.scrolled{height:68px;background:rgba(7,18,20,.985);box-shadow:0 12px 35px rgba(0,0,0,.18)}.nav-shell{height:100%;display:flex;align-items:center;gap:26px}.brand{width:178px;display:flex;align-items:center}.brand img{width:100%;height:58px;object-fit:contain;object-position:left center}.main-nav{margin-left:auto;display:flex;align-items:center;gap:27px;color:#e2e7e8;font-size:13px;font-weight:600}.main-nav a{position:relative;padding:27px 0 24px;white-space:nowrap}.main-nav a:after{content:"";position:absolute;height:2px;left:0;right:100%;bottom:17px;background:var(--green);transition:.25s}.main-nav a:hover,.main-nav a.active{color:var(--green)}.main-nav a:hover:after,.main-nav a.active:after{right:0}.btn-nav{margin-left:8px;border-radius:999px;padding:0 20px;min-height:42px}.nav-toggle{display:none;background:none;border:0;width:42px;height:42px;padding:10px}.nav-toggle span{height:2px;background:#fff;display:block;margin:5px 0;border-radius:4px}.hero{position:relative;color:#fff;min-height:590px;margin-top:0;padding-top:76px;background:#071213;overflow:hidden}.hero-home{min-height:615px}.hero-photo{position:absolute;inset:76px 0 0 40%;background:url('../img/hero.jpg') center/cover no-repeat;filter:saturate(.88) contrast(1.04)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#071213 0%,#071213 37%,rgba(7,18,19,.92) 51%,rgba(7,18,19,.18) 82%),radial-gradient(circle at 18% 35%,rgba(0,224,107,.1),transparent 36%)}.hero:after{content:"";position:absolute;right:-95px;bottom:-130px;width:440px;height:480px;border-left:36px solid rgba(0,223,101,.86);transform:rotate(40deg);background:rgba(0,0,0,.17)}.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,700px) 1fr;gap:30px;min-height:inherit;align-items:center}.hero-copy{padding:72px 0 66px}.hero-copy h1{font-family:Manrope,Inter,sans-serif;font-size:clamp(46px,5.15vw,73px);line-height:.98;letter-spacing:-.052em;margin:0;max-width:710px}.hero-copy h1 em{display:block;font-style:normal;color:var(--green)}.hero-lead{font-size:18px;line-height:1.55;max-width:650px;color:#edf2f2;margin:22px 0 24px}.hero-actions{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.hero-points{display:flex;gap:25px;align-items:center;flex-wrap:wrap;margin-top:25px;font-size:12px;font-weight:700;color:#dbe3e4}.hero-points span{display:flex;align-items:center;gap:8px}.hero-points .icon{color:var(--green)}.hero-points.big{gap:35px}.hero-points.big span{display:grid;grid-template-columns:auto auto;gap:0 9px}.hero-points.big svg{grid-row:1/3}.hero-points.big small{color:#c8d1d2;font-weight:500}.hero-stamp{justify-self:end;align-self:end;margin-bottom:65px;background:rgba(3,14,16,.72);padding:25px 20px 22px;border-left:1px solid rgba(255,255,255,.09);font-size:12px;line-height:1.55;letter-spacing:.04em;color:#dbe1e1}.hero-stamp span{display:block;width:42px;height:3px;background:var(--green);margin-top:13px}.hero-inner{min-height:520px}.hero-inner .hero-copy{padding:64px 0 52px}.hero-inner .hero-copy h1{font-size:clamp(48px,5vw,70px)}.hero-projects .hero-photo{background-image:url('../img/bandeja.jpg');background-position:center 35%;filter:brightness(.88)}.hero-contact .hero-photo{background-image:url('../img/tableros.jpg');background-position:center}.value-strip,.project-value-strip{background:#0d1b1d;color:#fff;border-top:1px solid rgba(255,255,255,.08);position:relative;overflow:hidden}.value-strip:before,.project-value-strip:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 40%,rgba(0,194,88,.09),transparent 30%),linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.03) 50%,transparent 50.2%);opacity:.9}.value-grid{height:72px;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;position:relative}.value-grid>div{display:flex;align-items:center;justify-content:center;gap:18px;font-size:17px}.value-grid>div+div{border-left:1px solid rgba(255,255,255,.25)}.value-grid .icon{color:var(--green)}.why-layout{display:grid;grid-template-columns:270px 1fr;gap:42px;align-items:start}.why-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.why-card{background:#f2f5f5;border-radius:14px;padding:24px 20px;min-height:225px}.why-card .icon{color:var(--green2)}.why-card h3{font-size:18px;line-height:1.15;margin:20px 0 12px}.why-card p{font-size:13px;color:#5d696c;margin:0}.dark-card{background:#102024;color:#fff}.dark-card p{color:#bec8ca}.section-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:34px;align-items:end;margin-bottom:30px}.section-row>p{color:var(--muted);margin:0 0 5px}.section-row h2{font-size:clamp(34px,3.4vw,51px)}.service-grid{display:grid;gap:12px}.compact-grid{grid-template-columns:repeat(6,1fr)}.service-card{background:#fff;border:1px solid #e6ebeb;border-radius:12px;overflow:hidden;box-shadow:0 8px 22px rgba(13,32,31,.04);transition:.25s}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card-media{height:165px;position:relative;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover}.service-icon{position:absolute;left:14px;bottom:-1px;transform:translateY(40%);width:47px;height:47px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;border:3px solid #fff}.card-body{padding:28px 15px 18px}.card-body h3{font-size:17px;line-height:1.12;margin:0 0 10px}.card-body p{font-size:13px;color:#657174;margin:0}.services-preview{background:#f7f9f9}.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.project-card{height:240px;border-radius:12px;overflow:hidden;position:relative;color:#fff}.project-card img{width:100%;height:100%;object-fit:cover;transition:.4s}.project-card:hover img{transform:scale(1.04)}.project-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 27%,rgba(0,0,0,.88) 100%)}.project-content{position:absolute;left:16px;right:45px;bottom:14px}.tag{background:var(--green);color:#fff;border-radius:4px;padding:5px 8px;font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}.project-content h3{font-size:17px;line-height:1.14;margin:10px 0 7px}.project-content p{display:flex;align-items:center;gap:5px;font-size:10px;color:#ced7d8;margin:0}.round-arrow{position:absolute;right:13px;bottom:16px;width:34px;height:34px;border:2px solid var(--green);border-radius:50%;display:grid;place-items:center;color:var(--green);background:rgba(1,13,13,.6)}.metrics-band{background:#0b1719;color:#fff;padding:45px 0;position:relative;overflow:hidden}.metrics-band:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.2),rgba(0,201,92,.05)),url('../img/hero.jpg') center 52%/cover;opacity:.25}.metrics-grid{position:relative;display:grid;grid-template-columns:1.65fr repeat(4,1fr);gap:22px;align-items:center}.metrics-intro h2{font-size:39px}.metric{border-left:1px solid rgba(255,255,255,.24);padding-left:22px;display:flex;flex-direction:column;min-height:96px;justify-content:center}.metric span{color:var(--green);margin-bottom:5px}.metric strong{font-family:Manrope;font-size:24px}.metric small{color:#c5d0d1}.cta-band{background:linear-gradient(115deg,#0c1b1e 0%,#101f21 53%,#f8fafa 53%,#fff 100%);padding:36px 0;color:#fff;position:relative;overflow:hidden}.cta-band:before{content:"";position:absolute;left:-70px;bottom:-150px;width:250px;height:240px;background:var(--green);border-radius:50%;opacity:.7}.cta-grid{position:relative;display:grid;grid-template-columns:1.25fr .9fr;align-items:center;gap:80px}.cta-grid h2{font-size:37px;max-width:670px}.cta-grid>div:last-child{color:#233033}.cta-grid>div:last-child p{margin-top:0}.site-footer{background:#081315;color:#c2cccd;padding-top:38px}.footer-top{display:grid;grid-template-columns:1.3fr .85fr .65fr 1fr;gap:45px;padding-bottom:34px}.footer-brand img{width:170px;height:70px;object-fit:contain;object-position:left}.footer-brand p{max-width:270px;margin:9px 0;font-size:13px}.footer-top h4{color:#fff;margin:8px 0 14px}.footer-top a,.footer-top span{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin:8px 0}.footer-wa{color:var(--green)!important;font-weight:800}.footer-bottom{border-top:1px solid rgba(255,255,255,.09);display:flex;justify-content:space-between;padding:16px 0 20px;font-size:10px;color:#839194}.floating-wa{position:fixed;right:22px;bottom:22px;background:#15bf61;color:#fff;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;z-index:80;box-shadow:0 12px 35px rgba(0,0,0,.25);transition:.2s}.floating-wa span{display:none}.floating-wa:hover{transform:translateY(-3px) scale(1.02)}.full-grid{grid-template-columns:repeat(4,1fr)}.service-card.detailed .card-media{height:190px}.service-card.detailed .card-body{min-height:245px;display:flex;flex-direction:column}.service-card.detailed .card-body p{font-size:14px;line-height:1.45}.mini-link{margin-top:auto;min-height:38px;border:1px solid var(--green2);border-radius:999px;display:flex;align-items:center;justify-content:center;gap:8px;color:#0b6337;font-size:12px;font-weight:800}.service-pitch{border-radius:12px;padding:28px;background:radial-gradient(circle at 80% 10%,rgba(0,206,95,.18),transparent 35%),#0a181a;color:#fff;min-height:435px;display:flex;flex-direction:column;justify-content:center}.service-pitch>div{color:var(--green)}.service-pitch h3{font-size:27px;line-height:1.07}.service-pitch p{color:#c4cecf}.service-pitch .btn{align-self:flex-start;margin-top:12px}.process-band{background:#091719;color:#fff;padding:45px 0 40px;position:relative}.process-band:after{content:"";position:absolute;inset:0;background:url('../img/bandeja.jpg') right center/45% auto no-repeat;opacity:.13;pointer-events:none}.process-head,.steps{position:relative;z-index:1}.process-head{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:end}.process-head h2{font-size:43px}.process-head>p{color:#c6d0d1}.steps{display:grid;grid-template-columns:repeat(4,1fr);margin-top:30px;border-top:1px solid rgba(255,255,255,.13)}.steps article{padding:25px 28px 6px 0;display:grid;grid-template-columns:34px auto;align-items:center;gap:6px 9px}.steps article+article{padding-left:28px;border-left:1px solid rgba(255,255,255,.13)}.steps b{color:var(--green);font-size:18px}.steps .icon{color:var(--green)}.steps h3{grid-column:1/3;margin:7px 0 0}.steps p{grid-column:1/3;color:#bdc9ca;margin:4px 0;font-size:12px}.trust-layout{display:grid;grid-template-columns:280px 1fr;gap:45px}.trust-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.trust-cards article{background:#f4f6f6;border-radius:12px;padding:20px}.trust-cards .icon{color:var(--green2)}.trust-cards h3{font-size:16px;line-height:1.05}.trust-cards p{font-size:12px;color:#667275}.project-value-strip{height:62px}.project-value-strip .shell{height:100%;display:flex;align-items:center;justify-content:center;gap:72px}.project-value-strip span{display:flex;align-items:center;gap:10px;font-weight:700}.project-value-strip .icon{color:var(--green)}.filters{display:flex;gap:9px;margin:8px 0 22px;overflow:auto;padding-bottom:4px}.filters button{border:1px solid #e2e8e8;background:#f3f6f6;border-radius:8px;padding:10px 18px;font-size:12px;font-weight:700;white-space:nowrap}.filters button.active{background:var(--green);border-color:var(--green);color:#fff}.projects-page{grid-template-columns:repeat(4,1fr);gap:14px}.project-tile{position:relative;border:1px solid #e4eaea;border-radius:10px;overflow:hidden;background:#fff;min-height:355px}.project-tile[hidden]{display:none!important}.tile-image{height:185px;position:relative;overflow:hidden}.tile-image img{width:100%;height:100%;object-fit:cover;transition:.35s}.project-tile:hover .tile-image img{transform:scale(1.04)}.tile-image .tag{position:absolute;left:11px;bottom:10px}.tile-body{padding:16px 17px 19px;position:relative;min-height:166px}.tile-body h3{font-size:17px;line-height:1.15;margin:0 42px 7px 0}.tile-body p{font-size:12px;color:#6a7578;margin:8px 0}.tile-body .location{display:flex;align-items:center;gap:5px;color:#899496;font-size:10px}.tile-body .round-arrow{right:14px;top:14px;bottom:auto;background:#fff}.case-study{padding:46px 0;background:#fff}.case-grid{display:grid;grid-template-columns:39% 1fr;gap:28px;align-items:center}.case-photo>img{height:355px;width:100%;object-fit:cover;border-radius:12px}.mini-thumbs{display:flex;gap:8px;margin-top:-43px;padding:0 16px;position:relative}.mini-thumbs img{width:74px;height:55px;object-fit:cover;border-radius:7px;border:3px solid #fff;box-shadow:0 5px 20px rgba(0,0,0,.15)}.case-copy h2{font-size:39px}.case-meta{display:flex;gap:7px;align-items:center;color:#788487}.case-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.case-columns>div{border-left:1px solid #e0e6e6;padding-left:17px}.case-columns span{color:var(--green2)}.case-columns h3{font-size:15px}.case-columns p,.case-columns li{font-size:12px;color:#647174}.case-columns ul{padding-left:17px}.contact-section{background:#fff}.contact-grid{display:grid;grid-template-columns:.9fr 1.25fr;gap:70px;align-items:start}.contact-copy h2{font-size:53px}.contact-copy>p{font-size:16px;color:#687477}.contact-list{display:grid;gap:17px;margin:28px 0}.contact-list>a,.contact-list>span{display:flex;align-items:flex-start;gap:15px}.contact-list .icon{width:46px;height:46px;padding:11px;background:var(--green);color:#fff;border-radius:50%}.contact-list span span,.contact-list a span{display:flex;flex-direction:column}.contact-list b{font-size:20px}.contact-list small{color:#707b7d;font-size:13px}.lead-card{border-radius:14px;background:#f7f9f9;border:1px solid #dfe7e7;box-shadow:var(--shadow);overflow:hidden}.lead-card-head{background:#102024;color:#fff;padding:17px 20px;display:flex;gap:14px;align-items:center}.lead-card-head .icon{color:var(--green)}.lead-card-head h3{font-size:20px;margin:0}.lead-card-head p{font-size:11px;color:#c3cfd0;margin:3px 0 0}.lead-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px}.lead-form label{font-size:11px;font-weight:700;color:#334143}.lead-form input,.lead-form textarea,.lead-form select{width:100%;margin-top:7px;background:#fff;border:1px solid #d5dfdf;border-radius:8px;padding:12px 13px;outline:none;transition:.2s}.lead-form input:focus,.lead-form textarea:focus,.lead-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(4,200,92,.11)}.lead-form textarea{resize:vertical}.lead-form .full{grid-column:1/3}.submit-btn{border:0}.form-note{font-size:10px!important;text-align:center;color:#798486!important;font-weight:500!important}.reassurance{padding:23px 0;background:#f3f6f6}.reassurance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.reassurance article{background:#fff;border-radius:12px;padding:19px;display:flex;gap:15px;align-items:flex-start}.reassurance .icon{color:var(--green2)}.reassurance h3{font-size:17px;margin:0 0 5px}.reassurance p{margin:0;font-size:12px;color:#667376}.location-faq{background:#fff}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:46px}.two-col h2{font-size:42px}.two-col>div>p:not(.eyebrow){color:#687477}.map-mock{height:315px;background:#e9f0eb;border-radius:14px;position:relative;overflow:hidden;border:1px solid #dae5df;margin-top:24px}.map-grid{position:absolute;inset:0;background-image:linear-gradient(#d5e0d9 1px,transparent 1px),linear-gradient(90deg,#d5e0d9 1px,transparent 1px);background-size:46px 46px;opacity:.65;transform:rotate(10deg) scale(1.2)}.map-road{position:absolute;display:block;height:12px;background:#fff;border:1px solid #d5ded7;border-radius:20px}.r1{width:120%;left:-10%;top:42%;transform:rotate(-12deg)}.r2{width:90%;left:7%;top:65%;transform:rotate(18deg)}.r3{width:75%;left:20%;top:24%;transform:rotate(55deg)}.map-pin-card{position:absolute;left:34%;top:37%;transform:translate(-50%,-50%);background:#fff;padding:13px 17px;border-radius:12px;box-shadow:0 13px 34px rgba(17,40,30,.16);display:flex;gap:10px;align-items:center}.map-pin-card .icon{color:var(--green)}.map-pin-card div{display:flex;flex-direction:column}.map-pin-card small{color:#657274}.faq details{border:1px solid #e0e7e7;border-radius:10px;margin:10px 0;background:#fbfcfc;padding:0 15px}.faq summary{list-style:none;cursor:pointer;padding:14px 30px 14px 0;font-weight:700;font-size:13px;position:relative}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";position:absolute;right:0;top:10px;width:25px;height:25px;border-radius:50%;background:#e7eded;display:grid;place-items:center}.faq details[open] summary:after{content:"–";background:var(--green);color:#fff}.faq details p{font-size:12px;color:#657275;margin:0 0 15px}.metrics-band.mini:before{opacity:.16}.metrics-band.mini .value-grid{height:auto;min-height:90px}.metrics-band.mini .value-grid>div{flex-wrap:wrap}.metrics-band.mini small{width:100%;text-align:center;color:#bfcaca;font-size:11px;margin-top:-12px}.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}.reveal.in{opacity:1;transform:none}.delay-1{transition-delay:.08s}.delay-2{transition-delay:.16s}.delay-3{transition-delay:.24s}
@media(max-width:1100px){.main-nav{gap:17px;font-size:12px}.btn-nav{display:none}.brand{width:160px}.compact-grid{grid-template-columns:repeat(3,1fr)}.why-cards,.trust-cards{grid-template-columns:repeat(2,1fr)}.full-grid{grid-template-columns:repeat(3,1fr)}.project-grid,.projects-page{grid-template-columns:repeat(2,1fr)}.metrics-grid{grid-template-columns:1.4fr repeat(2,1fr)}.metrics-intro{grid-row:span 2}.footer-top{grid-template-columns:1.2fr 1fr 1fr}.footer-top>div:last-child{grid-column:2/4}.section-row{grid-template-columns:1fr 1fr}.section-row .btn{grid-column:2;justify-self:start}.hero-photo{left:35%}.hero-overlay{background:linear-gradient(90deg,#071213 0%,#071213 42%,rgba(7,18,19,.8) 66%,rgba(7,18,19,.18) 100%)}}
@media(max-width:820px){.shell{width:min(100% - 30px,var(--shell))}.site-header,.site-header.scrolled{height:66px}.nav-shell{justify-content:space-between}.brand{width:150px}.brand img{height:51px}.nav-toggle{display:block}.main-nav{position:fixed;left:0;right:0;top:66px;bottom:0;background:#071315;display:flex;flex-direction:column;align-items:stretch;padding:25px 24px;gap:0;transform:translateX(100%);transition:.28s;overflow:auto}.nav-open .main-nav{transform:none}.main-nav a{padding:15px 4px;border-bottom:1px solid rgba(255,255,255,.08);font-size:15px}.main-nav a:after{display:none}.hero{padding-top:66px;min-height:760px}.hero-photo{inset:66px 0 0 0;background-position:62% center;opacity:.45}.hero-overlay{background:linear-gradient(180deg,rgba(7,18,19,.25) 0%,#071213 68%,#071213 100%)}.hero:after{right:-200px;opacity:.45}.hero-grid{grid-template-columns:1fr;align-items:end}.hero-copy{padding:250px 0 40px}.hero-copy h1{font-size:45px}.hero-lead{font-size:16px}.hero-stamp{display:none}.hero-points{gap:13px 18px}.hero-inner{min-height:720px}.value-grid{height:auto;padding:18px 0;gap:0}.value-grid>div{flex-direction:column;gap:6px;font-size:13px}.value-grid .icon{width:25px}.section{padding:55px 0}.why-layout,.trust-layout{grid-template-columns:1fr}.section-heading>p:last-child{max-width:620px}.why-cards,.trust-cards{grid-template-columns:repeat(2,1fr)}.section-row{grid-template-columns:1fr;gap:14px}.section-row .btn{grid-column:1}.compact-grid{grid-template-columns:repeat(2,1fr)}.full-grid{grid-template-columns:repeat(2,1fr)}.project-grid,.projects-page{grid-template-columns:repeat(2,1fr)}.metrics-grid{grid-template-columns:1fr 1fr}.metrics-intro{grid-column:1/3;grid-row:auto}.cta-band{background:#0d1c1e}.cta-grid{grid-template-columns:1fr;gap:20px}.cta-grid>div:last-child{color:#d8e1e1}.footer-top{grid-template-columns:1fr 1fr}.footer-top>div:last-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:7px}.process-head{grid-template-columns:1fr;gap:12px}.steps{grid-template-columns:1fr 1fr}.steps article:nth-child(3){border-left:0}.case-grid{grid-template-columns:1fr}.contact-grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.project-value-strip .shell{gap:24px;font-size:12px}.contact-copy h2{font-size:45px}}
@media(max-width:560px){.shell{width:calc(100% - 24px)}.hero{min-height:710px}.hero-copy{padding-top:228px}.hero-copy h1{font-size:39px}.hero-copy .btn{width:100%}.hero-actions{width:100%}.hero-points{display:grid;grid-template-columns:1fr}.value-grid strong{font-size:12px}.why-cards,.trust-cards{grid-template-columns:1fr}.compact-grid,.full-grid,.project-grid,.projects-page{grid-template-columns:1fr}.card-media{height:205px}.project-card{height:270px}.section h2,.cta-band h2,.process-band h2,.metrics-band h2,.case-study h2{font-size:35px}.section-row>p{font-size:14px}.metrics-grid{grid-template-columns:1fr 1fr}.metrics-intro{grid-column:1/3}.metric{padding-left:14px}.metric strong{font-size:18px}.cta-grid h2{font-size:32px}.footer-top{grid-template-columns:1fr}.footer-top>div:last-child{grid-column:auto}.footer-bottom span:last-child{display:none}.floating-wa{width:52px;height:52px;right:14px;bottom:14px}.steps{grid-template-columns:1fr}.steps article+article{padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.1)}.project-value-strip{height:auto}.project-value-strip .shell{padding:15px 0;display:grid;grid-template-columns:1fr;gap:10px}.case-columns{grid-template-columns:1fr}.case-columns>div{border-left:0;border-top:1px solid #e2e8e8;padding:13px 0 0}.lead-form{grid-template-columns:1fr}.lead-form .full{grid-column:1}.reassurance-grid{grid-template-columns:1fr}.two-col h2{font-size:34px}.map-pin-card{left:50%}.filters{margin-left:-12px;margin-right:-12px;padding-left:12px}.project-tile{min-height:370px}.tile-image{height:210px}}

/* ===== AGMIDTEC V01.1 — fidelity pass against approved mockups ===== */
.brand-icon-whatsapp{display:inline-block;flex:none;fill:currentColor;vertical-align:-.12em}
.btn-primary .brand-icon-whatsapp,.btn-darkline .brand-icon-whatsapp,.btn-nav .brand-icon-whatsapp,.floating-wa .brand-icon-whatsapp{color:#fff}
.footer-wa .brand-icon-whatsapp{color:#25D366}
.floating-wa{background:#25D366}

@media(min-width:821px){
  .site-header{height:70px}
  .site-header.scrolled{height:64px}
  .brand{width:164px}
  .brand img{height:54px}
  .main-nav a{padding:24px 0 22px}
  .main-nav a:after{bottom:14px}
  .hero{padding-top:70px;min-height:clamp(455px,42vw,610px)}
  .hero-home,.hero-inner{min-height:clamp(455px,42vw,610px)}
  .hero-photo{inset:70px 0 0 52.8%;background-size:100% 100%;background-position:center;filter:none}
  .hero-home .hero-photo{background-image:url('../img/hero-home-approved.jpg')}
  .page-servicios .hero-photo{background-image:url('../img/hero-services-approved.jpg')}
  .hero-projects .hero-photo{background-image:url('../img/hero-projects-approved.jpg');background-position:center;filter:none}
  .hero-contact .hero-photo{background-image:url('../img/hero-contact-approved.jpg');background-position:center;filter:none}
  .hero-overlay{background:linear-gradient(90deg,#071213 0%,#071213 41%,rgba(7,18,19,.97) 48%,rgba(7,18,19,.78) 54%,rgba(7,18,19,.18) 62%,rgba(7,18,19,0) 72%),radial-gradient(circle at 18% 35%,rgba(0,224,107,.08),transparent 35%)}
  .hero:after{display:none}
  .hero-grid{grid-template-columns:minmax(0,630px) 1fr;gap:18px}
  .hero-copy{padding:56px 0 47px}
  .hero-inner .hero-copy{padding:48px 0 42px}
  .hero-copy h1,.hero-inner .hero-copy h1{font-size:clamp(43px,4.25vw,64px);max-width:625px;line-height:.99}
  .hero-lead{max-width:585px;font-size:16px;line-height:1.47;margin:18px 0 20px}
  .hero-actions{gap:12px}
  .hero-points{margin-top:20px;gap:20px}
  .hero-stamp{display:none}
}

.google-map-wrap{height:315px;position:relative;overflow:hidden;border-radius:14px;border:1px solid #dae5df;margin-top:24px;background:#e7ecea;box-shadow:0 10px 32px rgba(13,32,31,.08)}
.google-map{position:absolute;inset:0;width:100%;height:100%;border:0;filter:saturate(.84) contrast(.96)}
.google-map-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(8,27,23,.03)}
.google-map-wrap .map-pin-card{left:28%;top:34%;z-index:2;min-width:230px}
.map-pin-card a{font-size:10px;color:#069c4b;font-weight:800;margin-top:4px}

@media(max-width:820px){
  .hero-home .hero-photo{background-image:url('../img/hero-home-approved.jpg')}
  .page-servicios .hero-photo{background-image:url('../img/hero-services-approved.jpg')}
  .hero-projects .hero-photo{background-image:url('../img/hero-projects-approved.jpg')}
  .hero-contact .hero-photo{background-image:url('../img/hero-contact-approved.jpg')}
  .hero-photo{background-size:cover;background-position:center 22%;filter:none}
  .hero:after{display:none}
  .google-map-wrap{height:300px}
  .google-map-wrap .map-pin-card{left:50%;top:35%;min-width:220px}
}

/* ===== AGMIDTEC V01.2 — visual polish against approved mockups ===== */
@media (min-width:821px){
  .site-header{height:74px;background:rgba(6,18,20,.965)}
  .site-header.scrolled{height:68px}
  .nav-shell{gap:23px}
  .brand{width:208px;min-width:208px;height:68px;overflow:visible}
  .brand img{width:auto;height:68px;max-width:208px;max-height:none;object-fit:contain;object-position:left center}
  .main-nav{gap:25px}
  .main-nav a{padding:25px 0 23px}
  .main-nav a:after{bottom:15px}
  .hero{padding-top:74px}
  .hero-photo{
    inset:74px 0 0 35.5%;
    background-size:100% 100%;
    background-position:center;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.10) 7%,rgba(0,0,0,.45) 17%,rgba(0,0,0,.82) 27%,#000 39%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.10) 7%,rgba(0,0,0,.45) 17%,rgba(0,0,0,.82) 27%,#000 39%,#000 100%);
  }
  .hero-overlay{
    background:
      linear-gradient(90deg,#071213 0%,#071213 31%,rgba(7,18,19,.985) 38%,rgba(7,18,19,.88) 47%,rgba(7,18,19,.46) 57%,rgba(7,18,19,.08) 70%,transparent 80%),
      radial-gradient(circle at 18% 35%,rgba(0,224,107,.10),transparent 37%);
  }
  .hero-grid{grid-template-columns:minmax(0,625px) 1fr}
  .hero-copy{padding:58px 0 48px}
  .hero-inner .hero-copy{padding:52px 0 44px}
  .hero-copy h1,.hero-inner .hero-copy h1{max-width:620px}
}

/* service icon floats over image/text seam like approved mockup */
.service-card{overflow:visible;background:transparent;border:0;box-shadow:none}
.card-media{overflow:visible;border-radius:12px 12px 0 0;background:#eef2f2}
.card-media img{border-radius:12px 12px 0 0;overflow:hidden}
.service-icon{left:14px;bottom:-23px;transform:none;z-index:5;width:48px;height:48px;border:4px solid #fff;box-shadow:0 6px 18px rgba(0,129,62,.18)}
.card-body{position:relative;background:#fff;border:1px solid #e5ebeb;border-top:0;border-radius:0 0 12px 12px;padding:31px 15px 18px;min-height:188px;box-shadow:0 8px 22px rgba(13,32,31,.04)}
.service-card:hover{transform:translateY(-4px);box-shadow:none}
.service-card:hover .card-body{box-shadow:var(--shadow)}
.service-card.detailed .card-body{min-height:245px}

/* richer CTA + footer, closer to approved mockup */
.cta-band{min-height:176px;padding:31px 0;background:linear-gradient(112deg,#0a181b 0%,#102225 56%,#f9fbfb 56%,#fff 100%)}
.cta-band:before{left:-88px;bottom:-166px;width:295px;height:280px;opacity:.78}
.cta-band:after{content:"";position:absolute;z-index:0;left:43%;top:0;bottom:0;width:23%;background:url('../img/hero-home-approved.jpg') 48% center/cover no-repeat;opacity:.74;-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%,#000 72%,transparent);mask-image:linear-gradient(90deg,transparent,#000 24%,#000 72%,transparent)}
.cta-grid{z-index:2;position:relative;grid-template-columns:1.28fr .92fr;gap:86px}
.cta-grid h2{font-size:clamp(32px,3vw,43px);line-height:1.04}
.cta-grid>div:last-child{padding-left:20px}

.site-footer{position:relative;overflow:hidden;background:#071315;padding-top:0;border-top:1px solid rgba(255,255,255,.07)}
.site-footer:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 82% 42%,rgba(0,200,92,.07),transparent 29%),radial-gradient(circle at 15% 105%,rgba(0,200,92,.045),transparent 34%),repeating-linear-gradient(90deg,transparent 0 84px,rgba(255,255,255,.012) 85px,transparent 86px);opacity:.9}
.footer-top{position:relative;z-index:1;grid-template-columns:1.35fr .9fr .7fr 1fr;gap:0;padding:36px 0 31px}
.footer-top>div{padding:0 30px;min-height:155px}
.footer-top>div:first-child{padding-left:0}
.footer-top>div+div{border-left:1px solid rgba(255,255,255,.13)}
.footer-brand img{width:218px;height:auto;max-height:96px;object-fit:contain;object-position:left center;margin:-6px 0 6px}
.footer-brand p{max-width:285px;font-size:12.5px;line-height:1.55}
.footer-top h4{font-size:13px;color:#fff;margin:3px 0 18px;position:relative;padding-bottom:9px}
.footer-top h4:after{content:"";position:absolute;left:0;bottom:0;width:28px;height:2px;background:var(--green)}
.footer-top a,.footer-top span{font-size:12px;line-height:1.45}
.footer-top>div:not(.footer-brand) a,.footer-top>div:not(.footer-brand)>span{margin:8px 0}
.footer-wa{color:var(--green)!important;font-weight:800!important;margin-top:16px!important}
.footer-bottom{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.10);padding:15px 0 18px;font-size:10px;color:#8ea0a3}

@media(max-width:1100px) and (min-width:821px){
  .brand{width:190px;min-width:190px}
  .brand img{width:auto;height:62px;max-width:190px;max-height:none}
  .main-nav{gap:16px}
  .footer-top{grid-template-columns:1.15fr 1fr 1fr}
  .footer-top>div:last-child{grid-column:2/4;border-left:1px solid rgba(255,255,255,.13);border-top:1px solid rgba(255,255,255,.08);padding-top:25px;margin-top:22px}
}

@media(max-width:820px){
  .brand{width:180px}
  .brand img{width:auto;height:54px;max-width:180px;max-height:none}
  .hero-photo{-webkit-mask-image:none;mask-image:none}
  .service-icon{bottom:-23px}
  .card-body{padding-top:32px}
  .cta-band:after{display:none}
  .footer-top>div{padding:0 16px 24px;min-height:0}
  .footer-top>div:first-child{padding-left:16px}
  .footer-top>div+div{border-left:0}
  .footer-brand img{width:205px;max-height:90px}
}


/* === V1.3 · WhatsApp floating assistance card === */
.wa-widget{position:fixed;right:22px;bottom:22px;z-index:140;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}
.wa-widget>*{pointer-events:auto}
.wa-popover{width:min(330px,calc(100vw - 28px));background:#fff;color:#0b1719;border:1px solid rgba(12,38,33,.08);border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(2,19,16,.22);position:absolute;right:0;bottom:70px;transform:translateY(14px) scale(.96);transform-origin:bottom right;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
.wa-widget.is-open .wa-popover{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
.wa-popover-close{position:absolute;right:12px;top:11px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:21px;line-height:1;display:grid;place-items:center;z-index:2;transition:.2s ease}
.wa-popover-close:hover{background:rgba(255,255,255,.2);transform:rotate(4deg)}
.wa-popover-head{min-height:72px;padding:15px 48px 14px 16px;background:linear-gradient(135deg,#0a1c1d 0%,#0e2926 100%);display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;color:#fff;position:relative;overflow:hidden}
.wa-popover-head:after{content:"";position:absolute;right:-34px;bottom:-48px;width:108px;height:108px;border:18px solid rgba(4,200,92,.12);border-radius:50%}
.wa-brandmark{width:40px;height:40px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(37,211,102,.23)}
.wa-brandmark svg,.wa-agent-avatar svg{display:block}
.wa-head-copy{display:flex;flex-direction:column;line-height:1.05}
.wa-head-copy small{font-size:10px;color:#a9bbbb;text-transform:uppercase;letter-spacing:.11em;font-weight:700}
.wa-head-copy strong{font-size:15px;margin-top:4px;letter-spacing:.01em}
.wa-online{font-size:10px;color:#d4dfdf;display:flex;align-items:center;gap:5px;white-space:nowrap;position:relative;z-index:1}
.wa-online i{width:7px;height:7px;background:#25D366;border-radius:50%;box-shadow:0 0 0 4px rgba(37,211,102,.10)}
.wa-popover-body{padding:17px 16px 15px}
.wa-kicker{display:block;color:#078d49;font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:800;margin-bottom:5px}
.wa-popover-body h3{font-family:Manrope,Inter,sans-serif;font-size:19px;line-height:1.1;letter-spacing:-.025em;margin:0 0 7px;color:#0b1719}
.wa-popover-body>p{font-size:12.5px;line-height:1.48;color:#5f6d70;margin:0 0 14px}
.wa-agent{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;background:#f4f7f7;border:1px solid #e5ebeb;border-radius:12px;padding:9px 10px;transition:.22s ease}
.wa-agent:hover{background:#effbf4;border-color:rgba(37,211,102,.35);transform:translateY(-1px)}
.wa-agent-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;box-shadow:0 5px 14px rgba(37,211,102,.18)}
.wa-agent-copy{display:flex;flex-direction:column;min-width:0}
.wa-agent-copy strong{font-size:13px;color:#162325;line-height:1.15}
.wa-agent-copy small{font-size:10.5px;color:#889496;margin-top:3px}
.wa-agent-action{display:flex;align-items:center;gap:4px;color:#087d42;font-size:10px;font-weight:800;white-space:nowrap}
.wa-response{display:block;margin:10px 2px 0;color:#8a9698;font-size:9.5px;text-align:center}
.floating-wa{position:relative!important;right:auto!important;bottom:auto!important;width:58px!important;height:58px!important;border:0;border-radius:50%;background:#25D366!important;color:#fff;display:grid;place-items:center;box-shadow:0 15px 34px rgba(4,75,43,.24);transition:transform .22s ease,background .22s ease,box-shadow .22s ease}
.floating-wa:hover{transform:translateY(-3px) scale(1.025);background:#20c85d!important;box-shadow:0 18px 38px rgba(4,75,43,.30)}
.floating-wa:focus-visible,.wa-popover-close:focus-visible,.wa-agent:focus-visible{outline:3px solid rgba(37,211,102,.28);outline-offset:3px}
.floating-wa .brand-icon-whatsapp{transition:transform .2s ease}
.wa-widget.is-open .floating-wa .brand-icon-whatsapp{transform:scale(.88)}
.wa-widget.is-open .floating-wa:after{content:"×";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:27px;font-weight:300;background:#20c85d;border-radius:50%}
.wa-widget.is-open .floating-wa>.brand-icon-whatsapp{opacity:0}
.floating-wa span{display:none!important}

@media(max-width:560px){
  .wa-widget{right:14px;bottom:14px}
  .wa-popover{width:min(318px,calc(100vw - 28px));bottom:66px;border-radius:16px}
  .wa-popover-head{min-height:68px;padding:13px 44px 13px 14px;grid-template-columns:38px 1fr auto}
  .wa-brandmark{width:38px;height:38px}
  .wa-popover-body{padding:15px 14px 14px}
  .wa-popover-body h3{font-size:18px}
  .wa-agent{grid-template-columns:40px 1fr auto;padding:8px 9px}
  .wa-agent-avatar{width:40px;height:40px}
  .floating-wa{width:54px!important;height:54px!important}
}

@media(prefers-reduced-motion:reduce){
  .wa-popover,.wa-agent,.floating-wa,.wa-popover-close{transition:none!important}
}


/* === V1.4 · Header logo visibility polish === */
@media (min-width:1101px){
  .site-header .brand{width:208px;min-width:208px;height:68px}
  .site-header .brand img{width:auto;height:68px;max-width:208px;max-height:none}
}
@media (min-width:821px) and (max-width:1100px){
  .site-header .brand{width:190px;min-width:190px}
  .site-header .brand img{width:auto;height:62px;max-width:190px;max-height:none}
}
@media (max-width:820px){
  .site-header .brand{width:180px}
  .site-header .brand img{width:auto;height:54px;max-width:180px;max-height:none}
}


/* === V1.5 · Authority / sales proof layer === */
.authority-section{padding:72px 0 68px;background:linear-gradient(180deg,#f7f9f9 0%,#fff 100%);border-top:1px solid #edf1f1}
.authority-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.7fr);gap:56px;align-items:end;margin-bottom:28px}
.authority-head h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.045em;margin:0;max-width:780px}
.authority-head h2 em{font-style:normal;color:var(--green)}
.authority-head>p{margin:0;color:#647174;font-size:15px;line-height:1.65;max-width:520px;justify-self:end}
.authority-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.authority-card{position:relative;height:420px;border-radius:16px;overflow:hidden;background:#0a1719;box-shadow:0 14px 36px rgba(13,35,31,.10)}
.authority-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.authority-card:hover img{transform:scale(1.035)}
.authority-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,17,18,.04) 22%,rgba(7,17,18,.38) 55%,rgba(7,17,18,.94) 100%)}
.authority-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--green),transparent 68%)}
.authority-content{position:absolute;left:0;right:0;bottom:0;padding:30px 28px 28px;color:#fff;z-index:2}
.authority-content>span{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;background:rgba(4,200,92,.92);font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;margin-bottom:11px}
.authority-content h3{font-family:Manrope,Inter,sans-serif;font-size:24px;line-height:1.06;letter-spacing:-.03em;margin:0 0 9px;max-width:320px}
.authority-content p{font-size:12.5px;line-height:1.55;color:#d6dfdf;margin:0;max-width:330px}
.capability-rail{margin-top:16px;min-height:54px;border:1px solid #e3eaea;border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;gap:19px;padding:12px 20px;color:#203033;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;box-shadow:0 8px 24px rgba(13,35,31,.04)}
.capability-rail i{display:block;width:4px;height:4px;background:var(--green);border-radius:50%}
.footer-coverage{display:flex!important;align-items:center;gap:7px;color:#b9c7c8!important;font-size:11px!important;margin-top:13px!important}
.footer-coverage .icon{color:var(--green)}

@media(max-width:900px){
  .authority-head{grid-template-columns:1fr;gap:14px;align-items:start}
  .authority-head>p{justify-self:start;max-width:720px}
  .authority-grid{grid-template-columns:1fr 1fr}
  .authority-card:last-child{grid-column:1/3;height:360px}
}
@media(max-width:560px){
  .authority-section{padding:54px 0 50px}
  .authority-grid{grid-template-columns:1fr}
  .authority-card,.authority-card:last-child{grid-column:auto;height:330px}
  .authority-content{padding:24px 22px 22px}
  .authority-content h3{font-size:22px}
  .capability-rail{justify-content:flex-start;overflow-x:auto;white-space:nowrap;scrollbar-width:none;padding-left:16px;padding-right:16px}
  .capability-rail::-webkit-scrollbar{display:none}
}

.mobile-nav-cta{display:none!important}

/* =========================================================
   AGMIDTEC V01.6 · MOBILE-FIRST POLISH
   Target: 320–820 px. Designed from the real mobile recording.
   ========================================================= */
@media (max-width:820px){
  html{scroll-padding-top:66px}
  body{overflow-x:hidden}
  .shell{width:calc(100% - 28px)}

  /* Header: compact, native-feeling, larger readable logo */
  .site-header,.site-header.scrolled{height:66px;background:rgba(5,17,19,.985);backdrop-filter:blur(16px);box-shadow:0 8px 28px rgba(0,0,0,.12)}
  .nav-shell{gap:12px}
  .site-header .brand{width:112px;min-width:112px;height:66px;overflow:visible}
  .site-header .brand img{width:112px;height:auto;max-width:none;max-height:none;object-fit:contain;transform:scale(1.04);transform-origin:left center}
  .nav-toggle{display:flex;width:44px;height:44px;padding:11px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border-radius:12px;background:rgba(255,255,255,.035);position:relative;z-index:2}
  .nav-toggle span{width:21px;height:2px;margin:0;transition:transform .22s ease,opacity .18s ease;background:#e9efef}
  .nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-open .nav-toggle span:nth-child(2){opacity:0}
  .nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .main-nav{top:66px;padding:18px 18px calc(28px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#071315 0%,#09191b 100%);transform:translateX(105%);box-shadow:-22px 0 50px rgba(0,0,0,.24)}
  .main-nav a{padding:17px 8px;border-bottom:1px solid rgba(255,255,255,.075);font-size:16px;font-weight:700}
  .main-nav a.active{color:var(--green)}
  .main-nav .mobile-nav-cta{display:flex!important;margin-top:18px;border:1px solid rgba(37,211,102,.38);border-radius:13px;background:rgba(37,211,102,.10);color:#fff!important;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 16px}
  .main-nav .mobile-nav-cta .icon{color:#25D366}

  /* Hero: one composed scene, no abrupt image/text cut */
  .hero,.hero-home,.hero-inner{padding-top:66px;min-height:0;height:auto}
  .hero{padding-bottom:0}
  .hero-photo{inset:66px 0 0 0!important;background-size:cover!important;background-position:64% top!important;opacity:1!important;-webkit-mask-image:none!important;mask-image:none!important}
  .hero-home .hero-photo{background-position:63% top!important}
  .page-servicios .hero-photo{background-position:60% top!important}
  .hero-projects .hero-photo{background-position:60% top!important}
  .hero-contact .hero-photo{background-position:61% top!important}
  .hero-overlay{background:
    linear-gradient(180deg,rgba(4,15,17,.08) 0%,rgba(4,15,17,.22) 18%,rgba(4,15,17,.72) 43%,#071213 67%,#071213 100%),
    linear-gradient(90deg,rgba(7,18,19,.56) 0%,rgba(7,18,19,.12) 78%)!important}
  .hero-grid{display:block;min-height:0}
  .hero-copy,.hero-inner .hero-copy{padding:205px 0 34px!important;max-width:none}
  .hero-copy .eyebrow{font-size:8.5px;line-height:1.45;letter-spacing:.22em;margin-bottom:10px;max-width:310px}
  .hero-copy h1,.hero-inner .hero-copy h1{font-size:clamp(34px,10.2vw,41px)!important;line-height:.98!important;letter-spacing:-.045em;max-width:350px!important}
  .hero-lead{font-size:13.5px;line-height:1.52;margin:16px 0 18px;color:#e7eeee;max-width:345px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:9px;width:100%}
  .hero-actions .btn{width:100%;min-height:48px;border-radius:10px;font-size:12.5px}
  .hero-points{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin-top:18px;font-size:10px;line-height:1.2}
  .hero-points span{gap:7px;min-width:0}
  .hero-points span:last-child:nth-child(odd){grid-column:1/3}
  .hero-points.big{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}
  .hero-points.big span,.hero-points.big span:last-child:nth-child(odd){grid-column:auto;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding-right:4px}
  .hero-points.big .icon{width:20px;height:20px}
  .hero-points.big b{font-size:10px}.hero-points.big small{font-size:8.5px}
  .hero-stamp{display:none!important}

  /* Value strip: tighter, elegant three-column rail */
  .value-grid{min-height:66px;height:auto;padding:10px 0}
  .value-grid>div{flex-direction:column;gap:5px;font-size:11px;line-height:1}
  .value-grid .icon{width:22px;height:22px}
  .value-grid>div+div{border-left:1px solid rgba(255,255,255,.14)}

  /* Global mobile rhythm */
  .section{padding:46px 0}
  .section h2,.process-band h2,.metrics-band h2,.case-study h2,.cta-band h2{font-size:clamp(30px,9vw,36px);line-height:1.01;letter-spacing:-.04em}
  .section-heading>p:last-child,.section-row>p{font-size:13px;line-height:1.55}
  .eyebrow.dark{font-size:8.5px;letter-spacing:.22em}
  .section-row{display:block;margin-bottom:22px}
  .section-row>p{margin:12px 0 15px;max-width:100%}
  .section-row .btn{width:100%;min-height:45px;margin-top:2px}

  /* Why AGMIDTEC: swipeable cards instead of a very long stack */
  .why-layout,.trust-layout{display:block}
  .why-cards,.trust-cards{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:84%;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;padding:4px 14px 14px 0;margin:18px -14px 0 0;scrollbar-width:none}
  .why-cards::-webkit-scrollbar,.trust-cards::-webkit-scrollbar{display:none}
  .why-card,.trust-cards article{scroll-snap-align:start;min-height:190px;border-radius:14px;padding:21px 18px}
  .why-card h3{margin:14px 0 8px;font-size:17px}.why-card p{font-size:12px;line-height:1.5}
  .trust-cards h3{font-size:15px}.trust-cards p{font-size:11.5px}

  /* Services: horizontal swipe rail; icon remains floating on image/text seam */
  .services-preview{overflow:hidden}
  .service-grid.compact-grid,.service-grid.full-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:84%;gap:12px;overflow-x:auto;scroll-snap-type:inline mandatory;overscroll-behavior-inline:contain;padding:6px 14px 18px 0;margin-right:-14px;scrollbar-width:none}
  .service-grid.compact-grid::-webkit-scrollbar,.service-grid.full-grid::-webkit-scrollbar{display:none}
  .service-grid .service-card,.service-grid .service-pitch{scroll-snap-align:start}
  .service-card{min-width:0}
  .card-media{height:190px;border-radius:14px 14px 0 0}
  .card-media img{border-radius:14px 14px 0 0}
  .service-icon{left:16px;bottom:-22px;width:45px;height:45px;border-width:3px}
  .card-body,.service-card.detailed .card-body{min-height:174px;padding:31px 17px 18px;border-radius:0 0 14px 14px}
  .card-body h3{font-size:17px;margin-bottom:8px}.card-body p{font-size:12px;line-height:1.5}
  .service-card.detailed .card-body{display:flex;flex-direction:column;min-height:225px}
  .mini-link{margin-top:auto;min-height:41px;font-size:11px}
  .service-pitch{min-height:415px;padding:24px;border-radius:14px}
  .service-pitch h3{font-size:26px;margin-bottom:10px}.service-pitch p{font-size:12.5px;line-height:1.55}

  /* Home project cards become a visual swipe rail */
  .home-projects{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:88%;gap:12px;overflow-x:auto;scroll-snap-type:inline mandatory;overscroll-behavior-inline:contain;margin-right:-14px;padding-right:14px;padding-bottom:8px;scrollbar-width:none}
  .home-projects::-webkit-scrollbar{display:none}
  .home-projects .project-card{scroll-snap-align:start;height:255px}

  /* Authority: premium editorial swipe cards */
  .authority-section{padding:48px 0 46px;overflow:hidden}
  .authority-head{display:block;margin-bottom:20px}
  .authority-head h2{font-size:clamp(30px,9vw,36px);line-height:1.02}
  .authority-head>p{font-size:13px;line-height:1.55;margin-top:12px}
  .authority-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:88%;gap:12px;overflow-x:auto;scroll-snap-type:inline mandatory;overscroll-behavior-inline:contain;margin-right:-14px;padding-right:14px;padding-bottom:8px;scrollbar-width:none}
  .authority-grid::-webkit-scrollbar{display:none}
  .authority-card,.authority-card:last-child{grid-column:auto!important;height:355px;scroll-snap-align:start;border-radius:15px}
  .authority-content{padding:24px 20px 21px}.authority-content h3{font-size:22px}.authority-content p{font-size:12px}
  .capability-rail{margin-top:12px;justify-content:flex-start;overflow-x:auto;white-space:nowrap;padding:11px 14px;font-size:9px;gap:13px;scrollbar-width:none}
  .capability-rail::-webkit-scrollbar{display:none}

  /* Metrics: clear 2x2 cards, no cramped desktop dividers */
  .metrics-band{padding:36px 0}
  .metrics-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:1px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.10);border-radius:14px;overflow:hidden}
  .metrics-intro{grid-column:1/3!important;padding:22px 18px 20px;background:rgba(5,18,20,.88)}
  .metrics-intro h2{font-size:31px}
  .metric{min-height:116px;border:0!important;padding:17px 15px!important;background:rgba(8,25,27,.82)}
  .metric .icon{width:22px;height:22px}.metric strong{font-size:17px;line-height:1.15}.metric small{font-size:10px;line-height:1.35;margin-top:4px}

  /* CTA: remove desktop diagonal split that breaks on narrow screens */
  .cta-band{min-height:0!important;padding:36px 0 34px!important;background:radial-gradient(circle at -8% 116%,rgba(4,200,92,.42),transparent 30%),linear-gradient(150deg,#0a191b 0%,#0d2022 100%)!important;color:#fff!important}
  .cta-band:before{width:170px;height:170px;left:-92px;bottom:-90px;opacity:.56}
  .cta-band:after{display:none!important}
  .cta-grid{display:block!important}
  .cta-grid>div:first-child{margin-bottom:20px}
  .cta-grid h2{font-size:clamp(30px,9vw,36px)!important;max-width:340px}
  .cta-grid>div:last-child{padding:16px!important;color:#e5eded!important;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);border-radius:14px}
  .cta-grid>div:last-child p{font-size:12.5px;line-height:1.5;margin:0 0 13px}
  .cta-grid .hero-actions{gap:8px}
  .cta-grid .btn{width:100%;min-height:46px;font-size:11.5px}

  /* Footer: structured mobile layout, not four squeezed desktop columns */
  .site-footer{padding-top:0}
  .footer-top{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:24px 0 12px!important}
  .footer-top>div{min-height:0!important;padding:18px 10px!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.09)}
  .footer-top>div:first-child{grid-column:1/3;padding:6px 0 22px!important;border-top:0!important}
  .footer-top>div:nth-child(2){padding-left:0!important;padding-right:12px!important}
  .footer-top>div:nth-child(3){padding-left:12px!important;padding-right:0!important;border-left:1px solid rgba(255,255,255,.09)!important}
  .footer-top>div:last-child{grid-column:1/3!important;padding:22px 0 10px!important;margin:0!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.09)!important}
  .footer-brand img{width:164px!important;height:auto!important;max-height:none!important;margin:0 0 8px!important}
  .footer-brand p{max-width:305px;font-size:11.5px;line-height:1.55;margin:6px 0}
  .footer-top h4{font-size:12px;margin:0 0 13px;padding-bottom:7px}
  .footer-top a,.footer-top span{font-size:10.5px!important;line-height:1.4}
  .footer-top>div:not(.footer-brand) a,.footer-top>div:not(.footer-brand)>span{margin:7px 0}
  .footer-top>div:last-child p{font-size:11.5px;line-height:1.55;max-width:315px;margin:0 0 8px}
  .footer-wa{font-size:11px!important;display:inline-flex!important}
  .footer-bottom{padding:14px 0 calc(18px + env(safe-area-inset-bottom))!important;font-size:9px;display:block!important}
  .footer-bottom span:last-child{display:none!important}

  /* Projects page */
  .project-value-strip .shell{display:flex!important;gap:0!important;padding:0!important;overflow-x:auto;scroll-snap-type:inline mandatory;scrollbar-width:none}
  .project-value-strip .shell::-webkit-scrollbar{display:none}
  .project-value-strip span{min-width:72%;padding:14px 8px;scroll-snap-align:start;font-size:11px}
  .projects-page{grid-template-columns:1fr!important;gap:12px}
  .project-tile{min-height:0;border-radius:13px}.tile-image{height:205px}.tile-body{min-height:148px;padding:15px 16px 17px}.tile-body h3{font-size:17px}.tile-body p{font-size:11.5px}
  .filters{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:inline mandatory;padding:0 14px 8px 0;margin:0 -14px 18px 0;scrollbar-width:none}
  .filters::-webkit-scrollbar{display:none}.filters button{flex:0 0 auto;scroll-snap-align:start}
  .case-study{padding:42px 0}.case-grid{display:block}.case-photo{margin-bottom:28px}.case-columns{display:block}.case-columns>div{border:0!important;border-top:1px solid #e4eaea!important;padding:15px 0 0!important;margin-top:15px}.case-copy h2{font-size:31px}.mini-thumbs img{width:64px;height:48px}

  /* Services process: compact 2x2 system, not an endless vertical list */
  .process-band{padding:38px 0 32px}
  .process-head{display:block}.process-head h2{font-size:32px}.process-head>p{font-size:12px;line-height:1.5;margin-bottom:0}
  .steps{display:grid!important;grid-template-columns:1fr 1fr!important;gap:1px;margin-top:22px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.10);border-radius:13px;overflow:hidden}
  .steps article,.steps article+article{display:block;padding:17px 14px!important;border:0!important;background:rgba(5,19,21,.84);min-height:155px}
  .steps b{display:block;font-size:13px}.steps .icon{margin:7px 0 2px}.steps h3{font-size:14px;margin:4px 0}.steps p{font-size:10.5px;line-height:1.45;margin:0}

  /* Contact */
  .contact-grid{gap:28px}.contact-copy h2{font-size:34px}.contact-copy>p{font-size:13px;line-height:1.55}.contact-list{margin:20px 0}
  .lead-card{border-radius:14px;box-shadow:0 12px 34px rgba(6,26,22,.10)}
  .lead-card-head{padding:16px}.lead-card-head h3{font-size:18px}.lead-card-head p{font-size:10.5px}
  .lead-form{padding:16px!important;gap:13px!important}.lead-form label{font-size:11px}.lead-form input,.lead-form select,.lead-form textarea{font-size:13px}
  .reassurance{padding:0 0 40px}.reassurance-grid{grid-template-columns:1fr!important;gap:9px}.reassurance-grid article{padding:15px!important}
  .location-faq{padding-top:44px}.two-col{gap:34px}.two-col h2{font-size:31px}.google-map-wrap{height:260px;border-radius:13px}.google-map-wrap .map-pin-card{left:50%;top:50%;min-width:205px;transform:translate(-50%,-50%);padding:10px 12px}
  .faq details{margin:8px 0}.faq summary{font-size:12px;padding-top:13px;padding-bottom:13px}
  .metrics-band.mini .value-grid{display:grid;grid-template-columns:repeat(3,1fr);border:0;background:transparent}.metrics-band.mini .value-grid>div{min-width:0;padding:7px 3px}.metrics-band.mini small{font-size:8px;margin:0;line-height:1.25}

  /* Floating WhatsApp respects mobile safe area */
  .wa-widget{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .wa-popover{width:min(318px,calc(100vw - 24px));right:0;bottom:64px}
}

@media (max-width:390px){
  .shell{width:calc(100% - 24px)}
  .site-header .brand{width:105px;min-width:105px}.site-header .brand img{width:105px}
  .hero-copy,.hero-inner .hero-copy{padding-top:194px!important}
  .hero-copy h1,.hero-inner .hero-copy h1{font-size:35px!important}
  .why-cards,.trust-cards,.service-grid.compact-grid,.service-grid.full-grid{grid-auto-columns:88%}
  .home-projects,.authority-grid{grid-auto-columns:91%}
  .footer-top a,.footer-top span{font-size:10px!important}
}

/* =========================================================
   AGMIDTEC V01.7 · MOBILE MENU — COMPLETE DRAWER
   Separate mobile navigation so every link remains visible,
   scrollable and independent from the desktop navigation.
   ========================================================= */
.mobile-menu,.mobile-menu-backdrop{display:none}

@media (max-width:820px){
  /* Desktop navigation never leaks into the mobile header. */
  .site-header .main-nav{display:none!important}
  .site-header .btn-nav{display:none!important}

  .mobile-menu-backdrop{
    display:block;
    position:fixed;
    left:0;right:0;top:66px;bottom:0;
    height:calc(100dvh - 66px);
    background:rgba(0,0,0,.52);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .24s ease,visibility .24s ease;
    z-index:101;
  }
  .mobile-menu{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:66px;right:0;bottom:auto;
    width:min(88vw,360px);
    height:calc(100dvh - 66px);
    max-height:calc(100dvh - 66px);
    min-height:0;
    color:#eef4f4;
    background:linear-gradient(180deg,#071416 0%,#091b1d 100%);
    border-left:1px solid rgba(255,255,255,.08);
    box-shadow:-24px 0 60px rgba(0,0,0,.32);
    transform:translate3d(102%,0,0);
    visibility:hidden;
    pointer-events:none;
    transition:transform .28s cubic-bezier(.2,.8,.2,1),visibility .28s ease;
    overflow:hidden;
    z-index:102;
  }
  .nav-open .mobile-menu-backdrop{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .nav-open .mobile-menu{
    transform:translate3d(0,0,0);
    visibility:visible;
    pointer-events:auto;
  }

  .mobile-menu__scroll{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:22px 20px 18px;
  }
  .mobile-menu__eyebrow{
    color:#738386;
    font-size:9px;
    font-weight:800;
    letter-spacing:.22em;
    text-transform:uppercase;
    margin:0 0 10px;
  }
  .mobile-menu__links{display:block}
  .mobile-menu__links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:55px;
    padding:0 2px;
    border-bottom:1px solid rgba(255,255,255,.085);
    color:#f4f7f7;
    font-family:Manrope,Inter,sans-serif;
    font-size:18px;
    font-weight:700;
    letter-spacing:-.025em;
  }
  .mobile-menu__links a span{min-width:0}
  .mobile-menu__links a b{
    color:#647477;
    font-family:Inter,sans-serif;
    font-size:9px;
    font-weight:700;
    letter-spacing:.08em;
  }
  .mobile-menu__links a.active{color:var(--green)}
  .mobile-menu__links a.active b{color:var(--green)}

  .mobile-menu__footer{
    flex:0 0 auto;
    padding:15px 18px calc(15px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(255,255,255,.09);
    background:rgba(4,15,17,.94);
  }
  .mobile-menu__wa{
    min-height:58px;
    padding:10px 12px;
    border-radius:13px;
    background:#25D366;
    color:#fff;
    display:grid;
    grid-template-columns:28px 1fr 18px;
    align-items:center;
    gap:9px;
    box-shadow:0 12px 28px rgba(37,211,102,.16);
  }
  .mobile-menu__wa>svg:first-child{width:23px;height:23px}
  .mobile-menu__wa>span{display:flex;flex-direction:column;line-height:1.08}
  .mobile-menu__wa small{font-size:9px;font-weight:600;opacity:.86;margin-bottom:3px}
  .mobile-menu__wa strong{font-size:13px;font-weight:800}
  .mobile-menu__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    flex-wrap:wrap;
    padding:11px 2px 0;
    color:#91a0a2;
  }
  .mobile-menu__meta span,.mobile-menu__meta a{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:8.5px;
    line-height:1.25;
  }
  .mobile-menu__meta svg{color:var(--green);width:13px;height:13px}

  /* Keep the close icon and panel above all page content. */
  .site-header .nav-toggle{z-index:104}
  .nav-open .nav-toggle{background:rgba(255,255,255,.08)}
}

@media (max-width:390px){
  .mobile-menu{width:min(91vw,350px)}
  .mobile-menu__scroll{padding:18px 17px 14px}
  .mobile-menu__links a{min-height:51px;font-size:17px}
  .mobile-menu__footer{padding-left:15px;padding-right:15px}
}

@media (max-height:600px) and (max-width:820px){
  .mobile-menu__scroll{padding-top:12px;padding-bottom:10px}
  .mobile-menu__eyebrow{margin-bottom:5px}
  .mobile-menu__links a{min-height:44px;font-size:16px}
  .mobile-menu__footer{padding-top:10px}
  .mobile-menu__wa{min-height:50px}
  .mobile-menu__meta{display:none}
}


/* =========================================================
   AGMIDTEC V01.8 · MOBILE MENU — COMPACT FLOATING CARD
   Replaces the oversized full-height drawer with a lighter,
   premium floating menu that still keeps every navigation item.
   ========================================================= */
@media (max-width:820px){
  .mobile-menu-backdrop{
    top:66px;
    height:calc(100dvh - 66px);
    background:rgba(0,0,0,.38);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
  }

  .mobile-menu{
    top:76px;
    right:12px;
    bottom:auto;
    width:min(calc(100vw - 24px),336px);
    height:auto;
    max-height:calc(100dvh - 92px);
    border:1px solid rgba(255,255,255,.1);
    border-radius:22px;
    background:
      radial-gradient(circle at 100% 0%,rgba(0,200,92,.08),transparent 36%),
      linear-gradient(180deg,#081719 0%,#071416 100%);
    box-shadow:0 24px 70px rgba(0,0,0,.38);
    transform:translate3d(0,-12px,0) scale(.975);
    transform-origin:top right;
    opacity:0;
    overflow:hidden;
  }
  .nav-open .mobile-menu{
    transform:translate3d(0,0,0) scale(1);
    opacity:1;
  }

  .mobile-menu__scroll{
    flex:0 1 auto;
    max-height:calc(100dvh - 205px);
    overflow-y:auto;
    padding:15px 16px 6px;
  }
  .mobile-menu__eyebrow{
    font-size:8px;
    letter-spacing:.2em;
    margin:1px 4px 6px;
    color:#718184;
  }

  .mobile-menu__links{
    display:grid;
    gap:1px;
  }
  .mobile-menu__links a{
    min-height:44px;
    padding:0 5px;
    border-bottom:1px solid rgba(255,255,255,.07);
    gap:12px;
    font-size:15.5px;
    letter-spacing:-.018em;
  }
  .mobile-menu__links a:last-child{border-bottom:0}
  .mobile-menu__links a b{
    font-size:8px;
    opacity:.8;
  }

  .mobile-menu__footer{
    padding:10px 12px calc(11px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(255,255,255,.07);
    background:rgba(4,15,17,.8);
  }
  .mobile-menu__wa{
    min-height:48px;
    padding:8px 10px;
    border-radius:14px;
    grid-template-columns:24px 1fr 16px;
    gap:8px;
    box-shadow:0 8px 22px rgba(37,211,102,.13);
  }
  .mobile-menu__wa>svg:first-child{width:20px;height:20px}
  .mobile-menu__wa small{
    font-size:7.5px;
    margin-bottom:2px;
    letter-spacing:.01em;
  }
  .mobile-menu__wa strong{
    font-size:12px;
    line-height:1.05;
  }

  .mobile-menu__meta{
    padding:8px 3px 0;
    justify-content:flex-start;
    gap:12px;
  }
  .mobile-menu__meta span{
    font-size:8px;
  }
  .mobile-menu__meta a{
    display:none;
  }

  .site-header .nav-toggle{
    width:40px;
    height:40px;
    border-radius:13px;
  }
  .nav-open .nav-toggle{
    background:rgba(255,255,255,.075);
  }
}

@media (max-width:390px){
  .mobile-menu{
    right:10px;
    width:calc(100vw - 20px);
    max-width:328px;
    border-radius:20px;
  }
  .mobile-menu__scroll{
    padding:13px 14px 5px;
  }
  .mobile-menu__links a{
    min-height:42px;
    font-size:15px;
  }
  .mobile-menu__footer{
    padding-left:10px;
    padding-right:10px;
  }
}

@media (max-height:650px) and (max-width:820px){
  .mobile-menu{
    top:72px;
    max-height:calc(100dvh - 82px);
  }
  .mobile-menu__scroll{
    max-height:calc(100dvh - 175px);
    padding-top:10px;
  }
  .mobile-menu__eyebrow{display:none}
  .mobile-menu__links a{
    min-height:39px;
    font-size:14.5px;
  }
  .mobile-menu__footer{padding-top:8px}
  .mobile-menu__meta{display:none}
}


/* =========================================================
   AGMIDTEC V01.9 · MOBILE MOTION CUES + CONTACT CHANNELS
   ========================================================= */

/* Contact: phone and WhatsApp are now independent channels */
.contact-list .contact-channel{
  display:flex;
  align-items:center;
  gap:15px;
}
.contact-list .contact-channel>span:last-child{
  display:flex;
  flex-direction:column;
}
.contact-list .contact-wa-icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#25D366;
}
.contact-list .contact-wa-icon img{
  width:24px;
  height:24px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.contact-list .contact-whatsapp b{color:#0b1819}
.contact-list .contact-whatsapp small{color:#25a95a;font-weight:700}
.contact-wa-button img{
  width:21px;
  height:21px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

/* A JS wrapper provides a light cue at the edge of mobile horizontal rails */
.swipe-cue-wrap{
  position:relative;
  min-width:0;
}
.swipe-edge-halo{
  display:none;
  pointer-events:none;
}

@media (max-width:680px){
  /* Hero proof-points become a seamless auto-moving single line */
  .hero-points.hero-points-marquee{
    display:block!important;
    width:calc(100% + 2px);
    overflow:hidden;
    margin-top:20px;
    padding:3px 0 7px;
    white-space:nowrap;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
  }
  .hero-points-marquee .hero-points-track{
    display:flex;
    width:max-content;
    will-change:transform;
    animation:agmidtecHeroTicker 18s linear infinite;
  }
  .hero-points-marquee .hero-points-group{
    display:flex;
    flex:none;
    align-items:center;
    gap:27px;
    padding-right:27px;
  }
  .hero-points-marquee .hero-points-group>span,
  .hero-points.hero-points-marquee span:last-child:nth-child(odd){
    display:flex!important;
    grid-column:auto!important;
    flex:0 0 auto;
    align-items:center;
    gap:7px;
    min-width:max-content;
    white-space:nowrap;
    font-size:10px;
    line-height:1;
  }
  .hero-points-marquee .icon{
    width:18px;
    height:18px;
  }
  @keyframes agmidtecHeroTicker{
    from{transform:translate3d(0,0,0)}
    to{transform:translate3d(-50%,0,0)}
  }

  /* Subtle animated edge halo: visual invitation to swipe, no text needed */
  .swipe-cue-wrap>.swipe-edge-halo{
    display:block;
    position:absolute;
    z-index:9;
    top:9px;
    right:-2px;
    bottom:9px;
    width:24px;
    border-radius:0 16px 16px 0;
    background:
      radial-gradient(ellipse at 100% 50%,
        rgba(31,224,122,.34) 0%,
        rgba(31,224,122,.15) 32%,
        rgba(31,224,122,0) 72%);
    filter:blur(.15px);
    opacity:.42;
    animation:agmidtecSwipeHalo 2.6s ease-in-out infinite;
    transition:opacity .28s ease;
  }
  .swipe-cue-wrap>.swipe-edge-halo:after{
    content:"";
    position:absolute;
    right:1px;
    top:25%;
    bottom:25%;
    width:1px;
    border-radius:999px;
    background:rgba(53,236,139,.58);
    box-shadow:0 0 8px rgba(37,211,102,.38),0 0 15px rgba(37,211,102,.18);
  }
  .swipe-cue-wrap.at-end>.swipe-edge-halo,
  .swipe-cue-wrap.is-static>.swipe-edge-halo{
    opacity:0!important;
  }
  @keyframes agmidtecSwipeHalo{
    0%,100%{opacity:.24;transform:scaleY(.88)}
    50%{opacity:.62;transform:scaleY(1)}
  }

  .contact-list{
    gap:14px;
  }
  .contact-list .contact-wa-icon{
    width:44px;
    height:44px;
    flex-basis:44px;
  }
  .contact-list .contact-wa-icon img{
    width:23px;
    height:23px;
  }
  .contact-list .contact-channel b{
    font-size:18px;
  }
  .contact-list .contact-channel small{
    font-size:11px;
    margin-top:1px;
  }
  .contact-wa-button img{
    width:20px;
    height:20px;
  }
}

@media (prefers-reduced-motion:reduce){
  .hero-points-marquee .hero-points-track{animation:none!important}
  .swipe-edge-halo{animation:none!important}
}


/* =========================================================
   AGMIDTEC V02.1 · SERVICIOS EN SLIDER + ALTURAS UNIFORMES
   Mantiene el portafolio completo sin romper la composición.
   ========================================================= */
.service-slider{position:relative;min-width:0}
.service-slider .service-track{
  display:grid!important;
  grid-template-columns:none!important;
  grid-auto-flow:column;
  gap:14px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:inline mandatory;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  padding:6px 2px 22px;
}
.service-slider .service-track::-webkit-scrollbar{display:none}
.service-slider-home .service-track{grid-auto-columns:calc((100% - 42px)/4)}
.service-slider-full .service-track{grid-auto-columns:calc((100% - 28px)/3)}
.service-slider .service-card{scroll-snap-align:start;height:100%;min-width:0}
.service-slider .card-media{height:180px}
.service-slider-full .card-media{height:205px}
.service-slider .card-body{
  min-height:205px;
  height:205px;
  display:flex;
  flex-direction:column;
  padding:32px 17px 18px;
}
.service-slider-full .service-card.detailed .card-body{
  min-height:250px;
  height:250px;
  display:flex;
  flex-direction:column;
}
.service-slider .card-body h3{
  min-height:2.28em;
  margin:0 0 10px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.service-slider .card-body p{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.service-slider-home .card-body p{-webkit-line-clamp:4}
.service-slider .mini-link{margin-top:auto}
.service-slider-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.slider-buttons{display:flex;gap:8px;align-items:center}
.slider-btn{
  width:44px;height:44px;border-radius:50%;border:1px solid #cdd9d7;background:#fff;color:#0c3426;
  display:grid;place-items:center;font-size:27px;line-height:1;font-weight:500;transition:.22s ease;
  box-shadow:0 8px 18px rgba(12,42,31,.05)
}
.slider-btn:hover{background:var(--green);border-color:var(--green);color:#fff;transform:translateY(-1px)}
.slider-btn:focus-visible{outline:3px solid rgba(4,200,92,.18);outline-offset:2px}
.service-slider-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;color:#7a8688;font-size:11px;font-weight:800;letter-spacing:.04em}
.service-slider-toolbar>span{text-transform:uppercase;letter-spacing:.12em}

@media(max-width:1100px){
  .service-slider-home .service-track{grid-auto-columns:calc((100% - 28px)/3)}
  .service-slider-full .service-track{grid-auto-columns:calc((100% - 14px)/2)}
}

@media(max-width:820px){
  .services-section-head .service-slider-actions{justify-content:flex-start;margin-top:4px}
  .service-slider-actions>.btn{width:auto;min-width:0;margin:0}
  .service-slider .slider-buttons{display:none}
  .service-slider-toolbar{display:none}
  .service-slider .service-track,
  .service-slider .service-grid.compact-grid,
  .service-slider .service-grid.full-grid{
    grid-auto-columns:84%!important;
    gap:12px;
    padding:6px 14px 18px 0;
    margin-right:-14px;
  }
  .service-slider .card-media,.service-slider-full .card-media{height:190px}
  .service-slider .card-body,
  .service-slider-full .service-card.detailed .card-body{
    min-height:225px;
    height:225px;
    padding:31px 17px 18px;
  }
  .service-slider-home .card-body{min-height:198px;height:198px}
}

@media(max-width:560px){
  .service-slider .service-track,
  .service-slider .service-grid.compact-grid,
  .service-slider .service-grid.full-grid{grid-auto-columns:88%!important}
  .service-slider-actions{width:100%}
  .service-slider-actions>.btn{width:100%}
  .service-slider .card-body h3{font-size:17px}
  .service-slider-home .card-body{min-height:202px;height:202px}
  .service-slider-full .service-card.detailed .card-body{min-height:232px;height:232px}
}


/* =========================================================
   AGMIDTEC V02.2 · flechas solo escritorio + halo de marca
   - Oculta las flechas del slider en móvil/tablet.
   - Refuerza el "peek" del siguiente servicio en móvil.
   - Agrega halo verde de marca a las flechas desktop.
   ========================================================= */

.slider-buttons{
  gap:10px;
}
.slider-btn{
  position:relative;
  overflow:visible;
  border-color:rgba(37,211,102,.22);
  box-shadow:
    0 10px 20px rgba(12,42,31,.08),
    0 0 0 1px rgba(37,211,102,.06),
    0 0 20px rgba(37,211,102,.14);
}
.slider-btn::before{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(37,211,102,.20) 0%, rgba(37,211,102,.10) 35%, rgba(37,211,102,0) 72%);
  z-index:-1;
  transition:opacity .22s ease, transform .22s ease;
}
.slider-btn:hover{
  box-shadow:
    0 12px 24px rgba(12,42,31,.10),
    0 0 0 1px rgba(37,211,102,.12),
    0 0 28px rgba(37,211,102,.24);
}
.slider-btn:hover::before{
  opacity:1;
  transform:scale(1.04);
}
.slider-btn:focus-visible::before{
  opacity:1;
  transform:scale(1.04);
}

@media(max-width:820px){
  /* Flechas solo escritorio */
  .service-slider .slider-buttons,
  .service-slider .slider-btn,
  .service-slider-toolbar .slider-buttons,
  .service-slider-actions .slider-buttons{
    display:none !important;
  }

  /* Que se vea un pedacito claro de la siguiente tarjeta */
  .service-slider .service-track,
  .service-slider .service-grid.compact-grid,
  .service-slider .service-grid.full-grid{
    grid-auto-columns:80% !important;
    padding:6px 22px 18px 0;
    margin-right:-18px;
  }
}
@media(max-width:560px){
  .service-slider .service-track,
  .service-slider .service-grid.compact-grid,
  .service-slider .service-grid.full-grid{
    grid-auto-columns:84% !important;
    padding-right:24px;
    margin-right:-20px;
  }
}


/* =========================================================
   AGMIDTEC V03.0 · ESTRUCTURA COMERCIAL DESDE BRIEF
   ========================================================= */

.hero-v3 .hero-copy{max-width:660px}
.hero-v3 .hero-copy h1{font-size:clamp(42px,4.25vw,68px);max-width:760px;line-height:.99;letter-spacing:-.045em}
.hero-v3 .hero-lead{max-width:650px}
.hero-v3 .hero-stamp{max-width:210px}.hero-rotator{display:inline-block;position:relative;min-width:14ch}.hero-rotator em{display:inline-block;white-space:nowrap}.hero-rotator.is-switching em{opacity:0;transform:translateY(8px)}.hero-rotator em{transition:opacity .35s ease,transform .35s ease}
.section-heading.centered{text-align:center;max-width:790px;margin:0 auto 34px}
.section-heading.centered>p:last-child{max-width:700px;margin-left:auto;margin-right:auto}

/* Proof / trust */
.proof-section{background:#f4f7f6;padding:30px 0 26px;border-bottom:1px solid #e2e9e7}
.proof-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #e1e8e6;border-radius:18px;box-shadow:0 12px 34px rgba(14,41,34,.06);overflow:hidden}
.proof-stats article{min-height:108px;padding:20px 22px;display:flex;align-items:center;gap:14px;position:relative}
.proof-stats article+article:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:1px;background:#e5ecea}
.proof-stats strong{font-family:Manrope,Inter,sans-serif;font-size:32px;line-height:1;color:var(--green);letter-spacing:-.04em;min-width:max-content}
.proof-stats span{font-size:12px;line-height:1.35;font-weight:700;color:#374546}
.client-proof{display:block;padding:23px 6px 0}
.client-proof>p{margin:0 0 14px;color:#788486;font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:800;white-space:nowrap}
.client-logo-marquee{position:relative;overflow:hidden;padding:14px 0;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(249,252,251,.94));border:1px solid #e4ebe8;box-shadow:0 12px 34px rgba(14,41,34,.04)}
.client-logo-marquee:before,.client-logo-marquee:after{content:"";position:absolute;top:0;bottom:0;width:88px;z-index:2;pointer-events:none}
.client-logo-marquee:before{left:0;background:linear-gradient(90deg,#f4f7f6 0%,rgba(244,247,246,0) 100%)}
.client-logo-marquee:after{right:0;background:linear-gradient(270deg,#f4f7f6 0%,rgba(244,247,246,0) 100%)}
.client-logo-track{display:flex;width:max-content;animation:clientLogoMarquee 32s linear infinite}
.client-logo-group{display:flex;align-items:center;gap:16px;padding-right:16px;min-width:max-content}
.client-logo-card{margin:0;min-width:168px;height:96px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.84);border:1px solid rgba(8,27,24,.07);box-shadow:0 10px 26px rgba(12,31,27,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;backdrop-filter:blur(7px)}
.client-logo-card img{max-width:132px;max-height:42px;width:auto;height:auto;object-fit:contain;opacity:.94;mix-blend-mode:multiply}
.client-logo-card figcaption{margin-top:8px;font-family:Manrope,Inter,sans-serif;font-size:10px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#667476}
.client-proof-note{display:block;margin-top:12px;color:#7d898b;font-size:11px;line-height:1.5}
@keyframes clientLogoMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Problem -> benefit */
.pain-section{background:#fff}
.before-after-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.before-after-card{border:1px solid #dfe7e5;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 12px 34px rgba(14,41,34,.055)}
.before-after-card .before,.before-after-card .after{padding:22px 22px 20px;min-height:185px}
.before-after-card .before{background:#f5f7f7}
.before-after-card .after{background:linear-gradient(145deg,#07191b 0%,#0a2420 100%);color:#fff}
.before-after-card small{display:inline-block;font-size:9px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;margin-bottom:10px;color:#738082}
.before-after-card .after small{color:#31dc82}
.before-after-card h3{font-size:18px;line-height:1.12;margin:0 0 10px;letter-spacing:-.03em}
.before-after-card p{font-size:11.5px;line-height:1.55;margin:0;color:#647173}
.before-after-card .after p{color:rgba(255,255,255,.68)}
.transition-arrow{height:34px;display:grid;place-items:center;background:var(--green);color:#fff}
.transition-arrow .icon{transform:rotate(90deg)}

/* Solution families */
.solutions-v3{background:#f5f7f6;overflow:hidden}
.solution-family-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.solution-family{border:1px solid #dce6e3;background:#fff;border-radius:18px;padding:22px;min-height:355px;display:flex;flex-direction:column;box-shadow:0 12px 35px rgba(13,40,33,.05);position:relative;overflow:hidden}
.solution-family.dark-family{background:linear-gradient(155deg,#061719 0%,#0a2520 100%);color:#fff;border-color:#102c29}
.solution-family:after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;right:-55px;top:-62px;background:radial-gradient(circle,rgba(37,211,102,.14),transparent 68%)}
.family-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:#e9fbf1;color:var(--green);margin-bottom:22px}
.dark-family .family-icon{background:rgba(37,211,102,.12);border:1px solid rgba(37,211,102,.18)}
.solution-family>small{font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:#7a8787;margin-bottom:8px}
.dark-family>small{color:#59d996}
.solution-family h3{font-size:21px;line-height:1.08;letter-spacing:-.035em;margin:0 0 10px}
.solution-family>p{font-size:11.5px;line-height:1.55;color:#687476;margin:0 0 18px}
.dark-family>p{color:rgba(255,255,255,.62)}
.service-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.service-tags span{font-size:9px;line-height:1.2;font-weight:750;border-radius:999px;padding:7px 9px;background:#f0f5f3;color:#3d4d4a}
.dark-family .service-tags span{background:rgba(255,255,255,.07);color:#dbe7e4;border:1px solid rgba(255,255,255,.08)}

/* Engagement / offer cards */
.engagement-section{background:#fff}
.engagement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch}
.engagement-card{border:1px solid #dce5e3;border-radius:20px;padding:26px 24px 24px;background:#fff;position:relative;display:flex;flex-direction:column;min-height:500px;box-shadow:0 12px 36px rgba(14,41,34,.055)}
.engagement-card.recommended{background:#07191a;color:#fff;border-color:#10322d;transform:translateY(-8px);box-shadow:0 24px 48px rgba(5,31,27,.16)}
.recommended-label{position:absolute;right:20px;top:17px;background:#24d474;color:#042719;border-radius:999px;padding:7px 10px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.plan-number{font-family:Manrope,sans-serif;color:#b5c0bd;font-size:12px;font-weight:900;margin-bottom:22px}
.recommended .plan-number{color:#65dc9d}
.plan-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:var(--green);margin:0 0 8px}
.engagement-card h3{font-size:25px;line-height:1.06;letter-spacing:-.04em;margin:0 0 18px}
.plan-price{font-size:12px;color:#788485;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid #e4e9e8}
.plan-price strong{display:block;font-family:Manrope,sans-serif;font-size:23px;line-height:1.1;color:#0a1718;margin-top:4px}
.recommended .plan-price{color:rgba(255,255,255,.5);border-color:rgba(255,255,255,.1)}
.recommended .plan-price strong{color:#fff}
.engagement-card ul{list-style:none;margin:0 0 25px;padding:0;display:grid;gap:11px}
.engagement-card li{position:relative;padding-left:20px;font-size:11px;color:#596668;line-height:1.45}
.engagement-card li:before{content:"°";position:absolute;left:0;top:-2px;color:var(--green);font-weight:900;font-size:17px}
.recommended li{color:rgba(255,255,255,.72)}
.engagement-card .btn{margin-top:auto;justify-content:center}

/* Process */
.process-section{background:#07191a;color:#fff;padding:74px 0;overflow:hidden}
.process-head{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:end;margin-bottom:34px}
.process-head h2{font-size:clamp(34px,3.3vw,52px);line-height:1.02;letter-spacing:-.045em;margin:5px 0 0;max-width:700px}
.process-head h2 em{font-style:normal;color:var(--green)}
.process-head>p{margin:0;color:rgba(255,255,255,.56);font-size:12px;line-height:1.6;max-width:400px;justify-self:end}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.12)}
.process-grid article{padding:28px 24px 5px 0;position:relative;min-height:210px}
.process-grid article+article{padding-left:24px;border-left:1px solid rgba(255,255,255,.1)}
.process-grid article>span{font-size:8px;letter-spacing:.16em;color:#48d78e;font-weight:900}
.process-grid i{width:44px;height:44px;border-radius:13px;background:rgba(37,211,102,.1);color:#2cda80;display:grid;place-items:center;font-style:normal;margin:20px 0 17px}
.process-grid h3{font-size:18px;margin:0 0 8px;letter-spacing:-.02em}
.process-grid p{margin:0;color:rgba(255,255,255,.56);font-size:11px;line-height:1.5}

/* Technology differential */
.tech-diff-section{padding:78px 0;background:#f3f6f5}
.tech-diff-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center}
.tech-collage{position:relative;min-height:520px}
.tech-main,.tech-secondary{margin:0;border-radius:20px;overflow:hidden;position:absolute;box-shadow:0 22px 45px rgba(12,39,33,.14)}
.tech-main{left:0;top:0;width:72%;height:430px}
.tech-secondary{right:0;bottom:0;width:48%;height:285px;border:8px solid #f3f6f5}
.tech-main img,.tech-secondary img{width:100%;height:100%;object-fit:cover;display:block}
.tech-badge{position:absolute;left:30px;bottom:20px;background:#07191a;color:#fff;border-radius:16px;padding:17px 20px;max-width:205px;box-shadow:0 18px 34px rgba(4,30,26,.18)}
.tech-badge strong{font-family:Manrope,sans-serif;color:#2dd77f;font-size:25px;display:block;line-height:1}
.tech-badge span{font-size:9px;color:rgba(255,255,255,.65);line-height:1.35;display:block;margin-top:6px}
.tech-copy h2{font-size:clamp(36px,3.5vw,55px);line-height:1.02;letter-spacing:-.045em;margin:6px 0 16px}
.tech-copy h2 em{font-style:normal;color:var(--green)}
.tech-copy>p{color:#5f6d6e;font-size:12px;line-height:1.65;max-width:620px}
.tech-list{display:grid;gap:12px;margin-top:25px}
.tech-list>div{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid #dfe6e4}
.tech-list>div>.icon{color:var(--green);margin-top:2px}
.tech-list span{display:grid;gap:3px}
.tech-list b{font-size:12px}
.tech-list small{font-size:10px;color:#718080;line-height:1.45}
.brand-values{display:flex;align-items:center;gap:13px;margin-top:20px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:9px;color:#253634}
.brand-values i{width:4px;height:4px;border-radius:50%;background:var(--green)}

/* Real projects on home */
.real-projects-section{background:#fff;overflow:hidden}
.real-project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.real-project-card{position:relative;min-height:320px;border-radius:17px;overflow:hidden;background:#07191a}
.real-project-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .45s ease}
.real-project-card:hover img{transform:scale(1.035)}
.real-project-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,15,14,.05) 15%,rgba(3,19,18,.18) 45%,rgba(3,19,18,.94) 100%)}
.real-project-copy{position:absolute;left:0;right:0;bottom:0;padding:22px;color:#fff}
.real-project-copy>span{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(38,214,125,.16);border:1px solid rgba(52,224,137,.2);color:#56e29a;font-size:8px;text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.real-project-copy h3{font-size:20px;line-height:1.08;margin:10px 0 7px;letter-spacing:-.025em}
.real-project-copy p{font-size:10.5px;line-height:1.45;color:rgba(255,255,255,.65);margin:0;max-width:330px}
.real-work-rail{position:relative;overflow:hidden;margin-top:18px;padding:6px 0 2px}
.real-work-rail:before,.real-work-rail:after{content:"";position:absolute;top:0;bottom:0;width:84px;z-index:2;pointer-events:none}
.real-work-rail:before{left:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,0) 100%)}
.real-work-rail:after{right:0;background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,0) 100%)}
.real-work-track{display:flex;width:max-content;animation:realWorkMarquee 34s linear infinite}
.real-work-group{display:flex;gap:12px;padding-right:12px;min-width:max-content}
.real-work-thumb{position:relative;margin:0;width:170px;height:108px;border-radius:14px;overflow:hidden;border:1px solid #dce7e3;background:#081a1c;box-shadow:0 10px 30px rgba(9,28,24,.07)}
.real-work-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.real-work-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,14,13,.02),rgba(1,14,13,.58))}
.real-work-thumb figcaption{position:absolute;left:10px;right:10px;bottom:10px;z-index:1;font-size:9px;line-height:1.2;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#fff}
@keyframes realWorkMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* FAQ home */
.faq-home-section{background:#f4f7f6}
.faq-home-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:56px;align-items:start}
.faq-home-copy{position:sticky;top:110px}
.faq-home-copy h2{font-size:clamp(35px,3.5vw,54px);line-height:1.02;letter-spacing:-.045em;margin:8px 0 16px}
.faq-home-copy h2 em{font-style:normal;color:var(--green)}
.faq-home-copy>p{font-size:12px;color:#697677;line-height:1.6;margin-bottom:22px}
.faq-home-section .faq details{background:#fff;border-radius:13px;margin-bottom:10px;border:1px solid #e0e7e5;padding-left:16px;padding-right:16px}
.cta-final-v3{position:relative;overflow:hidden}
.cta-final-v3:before{content:"";position:absolute;right:-80px;top:-120px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(37,211,102,.18),transparent 68%)}
.footer-hours{font-size:9px!important;color:rgba(255,255,255,.44)!important;margin-top:10px!important}

/* Contact brief add-on */
.contact-hours-card{margin-top:18px;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e0e7e5;border-radius:13px;background:#f7f9f8}
.contact-hours-card>.icon{color:var(--green)}
.contact-hours-card b{font-size:11px}
.contact-hours-card p{font-size:10px;margin:2px 0 0;color:#6d797a}

/* Projects v3 */
.real-projects-page .tile-image{height:230px}
.real-projects-page .tile-image img{object-fit:cover}
.case-study-v3 .case-photo>img{object-fit:cover}

@media(max-width:1100px){
  .solution-family-grid{grid-template-columns:repeat(2,1fr)}
  .proof-stats strong{font-size:28px}.proof-stats article{padding:18px 16px}
  .tech-diff-grid{gap:34px}
  .tech-collage{min-height:470px}.tech-main{height:390px}.tech-secondary{height:245px}
}

@media(max-width:820px){
  .hero-v3 .hero-copy h1{font-size:42px;max-width:95%}
  .proof-section{padding:18px 0 20px}
  .proof-stats{grid-template-columns:repeat(2,1fr);border-radius:15px}
  .proof-stats article{min-height:84px;padding:15px}
  .proof-stats article+article:before{display:none}
  .proof-stats article:nth-child(odd){border-right:1px solid #e5ecea}
  .proof-stats article:nth-child(-n+2){border-bottom:1px solid #e5ecea}
  .proof-stats strong{font-size:25px}.proof-stats span{font-size:10px}
  .client-proof{display:block;padding-top:18px}.client-proof>p{text-align:center;margin-bottom:12px;white-space:normal}.client-logo-card{min-width:146px;height:86px;padding:12px}.client-logo-card img{max-width:110px;max-height:34px}.client-logo-card figcaption{font-size:9px}.client-proof-note{text-align:center;font-size:10px}
  .before-after-grid{grid-template-columns:1fr;gap:11px}.before-after-card{display:grid;grid-template-columns:1fr 28px 1fr}.before-after-card .before,.before-after-card .after{min-height:0;padding:18px}.transition-arrow{height:auto}.transition-arrow .icon{transform:none;width:16px}
  .before-after-card h3{font-size:16px}.before-after-card p{font-size:10px}
  .solution-family-grid,.engagement-grid,.real-project-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:12px;overflow-x:auto;scroll-snap-type:inline mandatory;scrollbar-width:none;padding:5px 19px 18px 0;margin-right:-15px}
  .solution-family-grid::-webkit-scrollbar,.engagement-grid::-webkit-scrollbar,.real-project-grid::-webkit-scrollbar{display:none}
  .solution-family,.engagement-card,.real-project-card{scroll-snap-align:start}
  .solution-family{min-height:325px}.engagement-card{min-height:470px}.engagement-card.recommended{transform:none}
  .process-section{padding:58px 0}.process-head{grid-template-columns:1fr;gap:12px;margin-bottom:25px}.process-head>p{justify-self:start}.process-grid{grid-template-columns:repeat(2,1fr)}.process-grid article{padding:20px 15px 18px 0;min-height:190px}.process-grid article+article{padding-left:15px}.process-grid article:nth-child(3){border-left:0;border-top:1px solid rgba(255,255,255,.1)}.process-grid article:nth-child(4){border-top:1px solid rgba(255,255,255,.1)}
  .tech-diff-section{padding:60px 0}.tech-diff-grid{grid-template-columns:1fr;gap:35px}.tech-collage{min-height:410px;max-width:620px}.tech-main{height:350px;width:75%}.tech-secondary{height:225px}.tech-badge{left:18px;bottom:10px}.tech-copy h2{font-size:40px}
  .real-project-card{min-height:330px}
  .faq-home-grid{grid-template-columns:1fr;gap:26px}.faq-home-copy{position:static}.faq-home-copy h2{font-size:39px}
}

@media(max-width:560px){
  .hero-v3 .hero-copy h1{font-size:38px;line-height:1.01}.hero-v3 .hero-lead{font-size:14px}
  .proof-stats strong{font-size:23px}.proof-stats span{font-size:9px}
  .before-after-card{display:block}.transition-arrow{height:27px}.transition-arrow .icon{transform:rotate(90deg)}
  .solution-family-grid,.engagement-grid,.real-project-grid{grid-auto-columns:88%;padding-right:22px;margin-right:-18px}
  .solution-family{padding:20px;min-height:315px}.solution-family h3{font-size:20px}
  .engagement-card{padding:23px 20px;min-height:455px}.engagement-card h3{font-size:23px}.plan-price strong{font-size:21px}
  .process-grid{grid-template-columns:1fr}.process-grid article,.process-grid article+article{border-left:0;border-top:1px solid rgba(255,255,255,.1);padding:20px 0;min-height:0}.process-grid article:first-child{border-top:0}
  .tech-collage{min-height:350px}.tech-main{width:80%;height:305px}.tech-secondary{width:47%;height:185px;border-width:5px}.tech-badge{padding:13px 15px;max-width:175px}.tech-badge strong{font-size:21px}.tech-copy h2{font-size:36px}
  .real-project-card{min-height:320px}
  .faq-home-copy h2{font-size:36px}
}
.location-faq .contact-hours-card{grid-column:1/-1}


@media (max-width: 1180px){
  .real-project-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 820px){
  .client-logo-marquee:before,.client-logo-marquee:after,.real-work-rail:before,.real-work-rail:after{width:46px}
}
@media (prefers-reduced-motion: reduce){
  .client-logo-track,.real-work-track{animation:none!important}
}


/* =========================================================
   AGMIDTEC V03.1.1 · CLIENT LOGO RAIL PREMIUM
   ========================================================= */
.client-proof-premium{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  align-items:center;
  gap:22px;
  padding:20px 0 0;
}
.client-proof-heading{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.client-proof-heading span{
  font-size:9px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:800;
  color:#8a9697;
}
.client-proof-heading strong{
  font-family:Manrope,Inter,sans-serif;
  font-size:13px;
  line-height:1.18;
  color:#425052;
  letter-spacing:-.02em;
}
.premium-logo-rail{
  position:relative;
  min-width:0;
  height:76px;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(10,43,36,.07);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 28px rgba(13,42,35,.035);
}
.premium-logo-rail:before,
.premium-logo-rail:after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:74px;
  z-index:3;
  pointer-events:none;
}
.premium-logo-rail:before{
  left:0;
  background:linear-gradient(90deg,#f4f7f6 0%,rgba(244,247,246,.82) 24%,rgba(244,247,246,0) 100%);
}
.premium-logo-rail:after{
  right:0;
  background:linear-gradient(270deg,#f4f7f6 0%,rgba(244,247,246,.82) 24%,rgba(244,247,246,0) 100%);
}
.premium-logo-rail .client-logo-track{
  height:100%;
  display:flex;
  align-items:center;
  width:max-content;
  animation:clientLogoMarquee 28s linear infinite;
  will-change:transform;
}
.premium-logo-rail:hover .client-logo-track{
  animation-play-state:paused;
}
.premium-logo-rail .client-logo-group{
  height:100%;
  display:flex;
  align-items:center;
  gap:8px;
  padding-right:8px;
}
.premium-logo-rail .client-logo-card{
  width:132px;
  min-width:132px;
  height:64px;
  margin:0;
  padding:10px 16px;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
}
.premium-logo-rail .client-logo-card img{
  display:block;
  width:auto;
  height:auto;
  max-width:94px;
  max-height:30px;
  object-fit:contain;
  opacity:.48;
  filter:grayscale(1) saturate(0) contrast(.86);
  mix-blend-mode:multiply;
  transition:opacity .25s ease,filter .25s ease,transform .25s ease;
}
.premium-logo-rail .client-logo-card:hover img{
  opacity:.88;
  filter:grayscale(.15) saturate(.65) contrast(.96);
  transform:scale(1.03);
}
/* keep optically square logos from overpowering wide wordmarks */
.premium-logo-rail .client-logo-card img[src*="empaquetadora"]{
  max-width:44px;
  max-height:38px;
}
.premium-logo-rail .client-logo-card img[src*="organicos-palnorte"]{
  max-width:84px;
  max-height:34px;
}
.premium-logo-rail .client-logo-card img[src*="palnorte.png"]{
  max-width:78px;
  max-height:33px;
}
.premium-logo-rail .client-logo-card img[src*="oleonorte"]{
  max-width:50px;
  max-height:34px;
}
.premium-logo-rail .client-logo-card img[src*="veolia"]{
  max-width:94px;
  max-height:25px;
}

@media(max-width:820px){
  .client-proof-premium{
    grid-template-columns:1fr;
    gap:10px;
    padding-top:16px;
  }
  .client-proof-heading{
    text-align:center;
    align-items:center;
  }
  .premium-logo-rail{
    height:66px;
    border-radius:14px;
  }
  .premium-logo-rail:before,.premium-logo-rail:after{width:42px}
  .premium-logo-rail .client-logo-card{
    width:112px;
    min-width:112px;
    height:56px;
    padding:8px 12px;
  }
  .premium-logo-rail .client-logo-card img{
    max-width:80px;
    max-height:27px;
  }
}
@media(prefers-reduced-motion:reduce){
  .premium-logo-rail .client-logo-track{animation:none!important}
}


/* =========================================================
   AGMIDTEC V03.1.2 · SERVICIOS: 6 VISIBLES EN DESKTOP
   ========================================================= */

/* Problem -> benefit: title starts immediately; no redundant "Hoy" label. */
.before-after-card .before > h3:first-child{
  margin-top:0;
}

/* Desktop: 3 columns x 2 rows = 6 services visible at a glance.
   The rail keeps moving horizontally to reveal the remaining services. */
@media (min-width:1101px){
  .service-slider-two-row .service-track{
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 28px)/3)!important;
    column-gap:14px!important;
    row-gap:14px!important;
    align-items:stretch!important;
    padding-bottom:18px!important;
  }
  .service-slider-two-row .service-card{
    height:318px!important;
    min-height:318px!important;
  }
  .service-slider-two-row .card-media{
    height:132px!important;
    min-height:132px!important;
  }
  .service-slider-two-row .service-card.detailed .card-body{
    min-height:186px!important;
    height:186px!important;
    padding:29px 16px 14px!important;
  }
  .service-slider-two-row .card-body h3{
    min-height:2.2em!important;
    margin-bottom:7px!important;
    font-size:17px!important;
    line-height:1.08!important;
  }
  .service-slider-two-row .card-body p{
    -webkit-line-clamp:3!important;
    font-size:11.2px!important;
    line-height:1.45!important;
    margin-bottom:8px!important;
  }
  .service-slider-two-row .mini-link{
    min-height:34px!important;
    padding:7px 10px!important;
    font-size:10px!important;
  }
  .service-slider-two-row .service-icon{
    width:43px!important;
    height:43px!important;
    bottom:-20px!important;
  }
}

/* Medium desktop/tablet landscape: 2 columns x 2 rows = 4 visible. */
@media (min-width:821px) and (max-width:1100px){
  .service-slider-two-row .service-track{
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 14px)/2)!important;
    column-gap:14px!important;
    row-gap:14px!important;
    align-items:stretch!important;
  }
  .service-slider-two-row .service-card{
    height:338px!important;
  }
  .service-slider-two-row .card-media{
    height:145px!important;
  }
  .service-slider-two-row .service-card.detailed .card-body{
    min-height:193px!important;
    height:193px!important;
  }
}

/* Mobile remains a single-row touch slider, with a peek of the next card.
   Arrows remain hidden by the existing mobile rules. */
@media (max-width:820px){
  .service-slider-two-row .service-track{
    grid-template-rows:none!important;
  }
}

/* =========================================================
   AGMIDTEC V03.1.4 · CTA CATÁLOGO DE SERVICIOS · PULSO VIVO
   ========================================================= */
.service-catalog-cta{
  position:relative;
  isolation:isolate;
  overflow:visible!important;
  min-width:186px;
  border-color:rgba(0,198,92,.82)!important;
  background:#fff!important;
  color:#073e28!important;
  font-weight:900!important;
  box-shadow:
    0 10px 24px rgba(0,91,52,.09),
    0 0 0 1px rgba(0,198,92,.08)!important;
  transition:
    transform .22s ease,
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    border-color .22s ease!important;
}
.service-catalog-cta:before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-12px -16px;
  border-radius:22px;
  background:radial-gradient(circle at center,
    rgba(0,211,98,.46) 0%,
    rgba(0,211,98,.24) 32%,
    rgba(0,211,98,.10) 54%,
    rgba(0,211,98,0) 76%);
  filter:blur(7px);
  opacity:.22;
  transform:scale(.96);
  pointer-events:none;
  animation:serviceCtaPulse 1.95s ease-in-out infinite;
}
.service-catalog-cta:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-3px;
  border-radius:inherit;
  border:1px solid rgba(0,211,98,.28);
  box-shadow:
    inset 0 0 18px rgba(0,211,98,.04),
    0 0 0 rgba(0,211,98,0);
  opacity:.6;
  pointer-events:none;
  animation:serviceCtaRing 1.95s ease-in-out infinite;
}
.service-catalog-cta .icon{
  transition:transform .22s ease;
}
.service-catalog-cta:hover{
  transform:translateY(-2px);
  background:var(--green)!important;
  color:#fff!important;
  border-color:var(--green)!important;
  box-shadow:
    0 14px 30px rgba(0,100,58,.18),
    0 0 0 1px rgba(0,211,98,.16),
    0 0 26px rgba(0,211,98,.24)!important;
}
.service-catalog-cta:hover:before{
  animation-duration:1.15s;
  opacity:.65;
}
.service-catalog-cta:hover:after{
  animation-duration:1.15s;
}
.service-catalog-cta:hover .icon{
  transform:translateX(3px);
}
@keyframes serviceCtaPulse{
  0%,100%{
    opacity:.14;
    transform:scale(.955);
    filter:blur(6px);
  }
  25%{
    opacity:.28;
  }
  50%{
    opacity:.95;
    transform:scale(1.055);
    filter:blur(10px);
  }
  75%{
    opacity:.34;
  }
}
@keyframes serviceCtaRing{
  0%,100%{
    opacity:.24;
    transform:scale(.99);
    box-shadow:inset 0 0 10px rgba(0,211,98,.02), 0 0 0 rgba(0,211,98,0);
  }
  50%{
    opacity:.88;
    transform:scale(1.025);
    box-shadow:inset 0 0 16px rgba(0,211,98,.07), 0 0 20px rgba(0,211,98,.20);
  }
}
@media(max-width:820px){
  .service-catalog-cta{
    width:100%;
    min-width:0;
    justify-content:center;
  }
  .service-catalog-cta:before{
    inset:-9px -10px;
    filter:blur(5px);
  }
}
@media(prefers-reduced-motion:reduce){
  .service-catalog-cta:before,
  .service-catalog-cta:after{animation:none!important}
}


/* =========================================================
   AGMIDTEC V03.1.5 · HEADER / SELECTOR PROPIO / CTA BAND
   ========================================================= */

/* Logo más protagonista SIN aumentar el alto del header.
   Sobresale ligeramente y mantiene intacta la navegación. */
.site-header{
  overflow:visible!important;
}
.nav-shell{
  overflow:visible!important;
}
.brand{
  position:relative!important;
  width:178px!important;
  height:100%!important;
  flex:0 0 178px!important;
  overflow:visible!important;
  z-index:3;
}
.brand img{
  position:absolute!important;
  left:0!important;
  top:50%!important;
  width:198px!important;
  max-width:none!important;
  height:74px!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:translateY(-47%)!important;
  pointer-events:none;
}
.site-header.scrolled .brand img{
  height:68px!important;
  transform:translateY(-46%)!important;
}

@media(max-width:820px){
  .brand{
    width:150px!important;
    flex-basis:150px!important;
  }
  .brand img{
    width:169px!important;
    height:64px!important;
    transform:translateY(-47%)!important;
  }
  .site-header.scrolled .brand img{
    height:61px!important;
  }
}

/* CTA de Servicios: el círculo decorativo sube a la zona de texto blanco,
   evitando competir con el énfasis verde del título. */
.cta-band:before{
  left:-88px!important;
  top:-150px!important;
  bottom:auto!important;
  width:295px!important;
  height:280px!important;
  opacity:.64!important;
}
@media(max-width:820px){
  .cta-band:before{
    left:-92px!important;
    top:-105px!important;
    bottom:auto!important;
    width:190px!important;
    height:190px!important;
    opacity:.46!important;
  }
}

/* Selector de servicio propio de AGMIDTEC */
.service-picker-field{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.service-picker-field>label{
  font-size:11px;
  font-weight:700;
  color:#334143;
}
.service-picker-trigger{
  width:100%;
  min-height:46px;
  margin-top:7px;
  padding:0 13px;
  border:1px solid #d5dfdf;
  border-radius:8px;
  background:#fff;
  color:#263336;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  font-size:13px;
  font-weight:600;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.service-picker-trigger:hover{
  border-color:#a9c8b8;
  background:#fcfefd;
}
.service-picker-trigger:focus-visible,
.service-picker-trigger.is-invalid{
  outline:none;
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(4,200,92,.11);
}
.service-picker-trigger svg{
  flex:none;
  color:#496258;
  transition:transform .2s ease;
}
.service-picker-trigger[aria-expanded="true"] svg{
  transform:rotate(180deg);
}

body.service-modal-open{
  overflow:hidden;
}
.service-picker-modal{
  position:fixed;
  inset:0;
  z-index:130;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
}
.service-picker-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.service-picker-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:rgba(4,15,16,.62);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.service-picker-panel{
  position:relative;
  z-index:1;
  width:min(760px,calc(100vw - 42px));
  max-height:min(720px,calc(100dvh - 48px));
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  border-radius:22px;
  background:#fff;
  box-shadow:0 30px 80px rgba(0,0,0,.28);
  transform:translateY(12px) scale(.985);
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
}
.service-picker-modal.is-open .service-picker-panel{
  transform:none;
}
.service-picker-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:22px 24px 18px;
  color:#fff;
  background:
    radial-gradient(circle at 92% 20%,rgba(0,211,98,.20),transparent 30%),
    linear-gradient(135deg,#071719,#0d2521);
}
.service-picker-head span{
  display:block;
  margin-bottom:5px;
  color:#4be58d;
  font-size:9px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.service-picker-head h3{
  margin:0;
  font-family:Manrope,Inter,sans-serif;
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.035em;
}
.service-picker-head p{
  margin:8px 0 0;
  max-width:440px;
  color:#bdc9c9;
  font-size:12px;
  line-height:1.45;
}
.service-picker-close{
  width:38px;
  height:38px;
  flex:none;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  transition:.2s ease;
}
.service-picker-close:hover{
  background:rgba(255,255,255,.12);
  transform:rotate(3deg);
}
.service-picker-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  max-height:520px;
  overflow:auto;
  padding:14px;
  scrollbar-width:thin;
  scrollbar-color:#bfd3ca transparent;
}
.service-picker-option{
  min-width:0;
  min-height:70px;
  padding:12px;
  border:1px solid #e3e9e7;
  border-radius:13px;
  background:#fbfdfc;
  color:#12201f;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 26px;
  gap:10px;
  align-items:center;
  text-align:left;
  transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.service-picker-option:hover{
  transform:translateY(-1px);
  border-color:rgba(4,200,92,.48);
  background:#f5fff9;
  box-shadow:0 9px 20px rgba(12,53,37,.06);
}
.service-option-index{
  width:32px;
  height:32px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#eafbf1;
  color:#079c4b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}
.service-option-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.service-option-copy strong{
  font-size:12px;
  line-height:1.2;
}
.service-option-copy small{
  color:#738083;
  font-size:9.5px;
  line-height:1.3;
}
.service-option-check{
  width:25px;
  height:25px;
  border-radius:50%;
  border:1px solid #d8e3df;
  color:transparent;
  display:grid;
  place-items:center;
}
.service-picker-option.is-selected{
  border-color:var(--green);
  background:#f1fff7;
  box-shadow:0 0 0 2px rgba(4,200,92,.08);
}
.service-picker-option.is-selected .service-option-check{
  color:#fff;
  border-color:var(--green);
  background:var(--green);
}
.service-picker-option.is-selected .service-option-index{
  color:#fff;
  background:var(--green);
}

@media(max-width:680px){
  .service-picker-modal{
    place-items:end center;
    padding:0;
  }
  .service-picker-panel{
    width:100%;
    max-height:82dvh;
    border-radius:22px 22px 0 0;
    transform:translateY(30px);
  }
  .service-picker-head{
    padding:19px 18px 15px;
  }
  .service-picker-head h3{
    font-size:21px;
  }
  .service-picker-options{
    grid-template-columns:1fr;
    max-height:60dvh;
    padding:10px 12px calc(16px + env(safe-area-inset-bottom));
  }
  .service-picker-option{
    min-height:62px;
  }
}
@media(prefers-reduced-motion:reduce){
  .service-picker-panel,
  .service-picker-option,
  .service-picker-trigger svg{transition:none!important}
}


/* =========================================================
   AGMIDTEC V03.1.6 · LIGHTBOX DE PROYECTOS
   ========================================================= */
[data-project-zoom]{
  cursor:zoom-in;
}
.real-project-card[data-project-zoom],
.real-work-thumb[data-project-zoom],
.project-tile .tile-image[data-project-zoom]{
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.real-project-card[data-project-zoom]:hover,
.real-work-thumb[data-project-zoom]:hover,
.project-tile .tile-image[data-project-zoom]:hover{
  filter:brightness(1.025);
}
.real-work-rail:hover .real-work-track{
  animation-play-state:paused;
}
body.project-lightbox-open{
  overflow:hidden;
}
body.project-lightbox-open .real-work-track{
  animation-play-state:paused!important;
}

.project-lightbox{
  position:fixed;
  inset:0;
  z-index:180;
  display:grid;
  place-items:center;
  padding:28px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease,visibility .22s ease;
}
.project-lightbox.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.project-lightbox-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:
    radial-gradient(circle at 50% 42%,rgba(0,190,87,.10),transparent 42%),
    rgba(3,13,14,.76);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
.project-lightbox-shell{
  position:relative;
  z-index:1;
  width:min(1080px,calc(100vw - 56px));
  max-height:calc(100dvh - 56px);
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  background:#071719;
  box-shadow:
    0 34px 95px rgba(0,0,0,.44),
    0 0 0 1px rgba(0,211,98,.05),
    0 0 48px rgba(0,211,98,.09);
  transform:translateY(14px) scale(.975);
  transition:transform .28s cubic-bezier(.2,.8,.2,1);
}
.project-lightbox.is-open .project-lightbox-shell{
  transform:none;
}
.project-lightbox-close{
  position:absolute;
  z-index:4;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#fff;
  background:rgba(5,18,19,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:background .2s ease,transform .2s ease,border-color .2s ease;
}
.project-lightbox-close:hover{
  background:rgba(0,200,92,.92);
  border-color:rgba(0,211,98,.78);
  transform:rotate(3deg);
}
.project-lightbox-media{
  min-height:0;
  height:min(70dvh,720px);
  padding:18px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.045),transparent 45%),
    linear-gradient(145deg,#061214,#091d1d);
}
.project-lightbox-media img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:17px;
  box-shadow:0 20px 55px rgba(0,0,0,.30);
  user-select:none;
}
.project-lightbox-caption{
  position:relative;
  padding:16px 22px 18px;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 100% 50%,rgba(0,211,98,.10),transparent 31%),
    #071719;
}
.project-lightbox-caption span{
  display:block;
  margin-bottom:5px;
  color:#37dc82;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.project-lightbox-caption h3{
  margin:0;
  color:#fff;
  font-family:Manrope,Inter,sans-serif;
  font-size:20px;
  line-height:1.1;
  letter-spacing:-.03em;
}
.project-lightbox-caption p{
  max-width:760px;
  margin:6px 0 0;
  color:#aebbbb;
  font-size:11px;
  line-height:1.45;
}
.project-lightbox-caption p:empty{
  display:none;
}

/* subtle zoom cue without adding textual clutter */
.real-project-card[data-project-zoom]:after,
.real-work-thumb[data-project-zoom]:before,
.project-tile .tile-image[data-project-zoom]:after{
  content:"+";
  position:absolute;
  z-index:8;
  top:10px;
  right:10px;
  width:28px;
  height:28px;
  border:1px solid rgba(255,255,255,.30);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:rgba(3,20,19,.46);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  font-size:18px;
  font-weight:400;
  line-height:1;
  opacity:.72;
  transition:opacity .2s ease,transform .2s ease,background .2s ease;
}
.real-project-card[data-project-zoom]:hover:after,
.real-work-thumb[data-project-zoom]:hover:before,
.project-tile .tile-image[data-project-zoom]:hover:after{
  opacity:1;
  transform:scale(1.08);
  background:rgba(0,195,89,.82);
}
.real-work-thumb[data-project-zoom]{
  position:relative;
}

@media(max-width:680px){
  .project-lightbox{
    padding:12px;
  }
  .project-lightbox-shell{
    width:calc(100vw - 24px);
    max-height:calc(100dvh - 24px);
    border-radius:20px;
  }
  .project-lightbox-media{
    height:66dvh;
    padding:10px;
  }
  .project-lightbox-media img{
    border-radius:13px;
  }
  .project-lightbox-close{
    top:10px;
    right:10px;
    width:38px;
    height:38px;
    border-radius:12px;
  }
  .project-lightbox-caption{
    padding:13px 15px calc(14px + env(safe-area-inset-bottom));
  }
  .project-lightbox-caption h3{
    font-size:17px;
  }
  .project-lightbox-caption p{
    font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce){
  .project-lightbox,
  .project-lightbox-shell{transition:none!important}
}


/* =========================================================
   AGMIDTEC V03.1.7 · LIGHTBOX SOLO EN MÓVIL
   ========================================================= */

/* Desktop/tablet: project images return to normal behavior */
@media(min-width:821px){
  [data-project-zoom]{
    cursor:default!important;
  }
  .real-project-card[data-project-zoom]:after,
  .real-work-thumb[data-project-zoom]:before,
  .project-tile .tile-image[data-project-zoom]:after{
    display:none!important;
  }
}

/* Mobile: keep the subtle zoom cue and custom shell */
@media(max-width:820px){
  [data-project-zoom]{
    cursor:zoom-in!important;
  }
  .real-project-card[data-project-zoom]:after,
  .real-work-thumb[data-project-zoom]:before,
  .project-tile .tile-image[data-project-zoom]:after{
    display:grid!important;
  }
}



/* AGMIDTEC V03.1.8 · EMPRESA */
.company-v1-hero{background:#081516;color:#fff;padding:54px 0 46px;overflow:hidden}.company-v1-hero-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:52px;align-items:center}.company-v1-copy h1{font-family:Manrope,Inter,sans-serif;font-size:clamp(48px,5vw,76px);line-height:.96;letter-spacing:-.055em;margin:0}.company-v1-copy h1 em{font-style:normal;color:#10cb5a}.company-v1-copy>p:not(.eyebrow){max-width:600px;color:#b8c7c4;font-size:16px;margin:20px 0 0}.company-v1-hero-media{height:520px;border-radius:24px;overflow:hidden;position:relative;box-shadow:0 30px 70px rgba(0,0,0,.24)}.company-v1-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,21,22,.16),transparent 55%)}.company-v1-hero-media img{width:100%;height:100%;object-fit:cover}.company-v1-stats{background:#0f2021;color:#fff;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}.company-v1-stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.company-v1-stats article{padding:24px 26px;border-right:1px solid rgba(255,255,255,.08)}.company-v1-stats article:last-child{border-right:0}.company-v1-stats strong{display:block;color:#18cf61;font-size:26px;line-height:1}.company-v1-stats span{display:block;color:#a7b7b4;font-size:11px;line-height:1.45;margin-top:7px}.company-v1-about{background:#fff}.company-v1-about-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:60px;align-items:center}.company-v1-about-media{position:relative;height:520px;border-radius:24px;overflow:hidden;background:#edf1ee}.company-v1-about-media>img{width:100%;height:100%;object-fit:cover}.company-v1-caption{position:absolute;left:18px;bottom:18px;background:rgba(7,23,23,.88);backdrop-filter:blur(8px);color:#fff;padding:13px 16px;border-radius:12px}.company-v1-caption span{display:block;color:#18cf61;font-size:9px;font-weight:900;letter-spacing:.16em}.company-v1-caption strong{display:block;font-size:13px;margin-top:3px}.company-v1-about-copy h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(38px,4.2vw,60px);line-height:1;letter-spacing:-.045em;margin:0 0 16px}.company-v1-about-copy h2 em{font-style:normal;color:#0da94b}.company-v1-about-copy>p:not(.eyebrow){color:#61706d;font-size:14px;line-height:1.65;max-width:650px}.company-v1-pillars{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.company-v1-pillars article{display:flex;gap:11px;align-items:flex-start;border:1px solid #e0e8e2;border-radius:14px;padding:14px;background:#fafcfb}.company-v1-pillars svg{color:#0ca64a;flex:none}.company-v1-pillars h3{font-size:13px;margin:0 0 4px}.company-v1-pillars p{font-size:10px;color:#6c7a77;margin:0;line-height:1.45}.company-v1-field{background:#f5f8f5}.company-v1-gallery{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:12px}.company-v1-gallery figure{height:330px;margin:0;border-radius:18px;overflow:hidden}.company-v1-gallery img{width:100%;height:100%;object-fit:cover}.company-v1-clients{background:#fff}.company-v1-logo-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #e4ebe5;border-radius:18px;overflow:hidden}.company-v1-logo-grid figure{margin:0;min-height:105px;display:grid;place-items:center;padding:18px;border-right:1px solid #edf1ee}.company-v1-logo-grid figure:last-child{border-right:0}.company-v1-logo-grid img{max-width:145px;max-height:62px;object-fit:contain}.company-v1-cta{background:#0b1d1e;color:#fff;padding:36px 0}.company-v1-cta-grid{display:flex;align-items:center;justify-content:space-between;gap:30px}.company-v1-cta h2{font-family:Manrope,Inter,sans-serif;font-size:31px;margin:2px 0 0;letter-spacing:-.03em}.company-v1-cta .eyebrow{margin:0;color:#8bdba6}@media(max-width:900px){.company-v1-hero-grid,.company-v1-about-grid{grid-template-columns:1fr}.company-v1-hero-media{height:430px}.company-v1-stats-grid{grid-template-columns:1fr 1fr}.company-v1-stats article:nth-child(2){border-right:0}.company-v1-stats article:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.08)}.company-v1-gallery{grid-template-columns:1fr 1fr}.company-v1-gallery figure:first-child{grid-column:1/-1}.company-v1-logo-grid{grid-template-columns:repeat(3,1fr)}.company-v1-cta-grid{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.company-v1-hero{padding:32px 0 34px}.company-v1-copy h1{font-size:45px}.company-v1-copy>p:not(.eyebrow){font-size:14px}.company-v1-hero-media{height:330px}.company-v1-stats article{padding:17px 14px}.company-v1-stats strong{font-size:21px}.company-v1-stats span{font-size:9px}.company-v1-about-media{height:360px}.company-v1-about-copy h2{font-size:37px}.company-v1-pillars{grid-template-columns:1fr 1fr}.company-v1-pillars article{padding:11px;gap:8px}.company-v1-pillars h3{font-size:11px}.company-v1-pillars p{font-size:9px}.company-v1-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.company-v1-gallery figure,.company-v1-gallery figure:first-child{min-width:86%;height:270px;grid-column:auto;scroll-snap-align:start}.company-v1-logo-grid{display:flex;overflow-x:auto}.company-v1-logo-grid figure{min-width:185px;border-right:1px solid #edf1ee}.company-v1-cta h2{font-size:26px}}


/* =========================================================
   EMPRESA V03.1.9 · HERO APROBADO
   ========================================================= */
.company-v1-hero{
  background:#071516!important;
  color:#fff!important;
  padding:0!important;
  overflow:hidden!important;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.company-v1-hero .shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:60px!important;
  padding-right:0!important;
}
.company-v1-hero-grid{
  display:grid!important;
  grid-template-columns:43% 57%!important;
  gap:0!important;
  align-items:stretch!important;
  min-height:680px!important;
}
.company-v1-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:58px 52px 58px 0!important;
  position:relative!important;
  z-index:2!important;
}
.company-v1-copy h1{
  max-width:700px!important;
  font-size:clamp(56px,5.2vw,84px)!important;
  line-height:.94!important;
  letter-spacing:-.06em!important;
}
.company-v1-copy h1 em{color:#49d45d!important}
.company-v1-copy>p:not(.eyebrow){
  max-width:670px!important;
  color:#bed0cc!important;
  font-size:17px!important;
  line-height:1.62!important;
  margin-top:24px!important;
}
.company-v1-copy .hero-actions{margin-top:26px!important;gap:14px!important}
.company-v1-copy .btn{min-height:54px!important;padding:0 26px!important}
.company-v1-hero-media{
  height:auto!important;
  min-height:680px!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
  background:#0b1b1c!important;
}
.company-v1-hero-media:after{display:none!important}
.company-v1-hero-media img{
  width:100%!important;
  height:100%!important;
  min-height:680px!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
@media(max-width:1100px){
  .company-v1-hero-grid{grid-template-columns:46% 54%!important;min-height:620px!important}
  .company-v1-copy h1{font-size:clamp(50px,5vw,68px)!important}
  .company-v1-hero-media,.company-v1-hero-media img{min-height:620px!important}
}
@media(max-width:900px){
  .company-v1-hero .shell{padding:0!important}
  .company-v1-hero-grid{grid-template-columns:1fr!important;min-height:0!important}
  .company-v1-copy{padding:44px 28px 34px!important}
  .company-v1-copy h1{font-size:clamp(46px,11vw,64px)!important;max-width:680px!important}
  .company-v1-copy>p:not(.eyebrow){font-size:15px!important;max-width:680px!important}
  .company-v1-hero-media{min-height:0!important;height:430px!important}
  .company-v1-hero-media img{min-height:0!important;height:430px!important;object-position:58% center!important}
}
@media(max-width:560px){
  .company-v1-copy{padding:34px 20px 28px!important}
  .company-v1-copy h1{font-size:44px!important;line-height:.98!important}
  .company-v1-copy .hero-actions{display:grid!important;grid-template-columns:1fr!important}
  .company-v1-copy .btn{width:100%!important}
  .company-v1-hero-media,.company-v1-hero-media img{height:340px!important}
}


/* V05.1 RESTORE PREMIUM — preserve previous visual language */
:root{--v51-green:#009b3e;--v51-ink:#102221;--v51-line:#e3e9e5}

/* navigation dropdown */
.nav-solutions{position:relative;display:flex;align-items:center;height:100%}.nav-solutions>a{display:flex;align-items:center;gap:5px}.nav-caret{font-size:12px;transition:.2s}.nav-solutions:hover .nav-caret,.nav-solutions:focus-within .nav-caret{transform:rotate(180deg)}
.nav-dropdown{position:absolute;top:calc(100% - 8px);left:50%;width:355px;transform:translate(-50%,10px);opacity:0;visibility:hidden;pointer-events:none;padding:7px;background:#fff;border:1px solid #dfe7e2;border-radius:16px;box-shadow:0 24px 70px rgba(8,30,24,.16);transition:.2s;z-index:120}.nav-solutions:hover .nav-dropdown,.nav-solutions:focus-within .nav-dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}.nav-dropdown a{display:block!important;padding:10px 12px!important;border-radius:10px!important;color:#1a2d29!important}.nav-dropdown a:after{display:none!important}.nav-dropdown a:hover{background:#eff8f1!important}.nav-dropdown b{display:block;font-size:11px}.nav-dropdown small{display:block;margin-top:2px;font-size:9px;color:#75827f;line-height:1.35}.mobile-subnav{display:grid;padding:0 0 7px 12px}.mobile-subnav a{padding:7px 10px!important;border:0!important;font-size:10px!important;color:#71817d!important}
/* Hero: compact, clear hierarchy, unique clean photography */
.hero-refined{min-height:520px!important}.hero-refined.hero-inner{min-height:470px!important}.hero-refined .hero-photo{background-image:var(--hero-img)!important;background-position:var(--hero-pos,center)!important;background-size:cover!important}.hero-refined .hero-grid{grid-template-columns:minmax(0,640px) 1fr!important}.hero-refined .hero-copy{padding-top:60px!important;padding-bottom:52px!important}.hero-refined .hero-copy h1{font-size:clamp(42px,4.35vw,62px)!important;max-width:650px!important}.hero-refined.hero-inner .hero-copy h1{font-size:clamp(40px,4.15vw,58px)!important}.hero-refined .hero-lead{font-size:16px!important;max-width:600px!important;margin:18px 0 20px!important}.hero-refined .hero-points{margin-top:20px!important}.hero-refined .hero-rotator,.hero-refined .hero-rotating-accent{display:block;min-height:1.02em}.hero-refined .hero-rotator.is-switching,.hero-refined .hero-rotating-accent.is-switching{opacity:0;transform:translateY(4px)}
/* company */
.company-v51-stats{background:#f7faf8;border-bottom:1px solid #e4ebe6}.company-v51-stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.company-v51-stats article{padding:21px 24px;border-right:1px solid #e2e9e4}.company-v51-stats article:last-child{border-right:0}.company-v51-stats strong{display:block;font-family:Manrope,Inter,sans-serif;font-size:18px;color:#0e7137}.company-v51-stats span{display:block;margin-top:3px;font-size:10px;color:#65736f}.company-v51-about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}.company-v51-about-media{height:430px;border-radius:20px;overflow:hidden}.company-v51-about-media img{width:100%;height:100%;object-fit:cover}.company-v51-about-copy h2{font-size:clamp(34px,3.5vw,48px);line-height:1.03;margin:0 0 14px}.company-v51-about-copy h2 em{font-style:normal;color:#079242}.company-v51-about-copy>p{color:#667572}.company-v51-pillars{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin-top:20px}.company-v51-pillars article{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #e2e9e4}.company-v51-pillars .icon{color:#079242}.company-v51-pillars h3{font-size:13px;margin:0 0 3px}.company-v51-pillars p{font-size:10px;color:#70807b;margin:0}.company-v51-capability{background:#f7faf8}.company-v51-gallery{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:12px}.company-v51-gallery figure{margin:0;height:315px;border-radius:17px;overflow:hidden}.company-v51-gallery img{width:100%;height:100%;object-fit:cover}.company-v51-clients{background:#fff}.company-v51-clients .client-logo-marquee{margin-top:22px}.company-v51-cta{padding:30px 0;background:#0c1b1d;color:#fff}.company-v51-cta-grid{display:flex;align-items:center;justify-content:space-between;gap:32px}.company-v51-cta h2{font-size:29px;margin:3px 0 0}
/* Services catalog — all services flow downward, compact professional cards */
.service-catalog-v51{background:#fff}.service-area-tabs{position:sticky;top:76px;z-index:20;display:flex;gap:8px;flex-wrap:wrap;padding:12px 0;margin:-30px 0 25px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px)}.service-area-tabs a{padding:9px 14px;border:1px solid #dfe8e1;border-radius:999px;background:#fff;color:#335047;font-size:10px;font-weight:800}.service-area-tabs a:hover{border-color:#62bb76;color:#087937}.service-area-v51{scroll-margin-top:145px;padding:24px 0 50px;border-bottom:1px solid #edf1ee}.service-area-head{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end;margin-bottom:20px}.service-area-head h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(25px,2.8vw,36px)!important;line-height:1.08!important;max-width:720px;margin:0;color:#132724}.service-area-head>span{font-size:10px;color:#6f7e79}.service-area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-v51-card{border:1px solid #e1e8e3;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 26px rgba(14,40,30,.045);transition:.22s}.service-v51-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(14,40,30,.09)}.service-v51-media{display:block;width:100%;height:178px;padding:0;border:0;background:#eef3ef;overflow:hidden}.service-v51-media img{width:100%;height:100%;object-fit:cover;transition:.35s}.service-v51-card:hover .service-v51-media img{transform:scale(1.025)}.service-v51-body{padding:16px 17px 17px}.service-v51-body>span{font-size:8px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#168447}.service-v51-body h3{font-size:16px;line-height:1.15;margin:6px 0 7px;color:#142724}.service-v51-body p{font-size:11px;line-height:1.48;color:#667570;margin:0;min-height:33px}.service-v51-more{display:flex;align-items:center;gap:7px;margin-top:13px;padding:0;border:0;background:transparent;color:#0b6d36;font-size:10px;font-weight:850}.service-v51-more:hover{gap:10px}
/* Service shell */
body.service-detail-open{overflow:hidden}.service-detail-shell{position:fixed;inset:0;z-index:220;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;pointer-events:none;transition:.2s}.service-detail-shell.is-open{opacity:1;visibility:visible;pointer-events:auto}.service-detail-backdrop{position:absolute;inset:0;border:0;background:rgba(7,24,20,.58);backdrop-filter:blur(7px)}.service-detail-panel{position:relative;z-index:1;width:min(980px,calc(100vw - 48px));max-height:calc(100dvh - 48px);display:grid;grid-template-columns:1.02fr .98fr;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 34px 90px rgba(5,30,23,.28)}.service-detail-close{position:absolute;z-index:3;right:13px;top:13px;width:40px;height:40px;border:1px solid #dae4dc;border-radius:12px;background:#fff;color:#263a34;font-size:23px;line-height:1}.service-detail-media{min-height:520px;background:#eef3ef}.service-detail-media img{width:100%;height:100%;min-height:520px;object-fit:cover}.service-detail-content{display:flex;flex-direction:column;justify-content:center;padding:45px 38px}.service-detail-kicker{font-size:9px;letter-spacing:.18em;font-weight:900;color:#087a38}.service-detail-content h3{font-family:Manrope,Inter,sans-serif;font-size:clamp(31px,3vw,43px);line-height:1.03;margin:10px 0}.service-detail-summary{font-weight:750;color:#2b4039}.service-detail-description{font-size:12px;line-height:1.6;color:#667570}.service-detail-features{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:19px 0 23px}.service-detail-features span{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e2e9e4;border-radius:10px;background:#f8fbf9;font-size:9.5px}.service-detail-features i{width:7px;height:7px;border-radius:50%;background:#009b3e}.service-detail-wa{min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;background:#25d366;color:#fff;font-size:11px;font-weight:900}.service-detail-wa img{width:19px;filter:brightness(0) invert(1)}
/* Projects */
.project-image-button{display:block;width:100%;padding:0;border:0;background:none;text-align:left}.project-area-filters{margin-bottom:22px}
/* keep client logos in one single rail */
.client-logo-marquee,.premium-logo-rail{overflow:hidden!important}.client-logo-track{display:flex!important;width:max-content!important}.client-logo-group{display:flex!important;flex:none!important;align-items:center!important}.client-logo-card{flex:none!important}
@media(max-width:980px){.service-area-grid{grid-template-columns:repeat(2,1fr)}.company-v51-about-grid{grid-template-columns:1fr}.company-v51-about-media{height:350px}.company-v51-gallery{grid-template-columns:1fr 1fr}.company-v51-gallery figure:first-child{grid-column:1/-1}}
@media(max-width:820px){.nav-dropdown{display:none!important}.mobile-subnav{display:grid}.hero-refined,.hero-refined.hero-inner{min-height:610px!important}.hero-refined .hero-photo{inset:68px 0 0!important;background-position:var(--hero-pos,center)!important}.hero-refined .hero-grid{grid-template-columns:1fr!important;align-items:end!important}.hero-refined .hero-copy{padding:260px 0 42px!important}.hero-refined .hero-copy h1,.hero-refined.hero-inner .hero-copy h1{font-size:clamp(39px,11vw,51px)!important}.hero-refined .hero-lead{font-size:14px!important}.hero-refined .hero-actions{display:grid!important}.hero-refined .hero-actions .btn{width:100%!important}.hero-refined .hero-points{display:flex!important;overflow:hidden!important;white-space:nowrap!important;gap:22px!important}.company-v51-stats-grid{grid-template-columns:1fr 1fr}.company-v51-stats article:nth-child(2){border-right:0}.company-v51-stats article:nth-child(-n+2){border-bottom:1px solid #e2e9e4}.company-v51-about-media{height:300px}.company-v51-pillars{grid-template-columns:1fr 1fr}.company-v51-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.company-v51-gallery figure{min-width:84%;height:285px;scroll-snap-align:start}.company-v51-cta-grid{display:grid}.service-area-tabs{top:68px;overflow-x:auto;flex-wrap:nowrap;margin:-24px -14px 16px;padding:10px 14px}.service-area-tabs a{white-space:nowrap}.service-area-grid{grid-template-columns:1fr}.service-v51-media{height:225px}.service-area-head{grid-template-columns:1fr}.service-detail-shell{place-items:end center;padding:0}.service-detail-panel{width:100%;max-height:92dvh;grid-template-columns:1fr;grid-template-rows:250px auto;overflow:auto;border-radius:22px 22px 0 0}.service-detail-media,.service-detail-media img{min-height:250px;height:250px}.service-detail-content{padding:24px 18px calc(18px + env(safe-area-inset-bottom))}.service-detail-features{grid-template-columns:1fr}.project-grid.projects-page{grid-template-columns:1fr!important}}

/* dark variant keeps the premium dark hierarchy */
.hero-refined .hero-overlay{background:linear-gradient(90deg,#071213 0%,#071213 35%,rgba(7,18,19,.95) 47%,rgba(7,18,19,.28) 76%)!important}.company-v51-stats{background:#0d1b1d;border-color:rgba(255,255,255,.08);color:#fff}.company-v51-stats article{border-color:rgba(255,255,255,.1)}.company-v51-stats strong{color:#58d36f}.company-v51-stats span{color:#bdc9c6}.company-v51-cta{background:#081416}.service-area-tabs{background:rgba(255,255,255,.96)}
@media(max-width:820px){.hero-refined .hero-overlay{background:linear-gradient(180deg,rgba(7,18,19,.18) 0%,rgba(7,18,19,.52) 36%,rgba(7,18,19,.90) 70%,#071213 100%)!important}.hero-refined .hero-copy{padding-top:290px!important}}

/* =========================================================
   AGMIDTEC V05.2 · HERO PHOTOS REALMENTE VISIBLES
   ========================================================= */
.hero-refined .hero-photo{
  background:none!important;
  overflow:hidden!important;
}
.hero-refined .hero-photo-img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:var(--hero-object-pos,center)!important;
  display:block!important;
  opacity:1!important;
  transform:none!important;
  filter:saturate(.96) contrast(1.02)!important;
}
.hero-refined .hero-overlay{pointer-events:none!important}

@media(max-width:820px){
  .hero-refined .hero-photo-img{
    object-position:var(--hero-object-pos,center)!important;
  }
}

/* Variante oscura: fotografía visible sin ensuciar la lectura */
@media(min-width:821px){
  .hero-refined .hero-photo{inset:76px 0 0 40%!important}
  .hero-refined .hero-overlay{
    background:linear-gradient(90deg,#071213 0%,#071213 34%,rgba(7,18,19,.96) 44%,rgba(7,18,19,.52) 62%,rgba(7,18,19,.08) 82%)!important;
  }
}
@media(max-width:820px){
  .hero-refined .hero-photo{inset:66px 0 auto 0!important;height:330px!important;opacity:1!important}
  .hero-refined .hero-overlay{
    background:linear-gradient(180deg,rgba(7,18,19,.06) 0%,rgba(7,18,19,.20) 40%,rgba(7,18,19,.86) 76%,#071213 100%)!important;
  }
}



/* =========================================================
   AGMIDTEC V05.3 · UX HIERARCHY POLISH
   Preserves approved interactions while tightening hierarchy.
   ========================================================= */
:root{
  --ux-green:#079242;
  --ux-green-dark:#086832;
  --ux-ink:#132421;
  --ux-muted:#667570;
  --ux-soft:#F5F7F4;
  --ux-soft-2:#EEF3EF;
  --ux-line:#E1E8E3;
}

/* Typography & rhythm */
.section{padding:68px 0!important}
.section h2,.cta-band h2,.process-band h2,.metrics-band h2,.case-study h2{
  font-size:clamp(31px,3.2vw,46px)!important;
  line-height:1.04!important;
  letter-spacing:-.038em!important;
}
.section-row h2{font-size:clamp(30px,3vw,43px)!important}
.section-row{gap:28px!important;margin-bottom:24px!important}
.eyebrow{font-size:10px!important;letter-spacing:.22em!important;margin-bottom:10px!important}

/* White professional header in both concepts */
.site-header,.site-header.scrolled{
  height:72px!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid rgba(19,36,33,.08)!important;
  box-shadow:0 10px 32px rgba(19,36,33,.04)!important;
  backdrop-filter:blur(16px)!important;
}
.nav-shell{height:72px!important}
.brand{width:168px!important}
.brand img{height:60px!important}
.main-nav{color:#263633!important;gap:25px!important}
.main-nav a{padding:25px 0 22px!important}
.main-nav a:hover,.main-nav a.active{color:var(--ux-green)!important}
.main-nav a:after{bottom:15px!important;background:var(--ux-green)!important}
.nav-toggle span{background:#16312c!important}
.btn-nav{min-height:42px!important;background:var(--ux-green)!important;color:#fff!important}
.nav-dropdown{background:#fff!important;border-color:#e3e9e4!important;box-shadow:0 20px 48px rgba(15,45,33,.12)!important}
.nav-dropdown a{color:#20312d!important}
.nav-dropdown small{color:#71807c!important}

/* Heroes: home is strong but no longer consumes the whole first screen. */
.hero-refined{padding-top:72px!important;min-height:540px!important}
.hero-refined.hero-inner{min-height:410px!important}
.hero-refined .hero-grid{grid-template-columns:minmax(0,600px) 1fr!important}
.hero-refined .hero-copy{padding:48px 0 44px!important}
.hero-refined.hero-inner .hero-copy{padding:42px 0 36px!important}
.hero-refined .hero-copy h1{font-size:clamp(40px,4.2vw,58px)!important;line-height:.99!important;max-width:620px!important}
.hero-refined.hero-inner .hero-copy h1{font-size:clamp(36px,3.7vw,50px)!important;max-width:590px!important}
.hero-refined .hero-lead{font-size:15px!important;line-height:1.55!important;max-width:560px!important;margin:16px 0 18px!important}
.hero-refined .hero-points{margin-top:18px!important;gap:18px!important;font-size:11px!important}
.hero-refined .hero-actions{gap:10px!important}
.hero-refined .hero-photo{inset:72px 0 0 48%!important;overflow:hidden!important;background:none!important}
.hero-refined .hero-photo-img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:var(--hero-object-pos,center)!important;filter:none!important}
.hero-refined:after{display:none!important}
.hero-stamp{display:none!important}

/* Compact proof / stats */
.proof-section{padding:0!important;background:#fff!important;border-bottom:1px solid var(--ux-line)!important}
.proof-stats{border:1px solid var(--ux-line)!important;border-radius:0 0 18px 18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(16,42,32,.035)!important}
.proof-stats article{min-height:82px!important;padding:16px 20px!important}
.proof-stats strong{font-size:25px!important;color:var(--ux-green)!important}
.proof-stats span{font-size:10px!important;color:#64736f!important}

/* Clients stay a single, clean horizontal rail. */
.client-proof-premium,.clients-section-light,.company-v51-clients{background:#fff!important}
.client-logo-marquee{overflow:hidden!important;border:1px solid var(--ux-line)!important;border-radius:18px!important;background:#fff!important}
.client-logo-track{display:flex!important;width:max-content!important;align-items:center!important}
.client-logo-group{display:flex!important;align-items:center!important;flex-wrap:nowrap!important}
.client-logo-card{width:175px!important;min-width:175px!important;height:86px!important;margin:0!important;border-right:1px solid #edf1ee!important;display:grid!important;place-items:center!important;background:#fff!important;padding:12px 18px!important}
.client-logo-card img{max-width:128px!important;max-height:50px!important;object-fit:contain!important}
.client-wordmark{font-family:Manrope,Inter,sans-serif;font-weight:800;font-size:12px;line-height:1.15;text-align:center;color:#4a5b56}

/* About and company hierarchy */
.about-light-section,.company-v51-about{background:#fff!important}
.about-light-grid,.company-v51-about-grid{gap:40px!important}
.about-light-photo,.company-v51-about-media{border-radius:20px!important;box-shadow:0 16px 34px rgba(17,45,34,.07)!important}
.about-light-copy h2,.company-v51-about-copy h2{font-size:clamp(32px,3.2vw,44px)!important}
.about-light-points,.company-v51-pillars{gap:8px 18px!important}
.company-v51-stats{background:var(--ux-soft)!important;border-color:var(--ux-line)!important;color:var(--ux-ink)!important}
.company-v51-stats article{border-color:var(--ux-line)!important}
.company-v51-stats strong{color:var(--ux-green)!important}
.company-v51-stats span{color:#697873!important}
.company-v51-capability{background:var(--ux-soft)!important}
.company-v51-gallery figure{height:285px!important;border-radius:18px!important}
.company-v51-cta{background:linear-gradient(100deg,#0d6f36,#079242)!important}

/* Services: vertical page flow exactly as requested, large clean images and concise copy. */
.service-catalog-v51{background:#fff!important;padding-top:54px!important}
.service-area-tabs{top:72px!important;padding:11px 0!important;margin:-22px 0 24px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #eef2ef!important}
.service-area-tabs a{font-size:10px!important;padding:9px 14px!important}
.service-area-v51{padding:18px 0 46px!important}
.service-area-head{margin-bottom:18px!important}
.service-area-head h2{font-size:clamp(25px,2.55vw,34px)!important;color:var(--ux-ink)!important;max-width:760px!important}
.service-area-grid{grid-template-columns:repeat(3,1fr)!important;gap:16px!important}
.service-v51-card{border:1px solid var(--ux-line)!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(17,45,34,.045)!important;background:#fff!important}
.service-v51-card:hover{transform:translateY(-3px)!important;box-shadow:0 18px 38px rgba(17,45,34,.085)!important}
.service-v51-media{height:210px!important;background:#eef3ef!important}
.service-v51-media img{object-fit:cover!important;filter:none!important}
.service-v51-body{padding:17px 18px 18px!important}
.service-v51-body>span{font-size:8px!important;color:var(--ux-green)!important}
.service-v51-body h3{font-size:17px!important;line-height:1.15!important;color:var(--ux-ink)!important;margin:7px 0 8px!important}
.service-v51-body p{font-size:11.5px!important;line-height:1.5!important;color:#64736f!important;min-height:35px!important}
.service-v51-more{margin-top:13px!important;font-size:10.5px!important;color:var(--ux-green-dark)!important}
.service-detail-panel{border-radius:24px!important}
.service-detail-media img{object-fit:cover!important}

/* Projects: clearer image-to-project mapping */
.project-grid.projects-page{grid-template-columns:repeat(4,1fr)!important;gap:14px!important}
.project-tile{border-radius:17px!important;border:1px solid var(--ux-line)!important;box-shadow:0 10px 24px rgba(17,45,34,.04)!important;overflow:hidden!important;background:#fff!important}
.project-tile .tile-image{height:210px!important}
.project-tile .tile-body{padding:15px 16px 17px!important}
.project-tile .tile-body h3{font-size:15px!important;line-height:1.2!important;color:var(--ux-ink)!important}
.project-tile .tile-body p{font-size:10px!important;color:#6a7974!important}

/* Process / CTA: less decoration, more legibility */
.process-section,.process-band{background:var(--ux-soft)!important;color:var(--ux-ink)!important}
.process-grid article,.steps article{background:#fff!important;border-color:var(--ux-line)!important;color:var(--ux-ink)!important}
.process-grid p,.steps p{color:#687772!important}
.process-grid .icon,.steps .icon{color:var(--ux-green)!important}
.process-grid article>span,.steps article>b{display:none!important}
.cta-band{background:linear-gradient(110deg,#087839 0%,#079242 52%,#f7faf8 52%,#fff 100%)!important}
.cta-band:before{display:none!important}
.cta-grid>div:first-child{color:#fff!important}
.cta-grid>div:last-child{color:#263733!important}
.cta-band .eyebrow{color:#dff2e6!important}
.cta-band h2,.cta-band h2 em{color:#fff!important}

/* Contact hierarchy */
.contact-section{background:#fff!important}
.lead-card{border-radius:20px!important;box-shadow:0 18px 44px rgba(17,45,34,.07)!important}
.service-option-index{display:none!important}

/* Keep footer intentionally dark: this is the visual anchor, not the whole site. */
.site-footer{background:#0b1918!important}

@media(max-width:1180px){
  .project-grid.projects-page{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:980px){
  .service-area-grid{grid-template-columns:repeat(2,1fr)!important}
  .project-grid.projects-page{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:820px){
  .site-header,.site-header.scrolled,.nav-shell{height:66px!important}
  .brand{width:158px!important}
  .brand img{height:57px!important}
  .hero-refined,.hero-refined.hero-inner{min-height:600px!important;padding-top:66px!important}
  .hero-refined .hero-photo{inset:66px 0 auto 0!important;height:315px!important}
  .hero-refined .hero-grid{grid-template-columns:1fr!important;align-items:end!important}
  .hero-refined .hero-copy,.hero-refined.hero-inner .hero-copy{padding:260px 0 36px!important}
  .hero-refined .hero-copy h1,.hero-refined.hero-inner .hero-copy h1{font-size:clamp(34px,9.8vw,46px)!important;line-height:1.02!important}
  .hero-refined .hero-lead{font-size:13.5px!important;line-height:1.5!important}
  .hero-refined .hero-actions{display:grid!important}
  .hero-refined .hero-actions .btn{width:100%!important}
  .hero-refined .hero-points{overflow-x:auto!important;flex-wrap:nowrap!important;white-space:nowrap!important;padding-bottom:3px!important}
  .section{padding:52px 0!important}
  .section h2,.section-row h2{font-size:clamp(29px,8.6vw,39px)!important}
  .company-v51-about-media{height:300px!important}
  .company-v51-gallery{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}
  .company-v51-gallery figure{min-width:84%!important;height:270px!important;scroll-snap-align:start!important}
  .service-area-tabs{top:66px!important;overflow-x:auto!important;flex-wrap:nowrap!important;margin:-18px -14px 16px!important;padding:10px 14px!important}
  .service-area-tabs a{white-space:nowrap!important}
  .service-area-grid{grid-template-columns:1fr!important}
  .service-v51-media{height:235px!important}
  .project-grid.projects-page{grid-template-columns:1fr!important}
  .project-tile .tile-image{height:245px!important}
  .client-logo-card{width:150px!important;min-width:150px!important;height:78px!important}
  .client-logo-card img{max-width:112px!important;max-height:44px!important}
  .cta-band{background:linear-gradient(180deg,#087839 0%,#079242 100%)!important;color:#fff!important}
  .cta-grid>div:last-child,.cta-grid>div:last-child p{color:#fff!important}
}


/* SOFT-DARK VARIANT: only hero/footer remain dark; main content becomes light. */
.agmidtec-softdark{background:#fff!important;color:var(--ux-ink)!important}
.agmidtec-softdark .hero-refined{background:#0b1d1a!important;color:#fff!important}
.agmidtec-softdark .hero-refined .hero-overlay{
  background:linear-gradient(90deg,#0b1d1a 0%,#0b1d1a 39%,rgba(11,29,26,.92) 49%,rgba(11,29,26,.23) 76%,rgba(11,29,26,0) 100%)!important;
}
.agmidtec-softdark .hero-refined .eyebrow{color:#b9e8c7!important}
.agmidtec-softdark .hero-refined .hero-copy h1{color:#fff!important}
.agmidtec-softdark .hero-refined .hero-lead{color:#e6efeb!important}
.agmidtec-softdark .hero-refined .hero-points{color:#dce8e3!important}
.agmidtec-softdark .btn-darkline{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(255,255,255,.4)!important}
.agmidtec-softdark .pain-section,.agmidtec-softdark .engagement-section,.agmidtec-softdark .real-projects-section{background:#fff!important;color:var(--ux-ink)!important}
.agmidtec-softdark .solutions-v3,.agmidtec-softdark .process-section{background:var(--ux-soft)!important;color:var(--ux-ink)!important}
.agmidtec-softdark .tech-diff-section{background:#eef4ef!important;color:var(--ux-ink)!important}
.agmidtec-softdark .tech-copy p,.agmidtec-softdark .tech-list small{color:#60706b!important}
.agmidtec-softdark .dark-family{background:#17332d!important;color:#fff!important}
.agmidtec-softdark .solution-family:not(.dark-family),.agmidtec-softdark .engagement-card{background:#fff!important;color:var(--ux-ink)!important;border-color:var(--ux-line)!important}
.agmidtec-softdark .solution-family p,.agmidtec-softdark .engagement-card p,.agmidtec-softdark .engagement-card li{color:#667570!important}
.agmidtec-softdark .process-head .eyebrow,.agmidtec-softdark .process-head h2{color:var(--ux-ink)!important}
.agmidtec-softdark .process-head h2 em{color:var(--ux-green)!important}
.agmidtec-softdark .process-head>p{color:#667570!important}
.agmidtec-softdark .client-proof{background:#fff!important;border-color:var(--ux-line)!important}
.agmidtec-softdark .client-proof-heading span,.agmidtec-softdark .client-proof-heading strong{color:var(--ux-ink)!important}
.agmidtec-softdark .section .eyebrow.dark{color:#73817d!important}
.agmidtec-softdark .section h2,.agmidtec-softdark .section-row h2{color:var(--ux-ink)!important}
.agmidtec-softdark .section h2 em,.agmidtec-softdark .section-row h2 em{color:var(--ux-green)!important}
.agmidtec-softdark .section-row>p,.agmidtec-softdark .section-heading>p:last-child{color:#667570!important}
@media(max-width:820px){
  .agmidtec-softdark .hero-refined .hero-overlay{background:linear-gradient(180deg,rgba(11,29,26,.10) 0%,rgba(11,29,26,.42) 38%,rgba(11,29,26,.93) 72%,#0b1d1a 100%)!important}
}



/* =========================================================
   AGMIDTEC V05.4 · IMPACTO CORPORATIVO / UX PREMIUM
   Refines the approved soft-dark direction without changing architecture.
   ========================================================= */

/* Header / logo: stronger brand presence requested by client */
@media(min-width:821px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .nav-shell{height:80px!important}
  .agmidtec-softdark .brand{width:208px!important;min-width:208px!important}
  .agmidtec-softdark .brand img{height:72px!important;width:100%!important;object-fit:contain!important;object-position:left center!important}
  .agmidtec-softdark .main-nav a{padding-top:29px!important;padding-bottom:27px!important}
  .agmidtec-softdark .main-nav a:after{bottom:18px!important}
  .agmidtec-softdark .hero-refined{padding-top:80px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:80px 0 0 48%!important}
}

/* Clients: full-width validation band with centered hierarchy */
.client-proof-v54{
  width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  padding:40px 0 42px!important;
  border:0!important;
  border-top:1px solid #e6ece7!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#fff 0%,#f7faf8 100%)!important;
}
.client-proof-heading-v54{display:block!important;text-align:center!important;margin:0 auto 22px!important;padding:0 24px!important}
.client-proof-heading-v54 .eyebrow{margin:0 0 8px!important;color:#70807a!important}
.client-proof-heading-v54 h2{margin:0!important;font-family:Manrope,Inter,sans-serif;font-size:clamp(25px,2.5vw,36px)!important;line-height:1.06!important;letter-spacing:-.035em!important;color:#152824!important}
.client-proof-heading-v54 h2 em{font-style:normal;color:var(--ux-green)!important}
.client-logo-marquee-v54{width:min(1260px,calc(100% - 72px))!important;margin:auto!important;border-radius:20px!important;box-shadow:0 12px 34px rgba(17,45,34,.045)!important}
.client-logo-marquee-v54 .client-logo-card{height:92px!important;width:190px!important;min-width:190px!important;padding:14px 22px!important}
.client-logo-marquee-v54 .client-logo-card img{max-width:140px!important;max-height:56px!important;filter:none!important;opacity:.88!important;transition:.25s ease!important}
.client-logo-marquee-v54 .client-logo-card:hover img{opacity:1!important;transform:scale(1.04)!important}

/* Home solutions: real services instead of abstract family blocks */
.solutions-featured-v54{background:#f5f8f5!important}
.solutions-heading-v54{align-items:center!important;margin-bottom:26px!important}
.featured-services-v54{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.featured-service-v54{background:#fff;border:1px solid #dfe8e1;border-radius:22px;overflow:hidden;box-shadow:0 12px 32px rgba(14,42,31,.055);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.featured-service-v54:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(14,42,31,.11);border-color:#b9d9c1}
.featured-service-media-v54{height:205px;position:relative;display:block;overflow:hidden;background:#eaf1eb}
.featured-service-media-v54:after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(180deg,transparent,rgba(8,31,24,.28));pointer-events:none}
.featured-service-media-v54 img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.featured-service-v54:hover .featured-service-media-v54 img{transform:scale(1.045)}
.featured-service-media-v54>span{position:absolute;z-index:2;left:16px;bottom:14px;width:45px;height:45px;border-radius:14px;background:#fff;color:var(--ux-green);display:grid;place-items:center;box-shadow:0 10px 24px rgba(8,45,28,.18)}
.featured-service-copy-v54{padding:19px 18px 18px}
.featured-service-copy-v54 small{display:block;color:var(--ux-green);font-size:8px;font-weight:900;letter-spacing:.14em;margin-bottom:8px}
.featured-service-copy-v54 h3{font-family:Manrope,Inter,sans-serif;font-size:19px;line-height:1.09;letter-spacing:-.025em;color:#142723;margin:0 0 9px}
.featured-service-copy-v54 p{font-size:11.5px;line-height:1.55;color:#65756f;margin:0;min-height:54px}
.featured-service-copy-v54>a{display:inline-flex;align-items:center;gap:8px;margin-top:15px;color:#0b6d36;font-size:11px;font-weight:850;transition:gap .2s ease}
.featured-service-copy-v54>a:hover{gap:12px}

/* Process: remove table-like feeling and turn it into premium cards */
.agmidtec-softdark .process-section{padding:72px 0 76px!important;background:linear-gradient(180deg,#f3f7f3 0%,#edf4ef 100%)!important}
.agmidtec-softdark .process-head{margin-bottom:24px!important}
.agmidtec-softdark .process-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:14px!important}
.agmidtec-softdark .process-grid article{border:1px solid #dce6df!important;border-radius:22px!important;padding:27px 23px 25px!important;min-height:220px!important;box-shadow:0 12px 30px rgba(16,43,32,.045)!important;transition:.25s ease!important;position:relative!important;overflow:hidden!important}
.agmidtec-softdark .process-grid article:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--ux-green),#5ccc72);transform:scaleX(.28);transform-origin:left;transition:.28s ease}
.agmidtec-softdark .process-grid article:hover{transform:translateY(-5px)!important;box-shadow:0 20px 44px rgba(16,43,32,.085)!important;border-color:#bdd9c4!important}
.agmidtec-softdark .process-grid article:hover:after{transform:scaleX(1)}
.agmidtec-softdark .process-grid article i{width:48px;height:48px;border-radius:15px;background:#e7f7ec!important;color:var(--ux-green)!important;display:grid!important;place-items:center!important;margin-bottom:24px!important}
.agmidtec-softdark .process-grid article h3{font-family:Manrope,Inter,sans-serif;font-size:19px!important;line-height:1.1!important;letter-spacing:-.02em!important;margin:0 0 10px!important}
.agmidtec-softdark .process-grid article p{font-size:11.5px!important;line-height:1.55!important;margin:0!important}

/* Final CTA: actions live on an explicit white card so they never disappear */
.agmidtec-softdark .cta-final-v3{padding:0!important;background:#0b5f32!important;position:relative!important;overflow:hidden!important}
.agmidtec-softdark .cta-final-v3:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,111,54,.96) 0%,rgba(7,146,66,.90) 52%,rgba(9,57,42,.68) 100%),url('../img/real-work/bandejas-industriales.webp') right center/55% auto no-repeat;pointer-events:none}
.agmidtec-softdark .cta-final-v3 .cta-grid{position:relative;z-index:2;padding:48px 0!important;grid-template-columns:1.2fr .8fr!important;gap:48px!important;align-items:center!important}
.agmidtec-softdark .cta-final-v3 .cta-action-panel-v54{background:rgba(255,255,255,.97)!important;color:#18322b!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:22px!important;padding:26px!important;box-shadow:0 22px 55px rgba(4,42,25,.18)!important}
.agmidtec-softdark .cta-final-v3 .cta-action-panel-v54 p{margin:0 0 17px!important;color:#4e625b!important;font-size:14px!important;line-height:1.5!important}
.agmidtec-softdark .cta-final-v3 .cta-action-panel-v54 .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.agmidtec-softdark .cta-final-v3 .cta-action-panel-v54 .btn{width:100%!important;min-height:50px!important}
.agmidtec-softdark .cta-final-v3 .cta-action-panel-v54 .btn-primary{background:#079242!important;color:#fff!important;border-color:#079242!important;box-shadow:0 12px 26px rgba(7,146,66,.22)!important}
.agmidtec-softdark .cta-final-v3 .cta-action-panel-v54 .btn-darkline{background:#14342b!important;color:#fff!important;border-color:#14342b!important}

/* Solutions page: engineering-area controls become premium selectors */
.service-area-tabs-v54{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;border-bottom:0!important;background:transparent!important;padding:0!important;margin:-8px 0 34px!important;position:relative!important;top:auto!important}
.service-area-tabs-v54 a{min-height:62px!important;border:1px solid #d8e4dc!important;border-radius:18px!important;background:#fff!important;display:grid!important;grid-template-columns:40px 1fr auto!important;align-items:center!important;gap:10px!important;padding:10px 14px!important;font-size:12px!important;font-weight:850!important;color:#183129!important;box-shadow:0 10px 25px rgba(14,42,31,.045)!important;transition:.22s ease!important}
.service-area-tabs-v54 a:hover{transform:translateY(-3px)!important;border-color:#9fd0ad!important;box-shadow:0 17px 36px rgba(14,42,31,.085)!important;color:#08783a!important}
.area-tab-icon-v54{width:40px;height:40px;border-radius:12px;background:#e9f8ed;color:#079242;display:grid;place-items:center}
.service-area-tabs-v54 a>svg{color:#079242!important}

/* Service cards: titles and actions get stronger visual hierarchy */
.service-area-head{padding-bottom:16px!important;border-bottom:1px solid #e5ebe6!important}
.service-area-head h2{font-size:clamp(28px,2.7vw,39px)!important;letter-spacing:-.035em!important;line-height:1.02!important}
.service-area-head .eyebrow{color:#148849!important}
.service-v51-card{border-radius:20px!important;position:relative!important}
.service-v51-card:before{content:"";position:absolute;z-index:3;left:18px;top:198px;width:46px;height:4px;border-radius:999px;background:#079242;box-shadow:0 0 20px rgba(7,146,66,.22)}
.service-v51-body{padding:24px 20px 20px!important}
.service-v51-body>span{font-size:8.5px!important;letter-spacing:.15em!important}
.service-v51-body h3{font-family:Manrope,Inter,sans-serif;font-size:19px!important;line-height:1.08!important;letter-spacing:-.026em!important;margin:8px 0 9px!important;color:#122824!important}
.service-v51-body p{font-size:12px!important;line-height:1.55!important;min-height:39px!important}
.service-v51-more{display:flex!important;width:100%!important;min-height:42px!important;justify-content:space-between!important;align-items:center!important;margin-top:16px!important;padding:0 13px!important;border:1px solid #bdd9c4!important;border-radius:12px!important;background:#f8fbf8!important;color:#086832!important;font-size:11px!important;font-weight:850!important;transition:.2s ease!important}
.service-v51-more:hover{background:#079242!important;color:#fff!important;border-color:#079242!important}

@media(max-width:1080px){
  .featured-services-v54{grid-template-columns:repeat(2,1fr)}
  .agmidtec-softdark .process-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:820px){
  .client-proof-v54{padding:32px 0!important}
  .client-logo-marquee-v54{width:calc(100% - 28px)!important}
  .client-proof-heading-v54 h2{font-size:28px!important}
  .featured-services-v54{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:8px}
  .featured-service-v54{min-width:84%;scroll-snap-align:start}
  .agmidtec-softdark .process-grid{grid-template-columns:1fr!important;gap:11px!important}
  .agmidtec-softdark .process-grid article{min-height:0!important;padding:22px 19px!important}
  .agmidtec-softdark .cta-final-v3 .cta-grid{grid-template-columns:1fr!important;gap:24px!important;padding:38px 0!important}
  .agmidtec-softdark .cta-final-v3 .cta-action-panel-v54{padding:20px!important}
  .agmidtec-softdark .cta-final-v3 .cta-action-panel-v54 .hero-actions{grid-template-columns:1fr!important}
  .service-area-tabs-v54{display:flex!important;overflow-x:auto!important;gap:10px!important;margin:0 -14px 24px!important;padding:4px 14px 10px!important}
  .service-area-tabs-v54 a{min-width:235px!important;flex:none!important}
  .service-v51-card:before{top:223px!important}
}

/* =========================================================
   AGMIDTEC V05.4.1 · CLIENTES FULL WIDTH + CONTACT PICKER
   ========================================================= */

/* Clients: heading above, rail uses complete visual width */
.agmidtec-softdark .client-proof-v541{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:38px 0 42px!important;
  background:#fff!important;
  border-top:1px solid #edf2ee!important;
  border-bottom:1px solid #edf2ee!important;
}
.agmidtec-softdark .client-proof-heading-v541{
  display:block!important;
  width:min(1180px,calc(100% - 64px))!important;
  margin:0 auto 22px!important;
  padding:0!important;
  text-align:center!important;
}
.agmidtec-softdark .client-proof-heading-v541 .eyebrow{
  margin:0 0 7px!important;
  color:#708078!important;
}
.agmidtec-softdark .client-proof-heading-v541 h2{
  margin:0!important;
  color:#152824!important;
  font-family:Manrope,Inter,sans-serif!important;
  font-size:clamp(27px,2.7vw,39px)!important;
  line-height:1.04!important;
  letter-spacing:-.038em!important;
}
.agmidtec-softdark .client-proof-heading-v541 h2 em{
  color:#079242!important;
  font-style:normal!important;
}
.agmidtec-softdark .client-logo-marquee-v541{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
  padding:0!important;
  background:#fff!important;
}
.agmidtec-softdark .client-logo-marquee-v541:before,
.agmidtec-softdark .client-logo-marquee-v541:after{
  width:72px!important;
}
.agmidtec-softdark .client-logo-marquee-v541 .client-logo-card{
  width:205px!important;
  min-width:205px!important;
  height:94px!important;
  padding:14px 24px!important;
  border-radius:0!important;
  border-top:1px solid #e9efeb!important;
  border-bottom:1px solid #e9efeb!important;
  border-right:1px solid #e9efeb!important;
  box-shadow:none!important;
}
.agmidtec-softdark .client-logo-marquee-v541 .client-logo-card img{
  max-width:148px!important;
  max-height:58px!important;
  opacity:.9!important;
}

/* Contact service selector: premium, readable, balanced */
.agmidtec-softdark .service-picker-panel{
  width:min(900px,calc(100vw - 44px))!important;
  max-height:min(760px,calc(100dvh - 56px))!important;
  border-radius:24px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:0 32px 90px rgba(4,31,22,.28)!important;
}
.agmidtec-softdark .service-picker-head{
  padding:24px 26px 21px!important;
  background:linear-gradient(135deg,#082f27 0%,#0b4a35 100%)!important;
}
.agmidtec-softdark .service-picker-head h3{
  font-size:28px!important;
  letter-spacing:-.04em!important;
}
.agmidtec-softdark .service-picker-head p{
  max-width:570px!important;
  color:#d0ddd8!important;
  font-size:12px!important;
}
.agmidtec-softdark .service-picker-options{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  max-height:520px!important;
  padding:16px!important;
  background:#f5f8f6!important;
}
.agmidtec-softdark .service-picker-option{
  grid-template-columns:minmax(0,1fr) 34px!important;
  gap:13px!important;
  min-height:112px!important;
  padding:16px 16px 15px!important;
  border:1px solid #dbe5df!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(19,48,37,.035)!important;
  align-items:center!important;
}
.agmidtec-softdark .service-picker-option:hover{
  transform:translateY(-2px)!important;
  border-color:#91cda5!important;
  background:#fbfffc!important;
  box-shadow:0 14px 28px rgba(19,48,37,.075)!important;
}
.agmidtec-softdark .service-option-copy{
  min-width:0!important;
  width:100%!important;
  display:block!important;
}
.agmidtec-softdark .service-option-category{
  display:block!important;
  margin-bottom:7px!important;
  color:#14884a!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
.agmidtec-softdark .service-option-copy strong{
  display:block!important;
  margin:0 0 6px!important;
  color:#132823!important;
  font-family:Manrope,Inter,sans-serif!important;
  font-size:14px!important;
  line-height:1.16!important;
  letter-spacing:-.018em!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.agmidtec-softdark .service-option-copy small{
  display:block!important;
  color:#6d7d77!important;
  font-size:10px!important;
  line-height:1.4!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.agmidtec-softdark .service-option-check{
  width:32px!important;
  height:32px!important;
  border:1px solid #cfe0d6!important;
  background:#f7faf8!important;
  color:transparent!important;
}
.agmidtec-softdark .service-picker-option.is-selected{
  border-color:#079242!important;
  background:#f3fff7!important;
  box-shadow:0 0 0 3px rgba(7,146,66,.08),0 14px 28px rgba(19,48,37,.075)!important;
}
.agmidtec-softdark .service-picker-option.is-selected .service-option-check{
  background:#079242!important;
  border-color:#079242!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(7,146,66,.18)!important;
}

@media(max-width:820px){
  .agmidtec-softdark .client-proof-v541{padding:30px 0 32px!important}
  .agmidtec-softdark .client-proof-heading-v541{width:calc(100% - 34px)!important;margin-bottom:18px!important}
  .agmidtec-softdark .client-proof-heading-v541 h2{font-size:28px!important}
  .agmidtec-softdark .client-logo-marquee-v541 .client-logo-card{width:165px!important;min-width:165px!important;height:82px!important;padding:12px 17px!important}
  .agmidtec-softdark .client-logo-marquee-v541 .client-logo-card img{max-width:120px!important;max-height:47px!important}
  .agmidtec-softdark .service-picker-panel{width:100%!important;max-height:88dvh!important;border-radius:24px 24px 0 0!important}
  .agmidtec-softdark .service-picker-head{padding:20px 18px 17px!important}
  .agmidtec-softdark .service-picker-head h3{font-size:23px!important}
  .agmidtec-softdark .service-picker-options{grid-template-columns:1fr!important;gap:8px!important;max-height:66dvh!important;padding:12px!important}
  .agmidtec-softdark .service-picker-option{min-height:92px!important;padding:14px!important;border-radius:15px!important}
  .agmidtec-softdark .service-option-copy strong{font-size:13px!important}
}



/* AGMIDTEC COPY V05.4.2 — presentación institucional de descripciones */
.service-detail-summary{font-size:15px!important;line-height:1.55!important;color:#263a35!important;font-weight:700!important}
.service-detail-description{font-size:13px!important;line-height:1.72!important;color:#687772!important;max-width:58ch}
.service-detail-features span{background:#f7faf8!important;border-color:#dfe8e1!important}
.service-detail-kicker{letter-spacing:.2em!important;color:#0a7f3e!important}
.project-tile .tile-body{min-height:184px!important}
.project-tile .tile-body h3{margin-right:30px!important;margin-bottom:8px!important}
.project-tile-summary{font-size:11px!important;line-height:1.5!important;color:#61716c!important;margin:0 0 11px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.project-client{display:block;font-size:10px!important;line-height:1.35;color:#2f4a40!important;font-weight:700;margin-bottom:7px}
@media(max-width:820px){.project-tile .tile-body{min-height:198px!important}.project-tile-summary{-webkit-line-clamp:3}}


/* AGMIDTEC V05.4.3 · metodología de servicios alineada con Nuestro proceso */
.agmidtec-softdark .process-section-services{
  padding:68px 0 72px!important;
  background:linear-gradient(180deg,#f5f8f5 0%,#edf4ef 100%)!important;
}
.agmidtec-softdark .process-section-services .process-head{
  margin-bottom:26px!important;
}
.agmidtec-softdark .process-section-services .process-grid article{
  min-height:218px!important;
}
.agmidtec-softdark .process-section-services .process-grid article h3{
  font-size:19px!important;
}
.agmidtec-softdark .process-section-services .process-grid article p{
  font-size:11.5px!important;
  line-height:1.58!important;
}
@media(max-width:820px){
  .agmidtec-softdark .process-section-services{padding:50px 0 54px!important}
  .agmidtec-softdark .process-section-services .process-grid{grid-template-columns:repeat(2,1fr)!important}
  .agmidtec-softdark .process-section-services .process-grid article{min-height:190px!important;padding:21px 18px!important}
}
@media(max-width:560px){
  .agmidtec-softdark .process-section-services .process-grid{grid-template-columns:1fr!important}
  .agmidtec-softdark .process-section-services .process-grid article{min-height:0!important}
}


/* =========================================================
   AGMIDTEC V05.4.4 · REVISIÓN CLIENTE + LOGO PROTAGONISTA
   ========================================================= */

/* El logo debe tener verdadero peso de marca en desktop. */
@media (min-width:1180px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .nav-shell{
    height:92px!important;
  }
  .agmidtec-softdark .brand{
    width:258px!important;
    min-width:258px!important;
    height:88px!important;
    display:flex!important;
    align-items:center!important;
  }
  .agmidtec-softdark .brand img{
    width:100%!important;
    height:86px!important;
    max-height:86px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  .agmidtec-softdark .main-nav a{
    padding-top:34px!important;
    padding-bottom:31px!important;
  }
  .agmidtec-softdark .main-nav a:after{bottom:23px!important}
  .agmidtec-softdark .hero-refined{
    padding-top:92px!important;
    min-height:550px!important;
  }
  .agmidtec-softdark .hero-refined.hero-inner{min-height:420px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:92px 0 0 47%!important}
}

/* Portátiles: grande, sin forzar el menú. */
@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .nav-shell{height:84px!important}
  .agmidtec-softdark .brand{width:220px!important;min-width:220px!important}
  .agmidtec-softdark .brand img{height:76px!important;max-height:76px!important}
  .agmidtec-softdark .hero-refined{padding-top:84px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:84px 0 0 47%!important}
}

/* Mobile: más visible que antes, pero sin robar área útil. */
@media (max-width:900px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .nav-shell{height:76px!important}
  .agmidtec-softdark .brand{width:186px!important;min-width:186px!important;height:74px!important}
  .agmidtec-softdark .brand img{height:68px!important;max-height:68px!important}
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:76px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:76px 0 auto 0!important}
}

/* =========================================================
   AGMIDTEC V05.4.5 · LOGO PROTAGONISTA + HEADER DINÁMICO
   El logo domina al cargar y el header se compacta al iniciar scroll.
   ========================================================= */

@media (min-width:1180px){
  .agmidtec-softdark .site-header{
    height:116px!important;
    transition:height .32s cubic-bezier(.2,.8,.2,1),background .25s ease,box-shadow .25s ease!important;
  }
  .agmidtec-softdark .nav-shell{
    height:116px!important;
    transition:height .32s cubic-bezier(.2,.8,.2,1)!important;
  }
  .agmidtec-softdark .brand{
    width:316px!important;
    min-width:316px!important;
    height:112px!important;
    flex:0 0 316px!important;
    transition:width .32s cubic-bezier(.2,.8,.2,1),min-width .32s cubic-bezier(.2,.8,.2,1),height .32s cubic-bezier(.2,.8,.2,1)!important;
  }
  .agmidtec-softdark .brand img{
    position:static!important;
    width:316px!important;
    height:106px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:left center!important;
    transform:none!important;
    transition:width .32s cubic-bezier(.2,.8,.2,1),height .32s cubic-bezier(.2,.8,.2,1)!important;
  }
  .agmidtec-softdark .main-nav a{
    padding-top:45px!important;
    padding-bottom:42px!important;
    transition:padding .32s cubic-bezier(.2,.8,.2,1),color .2s ease!important;
  }
  .agmidtec-softdark .main-nav a:after{bottom:31px!important;transition:bottom .32s cubic-bezier(.2,.8,.2,1),right .25s ease!important}
  .agmidtec-softdark .hero-refined{
    padding-top:116px!important;
  }
  .agmidtec-softdark .hero-refined .hero-photo{
    inset:116px 0 0 47%!important;
  }

  /* Estado compacto al empezar a hacer scroll */
  .agmidtec-softdark .site-header.scrolled{
    height:74px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 12px 34px rgba(17,42,31,.10)!important;
  }
  .agmidtec-softdark .site-header.scrolled .nav-shell{
    height:74px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:205px!important;
    min-width:205px!important;
    height:72px!important;
    flex-basis:205px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:205px!important;
    height:66px!important;
    max-height:none!important;
    transform:none!important;
  }
  .agmidtec-softdark .site-header.scrolled .main-nav a{
    padding-top:27px!important;
    padding-bottom:24px!important;
  }
  .agmidtec-softdark .site-header.scrolled .main-nav a:after{bottom:16px!important}
}

@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:98px!important;transition:height .3s ease!important}
  .agmidtec-softdark .brand{
    width:252px!important;min-width:252px!important;height:94px!important;flex-basis:252px!important;
    transition:all .3s ease!important;
  }
  .agmidtec-softdark .brand img{
    position:static!important;width:252px!important;height:88px!important;max-width:none!important;max-height:none!important;
    object-fit:contain!important;transform:none!important;transition:all .3s ease!important;
  }
  .agmidtec-softdark .hero-refined{padding-top:98px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:98px 0 0 47%!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:72px!important}
  .agmidtec-softdark .site-header.scrolled .brand{width:188px!important;min-width:188px!important;height:70px!important;flex-basis:188px!important}
  .agmidtec-softdark .site-header.scrolled .brand img{width:188px!important;height:62px!important;transform:none!important}
}

/* En móvil también inicia más visible y se recoge al desplazar. */
@media (max-width:900px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:88px!important;transition:height .28s ease!important}
  .agmidtec-softdark .brand{width:206px!important;min-width:206px!important;height:84px!important;flex-basis:206px!important;transition:all .28s ease!important}
  .agmidtec-softdark .brand img{
    position:static!important;width:206px!important;height:78px!important;max-width:none!important;max-height:none!important;
    object-fit:contain!important;transform:none!important;transition:all .28s ease!important;
  }
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:88px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:88px 0 auto 0!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:66px!important}
  .agmidtec-softdark .site-header.scrolled .brand{width:154px!important;min-width:154px!important;height:64px!important;flex-basis:154px!important}
  .agmidtec-softdark .site-header.scrolled .brand img{width:154px!important;height:58px!important;transform:none!important}
}

@media(prefers-reduced-motion:reduce){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell,
  .agmidtec-softdark .brand,
  .agmidtec-softdark .brand img,
  .agmidtec-softdark .main-nav a{transition:none!important}
}

/* =========================================================
   AGMIDTEC V05.4.6 · LOGO FLOTANTE SIN AGRANDAR EL HEADER
   El header conserva una altura compacta. El logo se superpone
   visualmente entre navegación y hero, y se recoge al hacer scroll.
   ========================================================= */

/* Desktop grande */
@media (min-width:1180px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{
    overflow:visible!important;
  }
  .agmidtec-softdark .site-header{
    height:76px!important;
  }
  .agmidtec-softdark .nav-shell{
    height:76px!important;
    position:relative!important;
    overflow:visible!important;
  }

  /* Reservamos espacio horizontal, no vertical. */
  .agmidtec-softdark .brand{
    width:305px!important;
    min-width:305px!important;
    flex:0 0 305px!important;
    height:76px!important;
    position:relative!important;
    align-self:stretch!important;
    overflow:visible!important;
    z-index:105!important;
    transition:width .30s cubic-bezier(.2,.8,.2,1),min-width .30s cubic-bezier(.2,.8,.2,1),flex-basis .30s cubic-bezier(.2,.8,.2,1)!important;
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;
    left:-4px!important;
    top:4px!important;
    width:300px!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:left top!important;
    transform:none!important;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 8px 18px rgba(16,42,32,.10))!important;
    transition:width .30s cubic-bezier(.2,.8,.2,1),top .30s cubic-bezier(.2,.8,.2,1),filter .25s ease!important;
  }

  /* El hero arranca justo después del header normal, no del logo grande. */
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{
    padding-top:76px!important;
  }
  .agmidtec-softdark .hero-refined .hero-photo{
    inset:76px 0 0 47%!important;
  }

  /* Navegación se mantiene compacta desde el inicio. */
  .agmidtec-softdark .main-nav a{
    padding-top:28px!important;
    padding-bottom:25px!important;
  }
  .agmidtec-softdark .main-nav a:after{bottom:16px!important}

  /* Al hacer scroll, el logo entra visualmente en el header. */
  .agmidtec-softdark .site-header.scrolled{
    height:68px!important;
    background:rgba(255,255,255,.988)!important;
    box-shadow:0 12px 34px rgba(17,42,31,.10)!important;
  }
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:68px!important}
  .agmidtec-softdark .site-header.scrolled .brand{
    width:178px!important;
    min-width:178px!important;
    flex-basis:178px!important;
    height:68px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:154px!important;
    top:-12px!important;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 5px 12px rgba(16,42,32,.08))!important;
  }
  .agmidtec-softdark .site-header.scrolled .main-nav a{
    padding-top:24px!important;
    padding-bottom:21px!important;
  }
  .agmidtec-softdark .site-header.scrolled .main-nav a:after{bottom:13px!important}
}

/* Laptop / tablet horizontal */
@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:72px!important}
  .agmidtec-softdark .nav-shell{position:relative!important;overflow:visible!important}
  .agmidtec-softdark .brand{
    width:250px!important;min-width:250px!important;flex:0 0 250px!important;height:72px!important;
    position:relative!important;overflow:visible!important;z-index:105!important;transition:all .28s ease!important;
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;left:-2px!important;top:4px!important;width:244px!important;height:auto!important;
    max-width:none!important;max-height:none!important;object-fit:contain!important;transform:none!important;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 7px 15px rgba(16,42,32,.09))!important;
    transition:all .28s ease!important;
  }
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:72px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:72px 0 0 47%!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:66px!important}
  .agmidtec-softdark .site-header.scrolled .brand{width:166px!important;min-width:166px!important;flex-basis:166px!important;height:66px!important}
  .agmidtec-softdark .site-header.scrolled .brand img{width:146px!important;top:-11px!important}
}

/* Móvil: logo visible sin hacer crecer la barra. */
@media (max-width:900px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:66px!important}
  .agmidtec-softdark .nav-shell{position:relative!important;overflow:visible!important}
  .agmidtec-softdark .brand{
    width:190px!important;min-width:190px!important;flex-basis:190px!important;height:66px!important;
    position:relative!important;overflow:visible!important;z-index:105!important;transition:all .26s ease!important;
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;left:-2px!important;top:3px!important;width:188px!important;height:auto!important;
    max-width:none!important;max-height:none!important;object-fit:contain!important;transform:none!important;
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 6px 14px rgba(16,42,32,.09))!important;
    transition:all .26s ease!important;
  }
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:66px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:66px 0 auto 0!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:62px!important}
  .agmidtec-softdark .site-header.scrolled .brand{width:145px!important;min-width:145px!important;flex-basis:145px!important;height:62px!important}
  .agmidtec-softdark .site-header.scrolled .brand img{width:132px!important;top:-9px!important}
}

@media(prefers-reduced-motion:reduce){
  .agmidtec-softdark .brand,
  .agmidtec-softdark .brand img{transition:none!important}
}


/* =========================================================
   AGMIDTEC V05.4.7 · LOGO FLOTANTE BALANCEADO
   Mantiene la idea del logo entre header y hero, pero con una
   escala más elegante y menos invasiva.
   ========================================================= */

@media (min-width:1180px){
  .agmidtec-softdark .brand{
    width:252px!important;
    min-width:252px!important;
    flex-basis:252px!important;
  }
  .agmidtec-softdark .brand img{
    left:-2px!important;
    top:5px!important;
    width:246px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:172px!important;
    min-width:172px!important;
    flex-basis:172px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:150px!important;
    top:-10px!important;
  }
}

@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .brand{
    width:220px!important;
    min-width:220px!important;
    flex-basis:220px!important;
  }
  .agmidtec-softdark .brand img{
    width:214px!important;
    top:5px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:160px!important;
    min-width:160px!important;
    flex-basis:160px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:142px!important;
    top:-10px!important;
  }
}

@media (max-width:900px){
  .agmidtec-softdark .brand{
    width:168px!important;
    min-width:168px!important;
    flex-basis:168px!important;
  }
  .agmidtec-softdark .brand img{
    width:164px!important;
    top:4px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:138px!important;
    min-width:138px!important;
    flex-basis:138px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:126px!important;
    top:-8px!important;
  }
}



/* =========================================================
   AGMIDTEC V05.4.8 · BRAND DOCK EQUILIBRADO
   El logo no crece el header ni queda "pegado" sobre el hero.
   Vive en una pieza blanca flotante entre header y hero y se
   compacta al iniciar scroll.
   ========================================================= */

@media (min-width:1180px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{
    overflow:visible!important;
  }
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{
    height:74px!important;
  }
  .agmidtec-softdark .nav-shell{
    overflow:visible!important;
    position:relative!important;
  }

  .agmidtec-softdark .brand{
    width:232px!important;
    min-width:232px!important;
    flex:0 0 232px!important;
    height:112px!important;
    margin:0!important;
    padding:10px 14px 14px!important;
    position:relative!important;
    top:0!important;
    align-self:flex-start!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    overflow:visible!important;
    background:rgba(255,255,255,.985)!important;
    border:1px solid rgba(224,231,225,.92)!important;
    border-top:0!important;
    border-radius:0 0 24px 24px!important;
    box-shadow:0 18px 38px rgba(15,42,31,.11)!important;
    z-index:120!important;
    transition:width .28s cubic-bezier(.2,.8,.2,1),height .28s cubic-bezier(.2,.8,.2,1),padding .28s cubic-bezier(.2,.8,.2,1),border-radius .28s ease,box-shadow .28s ease!important;
  }
  .agmidtec-softdark .brand img{
    position:static!important;
    width:202px!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    object-fit:contain!important;
    transform:none!important;
    filter:none!important;
    transition:width .28s cubic-bezier(.2,.8,.2,1)!important;
  }

  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{
    padding-top:74px!important;
  }
  .agmidtec-softdark .hero-refined .hero-photo{
    inset:74px 0 0 47%!important;
  }

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{
    height:66px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:158px!important;
    min-width:158px!important;
    flex-basis:158px!important;
    height:66px!important;
    padding:7px 10px!important;
    border-radius:0 0 16px 16px!important;
    box-shadow:0 10px 24px rgba(15,42,31,.08)!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:136px!important;
  }
}

@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:70px!important}
  .agmidtec-softdark .nav-shell{overflow:visible!important;position:relative!important}

  .agmidtec-softdark .brand{
    width:204px!important;
    min-width:204px!important;
    flex:0 0 204px!important;
    height:102px!important;
    margin:0!important;
    padding:9px 12px 13px!important;
    position:relative!important;
    top:0!important;
    align-self:flex-start!important;
    display:flex!important;
    align-items:flex-start!important;
    overflow:visible!important;
    background:rgba(255,255,255,.985)!important;
    border:1px solid rgba(224,231,225,.92)!important;
    border-top:0!important;
    border-radius:0 0 22px 22px!important;
    box-shadow:0 16px 32px rgba(15,42,31,.10)!important;
    z-index:120!important;
  }
  .agmidtec-softdark .brand img{
    position:static!important;
    width:178px!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    transform:none!important;
    filter:none!important;
  }

  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:70px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:70px 0 0 47%!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:64px!important}
  .agmidtec-softdark .site-header.scrolled .brand{
    width:148px!important;min-width:148px!important;flex-basis:148px!important;height:64px!important;
    padding:7px 9px!important;border-radius:0 0 15px 15px!important;box-shadow:0 9px 20px rgba(15,42,31,.08)!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{width:128px!important}
}

@media (max-width:900px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:64px!important}
  .agmidtec-softdark .nav-shell{overflow:visible!important;position:relative!important}

  .agmidtec-softdark .brand{
    width:166px!important;
    min-width:166px!important;
    flex:0 0 166px!important;
    height:88px!important;
    margin:0!important;
    padding:8px 10px 11px!important;
    position:relative!important;
    top:0!important;
    align-self:flex-start!important;
    display:flex!important;
    align-items:flex-start!important;
    overflow:visible!important;
    background:rgba(255,255,255,.99)!important;
    border:1px solid rgba(224,231,225,.94)!important;
    border-top:0!important;
    border-radius:0 0 18px 18px!important;
    box-shadow:0 12px 26px rgba(15,42,31,.10)!important;
    z-index:120!important;
  }
  .agmidtec-softdark .brand img{
    position:static!important;
    width:144px!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    transform:none!important;
    filter:none!important;
  }

  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:64px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:64px 0 auto 0!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:60px!important}
  .agmidtec-softdark .site-header.scrolled .brand{
    width:132px!important;min-width:132px!important;flex-basis:132px!important;height:60px!important;
    padding:6px 8px!important;border-radius:0 0 14px 14px!important;box-shadow:0 8px 18px rgba(15,42,31,.07)!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{width:114px!important}
}

/* =========================================================
   AGMIDTEC V05.4.9 · LOGO FLOTANTE SIN CAJA
   El logo cruza visualmente header/hero con un halo difuso,
   sin tarjeta, borde ni contenedor visible. Al hacer scroll se
   recoge por completo dentro del header compacto.
   ========================================================= */

@media (min-width:1180px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:74px!important}
  .agmidtec-softdark .nav-shell{position:relative!important;overflow:visible!important}

  .agmidtec-softdark .brand{
    width:228px!important;
    min-width:228px!important;
    flex:0 0 228px!important;
    height:74px!important;
    padding:0!important;
    margin:0!important;
    position:relative!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    z-index:120!important;
  }
  .agmidtec-softdark .brand:before{
    content:"";
    position:absolute;
    z-index:-1;
    left:-32px;
    top:-12px;
    width:286px;
    height:148px;
    pointer-events:none;
    opacity:.92;
    background:radial-gradient(ellipse at 38% 18%,rgba(255,255,255,1) 0%,rgba(255,255,255,.96) 32%,rgba(255,255,255,.72) 52%,rgba(255,255,255,.24) 69%,rgba(255,255,255,0) 84%);
    filter:blur(2px);
    transition:opacity .26s ease,transform .30s cubic-bezier(.2,.8,.2,1);
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;
    left:-4px!important;
    top:-9px!important;
    width:214px!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:none!important;
    filter:drop-shadow(0 2px 1px rgba(255,255,255,.95)) drop-shadow(0 9px 18px rgba(9,33,23,.13))!important;
    transition:width .30s cubic-bezier(.2,.8,.2,1),top .30s cubic-bezier(.2,.8,.2,1),filter .25s ease!important;
  }

  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{padding-top:74px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:74px 0 0 47%!important}

  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{height:66px!important}
  .agmidtec-softdark .site-header.scrolled .brand{
    width:160px!important;min-width:160px!important;flex-basis:160px!important;height:66px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand:before{
    opacity:0!important;
    transform:translateY(-10px) scale(.86)!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:138px!important;
    top:-9px!important;
    filter:drop-shadow(0 4px 10px rgba(9,33,23,.08))!important;
  }
}

@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:70px!important}
  .agmidtec-softdark .nav-shell{position:relative!important;overflow:visible!important}
  .agmidtec-softdark .brand{
    width:200px!important;min-width:200px!important;flex:0 0 200px!important;height:70px!important;
    padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
  }
  .agmidtec-softdark .brand:before{
    content:"";position:absolute;z-index:-1;left:-28px;top:-10px;width:250px;height:132px;pointer-events:none;opacity:.9;
    background:radial-gradient(ellipse at 38% 18%,rgba(255,255,255,1) 0%,rgba(255,255,255,.95) 34%,rgba(255,255,255,.68) 54%,rgba(255,255,255,.18) 72%,rgba(255,255,255,0) 86%);
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;left:-3px!important;top:-7px!important;width:190px!important;height:auto!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 2px 1px rgba(255,255,255,.95)) drop-shadow(0 8px 16px rgba(9,33,23,.12))!important;
  }
  .agmidtec-softdark .hero-refined,.agmidtec-softdark .hero-refined.hero-inner{padding-top:70px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:70px 0 0 47%!important}
  .agmidtec-softdark .site-header.scrolled,.agmidtec-softdark .site-header.scrolled .nav-shell{height:64px!important}
  .agmidtec-softdark .site-header.scrolled .brand{width:148px!important;min-width:148px!important;flex-basis:148px!important;height:64px!important}
  .agmidtec-softdark .site-header.scrolled .brand:before{opacity:0!important}
  .agmidtec-softdark .site-header.scrolled .brand img{width:128px!important;top:-8px!important;filter:drop-shadow(0 4px 9px rgba(9,33,23,.07))!important}
}

@media (max-width:900px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{overflow:visible!important}
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{height:64px!important}
  .agmidtec-softdark .nav-shell{position:relative!important;overflow:visible!important}
  .agmidtec-softdark .brand{
    width:158px!important;min-width:158px!important;flex:0 0 158px!important;height:64px!important;
    padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
  }
  .agmidtec-softdark .brand:before{
    content:"";position:absolute;z-index:-1;left:-22px;top:-7px;width:200px;height:108px;pointer-events:none;opacity:.92;
    background:radial-gradient(ellipse at 38% 18%,rgba(255,255,255,1) 0%,rgba(255,255,255,.95) 35%,rgba(255,255,255,.62) 58%,rgba(255,255,255,.13) 76%,rgba(255,255,255,0) 90%);
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;left:-2px!important;top:-4px!important;width:150px!important;height:auto!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 2px 1px rgba(255,255,255,.95)) drop-shadow(0 6px 13px rgba(9,33,23,.11))!important;
  }
  .agmidtec-softdark .hero-refined,.agmidtec-softdark .hero-refined.hero-inner{padding-top:64px!important}
  .agmidtec-softdark .hero-refined .hero-photo{inset:64px 0 auto 0!important}
  .agmidtec-softdark .site-header.scrolled,.agmidtec-softdark .site-header.scrolled .nav-shell{height:60px!important}
  .agmidtec-softdark .site-header.scrolled .brand{width:128px!important;min-width:128px!important;flex-basis:128px!important;height:60px!important}
  .agmidtec-softdark .site-header.scrolled .brand:before{opacity:0!important}
  .agmidtec-softdark .site-header.scrolled .brand img{width:112px!important;top:-7px!important;filter:drop-shadow(0 4px 8px rgba(9,33,23,.06))!important}
}

@media(prefers-reduced-motion:reduce){
  .agmidtec-softdark .brand:before,
  .agmidtec-softdark .brand img{transition:none!important}
}


/* =========================================================
   AGMIDTEC V05.4.10 · PLACA DE MARCA CON ÁREA DE RESPETO
   El logo queda completamente contenido, sin halo ni recortes.
   El header no crece: la placa se prolonga hacia el hero y,
   al hacer scroll, se integra al header compacto.
   ========================================================= */

/* Neutralizar por completo el halo de V05.4.9 */
.agmidtec-softdark .brand:before{
  background:none!important;
  filter:none!important;
  opacity:1!important;
}

@media (min-width:1180px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{
    overflow:visible!important;
  }
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .nav-shell{
    height:74px!important;
  }
  .agmidtec-softdark .nav-shell{
    position:relative!important;
    overflow:visible!important;
  }

  /* Reserva horizontal, nunca vertical: el header sigue compacto. */
  .agmidtec-softdark .brand{
    width:292px!important;
    min-width:292px!important;
    flex:0 0 292px!important;
    height:74px!important;
    padding:0!important;
    margin:0!important;
    position:relative!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    z-index:140!important;
    transition:width .30s cubic-bezier(.2,.8,.2,1),flex-basis .30s cubic-bezier(.2,.8,.2,1)!important;
  }

  /* Placa continua con el header: contiene TODO el logo y su clear space. */
  .agmidtec-softdark .brand:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    z-index:0!important;
    left:0!important;
    top:0!important;
    width:282px!important;
    height:164px!important;
    opacity:1!important;
    background:#fff!important;
    border:1px solid rgba(18,49,38,.08)!important;
    border-top:0!important;
    border-radius:0 0 28px 28px!important;
    box-shadow:0 14px 34px rgba(16,42,31,.10)!important;
    pointer-events:none!important;
    transform-origin:top left!important;
    transition:width .30s cubic-bezier(.2,.8,.2,1),height .30s cubic-bezier(.2,.8,.2,1),border-radius .25s ease,box-shadow .25s ease,background .25s ease!important;
  }

  .agmidtec-softdark .brand img{
    position:absolute!important;
    z-index:1!important;
    left:25px!important;
    top:11px!important;
    width:232px!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:none!important;
    filter:none!important;
    transition:width .30s cubic-bezier(.2,.8,.2,1),left .30s cubic-bezier(.2,.8,.2,1),top .30s cubic-bezier(.2,.8,.2,1)!important;
  }

  /* El hero conserva la altura/posición aprobada. */
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{
    padding-top:74px!important;
  }
  .agmidtec-softdark .hero-refined .hero-photo{
    inset:74px 0 0 47%!important;
  }

  /* Scroll: la placa se funde con el header y el logo queda completo. */
  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .site-header.scrolled .nav-shell{
    height:66px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:154px!important;
    min-width:154px!important;
    flex-basis:154px!important;
    height:66px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand:before{
    width:148px!important;
    height:66px!important;
    border-color:transparent!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:122px!important;
    left:10px!important;
    top:-4px!important;
    filter:none!important;
  }
}

/* Tablet y móvil: sin placa ni halo; logo completo y limpio dentro del header. */
@media (max-width:1179px){
  .agmidtec-softdark .brand:before{
    content:none!important;
    display:none!important;
  }
  .agmidtec-softdark .brand{
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
  }
  .agmidtec-softdark .brand img{
    filter:none!important;
  }
}

@media (min-width:901px) and (max-width:1179px){
  .agmidtec-softdark .brand{
    width:176px!important;min-width:176px!important;flex-basis:176px!important;height:70px!important;
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;left:0!important;top:-3px!important;width:160px!important;height:auto!important;max-width:none!important;max-height:none!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:146px!important;min-width:146px!important;flex-basis:146px!important;height:64px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:124px!important;left:0!important;top:-5px!important;
  }
}

@media (max-width:900px){
  .agmidtec-softdark .brand{
    width:150px!important;min-width:150px!important;flex-basis:150px!important;height:64px!important;
  }
  .agmidtec-softdark .brand img{
    position:absolute!important;left:0!important;top:0!important;width:138px!important;height:auto!important;max-width:none!important;max-height:none!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand{
    width:126px!important;min-width:126px!important;flex-basis:126px!important;height:60px!important;
  }
  .agmidtec-softdark .site-header.scrolled .brand img{
    width:112px!important;left:0!important;top:-3px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .agmidtec-softdark .brand,
  .agmidtec-softdark .brand:before,
  .agmidtec-softdark .brand img{transition:none!important}
}


/* =========================================================
   V05.4.11 · Ajuste fino de placa de marca
   - la placa del logo toma el mismo tono del header
   - se aumenta el respiro entre la placa y el texto del hero
   ========================================================= */
@media (min-width:1180px){
  .agmidtec-softdark .brand:before{
    background:#f5f7f4!important;
    border-color:rgba(18,49,38,.06)!important;
    box-shadow:0 10px 24px rgba(16,42,31,.06)!important;
  }

  .agmidtec-softdark .hero-refined .hero-copy,
  .agmidtec-softdark .hero-refined.hero-inner .hero-copy{
    padding-top:78px!important;
  }

  .agmidtec-softdark .hero-refined .eyebrow{
    margin-bottom:16px!important;
  }

  .agmidtec-softdark .site-header.scrolled .brand:before{
    background:#f5f7f4!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }
}


/* =========================================================
   V05.4.12 · Unión visual header + placa de marca
   Elimina la línea/seam entre la placa y el header.
   ========================================================= */
@media (min-width:1180px){
  .agmidtec-softdark .site-header{
    background:#f7f8f7!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }

  .agmidtec-softdark .brand:before{
    background:#f7f8f7!important;
    border:0!important;
    top:-1px!important;
    box-shadow:0 18px 28px -22px rgba(16,42,31,.20)!important;
  }

  .agmidtec-softdark .site-header.scrolled{
    background:#f7f8f7!important;
    border-bottom:0!important;
    box-shadow:0 8px 24px rgba(16,42,31,.055)!important;
  }

  .agmidtec-softdark .site-header.scrolled .brand:before{
    background:#f7f8f7!important;
    border:0!important;
    top:0!important;
    box-shadow:none!important;
  }
}


/* =========================================================
   V05.4.13 · Unificación óptica total header + placa
   Misma superficie, sin sombras ni filtros que alteren el tono.
   ========================================================= */
@media (min-width:1180px){
  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled,
  .agmidtec-softdark .nav-shell,
  .agmidtec-softdark .brand{
    background:#f7f8f7!important;
  }

  .agmidtec-softdark .site-header,
  .agmidtec-softdark .site-header.scrolled{
    border-bottom:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  .agmidtec-softdark .brand{
    box-shadow:none!important;
    border:0!important;
  }

  .agmidtec-softdark .brand:before,
  .agmidtec-softdark .site-header.scrolled .brand:before{
    background:#f7f8f7!important;
    border:0!important;
    box-shadow:none!important;
    filter:none!important;
    opacity:1!important;
  }

  /* pequeño solape para evitar cualquier hairline por antialiasing */
  .agmidtec-softdark .brand:before{
    top:-2px!important;
  }

  .agmidtec-softdark .site-header.scrolled .brand:before{
    top:0!important;
  }
}


/* V07.1 · Espacio bajo la placa del logo en las páginas internas.
   Header: 74px; placa: 164px. El contenido comienza a 192px,
   dejando al menos 28px de aire. Inicio y los tamaños sin placa
   conservan sus reglas aprobadas. */
@media (min-width:1180px){
  .agmidtec-softdark.page-empresa .hero-refined.hero-inner .hero-copy,
  .agmidtec-softdark.page-servicios .hero-refined.hero-inner .hero-copy,
  .agmidtec-softdark.page-proyectos .hero-refined.hero-inner .hero-copy,
  .agmidtec-softdark.page-contacto .hero-refined.hero-inner .hero-copy{
    padding-top:118px!important;
  }
}


/* V07.2 · Un mismo punto de inicio para los pretítulos de escritorio. */
@media (min-width:1180px){
  .agmidtec-softdark .hero-refined .hero-grid{align-items:start!important;}
  .agmidtec-softdark .hero-refined .hero-copy,
  .agmidtec-softdark .hero-refined.hero-inner .hero-copy{
    padding-top:118px!important;
    align-self:start!important;
  }
  .agmidtec-softdark .hero-refined .hero-copy > .eyebrow{
    margin-top:0!important;
  }
}
/* Encuadre de la fotografía real seleccionada; otras imágenes siguen editables. */
.agmidtec-softdark.page-inicio .hero-photo-img[src="assets/img/real-work/automatizacion-tablero.webp"]{
  object-position:50% 32%!important;
}
@media (max-width:820px){
  .agmidtec-softdark.page-inicio .hero-photo-img[src="assets/img/real-work/automatizacion-tablero.webp"]{
    object-position:50% 25%!important;
  }
}


/* V07.3 · Portada aprobada: técnico ascendiendo la escalera. */
.agmidtec-softdark.page-inicio .hero-photo-img[src$="hero-inicio-escalera.webp"]{
  object-position:75% 40%!important;
}
@media (max-width:820px){
  .agmidtec-softdark.page-inicio .hero-photo-img[src$="hero-inicio-escalera.webp"]{
    object-position:75% 25%!important;
  }
}


/* =========================================================
   AGMIDTEC V08.5 · Corrección quirúrgica de fotografías y hero
   Restablece contenido visible sin JavaScript, respeta CMS.
   ========================================================= */
html:not(.ag-animations-ready) .reveal{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}
/* El visor y el sitio público comparten la misma composición. */
.agmidtec-softdark .hero-refined{
  min-height:680px!important;
  padding-top:76px!important;
  background:#091915!important;
  isolation:isolate;
}
.agmidtec-softdark .hero-refined.hero-inner{
  min-height:590px!important;
}
.agmidtec-softdark .hero-refined .hero-grid{
  min-height:inherit!important;
  grid-template-columns:minmax(0,640px) 1fr!important;
  align-items:center!important;
}
.agmidtec-softdark .hero-refined .hero-copy,
.agmidtec-softdark .hero-refined.hero-inner .hero-copy{
  position:relative!important;
  z-index:3!important;
  align-self:center!important;
  padding:95px 0 70px!important;
  max-width:670px!important;
}
.agmidtec-softdark .hero-refined .hero-photo{
  position:absolute!important;
  inset:76px 0 0 39%!important;
  height:auto!important;
  background:none!important;
  overflow:hidden!important;
  filter:none!important;
  opacity:1!important;
}
.agmidtec-softdark .hero-refined .hero-photo-img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 48%!important;
  filter:none!important;
  transform:none!important;
}
/* Gradiente limitado al lugar donde va el texto. La foto queda protagonista. */
.agmidtec-softdark .hero-refined .hero-overlay{
  z-index:1!important;
  background:linear-gradient(90deg,#091915 0%,#091915 23%,rgba(9,25,21,.94) 37%,rgba(9,25,21,.58) 51%,rgba(9,25,21,.10) 73%,transparent 100%)!important;
}
.agmidtec-softdark .hero-refined .hero-copy h1{
  max-width:620px!important;
  font-size:clamp(39px,4.1vw,62px)!important;
  line-height:1.04!important;
}
.agmidtec-softdark .hero-refined.hero-inner .hero-copy h1{
  font-size:clamp(37px,3.65vw,54px)!important;
}
.agmidtec-softdark .hero-refined .hero-lead{max-width:530px!important;}
/* El encuadre recomendado de la fotografía de refinería incluye planta y cielo. */
.agmidtec-softdark.page-inicio .hero-refined .hero-photo-img[src$="refineria-barranquilla-agmidtec.webp"]{
  object-position:53% 53%!important;
}
/* En galerías verticales, encuadrar fotos en vez de recortar elementos críticos. */
.agmidtec-softdark .tech-collage img,
.agmidtec-softdark .company-v51-about-media img,
.agmidtec-softdark .company-v51-gallery img{
  width:100%!important;height:100%!important;object-fit:cover!important;
}
@media (min-width:821px) and (max-width:1179px){
  .agmidtec-softdark .hero-refined{min-height:660px!important;}
  .agmidtec-softdark .hero-refined.hero-inner{min-height:570px!important;}
  .agmidtec-softdark .hero-refined .hero-photo{inset:76px 0 0 38%!important;}
  .agmidtec-softdark .hero-refined .hero-copy,
  .agmidtec-softdark .hero-refined.hero-inner .hero-copy{padding:90px 0 55px!important;}
  .agmidtec-softdark .hero-refined .hero-copy h1{font-size:clamp(36px,4.4vw,50px)!important;}
}
@media (max-width:820px){
  .agmidtec-softdark .hero-refined,
  .agmidtec-softdark .hero-refined.hero-inner{
    min-height:0!important;
    height:auto!important;
    padding:66px 0 0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  .agmidtec-softdark .hero-refined .hero-photo{
    position:relative!important;
    inset:auto!important;
    height:clamp(280px,70vw,425px)!important;
    width:100%!important;
    flex:none!important;
    opacity:1!important;
  }
  .agmidtec-softdark .hero-refined .hero-photo-img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:50% 52%!important;
  }
  .agmidtec-softdark .hero-refined .hero-overlay{
    position:absolute!important;
    inset:66px 0 0!important;
    z-index:1!important;
    background:linear-gradient(180deg,transparent 0%,rgba(9,25,21,.12) 36%,rgba(9,25,21,.84) 70%,#091915 92%)!important;
    pointer-events:none!important;
  }
  .agmidtec-softdark .hero-refined .hero-grid{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    min-height:0!important;
    margin-top:-80px!important;
  }
  .agmidtec-softdark .hero-refined .hero-copy,
  .agmidtec-softdark .hero-refined.hero-inner .hero-copy{
    padding:0 0 40px!important;
    max-width:none!important;
  }
  .agmidtec-softdark .hero-refined .hero-copy h1,
  .agmidtec-softdark .hero-refined.hero-inner .hero-copy h1{
    font-size:clamp(33px,8.2vw,47px)!important;
    line-height:1.06!important;
  }
  .agmidtec-softdark .hero-refined .hero-lead{max-width:570px!important;}
  .agmidtec-softdark .hero-refined .hero-points{overflow-x:auto!important;}
  .agmidtec-softdark .hero-refined .hero-stamp{display:none!important;}
}
@media (max-width:480px){
  .agmidtec-softdark .hero-refined .hero-photo{height:clamp(270px,83vw,350px)!important;}
  .agmidtec-softdark .hero-refined .hero-grid{margin-top:-65px!important;}
  .agmidtec-softdark .hero-refined .hero-copy,
  .agmidtec-softdark .hero-refined.hero-inner .hero-copy{padding-bottom:32px!important;}
}


/* V08.8 — Presentación visual de imágenes en servicios y proyectos */
.service-v51-media{
  height:210px!important;
  padding:14px!important;
  background:linear-gradient(180deg,#f7faf8 0%,#edf3ef 100%)!important;
}
.service-v51-media img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
.service-v51-card:hover .service-v51-media img{transform:scale(1.01)!important}
.service-detail-panel{
  width:min(1120px,calc(100vw - 48px))!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
}
.service-detail-media{
  min-height:560px!important;
  padding:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:radial-gradient(circle at top left,rgba(14,87,51,.16),transparent 34%),linear-gradient(135deg,#eef4f0 0%,#f8fbf9 46%,#e7efea 100%)!important;
}
.service-detail-media img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:508px!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:18px!important;
}
.project-tile .tile-image{
  height:220px!important;
  background:linear-gradient(180deg,#eff5f1 0%,#e8efea 100%)!important;
}
.project-tile .tile-image img{
  object-fit:cover!important;
  object-position:center center!important;
}
@media(max-width:980px){
  .service-detail-panel{width:min(760px,calc(100vw - 28px))!important;grid-template-columns:1fr!important}
  .service-detail-media{min-height:300px!important;padding:18px!important}
  .service-detail-media img{max-height:280px!important}
}
@media(max-width:640px){
  .service-v51-media{height:190px!important;padding:12px!important}
  .project-tile .tile-image{height:205px!important}
}

/* V08.15 — Soluciones: 3 tarjetas mejor renderizadas y áreas más claras */
.service-catalog-v51{padding-top:56px!important}
.service-area-tabs{gap:10px!important;align-items:center!important}
.service-area-tabs a{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:11px 15px!important;border-radius:999px!important;background:#fff!important;border:1px solid #dfe8e1!important;color:#28443c!important;box-shadow:0 10px 22px rgba(17,45,34,.035)!important}
.service-area-tabs a small{display:inline-flex!important;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#f2f7f4;color:#087839;font-size:10px;font-weight:900;line-height:1}
.service-area-tabs a:hover{transform:translateY(-1px);border-color:#8ad19f!important;box-shadow:0 14px 28px rgba(17,45,34,.06)!important}
.service-area-tabs .area-tab-icon-v54{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#edf7ef;color:#0a7b39}
.service-area-v51{padding:22px 0 52px!important;border-bottom:1px solid #edf1ee!important}
.service-area-v51:last-child{border-bottom:0!important;padding-bottom:0!important}
.service-area-head{display:grid!important;grid-template-columns:1fr auto!important;align-items:end!important;gap:28px!important;margin-bottom:22px!important}
.service-area-head-main{display:flex;align-items:flex-start;gap:16px}
.service-area-index{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:#f2f7f4;border:1px solid #e1e8e3;color:#0b7b39;font-size:14px;font-weight:900;letter-spacing:.08em;flex:none}
.service-area-head-copy{display:grid;gap:8px}
.service-area-kicker{display:flex!important;align-items:center;gap:9px;margin:0!important;color:#0a7a39!important;letter-spacing:.16em!important}
.service-area-kicker i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#edf7ef;color:#0a7a39}
.service-area-head h2{margin:0!important;font-size:clamp(28px,2.7vw,38px)!important;line-height:1.07!important;max-width:760px!important}
.service-area-caption{margin:0!important;max-width:780px;color:#6a7973;font-size:13px;line-height:1.6}
.service-area-count{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:999px;background:#f3f8f5;color:#0b7a39;font-size:11px;font-weight:900;border:1px solid #e1e8e3!important}
.service-area-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
.service-v51-card{display:grid!important;grid-template-rows:auto 1fr!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important;border:1px solid #e1e8e3!important;box-shadow:0 12px 34px rgba(17,45,34,.05)!important}
.service-v51-card:hover{transform:translateY(-4px)!important;box-shadow:0 22px 44px rgba(17,45,34,.09)!important}
.service-v51-media{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:248px!important;padding:0!important;border:0!important;background:linear-gradient(180deg,#f2f6f3 0%,#edf4ef 100%)!important;overflow:hidden!important;isolation:isolate}
.service-v51-media::after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:4px;border-radius:999px;background:linear-gradient(90deg,#0ca54d 0%,#4ec46e 100%);opacity:.95;z-index:2}
.service-v51-media .ag-service-photo-halo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:blur(22px) saturate(.92) brightness(.9)!important;transform:scale(1.08)!important;opacity:.42!important}
.service-v51-media .ag-service-photo-main{position:relative!important;z-index:1!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;padding:16px 16px 10px!important;filter:none!important}
.service-v51-body{display:flex!important;flex-direction:column!important;gap:10px!important;padding:18px 18px 19px!important}
.service-v51-body>span{font-size:9px!important;line-height:1!important;letter-spacing:.18em!important;color:#128345!important}
.service-v51-body h3{min-height:44px;font-size:17px!important;line-height:1.16!important;margin:0!important;color:#142724!important}
.service-v51-body p{margin:0!important;font-size:12px!important;line-height:1.55!important;color:#667570!important;min-height:56px!important}
.service-v51-more{margin-top:auto!important;display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-height:44px!important;padding:0 14px!important;border:1px solid #d8e3db!important;border-radius:12px!important;background:#fbfdfb!important;color:#0a7136!important;font-size:11px!important;font-weight:900!important;transition:.2s ease!important}
.service-v51-more:hover{gap:12px!important;background:#eff8f1!important;border-color:#a6d8b3!important}
.service-v51-more .icon{margin-left:auto!important}
.area-electrica .service-area-index,.area-electrica .service-area-count{background:#f1f8f3!important}
.area-civil .service-area-index,.area-civil .service-area-count{background:#f5f7f7!important;color:#205c57!important}
.area-mecanica .service-area-index,.area-mecanica .service-area-count{background:#f7f6f1!important;color:#7a6a19!important}
.area-civil .service-area-kicker i{background:#edf6f5!important;color:#205c57!important}
.area-mecanica .service-area-kicker i{background:#faf4de!important;color:#7a6a19!important}
.area-civil .service-v51-media::after{background:linear-gradient(90deg,#1f8f8b 0%,#6dc2bb 100%)!important}
.area-mecanica .service-v51-media::after{background:linear-gradient(90deg,#c3a326 0%,#e3cb62 100%)!important}

@media(max-width:1180px){
  .service-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
  .service-v51-media{height:228px!important}
  .service-v51-body h3{font-size:16px!important;min-height:40px}
}
@media(max-width:980px){
  .service-area-head{grid-template-columns:1fr!important;align-items:start!important}
  .service-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  .service-v51-media{height:220px!important}
}
@media(max-width:820px){
  .service-catalog-v51{padding-top:48px!important}
  .service-area-head-main{gap:12px!important}
  .service-area-index{width:40px;height:40px;border-radius:13px!important}
  .service-area-head h2{font-size:clamp(26px,7.8vw,34px)!important}
  .service-area-caption{font-size:12.5px!important}
  .service-area-grid{grid-template-columns:1fr!important;gap:14px!important}
  .service-v51-media{height:238px!important}
  .service-v51-media .ag-service-photo-main{padding:14px 14px 9px!important}
  .service-v51-body h3{min-height:0!important}
  .service-v51-body p{min-height:0!important}
}

/* AGMIDTEC V08.36-L01: asegurar contraste en el pie cuando se carga un logo único oscuro; sin filtros, recortes ni controles nuevos. */
.site-footer .footer-brand img[data-ag-custom-logo="1"]{background:#fff!important;padding:4px!important;border-radius:10px!important;box-sizing:border-box!important;filter:none!important;object-fit:contain!important}
