/* Magna Computación · V18. Capa visual no destructiva sobre V17. */
:root{--magna-electric:#4a76ff;--magna-cyan:#58d9fa}
html{scroll-behavior:smooth}
body{overflow-x:clip}
img{max-width:100%}
.site-header{box-shadow:0 10px 35px rgba(0,0,0,.08)}
.site-header.is-scrolled{box-shadow:0 12px 45px rgba(0,0,0,.34)}
:is(.btn,.nav-cta,.web-simple-link,.avg-card,.web-work-card):focus-visible{outline:2px solid #9bdcff!important;outline-offset:4px}

/* Desarrollo Web: evidencia de proyectos, en vez de listas planas. */
.web-page .web-value{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 87% 38%,rgba(44,89,209,.21),transparent 47%),linear-gradient(125deg,#0b1326,#0b172e 62%,#0b1020)}
.web-page .web-value:before{content:"";position:absolute;z-index:-1;width:490px;height:490px;right:-220px;top:-200px;border:1px solid rgba(125,175,255,.14);border-radius:50%;box-shadow:0 0 0 75px rgba(51,101,247,.027),0 0 0 150px rgba(51,101,247,.019)}
.web-value-grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:center;gap:clamp(32px,5vw,80px)}
.web-value-grid>div:first-child{position:relative;z-index:2}
.web-value-grid h2{font-size:clamp(35px,4vw,57px)}
.web-value-grid>div:first-child>p{font-size:16px;line-height:1.8;color:#bdcce2}
.web-value-visual{position:relative;min-width:0;min-height:400px;isolation:isolate;display:flex;align-items:center;padding:34px 40px 60px 0}
.web-value-visual:before{content:"";position:absolute;inset:30px 4px 60px 0;background:radial-gradient(ellipse at 50% 50%,rgba(71,109,238,.28),transparent 70%);z-index:-1;filter:blur(25px)}
.web-visual-label{position:absolute;top:2px;left:15px;display:flex;gap:9px;align-items:center;letter-spacing:.13em;font-size:9px;font-weight:800;color:#acd1ff}
.web-live-dot{height:7px;width:7px;background:#60e0bd;border-radius:50%;box-shadow:0 0 14px #53e0c8}
.web-value-desktop{position:relative;overflow:hidden;flex:1;margin:0;background:#0c1525;border:1px solid #5074b6;border-radius:16px;box-shadow:0 30px 65px #020715ad,0 0 0 6px #8ab4ff08;transform:perspective(900px) rotateY(-3deg) rotateZ(-1deg);height:292px}
.web-mock-browser{height:29px;background:#152440;display:flex;align-items:center;gap:5px;padding:0 13px;border-bottom:1px solid #456188}
.web-mock-browser i{height:6px;width:6px;border-radius:50%;background:#94abda}.web-mock-browser i:first-child{background:#ef867d}.web-mock-browser i:nth-child(2){background:#efc06e}.web-mock-browser i:nth-child(3){background:#71c49e}
.web-mock-browser span{font-size:9px;letter-spacing:.02em;color:#b1c2e4;margin-left:11px}
.web-value-desktop img{display:block;width:100%;height:calc(100% - 29px);object-fit:cover;object-position:top;filter:saturate(1.07)}
.web-value-mobile{width:27%;height:265px;min-width:108px;position:absolute;bottom:24px;right:0;margin:0;background:#08111e;border:5px solid #15223b;border-radius:26px;box-shadow:0 23px 45px #000b,0 0 0 1px #6b95ed;transform:rotate(6deg);overflow:hidden;z-index:2}
.web-value-mobile img{width:100%;height:100%;object-fit:cover;object-position:top center}
.web-phone-notch{position:absolute;top:0;left:25%;width:50%;height:11px;border-radius:0 0 12px 12px;background:#091421;z-index:2}
.web-visual-chip{position:absolute;left:12%;bottom:8px;z-index:3;padding:13px 18px;border-radius:12px;background:rgba(13,26,48,.96);border:1px solid #47699f;box-shadow:0 15px 30px #030816aa}
.web-visual-chip strong{display:block;font-size:12px;color:#f5f9ff}.web-visual-chip span{font-size:11px;color:#a9c5e8}
.web-value-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:25px}
.web-value-benefits article{background:linear-gradient(155deg,#192d4c,#101d34);border:1px solid #35517f;border-radius:15px;padding:19px 15px 17px;min-width:0;display:flex;align-items:flex-start;gap:12px;transition:transform .25s,border-color .25s,background .25s}
.web-value-benefits article:hover{transform:translateY(-4px);border-color:#7199f9;background:linear-gradient(155deg,#1b3963,#121f38)}
.web-benefit-symbol{flex:0 0 36px;height:36px;display:grid;place-items:center;font-size:19px;font-weight:700;border-radius:11px;background:#264474;color:#bbd6ff}
.web-value-benefits h3{font-size:15px;line-height:1.25;letter-spacing:-.015em;margin:0 0 8px;color:#f0f5ff}
.web-value-benefits p{font-size:11px;line-height:1.6;color:#a3badc;margin:0}
.web-page .web-work{background:radial-gradient(ellipse at 5% 0,#12366c35,transparent 45%),#080e1b}
.web-work-card{box-shadow:0 18px 38px #02061445;transition:transform .3s,border-color .3s}
.web-work-card:hover{transform:translateY(-5px);border-color:#618aff}
.web-work-image{height:245px}
.web-work-image img{filter:saturate(1.03) brightness(.94)}
.web-page .web-process{position:relative;background:linear-gradient(155deg,#101a2d,#111f3c);overflow:hidden}
.web-page .web-process:before{content:"";position:absolute;right:-70px;top:-120px;width:420px;height:420px;border-radius:50%;background:#4779e114;filter:blur(80px)}
.web-process-steps{position:relative;gap:18px}
.web-process-steps:before{content:"";position:absolute;top:50%;left:4%;right:4%;height:2px;background:linear-gradient(90deg,#30599c,#88b6ff,#30599c);opacity:.6}
.web-process-steps article{position:relative;z-index:1;display:flex;flex-direction:column;min-height:285px;border:1px solid #476290;padding:25px;border-radius:19px;background:linear-gradient(160deg,#182b49,#0e182b);box-shadow:0 20px 50px #03071855;transition:transform .25s,border-color .25s}
.web-process-steps article:hover{transform:translateY(-5px);border-color:#83aaff}
.web-process-steps article>span{font-size:43px;line-height:1;opacity:.88;margin-bottom:16px}
.web-process-icon{width:63px;height:63px;border:1px solid #5278b5;display:grid;place-items:center;border-radius:16px;background:#193662;box-shadow:0 8px 25px #132f6740;margin-bottom:23px;color:#a3d0ff}
.web-process-icon svg{width:32px;height:32px}
.web-process-steps h3{font-size:19px}.web-process-steps p{color:#b0c1db;line-height:1.65}
.web-scope-note{font-size:12px;color:#a4b9dc}

/* Catálogo AVG: visuales de producto realmente diferentes y de lectura rápida. */
.avg-page .avg-campaign-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 75% 25%,#1c4c7280,transparent 50%),radial-gradient(ellipse at 20% 85%,#18365d55,transparent 55%),#091322}
.avg-page .avg-campaign-hero:before{content:"";position:absolute;z-index:-1;inset:-10%;pointer-events:none;background:linear-gradient(115deg,transparent 12%,rgba(88,147,255,.065) 35%,transparent 49%);animation:magna-sheen 14s linear infinite}
@keyframes magna-sheen{0%{transform:translateX(-40%)}100%{transform:translateX(75%)}}
.campaign-product{position:relative;isolation:isolate;box-shadow:0 28px 70px #0007,0 0 0 1px #78a8ff18;border-color:#456587;background:radial-gradient(ellipse at 50% 20%,#24406d,#101d34 70%);overflow:hidden}
.campaign-product:before{content:"";position:absolute;inset:15%;border:1px solid #5e8cdd26;border-radius:50%;box-shadow:0 0 0 50px #5e8cdd08;pointer-events:none;z-index:-1;animation:avg-orbit 13s ease-in-out infinite alternate}
@keyframes avg-orbit{from{transform:translate(-16px,5px) rotate(-6deg)}to{transform:translate(16px,-7px) rotate(6deg)}}
.campaign-product>img{max-height:340px;object-fit:contain;filter:drop-shadow(0 20px 15px #03091366);transition:opacity .22s ease,transform .45s ease}
.campaign-product>img.is-switching{opacity:.12;transform:translateY(6px)}
.campaign-product-label strong{min-height:29px}.campaign-product figcaption{font-size:11px;line-height:1.5}
.avg-hero-switcher{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 12px 12px}
.avg-hero-switcher button{background:#162b44;color:#c4d6e9;border:1px solid #3b577d;padding:9px 11px;border-radius:9px;cursor:pointer;min-height:40px;font:700 11px var(--font);transition:border-color .2s,background .2s}
.avg-hero-switcher button:hover,.avg-hero-switcher button.is-active{color:#fff;background:#285a86;border-color:#65c5e5}
.avg-catalog-jump{display:flex;gap:12px;flex-wrap:wrap;margin:-10px 0 31px}
.avg-catalog-jump a{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;color:#e4eeff;background:linear-gradient(115deg,#193567,#112544);font-size:13px;font-weight:800;padding:15px 18px;border-radius:12px;border:1px solid #4d6f9b;min-width:185px;transition:border-color .2s,transform .2s}
.avg-catalog-jump a:hover{border-color:#86c9ff;transform:translateY(-2px)}
.avg-page .avg-card{position:relative;min-height:0;overflow:hidden;box-shadow:0 14px 33px #0003;border-color:#304867;padding:17px 17px 21px;background:linear-gradient(160deg,#14243d,#0b1528)}
.avg-page .avg-card:hover{border-color:#78aaff;box-shadow:0 22px 50px #03081788,0 0 0 1px #8acfff18}
.avg-page .avg-card-media{position:relative;display:flex;justify-content:center;align-items:center;height:182px;overflow:hidden;border:1px solid #35527d;border-radius:12px;background:radial-gradient(circle at 50% 35%,#233e6c,#0e1c32 78%);padding:12px;margin-bottom:18px}
.avg-page .avg-card-media>img{width:100%;height:100%;max-height:158px;object-fit:contain;object-position:center;filter:drop-shadow(0 15px 15px #0005);transition:transform .3s}
.avg-page .avg-card:hover .avg-card-media>img{transform:scale(1.045)}
.avg-page .avg-authentic-icon{padding:5px;display:grid;place-items:center;width:100%;height:100%;min-height:0}
.avg-page .avg-authentic-icon img{height:85px!important;width:85px!important;max-width:90px!important;filter:drop-shadow(0 12px 17px #0008)}
.avg-page .avg-media-tag{position:absolute;left:9px;bottom:9px;z-index:2;background:rgba(8,20,40,.90);border:1px solid #4e74a8;border-radius:6px;padding:5px 9px;color:#cfe4ff;letter-spacing:.08em;font-size:9px;font-weight:800;line-height:1.3;backdrop-filter:blur(7px)}
.avg-page .avg-card-head{margin-bottom:8px}.avg-page .avg-card h3{font-size:19px;min-height:0}.avg-page .avg-card p{font-size:12px;line-height:1.65;color:#b2c2d9}
.avg-page .avg-card-cta{font-size:12px;padding-top:12px;color:#b6d9ff}
.avg-page .avg-hero-art:has(img[src*="avg-antitrack-sin-fondo"]){background:radial-gradient(ellipse at 50% 30%,#2c4974,#0a162b 75%)}
.avg-page .avg-hero-art img[src*="avg-antitrack-sin-fondo"]{display:block;width:100%;height:auto;max-height:330px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 20px 19px #02061188)}
.avg-page .gallery-item:has(img[src*="avg-antitrack-sin-fondo"]){background:radial-gradient(ellipse at center,#27416e,#101b2e 80%)}
.avg-page .gallery-item img[src*="avg-antitrack-sin-fondo"]{filter:drop-shadow(0 15px 15px #020816aa)}
.avg-faq details[open],.web-faq-questions details[open]{background:linear-gradient(105deg,#152a4d66,transparent 80%)}
.avg-faq summary,.web-faq-questions summary{transition:color .16s}.avg-faq summary:hover,.web-faq-questions summary:hover{color:#97caff}
.avg-page :is(.avg-card,.gallery-item) img{max-width:100%}

/* Mejorar la presentación AVG en la home. */
.avg-home-graphic .avg-collage-card{overflow:hidden}
.avg-home-graphic .avg-collage-card img{object-fit:contain;object-position:center}

/* Pantallas tablet y celulares */
@media(max-width:1100px){.web-value-grid{gap:30px}.web-value-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.web-value-visual{min-height:360px}.web-process-steps article{min-height:285px}}
@media(max-width:880px){.web-value-grid{grid-template-columns:1fr;gap:28px}.web-value-visual{width:min(100%,650px);margin:auto}.web-page .web-work-grid{gap:14px}.campaign-product{width:min(100%,640px)}.avg-page .avg-card-media{height:175px}}
@media(max-width:680px){
 html{scroll-padding-top:90px}
 .web-page .web-value,.web-page .web-process{padding-top:64px;padding-bottom:68px}
 .web-value-grid h2{font-size:clamp(34px,8.4vw,49px)}
 .web-value-grid>div:first-child>p{font-size:14px;margin:18px 0 23px}
 .web-value-visual{padding:30px 19px 45px 0;min-height:275px}
 .web-value-desktop{height:220px;border-radius:12px}
 .web-value-mobile{width:26%;min-width:85px;height:185px;border-width:3px;right:0;bottom:20px;border-radius:16px}
 .web-phone-notch{height:7px}
 .web-visual-label{top:0;left:3px;font-size:8px}
 .web-visual-chip{left:8px;bottom:2px;padding:9px 11px;border-radius:8px}
 .web-visual-chip strong{font-size:10px}.web-visual-chip span{font-size:9px}
 .web-value-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
 .web-value-benefits article{padding:14px;display:block}
 .web-benefit-symbol{margin-bottom:10px;width:34px;height:34px}
 .web-value-benefits h3{font-size:13px}.web-value-benefits p{font-size:11px}
 .web-process-steps:before{top:4%;bottom:4%;left:25px;right:auto;width:2px;height:auto;background:linear-gradient(#4274c3,#71b0ff,#4274c3)}
 .web-process-steps article{min-height:0;padding:23px 23px 23px 72px}
 .web-process-steps article>span{font-size:25px;margin-bottom:10px}
 .web-process-icon{position:absolute;left:13px;top:26px;height:43px;width:43px;border-radius:12px}
 .web-process-icon svg{width:25px;height:25px}
 .web-process-steps h3{font-size:18px}.web-process-steps p{font-size:12px}
 .web-work-image{height:225px}
 .avg-catalog-jump{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .avg-catalog-jump a{min-width:0;padding:14px 10px;gap:8px;font-size:12px;white-space:normal}
 .avg-page .avg-card{padding:15px;border-radius:15px}.avg-page .avg-card-media{height:190px;margin-bottom:14px}
 .avg-page .avg-card h3{font-size:21px}.avg-page .avg-card p{font-size:13px}
 .avg-page .avg-hero-art img[src*="avg-antitrack-sin-fondo"]{max-height:260px}
 .avg-hero-switcher{gap:7px}.avg-hero-switcher button{flex:1;white-space:normal;padding:8px;font-size:10px}
 .campaign-product-label strong{font-size:20px}
 .campaign-product>img{max-height:260px}
 .avg-page .avg-cta-wide{gap:16px}.avg-page .avg-cta-wide .btn{width:100%;text-align:center}
 .web-page :is(input,textarea,select),.contact-form :is(input,select,textarea){font-size:16px}
 .float-whatsapp{bottom:calc(18px + env(safe-area-inset-bottom));right:14px}
 .back-to-top{bottom:calc(87px + env(safe-area-inset-bottom));right:18px}
}
@media(max-width:385px){.web-value-benefits{grid-template-columns:1fr}.web-value-benefits article{display:flex}.web-benefit-symbol{margin-bottom:0}.web-value-mobile{min-width:76px;height:163px}.web-value-desktop{height:195px}.web-value-visual{min-height:245px}.avg-hero-switcher button{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.avg-page .avg-campaign-hero:before,.campaign-product:before{animation:none!important}.web-value-benefits article,.web-process-steps article,.avg-page .avg-card-media>img,.campaign-product>img{transition:none!important}}
