:root{
  --orange:#F28E1D; --gray:#5C5D5F; --text:#3f4144; --muted:#6b7280;
  --surface:#f6f6f6; --radius:16px; --shadow:0 8px 24px rgba(0,0,0,.08);
  --footer:#2b2c2e;
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:"Share Tech Mono",ui-monospace,monospace;color:var(--text);line-height:1.6;background:#fff}

/* Tipografía y alineaciones globales */
h1,h2,h3,h4{font-family:"Russo One",sans-serif;margin:0 0 .5rem;color:var(--gray);text-align:center}
p{margin:0 0 1rem;text-align:justify}
a{text-decoration:none}
.center-text{max-width:980px;margin:0 auto;text-align:center}
.center-text p{color:var(--muted);text-align:justify}

/* Contenedor genérico */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== HEADER ALTO (150%) ===== */
.header-pip{position:sticky;top:0;z-index:1000;background:var(--orange);color:#fff}
.header-pip .container{max-width:1200px;margin:0 auto;padding:0 20px}
.header-pip .bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:96px}
.header-pip .brand{display:flex;align-items:center;gap:12px}
.header-pip .brand img{height:66px;width:auto;object-fit:contain;display:block}
.header-pip nav{display:flex;align-items:center;gap:28px}
.header-pip nav a{color:#fff;font-weight:900;font-size:1.125rem;padding:14px 0;display:inline-block;position:relative}
.header-pip nav a:hover::after,.header-pip nav a:focus::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;background:#fff;opacity:.9}
.hamb{display:none;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);color:#fff;padding:8px 12px;border-radius:999px;font-weight:900;cursor:pointer}
@media (max-width:860px){
  .header-pip nav{display:none}
  .header-pip nav.open{display:flex;flex-direction:column;gap:10px;background:rgba(0,0,0,.15);position:absolute;right:20px;top:96px;padding:12px 16px;border-radius:12px;backdrop-filter:blur(4px)}
  .hamb{display:inline-block}
}

/* ===== HERO CARRUSEL (dinámico, salta vacíos) ===== */
.hero{position:relative;isolation:isolate}
.slider{position:relative;height:58vh;min-height:520px;max-height:720px;overflow:hidden;background:#ddd;border-bottom:1px solid #eee}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;pointer-events:none;background-position:center;background-size:cover}
.slide.active{opacity:1;pointer-events:auto}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.15))}
.slider .caption{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:0 16px;z-index:2}
.slider .caption-inner{max-width:1000px;margin:0 auto}
.slider h1{color:#fff;font-size:clamp(28px,4vw,44px);margin-bottom:8px}
.slider p{color:#f1f1f1;margin:0 auto;max-width:900px;text-align:center}
.slider .dots{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;gap:8px;z-index:3}
.slider .dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.6);border:none;cursor:pointer}
.slider .dot.active{background:#fff}
.pause{position:absolute;right:14px;bottom:14px;background:rgba(0,0,0,.45);color:#fff;border:none;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer;opacity:.85}

/* ===== CTA BAJO HERO ===== */
.cta-strip{padding:20px 0;background:linear-gradient(180deg,#fff,#fafafa);border-bottom:1px solid #eee}
.cta-strip .group{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.cta-strip .btn{font-weight:900;border-radius:9999px;padding:12px 22px}
.btn-primary{background:var(--orange);color:#fff}
.btn-outline{border:2px solid var(--orange);color:var(--orange);background:transparent}

/* ===== SECCIONES ===== */
section{padding:42px 0}

/* ===== HERO 2 (solo imagen) ===== */
.hero-plain{height:48vh;min-height:420px;max-height:620px;background-position:center;background-size:cover;border-top:1px solid #eee;border-bottom:1px solid #eee}

/* ===== INDUSTRIAS ===== */
.industrias{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
.industrias .left{border-radius:16px;overflow:hidden;border:1px solid #ececec}
.industrias .left img{width:100%;height:100%;min-height:360px;object-fit:cover;display:block}
.industrias .right{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.tag{
  display:flex;align-items:center;justify-content:center;text-align:center;
  border:1px solid #ececec;border-radius:16px;padding:18px;background:#fff;
  font-weight:900;color:var(--gray);box-shadow:var(--shadow)
}
@media (max-width:980px){.industrias{grid-template-columns:1fr}.industrias .left img{min-height:260px}}

/* ===== MINI TIMELINE (5 PASOS) ===== */
.timeline{
  display:grid;grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;align-items:start;justify-content:center;margin-top:14px;text-align:center;
}
.step{background:#fff;border:1px solid #ececec;border-radius:16px;padding:14px;box-shadow:var(--shadow);text-align:center;max-width:220px;margin:0 auto}
.step .dot{width:38px;height:38px;border-radius:999px;margin:0 auto 10px;display:grid;place-items:center;font-weight:900;color:#fff;background:var(--orange)}
.step h4{margin:0 0 6px;color:var(--gray);font-size:1.05rem}
.step p{margin:0;color:var(--muted);font-size:.95rem}
@media (max-width:1000px){.timeline{grid-template-columns:repeat(3,1fr)}}
@media (max-width:680px){.timeline{grid-template-columns:1fr}}

/* ===== CTA “COTIZA TU PROYECTO” ===== */
.cta-quote{background:linear-gradient(180deg,#fff,#fafafa);border-top:1px solid #eee;border-bottom:1px solid #eee}
.cta-quote .wrap{max-width:980px;margin:0 auto;text-align:center}
.cta-quote .btn{display:inline-block;padding:12px 22px;border-radius:9999px;font-weight:900}

/* ===== FOOTER ===== */
footer{background:var(--footer);color:#fff;margin-top:28px}
footer a{color:#fff}
footer .foot h4{color:var(--orange)} /* títulos del footer en naranja */
.foot{display:flex;gap:28px;justify-content:space-between;align-items:flex-start;padding:16px 0}
.foot small{color:#e3e3e3}
.social a{margin-right:12px}
.copy{border-top:1px solid rgba(255,255,255,.15);padding:10px 0 16px;font-size:.92rem;color:#e7e7e7;text-align:center}

/* ===== WHATSAPP (sin crear espacio al final) ===== */
.wa{
  position:fixed;right:16px;bottom:16px;z-index:60;
  width:120;height:30;overflow:visible;margin:0;line-height:0; /* clave para no aportar alto */
}
.wa a{display:inline-flex;align-items:center;gap:8px;background:#25D366;color:#fff;padding:12px 16px;border-radius:999px;font-weight:900;box-shadow:var(--shadow)}
.wa svg{width:18px;height:18px}

/* ===== QUIÉNES SOMOS (2 columnas) ===== */
.about{
  display:grid;
  grid-template-columns:480px 1fr;
  gap:24px;
  align-items:start;
}
.about .imgwrap{
  border-radius:16px;
  overflow:hidden;
  border:1px solid #ececec;
  box-shadow:var(--shadow);
}
.about .imgwrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:320px;
  display:block;
}
.about .text p{
  color:var(--muted);
}
.values{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:12px;
}
.value-item{
  display:flex;
  gap:10px;
  align-items:center;
  background:#fff;
  border:1px solid #ececec;
  border-radius:12px;
  padding:10px 12px;
  box-shadow:var(--shadow);
}
.val-icon{
  width:36px;
  height:36px;
  border-radius:999px;
  background:var(--orange);
  flex:0 0 36px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
}
.val-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:999px;
  display:block;
}
@media (max-width:1024px){
  .about{
    grid-template-columns:1fr;
  }
  .about .imgwrap img{
    min-height:220px;
  }
}
@media (max-width:680px){
  .values{
    grid-template-columns:1fr;
  }
}

/* ===== IDENTIDAD CORPORATIVA (Misión / Visión) ===== */
.identity{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
.identity .block{
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}
.identity .block p{
  color:var(--muted);
  margin:0;
}
@media (max-width:900px){
  .identity{
    grid-template-columns:1fr;
  }
}

/* ===== HERO DE PÁGINA ===== */
.page-hero{
  background:linear-gradient(180deg,rgba(92,93,95,.05),rgba(92,93,95,.12));
  border-bottom:1px solid #eee;
}
.page-hero .wrap{
  padding:60px 0;
  text-align:center;
}
.page-hero h1{
  font-size:clamp(32px,4vw,44px);
}

/* Texto destacado reutilizable */
.lead{
  color:var(--muted);
  max-width:960px;
  margin:0 auto;
}

/* ===== FILTROS GALERÍA ===== */
.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin:18px 0;
}
.filter-btn{
  border:2px solid var(--orange);
  background:#fff;
  color:var(--orange);
  padding:8px 14px;
  border-radius:9999px;
  font-weight:900;
  cursor:pointer;
}
.filter-btn.active{
  background:var(--orange);
  color:#fff;
}

/* ===== GRID GALERÍA ===== */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.card figure{
  margin:0;
  position:relative;
}
.card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}
.card figcaption{
  padding:10px 12px;
  color:var(--muted);
  font-size:.95rem;
  border-top:1px solid #f0f0f0;
}
.badge{
  position:absolute;
  left:10px;
  top:10px;
  background:rgba(0,0,0,.6);
  color:#fff;
  padding:4px 8px;
  border-radius:999px;
  font-weight:900;
  font-size:.85rem;
}

@media (max-width:990px){
  .gallery{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:620px){
  .gallery{
    grid-template-columns:1fr;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
  padding:10px;
}
.lightbox.open{
  display:flex;
}
.lightbox img{
  max-width:90vw;
  max-height:80vh;
  border-radius:12px;
}
.lightbox .caption{
  color:#fff;
  margin-top:10px;
  text-align:center;
}
.lightbox .close{
  position:absolute;
  top:14px;
  right:14px;
  background:#fff;
  border:none;
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  cursor:pointer;
}

/* ===== CTA GALERÍA ===== */
.cta{
  background:linear-gradient(180deg,#fff,#fafafa);
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  margin-top:26px;
}

/* Botón genérico reutilizable (si no lo tenías ya) */
.btn{
  display:inline-block;
  padding:12px 22px;
  border-radius:9999px;
  font-weight:900;
}

/* ===== INTRO SERVICIOS ===== */
.lead-muted{
  color:var(--muted);
}

/* ===== SERVICIOS (filas con títulos alineados) ===== */
.services-list{
  display:grid;
  gap:14px;
  margin-top:12px;
}

.service-row{
  display:grid;
  grid-template-columns:minmax(200px,260px) 1fr; /* Columna fija para títulos */
  gap:16px;
  align-items:start;
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}

.service-row h3{
  margin:0;
  color:var(--gray);
  text-align:left;
}

.service-row p{
  margin:0;
  color:var(--muted);
  text-align:justify;
  text-wrap:balance;
  hyphens:auto;
}

@media (max-width:700px){
  .service-row{
    grid-template-columns:1fr;
  }
}

/* ===== CATEGORÍAS DE PRODUCTOS ===== */
.products-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:12px;
}
.product-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}
.product-card h3{
  text-align:left;
  margin-bottom:6px;
}
.product-card p{
  color:var(--muted);
  margin:0;
  text-align:justify;
}
@media (max-width:900px){
  .products-grid{
    grid-template-columns:1fr;
  }
}

/* ===== MARCAS (logos pequeños) ===== */
.brands-block{
  margin-top:12px;
}
.brands-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  align-items:center;
  justify-items:center;
}
.brands-grid img{
  max-height:46px;
  width:auto;
  object-fit:contain;
  filter:/*grayscale(100%) contrast(1.1);*/
}
@media (max-width:900px){
  .brands-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
@media (max-width:600px){
  .brands-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* ===== CATÁLOGOS ===== */
.catalogs-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:12px;
}
.catalog-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}
.catalog-card h3{
  text-align:left;
  margin-bottom:6px;
}
.catalog-card p{
  color:var(--muted);
  margin:0 0 12px;
  text-align:justify;
}
@media (max-width:900px){
  .catalogs-grid{
    grid-template-columns:1fr;
  }
}

/* ===== CONTACTO: GRID DE TARJETAS ===== */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:flex-start;
}

.contact-card{
  background:#fff;
  border:1px solid #ececec;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px 20px;
}

.contact-card h3{
  margin-bottom:8px;
}

.contact-list{
  list-style:none;
  padding:0;
  margin:0;
  font-size:.96rem;
}

.contact-list li{
  margin-bottom:10px;
}

.contact-label{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  display:block;
  margin-bottom:2px;
}

.contact-value{
  color:var(--text);
}

@media (max-width:900px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form{
  max-width:880px;
  margin:0 auto;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid #ececec;
  padding:22px 20px 24px;
}

.contact-form .row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

@media (max-width:780px){
  .contact-form .row{
    grid-template-columns:1fr;
  }
}

.field{
  margin-bottom:14px;
}

.field label{
  display:block;
  font-size:.86rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  margin-bottom:4px;
}

.field input,
.field select,
.field textarea{
  width:100%;
  font-family:"Share Tech Mono",ui-monospace,monospace;
  font-size:.96rem;
  padding:8px 9px;
  border-radius:10px;
  border:1px solid #d1d5db;
  outline:none;
  color:var(--text);
  box-sizing:border-box;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 1px rgba(242,142,29,.4);
}

.field textarea{
  min-height:120px;
  resize:vertical;
}

.helper{
  font-size:.8rem;
  color:var(--muted);
  margin-top:4px;
}

.form-actions{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.form-actions .btn-primary{
  border:none;
  cursor:pointer;
}

.privacy-note{
  font-size:.8rem;
  color:var(--muted);
}

/* honeypot (campo escondido anti-spam) */
.hp-field{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}

/* ===== MAPA (contenedor) ===== */
.map-box{
  border-radius:var(--radius);
  border:1px solid #ececec;
  min-height:260px;
  background:#e5e7eb;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:18px;
  color:var(--muted);
  box-shadow:var(--shadow);
}

/* ===== PÁGINAS LEGALES / TEXTO LARGO ===== */
.legal-wrapper{
  max-width:980px;
  margin:0 auto;
  text-align:left;
}

.legal-wrapper h2,
.legal-wrapper h3{
  text-align:left;
  margin-top:1.6rem;
}

.legal-wrapper p,
.legal-wrapper li{
  text-align:justify;
  color:var(--muted);
}

.legal-wrapper ul{
  padding-left:1.2rem;
  margin:0 0 1rem;
}


