:root{
  --black:#111;
  --ink:#171717;
  --muted:#6b6b6b;
  --line:#e4e4e4;
  --soft:#f6f6f6;
  --accent:#111;
  --page:1400px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Montserrat",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  font-size:14px;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea,
select{
  font:inherit;
}

img,
video{
  display:block;
  max-width:100%;
}

.page-width{
  max-width:var(--page);
  margin:auto;
  padding-left:34px;
  padding-right:34px;
}


/* =========================
   BARRA SUPERIOR
========================= */

.announcement{
  height:34px;
  background:#111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  letter-spacing:.03em;
}

.utility-bar{
  height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:var(--page);
  margin:auto;
  padding:0 34px;
  font-size:12px;
  border-bottom:1px solid var(--line);
}


/* =========================
   HEADER
========================= */

.site-header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
}

.header-main{
  height:86px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
}

.brand{
  grid-column:2;
  font-weight:700;
  font-size:30px;
  letter-spacing:.03em;
}

.header-actions{
  grid-column:3;
  justify-self:end;
  display:flex;
  gap:9px;
}

.icon-btn{
  width:42px;
  height:42px;
  border:0;
  background:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-weight:700;
}

.mobile-only{
  display:none;
}


/* =========================
   NAVEGACIÓN
========================= */

.main-nav{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}

.nav-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  height:52px;
  gap:38px;
}

.nav-link{
  border:0;
  background:none;
  padding:16px 0;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
}

.nav-item{
  position:relative;
}

.mega-menu{
  position:absolute;
  top:52px;
  left:50%;
  transform:translateX(-32%);
  width:760px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 16px 38px rgba(0,0,0,.08);
  padding:28px;
  display:none;
  grid-template-columns:1fr 1fr 1.15fr;
  gap:34px;
}

.has-mega:hover .mega-menu{
  display:grid;
}

.mega-menu h4{
  margin:0 0 12px;
  font-size:12px;
}

.mega-menu a{
  display:block;
  color:#555;
  font-size:12px;
  padding:6px 0;
}

.mega-feature img{
  width:100%;
  aspect-ratio:1.35;
  object-fit:cover;
}

.mega-feature strong,
.mega-feature span{
  display:block;
  margin-top:8px;
}

.mega-feature span{
  font-size:12px;
  color:#666;
}


/* =========================
   BUSCADOR SUPERIOR
========================= */

.search-panel{
  display:none;
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:139px;
  z-index:45;
}

.search-panel.open{
  display:block;
}

.search-panel-inner{
  height:78px;
  display:flex;
  align-items:center;
  gap:12px;
}

.search-panel input{
  flex:1;
  border:0;
  border-bottom:1px solid #222;
  padding:12px 0;
  outline:none;
}

.search-panel button{
  border:0;
  background:none;
  cursor:pointer;
}


/* =========================
   HERO
========================= */

.hero{
  height:660px;
  position:relative;
  overflow:hidden;
  background:#111;
}

.hero-video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.62),
    rgba(0,0,0,.05) 68%
  );
}

.hero-content{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  color:#fff;
}

.hero-copy-block{
  max-width:680px;
}

.hero-eyebrow{
  display:block;
  margin-bottom:12px;
  font-size:11px;
  line-height:1.2;
  letter-spacing:.07em;
  font-weight:500;
  text-transform:uppercase;
  opacity:.92;
}

.hero h1{
  font-size:52px;
  line-height:1.08;
  letter-spacing:-.035em;
  max-width:760px;
  margin:0 0 20px;
  font-weight:600;
}

.hero h1 span{
  display:inline-block;
}

.hero p{
  font-size:16px;
  line-height:1.7;
  max-width:620px;
  margin:0 0 28px;
}

.hero-btn{
  margin-top:2px;
}


/* =========================
   BOTONES
========================= */

.primary-btn{
  min-height:46px;
  padding:0 22px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:.2s ease;
}

.primary-btn:hover{
  transform:translateY(-1px);
}

.primary-btn.light{
  background:#fff;
  color:#111;
  border-color:#fff;
}


/* =========================
   SECCIONES GENERALES
========================= */

.section{
  padding-top:78px;
  padding-bottom:78px;
}

.section-title-row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:28px;
  gap:20px;
}

