@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');:root{--navy:#091e39;--red:#ef1024;--light:#f3f6f9;--gray:#566476;--line:#e3e9f0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--navy);line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.13}h1{font-size:clamp(2.8rem,5vw,5rem);font-weight:800;letter-spacing:-.05em}h2{font-size:clamp(2rem,3vw,3rem);letter-spacing:-.04em}h3{font-size:1.3rem}.container{width:min(1140px,calc(100% - 48px));margin:auto}.site-header{position:sticky;top:0;background:white;z-index:20;box-shadow:0 2px 16px #0a204115}.nav-wrap{display:flex;justify-content:space-between;align-items:center;min-height:84px;gap:18px}.brand{display:flex;align-items:center;min-width:260px}.brand-full-logo{height:58px;width:auto;max-width:min(100%,290px);object-fit:contain}.nav-links{display:flex;align-items:center;gap:18px}.nav-links>a:not(.btn){font-size:13px;font-weight:700;white-space:nowrap;padding:12px 0}.nav-links>a.active{color:var(--red);border-bottom:2px solid var(--red)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;border:0;border-radius:7px;background:var(--red);color:white!important;font-weight:800;font-size:14px;cursor:pointer;line-height:1.3;transition:transform .2s,background .2s}.btn:hover{background:#cc081b;transform:translateY(-2px)}.btn-sm{font-size:12px;padding:12px 15px}.menu-toggle{display:none;background:white;border:1px solid var(--line);border-radius:5px;padding:7px 12px;font-size:24px}.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:440px;background:#162d49}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(2,17,37,.92),rgba(2,17,37,.66) 45%,rgba(2,17,37,.1)),var(--hero-image) center 52%/cover no-repeat}.hero-content{padding:70px 0;color:white}.hero h1{max-width:760px;margin:14px 0}.hero p{max-width:520px;font-size:18px}.eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--red);margin-bottom:14px}.eyebrow:before{content:'';display:inline-block;width:27px;height:3px;background:var(--red);vertical-align:middle;margin-right:10px}.eyebrow.light{color:#fff}.hero-actions{display:flex;gap:12px;margin-top:22px}.btn-ghost{background:transparent;border:1px solid white}.section{padding:75px 0}.section-muted{background:var(--light)}.intro-row{max-width:820px;margin-bottom:30px}.intro-row p{color:var(--gray)}.cards.three{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.service-card,.value-cards article{overflow:hidden;border-radius:11px;background:white;box-shadow:0 4px 25px #11274412;border:1px solid #e8ecf1}.service-card img{width:100%;height:225px;object-fit:cover}.service-body{padding:24px}.service-body p,.split p,.feature-grid p,.value-cards p,.info-cards p{color:var(--gray)}.service-body>a,.text-link{color:var(--red);font-weight:800}.service-icon{color:var(--red);font-size:28px}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px}.rounded-img{width:100%;max-height:390px;object-fit:cover;border-radius:12px;box-shadow:0 12px 35px #091e391a}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}.feature-grid>div{border-left:2px solid var(--line);padding:15px 22px}.feature-grid b{font-size:27px;color:var(--red)}.cta{background:var(--navy);color:white;padding:47px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{font-size:clamp(1.6rem,2.8vw,2.6rem);margin-bottom:8px}.cta p{margin:0;color:#dbe5ef}.footer{background:#06182e;color:#eff4f9;padding:50px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;gap:44px}.footer h3{font-size:1rem}.footer p{color:#c8d3e0;font-size:13px}.footer a:not(.footer-logo-image-link){display:block;color:#dce8f4;font-size:13px;margin-bottom:8px}.footer-logo-image-link{display:inline-block;margin-bottom:8px}.footer-logo-image{height:56px;width:auto;max-width:280px;object-fit:contain}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff33;margin-top:28px;padding-top:20px;font-size:11px;color:#b1bed0}
.footer-certifications{padding-top:10px;padding-bottom:20px;display:flex;justify-content:flex-end;align-items:center}.footer-certifications img{width:320px;max-width:50%;height:auto;max-height:none;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}
.service-detail{scroll-margin-top:105px}.service-detail h3{color:var(--gray);font-weight:600}.checks{list-style:none;padding:0;margin:22px 0}.checks li{margin-bottom:10px}.checks li:before{content:'✓';color:var(--red);font-weight:800;margin-right:11px}.value-cards article{padding:36px 28px;text-align:center}.value-cards span{display:block;font-size:45px;color:var(--red)}.contact-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:60px}.contact-form{padding:25px;background:var(--light);border-radius:12px}.contact-form label{display:block;font-weight:700;font-size:13px;margin-bottom:16px}.contact-form input,.contact-form textarea,.contact-form select{display:block;margin-top:6px;width:100%;border:1px solid #cbd5e1;border-radius:5px;background:white;padding:12px 13px;font:inherit;color:var(--navy)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-note{font-size:12px;color:var(--gray);margin-top:12px}.info-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info-cards>div{border:1px solid var(--line);border-radius:9px;padding:21px;min-width:0}.info-cards span{color:var(--red);font-size:30px}.info-cards h3{font-size:17px;margin:6px 0}.info-cards a{display:block;font-size:13px;overflow-wrap:anywhere}.info-cards a:hover{color:var(--red)}.info-cards p{font-size:13px;margin:0}.market-card{margin-top:20px;padding:25px;background:#fff3f4;border:1px solid #ffc6cb;border-radius:10px}.market-card p{color:var(--gray)}.map-panel{height:340px;border-radius:12px;overflow:hidden;background:#dce8ed}.map-panel iframe{width:100%;height:100%;border:0}@media(max-width:1000px){.nav-links{gap:10px}.nav-links>a:not(.btn){font-size:12px}.brand{min-width:175px}.brand strong{font-size:21px}}@media(max-width:800px){.menu-toggle{display:block}.nav-wrap{min-height:70px}.nav-links{display:none;position:absolute;left:0;right:0;top:70px;background:white;padding:18px 24px;box-shadow:0 12px 25px #0002;flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.nav-links a{width:100%}.hero{min-height:380px}.hero-content{padding:60px 0}.cards.three,.feature-grid{grid-template-columns:1fr}.split,.contact-grid{grid-template-columns:1fr;gap:26px}.footer-grid{grid-template-columns:1fr;gap:20px}.cta-inner{align-items:flex-start;flex-direction:column}.section{padding:50px 0}.service-card img{height:240px}}@media(max-width:520px){.container{width:min(100% - 30px,1140px)}.brand img{height:44px;width:44px}.brand strong{font-size:20px}.brand small{font-size:9px}.hero p{font-size:16px}.hero-actions{flex-wrap:wrap}.form-row,.info-cards{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:10px}}

/* Páginas corporativas sin fotografías */
.hero.hero-text-only{min-height:295px;background:linear-gradient(115deg,#071629 0%,#153354 68%,#244563 100%);}
.hero.hero-text-only:before{background:none;}
.hero.hero-text-only .hero-content{padding:57px 0;}
.text-only-content{max-width:920px;margin-inline:auto;}
.text-only-content p{max-width:780px;}
.legal-company-name{font-size:14px!important;font-weight:800;color:#fff!important;margin:11px 0 8px;letter-spacing:.015em;}

/* Fotografía histórica de la empresa */
.history-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:44px;align-items:center;}
.history-photo{margin:0;}
.history-photo img{width:100%;height:auto;aspect-ratio:1492/1024;object-fit:cover;border-radius:12px;box-shadow:0 12px 30px #091e391c;}
.history-photo figcaption{font-size:12px;color:var(--gray);margin-top:9px;}
@media(max-width:800px){.history-grid{grid-template-columns:1fr;gap:22px;}}



@media(max-width:1000px){.brand{min-width:220px}.brand-full-logo{height:50px;max-width:250px}}
@media(max-width:520px){.brand-full-logo{height:44px;max-width:220px}.footer-logo-image{height:48px;max-width:230px}}
@media(max-width:800px){.footer-certifications{justify-content:center;padding-bottom:16px}.footer-certifications img{width:260px;max-width:78%}}


/* Propuesta de logos de certificaciones en tarjeta blanca */
.footer-certifications,.footer-certifications img{display:none!important}
.footer-certifications-wrap{display:flex;justify-content:flex-end;padding-top:8px;padding-bottom:8px}
.cert-card{background:#fff;border-radius:14px;padding:16px 18px 14px;box-shadow:0 8px 24px rgba(0,0,0,.12);max-width:640px;width:100%}
.cert-title{margin:0 0 12px;color:#091e39;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.cert-logos{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.cert-logo-item{background:#fff;border:1px solid #e4e8ef;border-radius:10px;padding:8px;display:flex;align-items:center;justify-content:center;min-height:64px}
.cert-logo-item img{display:block;max-width:100%;height:auto}
.cert-logo-sqas{width:122px}
.cert-logo-sqas img{width:100px}
.cert-logo-anlic{width:86px}
.cert-logo-anlic img{width:70px}
.cert-logo-tuv{width:190px}
.cert-logo-tuv img{width:170px}
.cert-logo-astave{width:122px}
.cert-logo-astave img{width:104px}
@media(max-width:980px){.footer-certifications-wrap{justify-content:center}.cert-card{max-width:100%}.cert-logos{justify-content:center}}
@media(max-width:640px){.cert-card{padding:14px}.cert-title{text-align:center}.cert-logo-sqas,.cert-logo-anlic,.cert-logo-tuv,.cert-logo-astave{width:auto}.cert-logo-sqas img{width:88px}.cert-logo-anlic img{width:62px}.cert-logo-tuv img{width:165px}.cert-logo-astave img{width:92px}}

/* Ajuste solicitado: logos del mismo tamaño, más pequeños y ANLIC más visible */
.footer-certifications-wrap{justify-content:flex-end;padding-top:6px;padding-bottom:6px}
.cert-card{max-width:500px;padding:13px 15px 11px}
.cert-title{font-size:11px;margin-bottom:10px}
.cert-logos{display:grid;grid-template-columns:repeat(4,92px);justify-content:end;gap:8px}
.cert-logo-item{width:92px;height:72px;min-height:72px;padding:6px;overflow:hidden}
.cert-logo-item img{max-width:100%;max-height:52px;height:auto;object-fit:contain}
.cert-logo-sqas,.cert-logo-anlic,.cert-logo-tuv,.cert-logo-astave{width:92px}
.cert-logo-sqas img{width:70px}
.cert-logo-anlic img{width:66px;max-height:58px}
.cert-logo-tuv img{width:78px;max-height:52px}
.cert-logo-astave img{width:72px}
@media(max-width:980px){.footer-certifications-wrap{justify-content:center}.cert-card{max-width:500px}.cert-logos{grid-template-columns:repeat(4,92px);justify-content:center}}
@media(max-width:640px){.cert-card{max-width:320px;padding:12px}.cert-title{text-align:center}.cert-logos{grid-template-columns:repeat(2,92px);justify-content:center}}

/* Ajuste ANLIC nuevo archivo */
.cert-logo-anlic img{width:74px !important;max-height:60px !important;}

/* Páginas de información legal */
.legal-content{max-width:940px;margin:0 auto;line-height:1.8}
.legal-content h2{font-size:1.45rem;margin:35px 0 12px;color:var(--navy)}
.legal-content h3{font-size:1.08rem;margin:20px 0 8px;color:var(--navy)}
.legal-content p,.legal-content li{color:#44546b}
.legal-content ul{padding-left:24px}
.legal-content a{color:var(--red);text-decoration:underline}
.legal-content .legal-review{border-left:3px solid var(--red);padding:12px 18px;background:#fff7f7;border-radius:0 8px 8px 0}
.footer .footer-legal-links{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.footer .footer-legal-links a{display:inline;color:#dce8f4;font-size:12px;margin:0;text-decoration:underline;text-underline-offset:3px}
.footer .footer-legal-links a:hover{color:white}
@media(max-width:600px){.footer .footer-legal-links{gap:6px}}
