
:root{
  --blue:#163D80;
  --blue-dark:#0B2A5C;
  --blue-deep:#07244F;
  --blue-soft:#EAF1FA;
  --white:#fff;
  --text:#162033;
  --muted:#697386;
  --line:#E4E9F0;
  --green:#25D366;
  --bg:#F6F8FB;
  --shadow:0 14px 38px rgba(14,43,92,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}
.container{width:min(1220px,calc(100% - 36px));margin:0 auto}

/* TOP BAR */
.topbar{
  background:var(--blue-dark);
  color:#fff;
  font-size:13px;
}
.topbar-inner{
  min-height:38px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.topbar-contact,.topbar-links{
  display:flex;
  align-items:center;
  gap:22px;
}
.topbar a{opacity:.95}
.topbar a:hover{opacity:1}

/* HEADER */
.main-header{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:132px;
  display:grid;
  grid-template-columns:190px 1fr 280px;
  gap:34px;
  align-items:center;
}
.logo-wrap img{
  width:138px;
  height:138px;
  object-fit:contain;
  display:block;
}
.search-wrap{
  display:flex;
  width:100%;
  border:1px solid #CBD5E1;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.search-wrap:focus-within{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(22,61,128,.08);
}
.search-wrap input{
  flex:1;
  border:0;
  outline:0;
  padding:0 18px;
  min-height:52px;
  font-size:15px;
}
.search-wrap button{
  width:58px;
  border:0;
  background:var(--blue);
  color:#fff;
  font-size:23px;
}
.header-whatsapp{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--blue-dark);
}
.wa-icon{
  color:var(--green);
  font-size:34px;
  line-height:1;
}
.header-whatsapp small{
  display:block;
  font-size:12px;
  margin-bottom:3px;
}
.header-whatsapp strong{
  display:block;
  font-size:17px;
}

/* NAV */
.category-nav{
  background:#fff;
  border-bottom:1px solid #DDE3EB;
  box-shadow:0 3px 10px rgba(0,0,0,.04);
  position:sticky;
  top:0;
  z-index:50;
}
.category-nav-inner{
  min-height:58px;
  display:flex;
  align-items:center;
}
.category-nav a,
.dropdown-btn{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-right:1px solid #E3E7ED;
  color:var(--blue-dark);
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
  background:#fff;
}
.category-nav a:hover,
.dropdown-btn:hover{
  background:#F3F6FA;
}
.category-all{
  padding-left:0 !important;
  justify-content:flex-start !important;
}
.dropdown{position:relative}
.dropdown-btn{
  border:0;
  border-right:1px solid #E3E7ED;
}
.dropdown-menu{
  display:none;
  position:absolute;
  right:0;
  top:58px;
  min-width:180px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  z-index:80;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{display:block}
.dropdown-menu a{
  justify-content:flex-start;
  border-right:0;
  border-bottom:1px solid #EDF1F5;
  min-height:44px;
}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.11), transparent 30%),
    linear-gradient(105deg,#0A326C 0%,#0B3C7F 48%,#0B336A 100%);
  min-height:510px;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,20,48,.35) 1px,transparent 1px) 0 0/80px 80px,
    linear-gradient(rgba(3,20,48,.35) 1px,transparent 1px) 0 0/80px 80px;
  opacity:.18;
}
.hero-inner{
  position:relative;
  z-index:2;
  min-height:510px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}