.section-title-row h2,
.project-intro h2,
.newsletter h2{
  font-size:30px;
  letter-spacing:-.03em;
  margin:0;
  font-weight:600;
}

.section-title-row p{
  margin:8px 0 0;
  color:var(--muted);
}

.text-link{
  font-size:12px;
  font-weight:600;
}


/* =========================
   CATEGORÍAS
========================= */

.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.category-card img{
  width:100%;
  aspect-ratio:1.33;
  object-fit:cover;
  background:#eee;
}

.category-card h3{
  font-size:15px;
  margin:13px 0 0;
  font-weight:500;
}


/* =========================
   PRODUCTOS DESTACADOS
========================= */

.product-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(230px,1fr);
  overflow-x:auto;
  gap:18px;
  padding-bottom:12px;
  scroll-snap-type:x proximity;
}

.product-card{
  min-width:0;
  scroll-snap-align:start;
}

.product-image{
  background:#f7f7f7;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
}

.badge{
  position:absolute;
  left:10px;
  top:10px;
  background:#fff;
  padding:6px 8px;
  font-size:9px;
  font-weight:600;
  z-index:2;
}

.product-meta{
  padding-top:13px;
}

.product-meta h3{
  font-size:13px;
  line-height:1.45;
  margin:0 0 7px;
  font-weight:500;
}

.product-meta p{
  font-size:11px;
  color:#777;
  margin:0 0 10px;
}

.product-meta a{
  font-size:11px;
  font-weight:600;
  text-decoration:underline;
}


/* =========================
   BANNER PROFESIONALES
========================= */

.pro-banner{
  position:relative;
  width:100%;
  min-height:620px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:hidden;
  color:#fff;

  background-image:url("assets/banner-profesionales.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

.pro-banner-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;

  background:linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 38%,
    rgba(0,0,0,.08) 46%,
    rgba(0,0,0,.24) 56%,
    rgba(0,0,0,.48) 66%,
    rgba(0,0,0,.72) 76%,
    rgba(0,0,0,.90) 88%,
    rgba(0,0,0,.96) 100%
  );
}

.pro-copy{
  position:relative;
  z-index:2;
  width:48%;
  max-width:650px;
  margin-right:max(60px,calc((100vw - 1400px)/2));
  padding:80px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.eyebrow{
  display:block;
  margin-bottom:18px;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.18em;
  font-weight:500;
  color:rgba(255,255,255,.62);
  text-transform:uppercase;
}

.pro-copy h2{
  max-width:600px;
  margin:0 0 22px;
  font-size:clamp(38px,3.2vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:600;
}

.pro-copy p{
  max-width:580px;
  margin:0 0 32px;
  color:rgba(255,255,255,.72);
  font-size:15px;
  line-height:1.75;
}

.pro-copy .primary-btn{
  width:100%;
  max-width:500px;
  min-height:48px;
  background:#fff;
  border-color:#fff;
  color:#111;
}

.pro-copy .primary-btn:hover{
  background:#ededed;
}


/* =========================
   SOLUCIONES POR APLICACIÓN
========================= */

.application-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.application-grid article{
  position:relative;
  overflow:hidden;
  background:#111;
  min-height:430px;
}

.application-grid img{
  width:100%;
  height:100%;
  aspect-ratio:1/1.08;
  object-fit:cover;
  opacity:.88;
  transition:transform .35s ease, opacity .35s ease;
}

.application-grid article::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    0deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.18) 38%,
    rgba(0,0,0,0) 68%
  );
  pointer-events:none;
}

.application-grid article:hover img{
  transform:scale(1.035);
  opacity:.76;
}

.application-grid h3{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:18px;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:600;
  margin:0;
}


/* =========================
   TODOS LOS PRODUCTOS
========================= */

