:root {
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;

  --bs-primary: #151515; 
  --bs-primary-focus: #000000; 
  --bs-primary-text-emphasis: #151515;
  --bs-primary-rgb: 111, 66, 193;
  --bs-primary-bg: #c2c2c2;
  --bs-primary-bg-subtle: #ececec;
  --bs-primary-border-subtle: #ececec;

  --bs-success: #59b15e;
  --bs-success-text-emphasis: #093310;
  --bs-success-rgb: 113, 197, 93;
  --bs-success-bg-subtle: #DBE7DD;
  --bs-success-border-subtle: #DBE7DD;

  --bs-danger: #eb5261;
  --bs-danger-text-emphasis: #330509; 
  --bs-danger-rgb: 235, 82, 97;
  --bs-danger-bg-subtle: #F9D7DA; 
  --bs-danger-border-subtle: #F9D7DA;

  --bs-warning: #eeca5e;
  --bs-warning-text-emphasis: #413308;
  --bs-warning-rgb: 238, 202, 94;
  --bs-warning-bg-subtle: #FFF3CD;
  --bs-warning-border-subtle: #FFF3CD;
}
.text-bg-success {
  color: var(--bs-success-text-emphasis) !important;
  background-color: var(--bs-success-bg-subtle) !important;
}
.text-bg-danger {
  color: var(--bs-danger-text-emphasis) !important;
  background-color: var(--bs-danger-bg-subtle) !important;
}
.text-bg-warning {
  color: var(--bs-warning-text-emphasis) !important;
  background-color: var(--bs-warning-bg-subtle) !important;
}
.btn-success {
  --bs-btn-color: var(--bs-success-text-emphasis);
  --bs-btn-bg:  var(--bs-success-bg-subtle);
  --bs-btn-border-color:  var(--bs-success-bg-subtle);
  --bs-btn-hover-color: var(--bs-success-text-emphasis);
  --bs-btn-hover-bg: var(--bs-success);
  --bs-btn-hover-border-color:  var(--bs-success);
  --bs-btn-active-bg:  var(--bs-success);
  --bs-btn-active-border-color:  var(--bs-success);
  --bs-btn-disabled-color: var(--bs-success-text-emphasis);
  --bs-btn-disabled-bg:  var(--bs-success-bg-subtle);
  --bs-btn-disabled-border-color:  var(--bs-success-bg-subtle);
}
.btn-danger {
  --bs-btn-color: var(--bs-danger-text-emphasis);
  --bs-btn-bg: var(--bs-danger-bg-subtle);
  --bs-btn-border-color: var(--bs-danger-bg-subtle);
  --bs-btn-hover-color: var(--bs-danger-text-emphasis);
  --bs-btn-hover-bg: var(--bs-danger);
  --bs-btn-hover-border-color: var(--bs-danger);
  --bs-btn-active-bg: var(--bs-danger);
  --bs-btn-active-border-color: var(--bs-danger);
  --bs-btn-disabled-color: var(--bs-danger-text-emphasis);
  --bs-btn-disabled-bg: var(--bs-danger-bg-subtle);
  --bs-btn-disabled-border-color: var(--bs-danger-bg-subtle);
}
.btn-outline-primary{
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-disabled-color: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir-Heavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
.btn-primary {color: #fff;background-color: var(--bs-primary);border-color: var(--bs-primary);}
.btn-primary:hover,
.btn-primary:focus {background-color: var(--bs-primary-bg);border-color: var(--bs-primary-bg);color: #fff;}
.btn-primary:active,
.btn-primary.active {background-color: #000 !important;border-color: #000 !important;color: #fff;}
.btn-primary:disabled,
.btn-primary.disabled {background-color: var(--bs-primary);border-color: var(--bs-primary);color: #fff;}
*{margin: 0; padding: 0; box-sizing: border-box;}
body{font-family: 'Avenir', sans-serif;overflow-x: hidden;}
a, a:hover{text-decoration: none; color: inherit;}
button, button:active, button:focus{border:none;  outline:none; background-color:inherit; text-decoration: none;}
html{scroll-behavior: smooth;  -webkit-overflow-scrolling: touch;}
.transition-5{transition: .5s ease-in-out;}
.transition-3{transition: .3s ease-in-out;}
.transition-2{transition: .2s ease-in-out;}
.transition-1{transition: .1s ease-in-out;}
.pointer{cursor: pointer;}
.bg-image{background-position: center; background-repeat: no-repeat; background-size: cover;}
.fs-91{font-size: clamp(40px, 10vw, 91px);}
.fs-30{font-size: clamp(20px, 10vw, 30px);}
.fs-18{font-size: 18px;}
.fs-16{font-size: 16px;}
.fs-15{font-size: 15px;}
.bg-grey{ background-color: #EAEBEB; }
.color-grey{color: #898989;}
.hr-grey{color: #D6D6D6;}
.text-justify{text-align: justify;}
.validation-error{font-size: 12px; color: red;}
input.validation-error,textarea.validation-error,select.validation-error{border: solid 1px red;font-size: inherit;color: inherit;}
.subtitle{font-weight: 800; font-size: clamp(20px, 2vw, 35px);}
.header__btn,.menu__item--desktop,.menu__item--mobile { color: #FFFFFF; transition: .3s ease-in-out;}
.header__btn:hover,.menu__item--desktop:hover,.menu__item--mobile:hover { color: rgb(255 255 255 / 75%) !important; }
/* HEADER */
.header.desktop{ display: flex; align-items: center; padding: 25px 15px; justify-content: space-between; background: #000000;}
.header.desktop.transparent{background-color: transparent;}
.header__btn {display:flex;gap:15px; font-size: 15px;padding-right: 20px;padding-left: 20px;}
.header.desktop.scroll {background-color: #000000;padding: 8px 15px;}
.header__btn_box{border-right: 1px solid rgb(255 255 255 / 43%);}
.header__buttons{border-left: 1px solid rgb(255 255 255 / 43%);}
.menu__item_has_child::after{
  content: '\F282';
  font-family: bootstrap-icons !important;
  margin-left: 6px;
  position: relative;
  top: 3px;
}
.header.desktop.transparent-black:not(.scroll){background-color: transparent;}
.header.desktop.transparent-black:not(.scroll) .header__btn_box,.header.desktop.transparent-black:not(.scroll) .header__buttons{border-color: #000;}
.header.desktop.transparent-black:not(.scroll) .header__btn,.header.desktop.transparent-black:not(.scroll) .menu__list > li > .menu__item--desktop {color: #000;}
/* Menu */
.menu__list{ align-items: center; gap: clamp(18px, 2vw, 30px); }
@media (max-width: 1057px) and (min-width: 992px) {.menu__list {gap: 10px;}}
.menu__item--desktop {display: block;border-bottom: 1px solid transparent;padding: 8px 6px;font-size: 15px;}
.menu__item--desktop.active{ border-color: #FFFFFF; }
.menu__item--desktop > .menu-logo{ width: 55px; }
.header.scroll .menu__item--desktop > .menu-logo{ width: 40px; }
/* Menu mobile */
.header.mobile {
  position: fixed;
  right: 10px;
  bottom: 25px;
  left: 10px;
  z-index: 1030;
  background-color: #040404;
  padding: 8px 15px;
  border-radius: 15px;
}
.menu--mobile{justify-content: space-around;}
.menu__item--mobile > .menu-logo{ width: 40px; }
.menu__item--mobile{font-size: clamp(11px, 2vw, 13px);text-align: center;}
.menu__item--mobile-icon{display: block;font-size: clamp(20px, 3vw, 35px);line-height: 0;}
.menu__item--mobile-has-child::after{
  content: '\F282';
  font-family: bootstrap-icons !important;
  font-size: 9px;
  display: inline-block;
  margin-left: 3px;
  vertical-align: 1px;
  transition: transform .3s ease;
}
.menu__item--mobile-has-child[aria-expanded="true"]::after{ transform: rotate(180deg); }
@keyframes dropdownPopIn{
  from{ opacity: 0; transform: translateY(14px) scale(.94); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
.header.mobile .dropdown-menu{
  position: fixed !important;
  top: auto !important;
  bottom: calc(25px + var(--mobile-nav-h, 90px) + 10px) !important;
  left: 10px !important;
  right: 10px !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  background-color: rgba(20,20,20,.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
  padding: 10px;
}
.header.mobile .dropdown-menu.show{
  animation: dropdownPopIn .32s cubic-bezier(.22,1,.36,1);
  transform-origin: bottom center;
}
.header.mobile .dropdown-item{
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
}
.header.mobile .dropdown-item:hover,
.header.mobile .dropdown-item:focus{ background-color: rgba(255,255,255,.1); color: #fff; }
.header.mobile .dropdown-divider{ border-color: rgba(255,255,255,.12); margin: 6px 4px; }
.menu__dropdown-all{
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  background-color: rgba(255,255,255,.07);
  margin-bottom: 6px;
}
.menu__dropdown-label{
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: 4px 12px 6px;
}
.menu__dropdown-grid{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2px 8px;
  max-height: 38vh;
  overflow-y: auto;
  padding-right: 2px;
  padding-left: 0px;
}
.menu__dropdown-grid .dropdown-item{ padding: 8px 10px; }
.menu__dropdown-grid::-webkit-scrollbar{ width: 4px; }
.menu__dropdown-grid::-webkit-scrollbar-thumb{ background-color: rgba(255,255,255,.25); border-radius: 4px; }
.submenu-desktop {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 25px 20%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}
.submenu-desktop.active {max-height: 600px;opacity: 1;visibility: visible;}
.submenu-desktop .menu__item--desktop {
  color: #fff;
  padding: 5px 0;
  font-size: 14px;
  transition: color 0.2s ease;
}
.submenu-desktop .menu__item--desktop:hover {color: #ccc;}
.menu__item_has_child {position: relative;}
.menu__item_has_child::after {
  display: inline-block;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}
.menu__item_has_child.active::after {transform: rotate(180deg);}
/* FOOTER */
.footer {background-color: #151515;}
.footer a, .footer p{font-size: 15px; opacity: 0.8;}
.footer_social{
  display: inline-flex;
  align-items: center;
  justify-content: center; 
  background-color: #fff; 
  margin: 0px 3px; 
  border-radius: 50%; 
  padding: 4px 8px 0px;
  opacity: 1 !important;
  transform: translateY(0px);  
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer_social:hover{ opacity: 0.8 !important; transform: translateY(-5px);}
.footer_social i{color: #000;font-size: 24px;}
/* HOME */
.home_banner {height: 70vh;overflow: hidden;position: relative;
  /* top: -50px; */
}
.home_banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.home_banner__text{z-index: 2;}
.home_banner__text h1{line-height: 85px;}
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56%;
  overflow: hidden;
}

.video-container iframe {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
@media (min-width: 992px) {
  .video-container iframe {
    display: block;
  }
}
.category-card {position: relative;overflow: hidden;border-radius: 25px;height: 350px;}
.category-card__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.category-card__overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 10%, transparent 100%);
  transition: background 0.4s ease;
  padding: 20px;
}
.category-card__title {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  transition: transform 0.4s ease;
}
.category-card__hover {
  position: absolute;
  bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
  width: 100%;
}
.category-card__hover p {color: #fff;font-weight: 500;margin: 0px 0;}
.category-card:hover .category-card__image {transform: scale(1.05);}
.category-card:hover .category-card__hover {opacity: 1;transform: translateY(0);}
.category-card:hover .category-card__overlay {background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 20%, transparent 100%);}
.category-card:hover .category-card__title {transform: translateY(-80px);transition: transform 0.4s ease;}
@media (max-width: 1600px) {#slide_new {width: 100vw;padding-left: calc(50% - 50vw);}}
/* PREVIEW PRODUCT */
.pvw__product__img_box {width: 100%;height: 250px;overflow: hidden;}
.pvw__product_img {width: 100%;aspect-ratio: 1 / 1;object-fit: cover;transition: transform .3s ease-in-out;border-radius: 20px;}
.pvw__product_box:hover .pvw__product_img {transform: scale(1.01);}
.pvw__product_name {transition: font-weight .3s ease;}
.pvw__product_box:hover .pvw__product_name {font-weight: 800;}
.pvw__product__img_box--loading {width: 100%;height: 250px;border-radius: 20px;background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);background-size: 200% 100%;animation: loadingShimmer 1.5s infinite;}
@keyframes loadingShimmer {0% {background-position: 200% 0;}100% {background-position: -200% 0;}}
.btn_general_whatsapp{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.btn_general_whatsapp span{
  font-size: 14px;
  background: white;
  margin-right: 6px;
  padding: 4px 7px;
  border-radius: 4px;
  box-shadow: -3px -2px 9px -2px rgb(0 0 0 / 29%);
}
/* ================================================================
   G4 Cotizador IA | refinamiento visual v2
   CSS exclusivamente: no altera Blade, rutas ni JavaScript.
   ================================================================ */
.header.desktop { gap: clamp(5px, .7vw, 14px); }
.header.desktop .header__btn_box,
.header.desktop .header__ai_box { flex: 0 0 auto; }
.header.desktop .header__menu { flex: 1 1 auto; min-width: 0; }
.header.desktop .menu--desktop {
    width: 100%; justify-content: space-evenly;
    gap: clamp(3px, .75vw, 14px); flex-wrap: nowrap;
}
.header.desktop .menu--desktop > li { flex: 0 1 auto; min-width: 0; }
.header.desktop .menu--desktop > li > .menu__item--desktop {
    padding-inline: clamp(2px, .4vw, 6px);
    font-size: clamp(10px, .98vw, 15px);
    white-space: nowrap;
}
.header.desktop .header__btn { padding-inline: clamp(5px, .8vw, 20px); font-size: clamp(10px, .98vw, 15px); white-space: nowrap; }
.header.desktop .menu__item--desktop > .menu-logo { width: clamp(30px, 4vw, 55px); max-width: none; }
.header.desktop .header__buttons { flex: 0 0 auto; }

/* Botón: degradado limpio, sin sombras exteriores ni efecto elevado */
.g4-ai-btn {
    display: inline-flex; justify-content: center; align-items: center;
    gap: 6px; cursor: pointer;
    font-family: inherit; font-weight: 800; letter-spacing: .005em;
    color: #202020 !important;
    background: linear-gradient(155deg, #fff 0%, #f3f3f3 54%, #dadada 100%) !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 12px;
    box-shadow: none !important;
    text-shadow: none;
    transition: background .18s ease, border-color .18s ease;
}
.g4-ai-btn:hover {
    color: #111 !important;
    background: linear-gradient(155deg, #fff 0%, #e9e9e9 100%) !important;
    border-color: #fff !important;
    transform: none;
    box-shadow: none !important;
}
.g4-ai-btn:active {
    background: linear-gradient(155deg, #dfdfdf 0%, #fafafa 100%) !important;
    transform: none;
    box-shadow: none !important;
}
.g4-ai-btn:focus-visible { outline: 3px solid #77b7ff !important; outline-offset: 3px; }
.g4-ai-btn--desktop { padding: 9px clamp(7px, .95vw, 15px); font-size: clamp(10px, .88vw, 14px); white-space: nowrap; }
.g4-ai-btn--desktop .bi { font-size: 1.1em; }

/* Menú flotante: seis columnas proporcionadas e iconos/textos alineados */
.header.mobile { padding: 8px 7px; }
.header.mobile .menu--mobile {
    display: flex; flex-wrap: nowrap; align-items: stretch;
    justify-content: space-between; gap: 2px; width: 100%;
}
.header.mobile .menu--mobile > .nav-item {
    display: flex; flex: 1 1 0; min-width: 0;
    align-items: stretch; justify-content: center;
    text-align: center;
}
.header.mobile .menu--mobile .menu__item--mobile,
.header.mobile .g4-ai-btn--mobile {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; width: 100%; height: 70px; min-height: 70px;
    margin: 0; padding: 5px 1px;
    text-align: center;
}
.header.mobile .menu--mobile .menu__item--mobile {
    font-size: clamp(8px, 2vw, 11px); font-weight: 500;
    line-height: 1.2; white-space: normal;
    gap: 5px;
}
.header.mobile .menu--mobile .menu__item--mobile-icon {
    display: flex; align-items: center; justify-content: center;
    height: 27px; flex: 0 0 27px; width: 100%;
    margin: 0; line-height: 1; font-size: clamp(19px, 5vw, 25px);
}
.header.mobile .menu--mobile .menu__item--mobile-icon i { line-height: 1; }
.header.mobile .menu--mobile .menu__item--logo { display: flex; align-items: center; justify-content: center; }
.header.mobile .menu--mobile .menu__item--logo .menu-logo {
    display: block; width: clamp(27px, 8vw, 39px); height: auto;
    max-height: 43px; object-fit: contain;
}
.header.mobile .g4-ai-btn--mobile {
    gap: 4px; border-radius: 10px;
    font-size: clamp(7px, 1.9vw, 10px); line-height: 1.15;
    letter-spacing: -.02em; white-space: normal; overflow-wrap: normal;
}
.header.mobile .g4-ai-btn--mobile .bi {
    display: flex; align-items: center; justify-content: center;
    height: 27px; flex: 0 0 27px;
    font-size: clamp(19px, 5vw, 25px); line-height: 1;
}
.header.mobile .g4-ai-btn--mobile span {
    display: block; width: 100%; max-width: 100%;
    white-space: normal; overflow-wrap: normal; word-break: normal;
    text-align: center;
}
.header.mobile .g4-ai-btn--mobile strong { font-weight: 800; }
@media (max-width: 380px) {
    .header.mobile { left: 5px; right: 5px; padding-inline: 5px; }
    .header.mobile .menu--mobile { gap: 1px; }
    .header.mobile .menu--mobile .menu__item--mobile { font-size: 8px; }
    .header.mobile .g4-ai-btn--mobile { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { .g4-ai-btn { transition: none; } }


/* ==================================================
   G4 BLOG MENU | ajuste responsive v1
   Desktop + Mobile
   ================================================== */

/* Desktop: mantener tipografia y proporciones originales */
.header.desktop .menu--desktop {
    gap: clamp(3px, .75vw, 14px);
    justify-content: space-evenly;
    flex-wrap: nowrap;
}

.header.desktop .menu--desktop > li > .menu__item--desktop {
    padding-inline: clamp(2px, .4vw, 6px);
    font-size: clamp(10px, .98vw, 15px);
    white-space: nowrap;
}

.header.desktop .menu__item--blog {
    font-weight: 500;
}

/* Mobile: siete opciones alineadas */
.header.mobile {
    padding-inline: 5px;
}

.header.mobile .menu--mobile {
    gap: 0;
    justify-content: space-between;
    align-items: stretch;
}

.header.mobile .menu--mobile > .nav-item {
    flex: 1 1 0;
    min-width: 0;
}

.header.mobile .menu--mobile .menu__item--mobile,
.header.mobile .g4-ai-btn--mobile {
    width: 100%;
    height: 70px;
    min-height: 70px;
    padding: 5px 0;
    justify-content: center;
    align-items: center;
}

.header.mobile .menu--mobile .menu__item--mobile {
    font-size: clamp(7.5px, 1.85vw, 10px);
    line-height: 1.15;
    gap: 4px;
}

.header.mobile .menu--mobile .menu__item--mobile-icon {
    height: 25px;
    flex: 0 0 25px;
    font-size: clamp(18px, 4.5vw, 23px);
}

/* Evitar que el indicador adicional desplace PRODUCTOS */
.header.mobile .menu--mobile
.menu__item--mobile-has-child::after {
    display: none;
}

/* Mantener el Cotizador IA dentro de su columna */
.header.mobile .g4-ai-btn--mobile {
    font-size: clamp(7px, 1.75vw, 9px);
    gap: 4px;
}

.header.mobile .g4-ai-btn--mobile .bi {
    height: 25px;
    flex: 0 0 25px;
    font-size: clamp(18px, 4.5vw, 23px);
}

/* Pantallas especialmente estrechas */
@media (max-width: 360px) {
    .header.mobile {
        left: 4px;
        right: 4px;
        padding-inline: 3px;
    }

    .header.mobile .menu--mobile .menu__item--mobile {
        font-size: 7.5px;
    }

    .header.mobile .g4-ai-btn--mobile {
        font-size: 7px;
    }
}