.hero-copy{
  color:#fff;
  padding:62px 0;
}
.hero-kicker{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  color:#DCE8FA;
}
.hero h1{
  margin:16px 0 16px;
  font-size:clamp(52px,6vw,82px);
  line-height:.96;
  letter-spacing:-.055em;
}
.hero-copy>p{
  margin:0;
  max-width:620px;
  color:#E6EDF8;
  font-size:20px;
  line-height:1.5;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin-top:30px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:8px;
  border:1px solid transparent;
  font-weight:700;
  font-size:14px;
  transition:.16s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-whatsapp{background:var(--green);color:#fff}
.btn-outline{border-color:#fff;color:#fff;background:transparent}
.btn-blue{background:var(--blue);color:#fff}
.btn-light{background:#fff;color:var(--blue)}
.btn-light-outline{border-color:#BFC8D6;background:#fff;color:var(--text)}
.hero-benefits{
  margin-top:40px;
  display:flex;
  gap:38px;
  flex-wrap:wrap;
}
.hero-benefits div{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.hero-benefits strong{font-size:14px}
.hero-benefits span{font-size:12px;color:#C8D7EB}

/* CSS HERO MATERIALS */
.hero-visual{
  position:relative;
  min-height:440px;
}
.material-card{
  position:absolute;
  right:130px;
  bottom:60px;
  width:180px;
  height:260px;
  background:linear-gradient(160deg,#D9C09B,#C49F69);
  border-radius:12px 12px 7px 7px;
  box-shadow:0 28px 50px rgba(0,0,0,.28);
  transform:rotate(-2deg);
  border:1px solid rgba(255,255,255,.15);
}
.material-card::before{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:38%;
  background:#19477E;
  border-radius:0 0 7px 7px;
}
.material-card span,.material-card b{
  position:absolute;
  z-index:2;
  left:18px;
  color:#163D80;
}
.material-card span{top:36px;font-size:30px;font-weight:900}
.material-card b{top:78px;font-size:17px}
.bricks{
  position:absolute;
  left:30px;
  bottom:56px;
  width:290px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  transform:skewY(-2deg);
}
.bricks span{
  height:66px;
  border-radius:3px;
  background:linear-gradient(145deg,#A83E20,#D76437);
  border:2px solid rgba(64,21,10,.2);
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.04);
}
.bricks span::after{
  content:"";
  display:block;
  width:54%;
  height:28%;
  margin:18px auto 0;
  border:3px solid rgba(75,28,12,.45);
}
.steel{
  position:absolute;
  right:10px;
  bottom:72px;
  width:220px;
  height:22px;
  border-radius:999px;
  background:repeating-linear-gradient(90deg,#303740 0 10px,#49515C 10px 15px);
  box-shadow:0 8px 16px rgba(0,0,0,.25);
}
.steel-2{bottom:100px;width:245px;right:2px}
.steel-3{bottom:128px;width:205px;right:15px}
.helmet{
  position:absolute;
  right:25px;
  bottom:25px;
  width:130px;
  height:72px;
  background:#F5C400;
  border-radius:90px 90px 18px 18px;
  box-shadow:0 14px 24px rgba(0,0,0,.22);
}
.helmet::after{
  content:"";
  position:absolute;
  left:-18px;right:-18px;bottom:-7px;height:12px;
  background:#F2B900;border-radius:10px;
}

/* FEATURES */
.features-strip{
  background:#fff;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.features-grid article{
  display:flex;
  align-items:center;
  gap:14px;
  padding:22px 24px;
  border-right:1px solid var(--line);
}
.features-grid article:last-child{border-right:0}
.feature-icon{
  min-width:42px;height:42px;border-radius:10px;
  display:grid;place-items:center;
  background:#EEF4FC;color:var(--blue);font-weight:900;
}
.features-grid strong{display:block;font-size:14px;color:var(--blue-dark)}
.features-grid span{display:block;margin-top:5px;color:var(--muted);font-size:12px}

/* CATEGORIES */
.categories-section{
  padding:74px 0 92px;
  background:#fff;
}
.section-title-row{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:28px;
}
.section-kicker{
  color:var(--blue);
  font-weight:800;
  font-size:11px;
  letter-spacing:.14em;
}
.section-title-row h2,
.contact-box h2,
.location-grid h2{
  margin:8px 0 0;
  font-size:36px;
  letter-spacing:-.035em;
}
.section-title-row>a{
  color:var(--blue);
  font-size:13px;
  font-weight:700;
}
.product-groups{
  display:flex;
  flex-direction:column;
  gap:30px;
}
.product-group{
  padding-top:4px;
  border-top:1px solid var(--line);
}
.product-group:first-child{
  border-top:0;
  padding-top:0;
}
.product-group-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:16px;
}
.product-group-head h3{
  margin:8px 0 0;
  font-size:24px;
  letter-spacing:-.03em;
  color:var(--blue-dark);
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.category-card{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  padding:0;
  text-align:left;
  box-shadow:0 4px 14px rgba(15,23,42,.03);
  transition:.18s ease;
}
.category-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#CCD7E5;
}
.category-visual{
  position:relative;
  display:block;
  height:170px;
  overflow:hidden;
}
.category-text{
  padding:16px 17px 17px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.category-text strong{font-size:16px;color:var(--blue-dark)}
.category-text small{font-size:11px;color:var(--muted)}
.tone-brick .category-visual{background:linear-gradient(135deg,#E6A079,#A64025)}
.tone-sand .category-visual{background:linear-gradient(135deg,#E6D1A9,#C5A36B)}
.tone-steel .category-visual{background:linear-gradient(135deg,#6D7885,#313943)}
.tone-dark .category-visual{background:linear-gradient(135deg,#555D67,#161B22)}
.tone-gas .category-visual{background:linear-gradient(135deg,#F9E49C,#DBB01C)}
.tone-water .category-visual{background:linear-gradient(135deg,#B7DDF5,#438EBF)}
.tone-sewer .category-visual{background:linear-gradient(135deg,#B99275,#70513D)}
.tone-wire .category-visual{background:linear-gradient(135deg,#AEB5BD,#606A75)}
.tone-white .category-visual{background:linear-gradient(135deg,#F5F5F2,#DADAD3)}
.tone-profile .category-visual{background:linear-gradient(135deg,#8C98A8,#46505D)}
.tone-stone .category-visual{background:linear-gradient(135deg,#B7B2A8,#6F665B)}
.tone-ripio .category-visual{background:linear-gradient(135deg,#C6B08D,#8E6A43)}
.tone-aridos .category-visual{background:linear-gradient(135deg,#D8C39A,#A97A3E)}
.tone-arena-fina .category-visual{background:linear-gradient(135deg,#EFE0BE,#C8A366)}
.tone-arena-gruesa .category-visual{background:linear-gradient(135deg,#D9BC86,#8F6A3E)}
.tone-lime .category-visual{background:linear-gradient(135deg,#F3E9D2,#D4C0A1)}
.tone-glue .category-visual{background:linear-gradient(135deg,#D9D3C6,#9A8F7D)}

.brick-grid{
  position:absolute;inset:28px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.2) 2px,transparent 2px) 0 0/44px 100%,
    linear-gradient(rgba(255,255,255,.16) 2px,transparent 2px) 0 0/100% 34px;
  border:8px solid rgba(94,31,16,.35);
}
.bag-shape,.small-bag{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%) rotate(-2deg);
  width:120px;height:120px;
  background:#D9C5A0;color:#26486E;
  display:grid;place-items:center;
  font-size:15px;font-weight:900;
  border-radius:8px 8px 5px 5px;
  box-shadow:0 12px 24px rgba(0,0,0,.15);
}
.light-bag{background:#F1E5CF;color:#7C6544}
.rebars{
  position:absolute;
  left:15%;right:15%;top:42%;
  height:38px;
  background:repeating-linear-gradient(90deg,#2B3138 0 10px,#454D57 10px 16px);
  border-radius:999px;
  box-shadow:0 25px 0 rgba(43,49,56,.8),0 -25px 0 rgba(43,49,56,.8);
}
.roll{
  position:absolute;
  width:145px;height:66px;
  border-radius:44px;
  background:linear-gradient(90deg,#252B31,#7D858C,#252B31);
  left:50%;top:50%;transform:translate(-50%,-50%) rotate(-12deg);
  box-shadow:0 12px 22px rgba(0,0,0,.25);
}
.pipe{
  position:absolute;
  width:165px;height:44px;
  border-radius:999px;
  left:50%;top:50%;transform:translate(-50%,-50%) rotate(-12deg);
  box-shadow:0 10px 20px rgba(0,0,0,.16);
}
.pipe-yellow{background:#F1C40F}
.pipe-blue{background:#4A9BD3}
.pipe-brown{background:#7B4F37}
.wire-coil{
  position:absolute;
  width:125px;height:125px;border-radius:50%;
  left:50%;top:50%;transform:translate(-50%,-50%);
  border:13px double #59636E;
  box-shadow:inset 0 0 0 8px rgba(255,255,255,.15);
}
.small-bag{width:105px;height:118px;font-size:13px;background:#F2F0E8;color:#5B6470}
.stone-bag{background:#E5E0D9;color:#5C544B}
.ripio-bag{background:#DCC39B;color:#6B4A1C}
.aridos-bag{background:#E7D0A2;color:#6B4A1C}
.arena-bag{
  width:112px;
  height:112px;
  font-size:12px;
  line-height:1.05;
  white-space:normal;
  text-align:center;
  padding:0 10px;
}
.glue-bag{background:#DDD5C3;color:#7A552F}
.profiles{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-8deg);
  width:170px;height:96px;
  background:
    linear-gradient(90deg,transparent 0 15px,#D0D5DB 15px 27px,transparent 27px 43px,#B8C0C8 43px 56px,transparent 56px 75px,#D0D5DB 75px 87px,transparent 87px 105px,#A9B2BC 105px 119px,transparent 119px);
}

/* CONTACT */
.contact-section{
  background:var(--blue);
  padding:68px 0;
}
.contact-box{
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.section-kicker.light{color:#D5E2F5}
.contact-box p{margin:10px 0 0;color:#DDE7F6}

/* LOCATION */
.location-section{
  padding:82px 0;
  background:var(--bg);
}
.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}
.location-grid p{color:var(--muted);font-size:16px}
.location-actions{display:flex;gap:10px;margin-top:24px}
.hours-card{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.03);
}
.hours-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:12px;
}
.hours-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  background:#EEF2F7;
  color:var(--blue-dark);
}
.hours-status.open{background:#E6F6EC;color:#146C36}
.hours-status.closed{background:#FDECEC;color:#A02828}
.hours-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.hours-list li{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:baseline;
  padding-top:10px;
  border-top:1px solid var(--line);
}
.hours-list li:first-child{padding-top:0;border-top:0}
.hours-list strong{
  font-size:13px;
  color:var(--blue-dark);
}
.hours-list span{
  font-size:13px;
  color:var(--muted);
  text-align:right;
}
.real-map{
  width:100%;
  height:320px;
  border:1px solid #D9E1EB;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.real-map iframe{
  display:block;
  width:100%;
  height:100%;
}

/* EMAIL MODAL */
.email-modal{
  position:fixed;
  inset:0;
  z-index:130;
  display:none;
  place-items:center;
  padding:24px;
}
.email-modal.is-open{
  display:grid;
}
.email-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,18,36,.62);
}
.email-modal-panel{
  position:relative;
  z-index:1;
  width:min(620px,100%);
  background:#fff;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 28px 80px rgba(0,0,0,.28);
  padding:28px;
}
.email-modal-panel h2{
  margin:10px 0 8px;
  font-size:28px;
  letter-spacing:-.03em;
  color:var(--blue-dark);
}
.email-modal-panel p{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.5;
}
.email-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border:0;
  border-radius:8px;
  background:#F2F5FA;
  color:var(--blue-dark);
  font-size:24px;
  line-height:1;
}
.email-form{
  display:grid;
  gap:14px;
}
.email-form label{
  display:grid;
  gap:7px;
  color:var(--blue-dark);
  font-size:13px;
  font-weight:700;
}
.email-form input,
.email-form textarea{
  width:100%;
  border:1px solid #CBD5E1;
  border-radius:8px;
  background:#fff;
  padding:13px 14px;
  color:var(--text);
}
.email-form input:focus,
.email-form textarea:focus{
  outline:0;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(22,61,128,.08);
}
.email-form textarea{
  resize:vertical;
  min-height:132px;
}
.email-form-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:6px;
}

/* FOOTER */
footer{background:#fff;border-top:1px solid var(--line);padding:28px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer-brand{display:flex;align-items:center;gap:12px;color:var(--blue-dark);font-weight:700}
.footer-brand img{width:52px;height:52px;object-fit:contain}
.footer-inner small{color:var(--muted)}

.floating-whatsapp{
  position:fixed;
  right:18px;bottom:18px;
  z-index:100;
  background:var(--green);color:#fff;
  min-height:48px;padding:0 18px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;
  box-shadow:0 12px 30px rgba(0,0,0,.18)
}

@media(max-width:1050px){
  .header-inner{grid-template-columns:150px 1fr}
  .header-whatsapp{display:none}
  .category-nav-inner{overflow-x:auto}
  .category-nav a,.dropdown-btn{flex:0 0 auto}
  .hero-inner{grid-template-columns:1fr}
  .hero-visual{display:none}
  .hero-copy{max-width:800px}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .features-grid article:nth-child(2){border-right:0}
  .features-grid article:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .category-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:760px){
  .topbar-contact a span{display:none}
  .topbar-links{display:none}
  .header-inner{grid-template-columns:92px 1fr;gap:15px;min-height:92px}
  .logo-wrap img{width:82px;height:82px}
  .search-wrap input{min-width:0}
  .hero{min-height:auto}
  .hero-inner{min-height:auto}
  .hero-copy{padding:55px 0}
  .hero h1{font-size:52px}
  .hero-copy>p{font-size:17px}
  .hero-actions{display:grid}
  .hero-benefits{gap:20px}
  .features-grid{grid-template-columns:1fr}
  .features-grid article{border-right:0;border-bottom:1px solid var(--line)!important}
  .features-grid article:last-child{border-bottom:0!important}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .section-title-row{align-items:flex-start;flex-direction:column}
  .contact-box{align-items:flex-start;flex-direction:column}
  .location-grid{grid-template-columns:1fr}
  .footer-inner{align-items:flex-start;flex-direction:column}
}

@media(max-width:520px){
  .container{width:min(100% - 24px,1220px)}
  .header-inner{grid-template-columns:74px 1fr}
  .logo-wrap img{width:68px;height:68px}
  .search-wrap input{font-size:13px;padding:0 12px}
  .search-wrap button{width:44px}
  .hero h1{font-size:44px}
  .hero-benefits{display:grid}
  .category-grid{grid-template-columns:1fr}
  .category-visual{height:150px}
  .location-actions{display:grid}
}