.filters{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.filters>input{
  width:330px;
  max-width:100%;
  height:42px;
  border:1px solid #d8d8d8;
  padding:0 13px;
  outline:none;
}

.filter-chips{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.chip{
  border:1px solid #d7d7d7;
  background:#fff;
  padding:9px 11px;
  font-size:10px;
  cursor:pointer;
}

.chip.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px 18px;
}


/* =========================
   FORMULARIO
========================= */

.project-section{
  background:#f4f4f4;
  padding:82px 0;
}

.project-grid{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:80px;
}

.project-intro p{
  color:#666;
  line-height:1.7;
  max-width:420px;
}

.project-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.project-form label{
  font-size:11px;
  font-weight:500;
}

.project-form input,
.project-form textarea{
  width:100%;
  margin-top:7px;
  border:1px solid #d0d0d0;
  background:#fff;
  padding:13px;
  outline:none;
}

.project-form .full{
  grid-column:1/-1;
}

.project-form button{
  justify-self:start;
}


/* =========================
   BENEFICIOS
========================= */

.benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding-top:58px;
  padding-bottom:58px;
}

.benefits>div{
  padding:20px 28px;
  border-right:1px solid var(--line);
}

.benefits>div:last-child{
  border-right:0;
}

.benefit-icon{
  width:38px;
  height:38px;
  border:1px solid #bbb;
  display:grid;
  place-items:center;
  font-size:10px;
  margin-bottom:18px;
}

.benefits h3{
  font-size:14px;
  margin:0 0 8px;
  font-weight:600;
}

.benefits p{
  font-size:11px;
  color:#777;
  line-height:1.6;
  margin:0;
}


/* =========================
   CATÁLOGO / NEWSLETTER
========================= */

.newsletter{
  background:#111;
  color:#fff;
  padding:58px 0;
}

.newsletter-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.newsletter h2{
  color:#fff;
}

.newsletter p{
  color:#aaa;
  margin-bottom:0;
}

.newsletter form{
  display:flex;
  width:min(520px,100%);
}

.newsletter input{
  flex:1;
  min-width:0;
  border:1px solid #555;
  border-right:0;
  background:#111;
  color:#fff;
  padding:0 14px;
}

.newsletter .primary-btn{
  white-space:nowrap;
}


/* =========================
   FOOTER
========================= */

.footer{
  background:#0a0a0a;
  color:#fff;
  padding:58px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:44px;
}

.footer .brand{
  font-size:25px;
}

.footer h4{
  font-size:12px;
  margin:0 0 14px;
}

.footer a,
.footer span,
.footer p{
  display:block;
  color:#999;
  font-size:11px;
  line-height:2;
}

.footer-brand p{
  max-width:370px;
  line-height:1.7;
}

.footer-bottom{
  border-top:1px solid #252525;
  margin-top:42px;
  padding-top:18px;
  color:#666;
  font-size:10px;
}


/* =========================
   WHATSAPP FLOTANTE
========================= */

.floating-wa{
  position:fixed;
  right:20px;
  bottom:20px;
  width:54px;
  height:54px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:10px;
  font-weight:700;
  z-index:60;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}


/* =========================
   TABLET
========================= */

@media(max-width:980px){

  .page-width{
    padding-left:20px;
    padding-right:20px;
  }

  .utility-bar{
    padding:0 20px;
  }

  .mobile-only{
    display:grid;
  }

  .header-main{
    grid-template-columns:1fr auto 1fr;
  }

  .brand{
    font-size:24px;
  }

  .main-nav{
    display:none;
  }

  .main-nav.open{
    display:block;
  }

  .nav-inner{
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding-top:15px;
    padding-bottom:15px;
    gap:0;
  }

  .nav-link{
    padding:11px 0;
  }

  .mega-menu{
    display:none!important;
  }

  .hero{
    height:590px;
  }

  .hero h1{
    font-size:42px;
  }

  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .products-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .project-grid{
    grid-template-columns:1fr;
    gap:32px;
  }

  .benefits{
    grid-template-columns:repeat(2,1fr);
  }

  .benefits>div:nth-child(2){
    border-right:0;
  }

  .newsletter-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }


  /* Banner profesionales */

  .pro-banner{
    min-height:590px;
    background-position:38% center;
  }

  .pro-banner-overlay{
    background:linear-gradient(
      90deg,
      rgba(0,0,0,.04) 0%,
      rgba(0,0,0,.12) 28%,
      rgba(0,0,0,.48) 52%,
      rgba(0,0,0,.86) 72%,
      #0b0b0b 100%
    );
  }

  .pro-copy{
    width:54%;
    max-width:560px;
    margin-right:20px;
    padding:58px 24px;
  }


  /* Aplicaciones */

  .application-grid{
    grid-template-columns:repeat(3,1fr);
    gap:12px;
  }

  .application-grid article{
    min-height:320px;
  }

  .application-grid h3{
    left:14px;
    right:14px;
    bottom:14px;
    font-size:15px;
  }
}


