:root{
  --navy:#063c68;
  --navy-deep:#00365d;
  --blue:#0a96ef;
  --green:#11b67a;
  --text:#063b68;
  --white:#fff;
  --header-h:118px;
  --max:1360px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button{font:inherit}
.site-header{height:var(--header-h);background:#fff;position:relative;z-index:20;border-bottom:1px solid rgba(0,61,104,.08)}
.header-shell{max-width:var(--max);height:100%;margin:0 auto;padding:0 26px;display:flex;align-items:center;gap:24px}
.brand{width:245px;height:112px;display:flex;align-items:center;justify-content:center;z-index:3;flex:0 0 245px}
.brand img{display:block;width:228px;height:104px;object-fit:contain;padding:5px 8px;background:#fff;border:4px solid #fff;border-radius:56px;box-shadow:0 7px 20px rgba(0,47,85,.16)}
.desktop-nav{display:flex;align-items:center;gap:24px;margin-left:10px;flex:1;min-width:0}
.desktop-nav a{font-size:14px;line-height:1;font-weight:700;color:#0d3f6b;white-space:nowrap;position:relative;padding:44px 0 40px}
.desktop-nav a.is-active::after{content:"";position:absolute;left:0;right:0;bottom:27px;height:2px;background:#1599ea;border-radius:2px}
.desktop-nav .has-menu span{font-size:14px;margin-left:3px}
.header-cta{display:inline-flex;align-items:center;gap:10px;background:#078fd5;color:#fff;border-radius:9px;padding:13px 18px;font-size:13px;font-weight:700;box-shadow:0 5px 16px rgba(0,123,190,.18);white-space:nowrap}
.header-cta span{font-size:19px;line-height:0}
.menu-toggle{display:none;width:44px;height:44px;border:0;border-radius:10px;background:transparent;padding:10px;cursor:pointer}
.menu-toggle span{display:block;height:2px;background:#063c68;border-radius:3px;margin:5px 0}
.mobile-menu{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #e6eef4;box-shadow:0 12px 24px rgba(0,47,85,.12)}
.mobile-menu nav{padding:14px 20px 22px;display:grid;gap:2px}
.mobile-menu a{padding:13px 10px;font-weight:700;color:#073d68;border-bottom:1px solid #edf3f7}
.mobile-menu .mobile-cta{margin-top:10px;text-align:center;color:#fff;background:#078fd5;border-radius:9px;border:0}
.sustainability-left picture,.sustainability-right-wrap picture,.contact-factory picture,.process-card picture{display:block;width:100%;height:100%}

.hero{position:relative;min-height:565px;background:#003d68;overflow:hidden;color:#fff}
.hero-media{position:absolute;inset:0;background-image:url('../images/home/carousel/slide-001-desktop.webp');background-size:cover;background-position:center top;background-repeat:no-repeat}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,54,92,.26) 0%,rgba(0,54,92,.04) 48%,rgba(0,54,92,0) 72%);pointer-events:none}
.hero-shell{position:relative;z-index:2;max-width:var(--max);min-height:565px;margin:0 auto;padding:57px 32px 0;display:flex;flex-direction:column;justify-content:space-between}
.hero-copy{width:min(595px,47vw)}
.hero h1{margin:0 0 17px;font-size:clamp(43px,4.1vw,68px);line-height:.97;letter-spacing:-2.4px;font-weight:800;color:#fff;text-wrap:balance}
.hero-copy p{margin:0;width:min(535px,100%);font-size:18px;line-height:1.42;font-weight:400;color:rgba(255,255,255,.96)}
.hero-actions{display:flex;gap:18px;margin-top:31px;align-items:center}
.btn{height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:28px;padding:0 26px;font-size:15px;font-weight:700;transition:.2s ease}
.btn-primary{background:#12b57d;color:#fff;gap:14px;min-width:165px;box-shadow:0 5px 18px rgba(4,80,64,.2)}
.btn-primary span{font-size:20px}
.btn-outline{border:1.5px solid rgba(255,255,255,.8);color:#fff;background:rgba(1,59,99,.16);min-width:178px}
.btn:hover{transform:translateY(-1px)}
.hero-points{margin-top:44px;min-height:98px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;border-top:1px solid rgba(255,255,255,.06);background:linear-gradient(90deg,rgba(0,52,88,.15),rgba(0,52,88,.25));padding:17px 0 18px}
.hero-point{display:flex;align-items:center;gap:13px;padding:0 24px;border-right:1px solid rgba(255,255,255,.16);min-height:58px}
.hero-point:first-child{padding-left:0}
.hero-point:last-child{border-right:0;padding-right:0}
.hero-point>span:last-child{font-size:13px;line-height:1.26;font-weight:700;color:#fff}
.point-icon{width:45px;height:45px;border:2px solid rgba(255,255,255,.72);border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.point-icon svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.point-icon.accent{border-color:#25c68b;background:rgba(20,178,126,.18)}

.next-module-placeholder{background:#fff;min-height:160px;border-bottom:1px solid #edf2f6}
.placeholder-shell{max-width:var(--max);margin:auto;padding:45px 32px}
.placeholder-shell p{margin:0;color:#8ea1b0;font-size:14px}

@media (max-width:1180px){
  .desktop-nav{gap:18px}.desktop-nav a{font-size:13px}.header-cta{padding:12px 16px}
  .hero-copy{width:52vw}.hero h1{font-size:52px}.hero-point{padding:0 13px}.hero-point>span:last-child{font-size:12px}
}
@media (max-width:980px){
  :root{--header-h:68px}
  .header-shell{padding:0 18px}.brand{width:70px;height:76px}.brand img{width:67px;height:73px}
  .desktop-nav,.header-cta{display:none}.menu-toggle{display:block;margin-left:auto}
  .hero{min-height:720px}
  .hero-media{background-image:url('../images/home/carousel/slide-001-mobile.webp');background-position:center 22%;background-size:cover;}
  .hero-shade{background:linear-gradient(180deg,rgba(0,54,92,.82) 0%,rgba(0,54,92,.58) 45%,rgba(0,54,92,.24) 70%,rgba(0,54,92,.52) 100%)}
  .hero-shell{min-height:720px;padding:54px 24px 0}
  .hero-copy{width:100%;max-width:590px}
  .hero h1{font-size:clamp(40px,7.4vw,59px);line-height:.98;letter-spacing:-1.7px}
  .hero-copy p{font-size:17px;max-width:510px}
  .hero-points{grid-template-columns:1fr 1fr;gap:0;padding:8px 0 16px;margin-top:45px;background:rgba(0,45,78,.34)}
  .hero-point{border-right:0;border-bottom:1px solid rgba(255,255,255,.12);padding:13px 12px;min-height:80px}
  .hero-point:nth-child(odd){border-right:1px solid rgba(255,255,255,.12)}
  .hero-point:nth-child(n+3){border-bottom:0}
  .hero-point:first-child{padding-left:12px}.hero-point:last-child{padding-right:12px}
}
@media (max-width:620px){
  .hero{min-height:790px}
  .hero-shell{min-height:790px;padding:43px 20px 0}
  .hero h1{font-size:43px;line-height:1.01;letter-spacing:-1.4px;margin-bottom:15px}
  .hero-copy p{font-size:16px;line-height:1.38}
  .hero-actions{gap:11px;margin-top:24px;flex-wrap:wrap}
  .btn{height:47px;padding:0 21px;font-size:14px}.btn-primary{min-width:150px}.btn-outline{min-width:160px}
  .hero-points{margin-left:-20px;margin-right:-20px;padding-left:8px;padding-right:8px}
  .point-icon{width:40px;height:40px}.point-icon svg{width:22px;height:22px}
  .hero-point>span:last-child{font-size:11.5px}
}
@media (max-width:390px){
  .hero h1{font-size:38px}.hero-copy p{font-size:15px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr}.btn{padding:0 10px;min-width:0}
}

/* MÓDULO 02 — UNA EMPRESA CON PROPÓSITO */
.purpose-section{background:#fff;border-bottom:1px solid #edf3f7}
.purpose-shell{max-width:var(--max);margin:0 auto;padding:28px 32px 30px;display:grid;grid-template-columns:minmax(310px,1.12fr) minmax(650px,2fr);gap:38px;align-items:center}
.purpose-copy{padding-right:10px}
.purpose-copy h2{margin:0 0 3px;color:#063b68;font-size:27px;line-height:1.05;letter-spacing:-.6px;font-weight:800}
.purpose-copy h3{margin:0 0 12px;color:#063b68;font-size:15px;line-height:1.2;font-weight:800}
.purpose-copy p{margin:0 0 19px;max-width:445px;color:#405d73;font-size:14px;line-height:1.45;font-weight:400}
.purpose-link{display:inline-flex;align-items:center;gap:12px;background:#078fd5;color:#fff;border-radius:20px;padding:10px 18px;font-size:12px;line-height:1;font-weight:700;box-shadow:0 5px 16px rgba(0,123,190,.15);transition:.2s ease}
.purpose-link span{font-size:17px;line-height:0}
.purpose-link:hover{transform:translateY(-1px)}
.purpose-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.purpose-card{min-height:145px;background:#fff;border:1px solid #edf3f7;border-radius:8px;padding:14px 12px 13px;text-align:center;box-shadow:0 7px 18px rgba(4,56,91,.075);display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.purpose-icon{width:47px;height:47px;display:grid;place-items:center;margin-bottom:5px;color:#0799ed}
.purpose-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.purpose-card h3{margin:0 0 7px;color:#063b68;font-size:14px;line-height:1.08;font-weight:800;letter-spacing:-.2px}
.purpose-card p{margin:0;color:#526c7d;font-size:10.5px;line-height:1.28;font-weight:400}

@media (max-width:1100px){
  .purpose-shell{grid-template-columns:1fr;gap:23px;padding-top:30px;padding-bottom:32px}
  .purpose-copy{padding-right:0;max-width:670px}
  .purpose-copy p{max-width:650px}
}
@media (max-width:760px){
  .purpose-shell{padding:27px 20px 31px;gap:22px}
  .purpose-copy h2{font-size:25px}
  .purpose-copy h3{font-size:14px}
  .purpose-copy p{font-size:14px}
  .purpose-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .purpose-card{min-height:148px;padding:14px 10px}
}
@media (max-width:430px){
  .purpose-cards{grid-template-columns:1fr 1fr;gap:10px}
  .purpose-card{min-height:151px}
  .purpose-card h3{font-size:13px}
  .purpose-card p{font-size:10px}
}

/* MÓDULO 03 — SOLUCIONES EN LAS QUE TRABAJAMOS */
.sectors-section{background:#f8fbfd;border-bottom:1px solid #edf3f7}
.sectors-shell{max-width:var(--max);margin:0 auto;padding:25px 32px 30px}
.section-heading{margin-bottom:15px}
.section-heading h2{margin:0 0 4px;color:#063b68;font-size:26px;line-height:1.05;letter-spacing:-.55px;font-weight:800}
.section-heading p{margin:0;color:#405d73;font-size:13px;line-height:1.4}
.sector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 13px}
.sector-card{display:block;background:#fff;border:1px solid #e7eef4;border-radius:7px;overflow:hidden;box-shadow:0 5px 14px rgba(4,56,91,.065);transition:transform .18s ease,box-shadow .18s ease}
.sector-card:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(4,56,91,.11)}
.sector-card img{display:block;width:100%;aspect-ratio:1.24/1;object-fit:cover;background:#eef4f7}
.sector-label{min-height:62px;display:flex;align-items:center;gap:14px;padding:8px 15px 9px;background:#fff}
.sector-icon{width:43px;height:43px;display:grid;place-items:center;color:#0b9cf1;flex:0 0 auto}
.sector-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sector-label strong{color:#073b69;font-size:14px;line-height:1.06;font-weight:800;letter-spacing:-.15px}

@media (max-width:1100px){
  .sector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .sector-card img{aspect-ratio:1.5/1}
}
@media (max-width:620px){
  .sectors-shell{padding:26px 20px 29px}
  .section-heading h2{font-size:25px}
  .section-heading p{font-size:13px}
  .sector-grid{gap:10px}
  .sector-card img{aspect-ratio:1.18/1}
  .sector-label{min-height:68px;padding:8px 9px;gap:7px}
  .sector-icon{width:34px;height:34px}
  .sector-icon svg{width:30px;height:30px}
  .sector-label strong{font-size:12px}
}
@media (max-width:390px){
  .sector-label strong{font-size:11px}
  .sector-label{gap:5px;padding-left:7px;padding-right:7px}
}


/* =========================================================
   MÓDULO 04 — NUESTROS PRODUCTOS, SOLUCIONES INTEGRALES
   ========================================================= */
.products-section{
  background:#fff;
  padding:30px 0 34px;
}
.products-shell{
  width:min(1568px, calc(100% - 64px));
  margin:0 auto;
}
.products-heading{
  margin-bottom:22px;
}
.product-solution-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}
.product-solution-card{
  display:block;
  overflow:hidden;
  border:1px solid #e4edf4;
  border-radius:8px;
  background:#fff;
  color:#003f75;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(0,55,95,.045);
  transition:transform .18s ease, box-shadow .18s ease;
}
.product-solution-card:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 20px rgba(0,55,95,.10);
}
.product-solution-card img{
  display:block;
  width:100%;
  aspect-ratio:1.42/1;
  object-fit:cover;
}
.product-solution-label{
  min-height:83px;
  display:flex;
  align-items:center;
  gap:17px;
  padding:13px 20px;
  background:#fff;
}
.product-solution-icon{
  flex:0 0 43px;
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  color:#0098ee;
}
.product-solution-icon svg{
  width:39px;
  height:39px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.product-solution-label strong{
  display:block;
  font-size:18px;
  line-height:1.03;
  font-weight:800;
  letter-spacing:-.3px;
}

@media (max-width: 1100px){
  .product-solution-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px){
  .products-section{padding:25px 0 30px;}
  .products-shell{width:min(100% - 30px, 720px);}
  .products-heading{margin-bottom:16px;}
  .product-solution-grid{gap:12px;}
  .product-solution-label{
    min-height:70px;
    gap:10px;
    padding:11px 12px;
  }
  .product-solution-icon{
    flex-basis:34px;
    width:34px;
    height:34px;
  }
  .product-solution-icon svg{width:32px;height:32px;}
  .product-solution-label strong{
    font-size:14px;
    letter-spacing:-.15px;
  }
}
@media (max-width: 420px){
  .product-solution-grid{grid-template-columns:1fr;}
  .product-solution-card img{aspect-ratio:1.55/1;}
  .product-solution-label strong{font-size:16px;}
}


/* =========================================================
   MÓDULO 05 — QUÍMICA RESPONSABLE Y ECONOMÍA CIRCULAR
   ========================================================= */
.sustainability-section{
  position:relative;
  min-height:190px;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(235,250,241,.98) 0%, rgba(250,255,251,.98) 40%, rgba(247,253,247,.98) 100%);
  border-top:1px solid #e1ede5;
  border-bottom:1px solid #dceadf;
}
.sustainability-left{
  position:absolute;
  inset:0 auto 0 0;
  width:27%;
  overflow:hidden;
  pointer-events:none;
}
.sustainability-left::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,0) 50%, rgba(244,253,247,.98) 100%);
}
.sustainability-left img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.sustainability-shell{
  width:min(1568px, calc(100% - 64px));
  min-height:190px;
  margin:0 auto;
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(480px, 1fr) 390px;
  align-items:center;
  gap:26px;
}
.sustainability-copy{
  max-width:720px;
  margin-left:24%;
  padding:24px 0 22px;
}
.sustainability-copy h2{
  margin:0 0 8px;
  color:#003f75;
  font-size:34px;
  line-height:.98;
  letter-spacing:-1.1px;
  font-weight:850;
}
.sustainability-copy > p{
  margin:0;
  color:#285873;
  font-size:15.5px;
  line-height:1.4;
  max-width:630px;
}
.sustainability-benefits{
  margin-top:15px;
  display:flex;
  align-items:center;
  gap:30px;
}
.sustainability-benefit{
  display:flex;
  align-items:center;
  gap:9px;
  color:#1b6670;
  font-size:13px;
  line-height:1.1;
  font-weight:750;
}
.sustainability-icon{
  width:34px;
  height:34px;
  border:2px solid #19b881;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  color:#19b881;
}
.sustainability-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sustainability-right-wrap{
  position:relative;
  align-self:stretch;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.sustainability-right-wrap::before{
  content:"";
  position:absolute;
  inset:0 auto 0 -90px;
  width:130px;
  background:linear-gradient(90deg, rgba(247,253,247,1), rgba(247,253,247,0));
  z-index:2;
  pointer-events:none;
}
.sustainability-right-image{
  height:100%;
  width:330px;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.sustainability-handnote{
  position:absolute;
  z-index:4;
  right:0;
  top:25px;
  margin:0;
  color:#00458b;
  font-family:"Comic Sans MS","Segoe Print",cursive;
  font-size:18px;
  line-height:1.05;
  font-weight:700;
  transform:rotate(-5deg);
  text-align:left;
}

@media (max-width: 1180px){
  .sustainability-shell{
    grid-template-columns:1fr 300px;
  }
  .sustainability-copy{margin-left:20%;}
  .sustainability-right-image{width:280px;}
}
@media (max-width: 850px){
  .sustainability-section{min-height:330px;}
  .sustainability-left{
    width:42%;
    opacity:.9;
  }
  .sustainability-shell{
    width:min(100% - 30px, 760px);
    min-height:330px;
    grid-template-columns:1fr;
    align-items:start;
  }
  .sustainability-copy{
    margin-left:0;
    padding:28px 0 155px;
    max-width:100%;
    position:relative;
    z-index:3;
  }
  .sustainability-copy h2{
    font-size:30px;
    max-width:420px;
  }
  .sustainability-copy > p{
    font-size:14px;
    max-width:480px;
  }
  .sustainability-benefits{
    gap:14px;
    flex-wrap:wrap;
  }
  .sustainability-right-wrap{
    position:absolute;
    right:-6px;
    bottom:0;
    width:286px;
    height:154px;
  }
  .sustainability-right-image{
    width:252px;
    height:154px;
  }
  .sustainability-handnote{
    top:5px;
    right:4px;
    font-size:15px;
  }
}
@media (max-width: 560px){
  .sustainability-section{min-height:450px;}
  .sustainability-left{
    width:100%;
    height:198px;
    bottom:auto;
  }
  .sustainability-left::after{
    background:linear-gradient(180deg, rgba(247,253,247,0) 30%, rgba(247,253,247,.98) 100%);
  }
  .sustainability-copy{
    padding:206px 0 156px;
  }
  .sustainability-copy h2{
    font-size:27px;
  }
  .sustainability-benefits{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px 18px;
  }
  .sustainability-benefit{
    font-size:12px;
  }
  .sustainability-right-wrap{
    height:144px;
    width:238px;
    right:-2px;
    bottom:2px;
  }
  .sustainability-right-image{
    height:144px;
    width:226px;
  }
}


/* =========================================================
   MÓDULO 06 — ACOMPAÑAMOS TU ÉXITO
   ========================================================= */
.process-section{
  background:#fff;
  padding:28px 0 30px;
  border-top:1px solid #e8eef2;
}
.process-shell{
  width:min(1568px, calc(100% - 64px));
  margin:0 auto;
}
.process-heading{
  margin-bottom:18px;
}
.process-heading h2{
  margin:0 0 5px;
  color:#003f75;
  font-size:31px;
  line-height:1.05;
  letter-spacing:-.8px;
  font-weight:850;
}
.process-heading p{
  margin:0;
  color:#37637e;
  font-size:15px;
  line-height:1.35;
}
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.process-card{
  min-width:0;
}
.process-step-line{
  min-height:60px;
  display:grid;
  grid-template-columns:38px 1fr 25px;
  align-items:center;
  column-gap:11px;
  margin-bottom:10px;
}
.process-number{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#16b981;
  color:#fff;
  font-size:18px;
  font-weight:800;
}
.process-step-line h3{
  margin:0;
  color:#003f75;
  font-size:16px;
  line-height:1.02;
  font-weight:800;
}
.process-arrow{
  color:#1dbd8c;
  font-size:28px;
  line-height:1;
  font-weight:500;
  text-align:right;
}
.process-card img{
  display:block;
  width:100%;
  aspect-ratio:1.45/1;
  object-fit:cover;
  border-radius:7px;
  box-shadow:0 2px 8px rgba(0,55,95,.05);
}

@media (max-width: 1100px){
  .process-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 18px;
  }
  .process-card:nth-child(2) .process-arrow{display:none;}
}
@media (max-width: 700px){
  .process-section{padding:24px 0 28px;}
  .process-shell{width:min(100% - 30px, 720px);}
  .process-heading h2{font-size:27px;}
  .process-heading p{font-size:14px;}
  .process-grid{
    grid-template-columns:1fr;
    gap:22px;
  }
  .process-step-line{
    grid-template-columns:38px 1fr;
    min-height:auto;
    margin-bottom:10px;
  }
  .process-arrow{display:none;}
  .process-step-line h3{
    font-size:17px;
  }
  .process-card img{
    aspect-ratio:1.3/1;
    object-position:center center;
  }
}


/* =========================================================
   MÓDULO 07 — CONTACTO + FOOTER
   ========================================================= */
.contact-section{
  background:#fff;
}
.contact-grid{
  display:grid;
  grid-template-columns:1.05fr 1.1fr 1fr;
  min-height:210px;
}
.contact-copy{
  background:linear-gradient(135deg,#053e69 0%,#004e84 100%);
  color:#fff;
  padding:32px 34px 28px max(34px, calc((100vw - 1568px)/2 + 34px));
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.contact-copy h2{
  margin:0 0 10px;
  font-size:32px;
  line-height:1;
  letter-spacing:-.6px;
  font-weight:850;
}
.contact-copy p{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.45;
  max-width:390px;
}
.contact-button{
  display:inline-flex;
  align-items:center;
  gap:12px;
  width:max-content;
  padding:12px 22px;
  border-radius:999px;
  background:#119ee4;
  color:#fff;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}
.contact-factory{
  overflow:hidden;
}
.contact-factory img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.contact-map{
  position:relative;
  overflow:hidden;
  min-height:210px;
  background:
    linear-gradient(90deg,rgba(229,234,239,.7) 1px,transparent 1px),
    linear-gradient(rgba(229,234,239,.7) 1px,transparent 1px),
    #f7f8fa;
  background-size:38px 38px;
}
.map-road{
  position:absolute;
  height:5px;
  background:#e7d98c;
  border-radius:999px;
  opacity:.95;
}
.road-a{width:150%;left:-20%;top:32%;transform:rotate(-28deg);}
.road-b{width:130%;left:-15%;top:64%;transform:rotate(15deg);}
.road-c{width:115%;left:-6%;top:47%;transform:rotate(65deg);height:3px;background:#d6dde5;}
.road-d{width:100%;left:5%;top:15%;transform:rotate(7deg);height:3px;background:#d6dde5;}
.map-location{
  position:absolute;
  left:32%;
  top:38%;
  display:flex;
  gap:14px;
  align-items:flex-start;
  color:#004b82;
}
.map-pin{
  width:44px;
  height:44px;
  flex:0 0 44px;
  color:#129ee7;
}
.map-pin svg{
  width:100%;
  height:100%;
  fill:currentColor;
}
.map-pin circle{fill:#fff;}
.map-location strong,
.map-location span{
  display:block;
}
.map-location strong{
  font-size:16px;
  margin-bottom:2px;
}
.map-location span{
  font-size:14px;
  line-height:1.25;
}

.site-footer{
  background:#fff;
}
.footer-main{
  width:min(1568px, calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr repeat(4, 1fr);
  gap:34px;
  align-items:start;
  padding:20px 0 18px;
}
.footer-brand img{
  display:block;
  width:220px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.footer-column h3{
  margin:3px 0 7px;
  color:#003f75;
  font-size:14px;
  font-weight:850;
}
.footer-column a{
  display:block;
  color:#174f77;
  text-decoration:none;
  font-size:13px;
  line-height:1.5;
}
.footer-column a:hover{text-decoration:underline;}
.social-links{
  display:flex;
  align-items:center;
  gap:5px;
  color:#174f77;
  font-size:13px;
}
.social-links a{display:inline;}
.footer-bottom{
  background:linear-gradient(90deg,#053e69 0%,#004d81 55%,#06456f 100%);
}
.footer-bottom-shell{
  width:min(1568px, calc(100% - 64px));
  margin:0 auto;
  min-height:64px;
  display:grid;
  grid-template-columns:1fr auto 70px;
  gap:26px;
  align-items:center;
  color:#fff;
}
.footer-bottom-shell p{
  margin:0;
  font-size:12px;
}
.footer-legal-links{
  display:flex;
  align-items:center;
  gap:13px;
}
.footer-legal-links a{
  color:#fff;
  text-decoration:none;
  font-size:12px;
}
.ecuador-flag{
  justify-self:end;
  width:38px;
  height:28px;
  display:grid;
  grid-template-rows:2fr 1fr 1fr;
  box-shadow:0 0 0 1px rgba(255,255,255,.35);
}
.ecuador-flag span{display:block;}
.flag-yellow{background:#f7d116;}
.flag-blue{background:#0038a8;}
.flag-red{background:#ce1126;}

@media (max-width: 1000px){
  .contact-grid{
    grid-template-columns:1fr 1fr;
  }
  .contact-map{
    grid-column:1/-1;
    min-height:180px;
  }
  .footer-main{
    grid-template-columns:1.4fr repeat(2,1fr);
  }
}
@media (max-width: 700px){
  .contact-grid{
    grid-template-columns:1fr;
  }
  .contact-copy{
    padding:28px 22px;
  }
  .contact-copy h2{font-size:29px;}
  .contact-copy p{font-size:15px;}
  .contact-factory{height:250px;}
  .contact-map{min-height:200px;}
  .map-location{
    left:18%;
    top:34%;
  }
  .footer-main{
    width:min(100% - 30px,720px);
    grid-template-columns:1fr 1fr;
    gap:22px 18px;
    padding:22px 0;
  }
  .footer-brand{
    grid-column:1/-1;
  }
  .footer-brand img{
    width:200px;
  }
  .footer-bottom-shell{
    width:min(100% - 30px,720px);
    grid-template-columns:1fr auto;
    gap:12px;
    padding:14px 0;
  }
  .footer-legal-links{
    grid-column:1/-1;
    grid-row:2;
    flex-wrap:wrap;
    gap:8px;
  }
  .ecuador-flag{
    grid-column:2;
    grid-row:1;
  }
}


@media (max-width: 1180px) and (min-width: 901px){
  .header-shell{padding:0 18px;gap:16px}
  .brand{width:205px;flex-basis:205px;height:108px}
  .brand img{width:192px;height:100px}
  .desktop-nav{gap:16px;margin-left:2px}
  .desktop-nav a{font-size:13px;padding:43px 0 39px}
  .header-cta{padding:12px 14px;font-size:12px}
}


/* V7 · Tarjetas de productos sin navegación temporal */
.product-solution-card-static{
  cursor:default;
}
.product-solution-card-static:hover{
  transform:none;
  box-shadow:0 2px 8px rgba(0,55,95,.045);
}

/* LANGUAGE SWITCHER QUIMELIA */
.lang-switch{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;white-space:nowrap;color:#8096a7;margin-left:auto}.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:28px;padding:0 7px;border-radius:7px;color:#0d4f7d;border:1px solid transparent}.lang-switch a.active{background:#eaf6fc;border-color:#bcddeb;color:#078fd5}.lang-switch span{color:#aac0ce}.mobile-lang-switch{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px 4px}.mobile-lang-switch a{border:1px solid #d6e8f1!important;border-radius:8px!important;padding:9px 16px!important}.mobile-lang-switch a.active{background:#eaf6fc;color:#078fd5!important}.mobile-lang-switch span{color:#a2b7c4}@media(max-width:1180px) and (min-width:901px){.lang-switch{display:none}}@media(max-width:900px){.lang-switch{display:none}}


/* =========================================================
   V8 · LANGUAGE SELECTOR POSITION FIX
   Keeps ES / EN in a dedicated area above the CTA on desktop
   so it never overlaps long navigation labels such as
   "Technical Information".
   ========================================================= */

.header-shell{
  position:relative;
}

@media (min-width:981px){
  .lang-switch{
    display:inline-flex !important;
    position:absolute;
    top:8px;
    right:26px;
    z-index:8;
    margin:0 !important;
    gap:4px;
    padding:3px 5px;
    background:rgba(247,251,254,.96);
    border:1px solid #d5e8f2;
    border-radius:9px;
    box-shadow:0 3px 10px rgba(0,61,104,.06);
  }

  .lang-switch a{
    min-width:29px;
    height:25px;
    padding:0 7px;
    border-radius:6px;
    font-size:12px;
    line-height:1;
  }

  .lang-switch span{
    font-size:11px;
  }

  /* Leaves a clean vertical lane for the language selector. */
  .header-cta{
    margin-top:26px;
  }
}

/* Compact English navigation at intermediate desktop widths. */
@media (min-width:981px) and (max-width:1320px){
  .header-shell{
    padding-left:18px;
    padding-right:18px;
    gap:15px;
  }

  .brand{
    width:195px;
    flex-basis:195px;
  }

  .brand img{
    width:184px;
  }

  .desktop-nav{
    gap:14px;
    margin-left:0;
  }

  .desktop-nav a{
    font-size:12.5px;
  }

  .header-cta{
    padding:11px 13px;
    font-size:12px;
  }

  .lang-switch{
    right:18px;
  }
}

@media (max-width:980px){
  .lang-switch{
    display:none !important;
  }

  .header-cta{
    margin-top:0;
  }
}


/* QUIMELIA · COOKIE CONSENT UI */
.cookie-consent-backdrop{
  position:fixed;inset:0;z-index:99999;display:flex;align-items:flex-end;justify-content:center;
  padding:24px;background:rgba(1,42,72,.34);opacity:0;transition:opacity .18s ease;
}
.cookie-consent-backdrop.is-visible{opacity:1}
.cookie-consent-dialog{
  width:min(980px,100%);display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:18px;align-items:center;
  padding:22px 24px;border:1px solid #c8dfec;border-radius:24px;background:#fff;box-shadow:0 22px 60px rgba(0,54,91,.22);
}
.cookie-consent-icon{
  width:52px;height:52px;display:grid;place-items:center;border-radius:16px;
  background:linear-gradient(135deg,#087fd0,#19c2c7);color:#fff;font-size:30px;font-weight:900;
}
.cookie-consent-content h2{margin:0 0 7px;color:#064b7f;font-size:21px;line-height:1.15}
.cookie-consent-content p{margin:0 0 7px;color:#4d6b7f;font-size:14px;line-height:1.55}
.cookie-policy-link{color:#087fd0;font-size:13px;font-weight:800;text-decoration:none}
.cookie-policy-link:hover{text-decoration:underline}
.cookie-consent-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.cookie-btn{min-height:44px;padding:0 17px;border-radius:12px;border:1px solid transparent;font:800 13px/1 Arial,sans-serif;cursor:pointer}
.cookie-btn-primary{background:#078fd5;border-color:#078fd5;color:#fff}
.cookie-btn-secondary{background:#fff;border-color:#b8d7e7;color:#064b7f}
.cookie-settings-button{
  position:fixed;left:14px;bottom:14px;z-index:9990;min-height:34px;padding:0 12px;
  border:1px solid #bddae9;border-radius:999px;background:rgba(255,255,255,.95);color:#075b8d;
  box-shadow:0 5px 16px rgba(0,54,91,.12);font:800 11px/1 Arial,sans-serif;cursor:pointer;
}
.cookie-settings-button:hover{background:#edf8fd}
@media(max-width:760px){
  .cookie-consent-backdrop{padding:0;align-items:flex-end}
  .cookie-consent-dialog{
    grid-template-columns:44px minmax(0,1fr);border-radius:24px 24px 0 0;
    padding:20px 18px calc(20px + env(safe-area-inset-bottom));gap:13px;
  }
  .cookie-consent-icon{width:44px;height:44px;border-radius:14px;font-size:25px}
  .cookie-consent-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr}
  .cookie-btn{width:100%;min-height:48px}
  .cookie-settings-button{left:10px;bottom:10px}
}
