:root{
  --green: #fecc01;
  --green2:#fedd5c;
  --white: #fdfdfb;
  --gray:  #262724;
  --bg:    #111211;

  --text:  #fdfdfb;
  --muted: rgba(253,253,251,.78);
  --line:  rgba(253,253,251,.14);
  --navH: 72px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{
  scroll-behavior: smooth;
}

body{
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container{
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 520px){
  :root{ --navH: 68px; }
}

section[id]{
  scroll-margin-top: calc(var(--navH) + 14px);
}

/* =========================
   NAVBAR
========================= */
.navbar{
  background: transparent;
  border-bottom: 1px solid transparent;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease;
}

.navbar--scrolled{
  background: var(--gray);
  border-bottom-color: rgba(0,0,0,.35);
}

.navbar__inner{
  height: 72px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.brand{ display:flex; align-items:center; }
.brand__logo{
  height: 64px;
  width: auto;
  display:block;
}

.navlinks{
  display:flex;
  gap: 18px;
  align-items:center;
}

.navlinks a{
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 10px 8px;
  border-bottom: 2px solid transparent;
}

.navlinks a:hover{
  border-bottom-color: var(--green);
}

.navlinks a.navCatalog{
  border: 1.5px solid var(--green);
  border-radius: 4px;
  padding: 5px 11px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navlinks a.navCatalog:hover{
  background: rgba(254,204,1,.10);
  border-bottom-color: var(--green);
}

.navlinks a.navCatalog i{ font-size: 11px; }

.mobileMenu a.navCatalog{
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobileMenu a.navCatalog i{ font-size: 11px; }

.menuBtn{
  display:none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.menuBtn span{
  display:block;
  height: 2px;
  background: var(--white);
  margin: 6px 8px;
}

/* Mobile menu */
.mobileMenu{
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  background: var(--gray);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 12px 16px 18px;
  z-index: 999;
}

.mobileMenu a{
  display:block;
  padding: 12px 8px;
  color: var(--white);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobileMenu__ctas{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}

.navCallDesktop{
  display:inline-block;
}

@media (max-width: 980px){
  .navCallDesktop{
    display:none;
  }
  .mobileMenu{
    top: 68px;
  }
  .navlinks{ display:none; }
  .menuBtn{ display:block; }
}

@media (max-width: 520px){
  .navbar__inner{ height: 68px; }
  .brand__logo{ height:50px; }
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-block;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  border: 2px solid transparent;
}

.btn--primary{
  background: var(--green);
  color: #1a1a0d;
  border-color: var(--green);
}

.btn--primary:hover{
  background: #dfb300;
  border-color: #dfb300;
}

.btn--outline{
  background: transparent;
  color: var(--white);
  border-color: rgba(253,253,251,.28);
}

.btn--outline:hover{
  border-color: var(--green2);
}

/* =========================
   CATALOG PAGE SECTIONS
========================= */

.gHero{
  background: #111211;
  color: #fdfdfb;
  padding: calc(var(--navH) + 56px) 0 54px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.gHero__inner{
  max-width: 920px;
}

.gHero__kicker{
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(253,253,251,.72);
  font-size: 13px;
}

.gHero h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: .2px;
}

.gHero__lead{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253,253,251,.80);
  max-width: 70ch;
}

/* Gallery / catalog section */
.gallery{
  background: #f2f2ef;
  color: #111211;
  padding: 54px 0 76px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.gallery__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.gallery__filters{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gFilter{
  border: 1px solid rgba(0,0,0,.16);
  background: #ffffff;
  color: rgba(17,18,17,.85);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .2px;
  padding: 10px 12px;
  cursor: pointer;
}

.gFilter:hover{
  border-color: rgba(254,204,1,.55);
}

.gFilter.is-active{
  background: #fedd5c;
  border-color: #fedd5c;
  color: #262724;
}

.gallery__meta{
  font-weight: 800;
  color: rgba(17,18,17,.70);
  font-size: 13px;
}

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

/* Card */
.gCard{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gCard__cotizar{
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: var(--green);
  color: #1a1a0d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: .3px;
  border: 0;
  cursor: pointer;
  transition: background .15s ease;
  flex-shrink: 0;
}

.gCard__cotizar:hover{
  background: #dfb300;
}

.gCard__btn{
  border: 0;
  padding: 0;
  width: 100%;
  background: transparent;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: block;
}

.gCard img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: #d1d5db;
}

.gCard__overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px;
  background: rgba(0,0,0,.62);
  color: #fdfdfb;
}

.gCard__overlay h3{
  margin: 0 0 2px;
  font-size: 15px;
  letter-spacing: .15px;
}

.gCard__overlay p{
  margin: 0;
  font-size: 13px;
  color: rgba(253,253,251,.80);
}

/* Lightbox */
.gLightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.gLightbox.is-open{
  display: block;
}

.gLightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
}

.gLightbox__panel{
  position: relative;
  width: min(980px, calc(100% - 28px));
  margin: 60px auto;
  background: #0d0e0d;
  color: #fdfdfb;
  border: 1px solid rgba(255,255,255,.12);
}

.gLightbox__close{
  position: absolute;
  right: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  background: #111211;
  color: #fdfdfb;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.gLightbox__media{
  background: #111211;
}

.gLightbox__media img{
  width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
  background: #111211;
}

.gLightbox__caption{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.gLightbox__caption h3{
  margin: 0 0 2px;
  font-size: 16px;
}

.gLightbox__caption p{
  margin: 0;
  font-size: 13px;
  color: rgba(253,253,251,.75);
}

.gLightbox__nav{
  display: flex;
  gap: 10px;
}

.gNavBtn{
  width: 44px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  background: #111211;
  color: #fdfdfb;
  cursor: pointer;
  font-weight: 900;
}

.gNavBtn:hover{
  border-color: rgba(254,204,1,.70);
}

/* Filtering */
.gCard.is-hidden{
  display: none;
}

/* Responsive */
@media (max-width: 980px){
  .gGrid{
    grid-template-columns: repeat(2, 1fr);
  }

  .gLightbox__media img{
    height: 420px;
  }
}

@media (max-width: 520px){
  .gHero{
    padding: 58px 0 40px;
  }

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

  .gCard img{
    height: 240px;
  }

  .gLightbox__panel{
    margin: 22px auto;
  }

  .gLightbox__media img{
    height: 320px;
  }
}

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

.footer{
  background: #111211;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 42px;
}

.footer__logo{
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(253,253,251,.75);
  max-width: 46ch;
}

.footer__block h4{
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: .3px;
}

.footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer__list li{
  font-size: 14px;
  color: rgba(253,253,251,.75);
}

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

.footer__list a:hover{
  text-decoration: underline;
  text-decoration-color: rgba(254,204,1,.75);
  text-underline-offset: 3px;
}

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  background: #0d0e0d;
}

.footer__bottomInner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.footer__bottomInner p{
  margin: 0;
  font-size: 13px;
  color: rgba(253,253,251,.65);
}

.footer__dev a{
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.footer__dev a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px){
  .footer__grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px){
  .footer__grid{
    grid-template-columns: 1fr;
    padding: 46px 0 36px;
  }

  .footer__bottomInner{
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   FLOATING WHATSAPP BUTTON
========================= */
@keyframes waFloat-pulse{
  0%{ transform: scale(1); opacity: .30; }
  100%{ transform: scale(1.55); opacity: 0; }
}

.waFloat{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.30);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.waFloat::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  z-index: -1;
  animation: waFloat-pulse 2.8s ease-out infinite;
}

.waFloat:hover{
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,.38);
}

.waFloat i{
  font-size: 30px;
  color: #ffffff;
}

/* =========================
   SOCIAL SIDEBAR (Fixed Right)
========================= */
.socialBar{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  background: #f5f5f3;
  border: 1px solid rgba(0,0,0,.14);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  box-shadow: -3px 0 14px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  padding: 8px 7px;
  gap: 6px;
}

.socialBar__link{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .15s ease;
}

.socialBar__link:hover{
  transform: scale(1.10);
}

.socialBar__box{
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  border-radius: 5px;
  background: transparent;
  font-size: 16px;
}

.socialBar__box--orange{
  border-color: #f97316;
}
.socialBar__box--orange i{
  color: #f97316;
}

.socialBar__box--whatsapp{
  border-color: #25d366;
}
.socialBar__box--whatsapp i{
  color: #25d366;
}

.socialBar__toggle{
  display: none;
}

@media (max-width: 980px){
  .socialBar{
    transform: translateY(-50%) translateX(100%);
    transition: transform .3s ease;
  }

  .socialBar.is-open{
    transform: translateY(-50%) translateX(0);
  }

  .socialBar__toggle{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 62px;
    background: #f5f5f3;
    border: 1px solid rgba(0,0,0,.14);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    box-shadow: -3px 0 10px rgba(0,0,0,.12);
    cursor: pointer;
    padding: 0;
    color: #555;
  }

  .socialBar__toggle i{
    font-size: 11px;
    line-height: 1;
  }

  .socialBar__chev{
    transition: transform .3s ease;
  }

  .socialBar.is-open .socialBar__chev{
    transform: rotate(180deg);
  }
}