/* =========================
   MOBILE
========================= */

@media(max-width:700px){

  .pro-banner{
    min-height:650px;
    align-items:flex-end;
    justify-content:flex-start;
    background-position:35% center;
  }

  .pro-banner-overlay{
    background:linear-gradient(
      0deg,
      rgba(8,8,8,.98) 0%,
      rgba(8,8,8,.90) 26%,
      rgba(8,8,8,.58) 48%,
      rgba(8,8,8,.18) 70%,
      rgba(8,8,8,0) 100%
    );
  }

  .pro-copy{
    width:100%;
    max-width:none;
    margin:0;
    padding:300px 24px 42px;
  }

  .pro-copy .eyebrow{
    margin-bottom:12px;
    font-size:9px;
  }

  .pro-copy h2{
    max-width:340px;
    margin-bottom:16px;
    font-size:31px;
    line-height:1.04;
  }

  .pro-copy p{
    max-width:345px;
    margin-bottom:22px;
    font-size:13px;
    line-height:1.65;
  }

  .pro-copy .primary-btn{
    max-width:100%;
  }


  /* Aplicaciones */

  .application-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .application-grid article{
    min-height:0;
    aspect-ratio:1.45/1;
  }

  .application-grid img{
    aspect-ratio:auto;
  }

  .application-grid h3{
    left:16px;
    right:16px;
    bottom:15px;
    font-size:17px;
  }
}


@media(max-width:600px){

  .announcement{
    font-size:9px;
  }

  .utility-bar{
    height:34px;
    padding-left:20px;
    padding-right:20px;
  }

  .header-main{
    height:72px;
  }

  .header-actions .icon-btn:first-child{
    display:none;
  }


  /* Hero mobile */

  .hero{
    height:560px;
    min-height:560px;
  }

  .hero-video{
    object-position:57% center;
  }

  .hero-overlay{
    background:linear-gradient(
      0deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.54) 42%,
      rgba(0,0,0,.12) 78%,
      rgba(0,0,0,.04) 100%
    );
  }

  .hero-content{
    justify-content:flex-end;
    align-items:flex-start;
    padding-left:24px;
    padding-right:24px;
    padding-bottom:38px;
  }

  .hero-copy-block{
    width:100%;
    max-width:355px;
  }

  .hero-eyebrow{
    margin-bottom:10px;
    font-size:9px;
    line-height:1.25;
    letter-spacing:.055em;
    white-space:nowrap;
  }

  .hero h1{
    max-width:340px;
    margin:0 0 15px;
    font-size:31px;
    line-height:1.01;
    letter-spacing:-.045em;
    font-weight:600;
  }

  .hero h1 span{
    display:block;
  }

  .hero p{
    max-width:335px;
    margin:0 0 21px;
    font-size:12.5px;
    line-height:1.58;
    color:rgba(255,255,255,.9);
  }

  .hero-btn{
    min-height:43px;
    padding:0 18px;
    font-size:11px;
  }


  /* Secciones */

  .section{
    padding-top:50px;
    padding-bottom:50px;
  }

  .section-title-row{
    margin-bottom:22px;
  }

  .section-title-row h2,
  .project-intro h2,
  .newsletter h2{
    font-size:25px;
    line-height:1.08;
    letter-spacing:-.035em;
  }

  .category-grid,
  .products-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .category-card h3{
    font-size:12px;
  }

  .product-carousel{
    grid-auto-columns:72%;
  }

  .project-form{
    grid-template-columns:1fr;
  }

  .project-form .full{
    grid-column:auto;
  }

  .benefits{
    grid-template-columns:1fr;
  }

  .benefits>div{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .newsletter form{
    flex-direction:column;
    gap:10px;
  }

  .newsletter input{
    height:46px;
    border-right:1px solid #555;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer{
    padding-top:44px;
  }

  .floating-wa{
    width:48px;
    height:48px;
    right:14px;
    bottom:14px;
    font-size:9px;
  }
}


@media(max-width:380px){

  .hero-content{
    padding-left:20px;
    padding-right:20px;
    padding-bottom:32px;
  }

  .hero-copy-block{
    max-width:320px;
  }

  .hero-eyebrow{
    font-size:8.3px;
    letter-spacing:.035em;
  }

  .hero h1{
    font-size:29px;
    max-width:315px;
  }

  .hero p{
    font-size:12px;
    max-width:310px;
  }

  .pro-banner{
    min-height:620px;
    background-position:33% center;
  }

  .pro-copy{
    padding:280px 20px 34px;
  }

  .pro-copy h2{
    font-size:28px;
  }
}


/* =========================================================
   STOCK LOCAL — DESTACADO VERDE
========================================================= */

.badge-stock{
  background:#25d366;
  color:#fff;
  border:1px solid #25d366;
  box-shadow:0 4px 14px rgba(37,211,102,.22);
}

.badge-import{
  background:rgba(255,255,255,.96);
  color:#555;
  border:1px solid #e5e5e5;
}

.product-card.stock-local{
  border:1px solid rgba(37,211,102,.65);
  background:#fff;
  box-shadow:0 8px 24px rgba(37,211,102,.08);
}

.product-card.stock-local .product-image{
  background:#f4fff7;
}

.product-card.stock-local .product-meta{
  padding-left:12px;
  padding-right:12px;
  padding-bottom:14px;
}

.stock-local-label{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 8px;
  color:#169b48;
  font-size:10px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.product-card.stock-local .product-meta > a{
  color:#169b48;
  font-weight:700;
}


/* =========================================================
   WHATSAPP — LOGO REAL
========================================================= */

.whatsapp-logo{
  display:block;
  width:23px;
  height:23px;
  flex:none;
}

.whatsapp-header{
  color:#25d366;
}

.whatsapp-header:hover{
  color:#1ebe5d;
}

.floating-wa{
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.floating-wa .whatsapp-logo{
  width:27px;
  height:27px;
}

.floating-wa:hover{
  background:#20bd5a;
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 12px 30px rgba(37,211,102,.35);
}

@media(max-width:600px){
  .floating-wa .whatsapp-logo{
    width:24px;
    height:24px;
  }
}

/* =========================================================
   HEADER — ICONOS DE BÚSQUEDA Y WHATSAPP
========================================================= */

.header-actions{
  align-items:center;
}

.icon-btn{
  width:44px;
  height:44px;
  border:1px solid #e4e4e4;
  border-radius:999px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#111;
  padding:0;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    background .2s ease,
    color .2s ease;
}

.icon-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.header-icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.search-btn{
  color:#111;
  border-color:#dedede;
}

.search-btn:hover{
  background:#fafafa;
  border-color:#c8c8c8;
  color:#000;
}

.whatsapp-header{
  color:#25d366;
  border-color:rgba(37,211,102,.35);
}

.whatsapp-header:hover{
  background:#f4fff7;
  border-color:#25d366;
  color:#1ebe5d;
}

@media(max-width:600px){
  .icon-btn{
    width:40px;
    height:40px;
  }

  .header-icon{
    width:17px;
    height:17px;
  }
}


/* =========================================================
   FIX DEFINITIVO MENU MOBILE CENTRADO
   Usa 4 columnas iguales para que quede simétrico.
========================================================= */

@media(max-width:700px){

  .main-nav{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    overflow:hidden !important;
  }

  .main-nav .nav-inner{
    display:grid !important;
    grid-template-columns:repeat(4, 1fr) !important;
    align-items:center !important;

    width:100% !important;
    max-width:none !important;
    min-width:0 !important;

    height:52px !important;
    margin:0 !important;

    padding-left:18px !important;
    padding-right:18px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;

    gap:0 !important;
  }

  .main-nav .nav-link{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:100% !important;
    height:52px !important;

    margin:0 !important;
    padding:0 !important;

    font-size:12px !important;
    line-height:1 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }

  #menuBtn,
  .mobile-only,
  .mega-menu{
    display:none !important;
  }

  .header-actions .icon-btn:first-child{
    display:inline-flex !important;
  }
}

@media(max-width:430px){

  .main-nav .nav-inner{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .main-nav .nav-link{
    font-size:10.5px !important;
  }
}

/* =========================================================
   VITROLED — HEADER RESTAURADO + MENÚ CENTRADO
   Este bloque va al final para corregir las reglas anteriores.
========================================================= */

.site-header{
  position:sticky !important;
  top:0 !important;
  z-index:100 !important;
  width:100% !important;
  background:#fff !important;
}

.header-main{
  position:relative !important;
  height:86px !important;
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  width:100% !important;
}

.header-spacer{
  grid-column:1 !important;
}

.brand-header{
  grid-column:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  line-height:0 !important;
}

.brand-header .brand-logo{
  display:block !important;
  width:205px !important;
  max-width:205px !important;
  height:auto !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
}

.header-actions{
  grid-column:3 !important;
  justify-self:end !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  position:static !important;
}


/* Navegación desktop */

.main-nav{
  display:block !important;
  position:relative !important;
  width:100% !important;
  background:#fff !important;
  border-top:1px solid #e8e8e8 !important;
  border-bottom:1px solid #e8e8e8 !important;
  overflow:hidden !important;
}

.main-nav .nav-inner{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:52px !important;
  margin:0 !important;
  padding:0 !important;

  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;

  gap:40px !important;
}

.main-nav .nav-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:auto !important;
  height:52px !important;

  margin:0 !important;
  padding:0 !important;

  border:0 !important;
  background:none !important;

  color:#111 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1 !important;
  text-align:center !important;
  white-space:nowrap !important;
}

.main-nav .nav-link:hover{
  opacity:.55 !important;
}


/* No usar menú viejo */

#menuBtn,
.mobile-only,
.mega-menu,
.has-mega .mega-menu{
  display:none !important;
}


/* Iconos header */

.icon-btn{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  border:1px solid #e4e4e4 !important;
  border-radius:50% !important;
  background:#fff !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  padding:0 !important;
}

.header-icon{
  width:18px !important;
  height:18px !important;
}

.whatsapp-header{
  color:#25d366 !important;
  border-color:rgba(37,211,102,.35) !important;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:980px){

  .header-main{
    height:78px !important;
  }

  .brand-header .brand-logo{
    width:180px !important;
    max-width:180px !important;
  }

  .main-nav{
    display:block !important;
  }

  .main-nav .nav-inner{
    height:50px !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:30px !important;
    padding:0 !important;
  }

  .main-nav .nav-link{
    height:50px !important;
    padding:0 !important;
    font-size:12px !important;
  }
}


/* =========================================================
   CELULAR
   El grupo de 4 opciones se centra como bloque completo.
========================================================= */

@media(max-width:700px){

  .header-main{
    height:72px !important;
  }

  .brand-header .brand-logo{
    width:155px !important;
    max-width:155px !important;
  }

  .header-actions{
    gap:6px !important;
  }

  /* En mobile dejamos solo WhatsApp para mantener el logo centrado y limpio */
  .search-btn{
    display:none !important;
  }

  .icon-btn{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
  }

  .main-nav{
    display:block !important;
    width:100% !important;
    overflow:hidden !important;
  }

  .main-nav .nav-inner{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:52px !important;

    margin:0 !important;
    padding:0 12px !important;

    display:grid !important;
    grid-template-columns:repeat(4, max-content) !important;
    align-items:center !important;
    justify-content:center !important;

    column-gap:24px !important;
    row-gap:0 !important;
  }

  .main-nav .nav-link{
    width:auto !important;
    height:52px !important;
    margin:0 !important;
    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:11.5px !important;
    text-align:center !important;
    white-space:nowrap !important;
  }
}


/* iPhone / pantallas angostas */

@media(max-width:430px){

  .brand-header .brand-logo{
    width:148px !important;
    max-width:148px !important;
  }

  .main-nav .nav-inner{
    grid-template-columns:repeat(4, max-content) !important;
    column-gap:18px !important;
    padding:0 8px !important;
  }

  .main-nav .nav-link{
    font-size:10.8px !important;
  }
}


@media(max-width:370px){

  .main-nav .nav-inner{
    column-gap:13px !important;
  }

  .main-nav .nav-link{
    font-size:10px !important;
  }
}

