/* ==========================================================
   ITEM CAT PRODUCT
========================================================== */
.itemCatProduct{
  position:relative;
  overflow:hidden;
  display:inline-block;
  cursor:pointer;
  border-radius:10px;
  width:460px;
  height:460px;
}

.itemCatProduct img.imgDest{
  width:100%;
  height:100%;
  border-radius:10px;
  object-fit:cover;
  transition:transform .5s ease-in-out;
}

.itemCatProduct .divFlecha{
  position:absolute;
  top:25px;
  right:25px;
  display:flex;
  align-items:flex-end;
  color:#fff;
  gap:5px;
  z-index:2;
  flex-direction:column;
}
.itemCatProduct .divFlecha span{
  opacity:0;
  font-size:12px;
  transition:opacity .3s ease-in-out;
}
.itemCatProduct .divFlecha i{
  line-height:0;
  font-size:1.8rem;
  transition:opacity .3s ease-in-out;
}

.itemCatProduct .txtTt{
  position:absolute;
  top:25px;
  left:25px;
  color:#fff;
  font-size:1.2rem;
  font-weight:bold;
  z-index:2;
  text-shadow: 0px 1px 5px black;
}

.itemCatProduct a:hover img{
  transform:scale(1.1);
  filter:brightness(.8);
}
.itemCatProduct a:hover .divFlecha span{ opacity:1; }

.itemCatProduct a::after{
  content:"";
  position:absolute;
  top:-100%;
  right:-100%;
  width:100%;
  height:100%;
  background:var(--after-color, #72BE44);
  mix-blend-mode:multiply;
  opacity:.8;
  transition:top .5s ease-in-out, right .5s ease-in-out;
  z-index:1;
}
.itemCatProduct a:hover::after{
  top:0;
  right:0;
}

.itemCatProduct:nth-child(3n+1){ --after-color:#72BE44; }
.itemCatProduct:nth-child(3n+2){ --after-color:#FFD500; }
.itemCatProduct:nth-child(3n){ --after-color:#BFED00; }

.list-products-subcate .itemCatProduct h4 {
    font-size: 1.15rem;
}
.list-products-subcate .itemCatProduct {
    width: 350px;
    height: 230px;
}
.list-products-subcate .itemCatProduct .divFlecha span {
    font-size: 10px;
    transition: opacity 0.3s ease-in-out;
}
.list-products-subcate .itemCatProduct .divFlecha i{
    opacity: 0;
    font-size: 1.35rem;
}
.list-products-subcate .itemCatProduct a:hover .divFlecha i {
    opacity: 1;
}
.list-products-subcate .div-tabs{
        height: 790px;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Contenedor con scroll */
.list-products-subcate .div-tabs{
  height: 790px;
  overflow-x: hidden;
  overflow-y: auto;

  /* variable de color reutilizable */
  --scroll-c: rgba(129, 197, 89, 0.69);
  --scroll-track: rgba(214, 220, 211, 0.69);

  /* Firefox */
  scrollbar-color: var(--scroll-c) var(--scroll-track); /* thumb, track */
  scrollbar-width: thin; /* auto | thin | none */
}

/* WebKit (Chrome, Edge, Safari) */
.list-products-subcate .div-tabs::-webkit-scrollbar{
  width: 12px;              /* grosor vertical */
  height: 12px;             /* grosor horizontal, por si acaso */
}

.list-products-subcate .div-tabs::-webkit-scrollbar-track{
  background: var(--scroll-track);
  border-radius: 8px;
}

.list-products-subcate .div-tabs::-webkit-scrollbar-thumb{
  background-color: var(--scroll-c);
  border-radius: 8px;
  border: 2px solid transparent;   /* para que se vea más “delgado” */
  background-clip: padding-box;
}

.list-products-subcate .div-tabs::-webkit-scrollbar-thumb:hover{
  background-color: rgba(129, 197, 89, 0.85);
}

/* Esquinas (cuando hay scroll en ambos ejes) */
.list-products-subcate .div-tabs::-webkit-scrollbar-corner{
  background: transparent;
}

/* ===== Flechas (WebKit) ===== */
/* Tamaño del botón flecha */
.list-products-subcate .div-tabs::-webkit-scrollbar-button{
  width: 12px;
  height: 16px;         /* alto de cada botón */
  background: transparent;
}
.list-products-subcate p {
    color: #453D3B;
    font-size: 20px;
    font-weight: 400;
}
.list-products-subcate h2 {
    color: #0B5D18;
    font-size: 40px;
    font-weight: 700;
}

button.btn-subcate.active {
    background-color: #0B5D18;
}
button.btn-subcate {
    border-radius: 50px;
    border: none;
    width: 180px;
    padding: 5px 0;
    font-size: 18px;
    color: white;
    background-color: #81C559;
}
.list-products-subcate .itemCatProduct img.imgfondo {
    width: 100%;
    transition: transform 0.5s ease-in-out;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
}
.list-products-subcate .itemCatProduct img.imgDest {
    position: absolute;
    width: 160px;
    height: auto;
    transition: transform 0.5s ease-in-out;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}
.list-products-subcate .itemCatProduct a:hover img.imgDest {
    transform: translate(-50%, -50%) scale(1.1);
    filter: brightness(0.8);
}

.cert-prev, .cert-next{
  display: none;
}

/* Contenedor y flechas */
.hogar-slider-wrap { padding: 0 56px; } /* espacio para flechas */
.hogar-prev, .hogar-next, 
.otros-prev, .otros-next,
.subcat-prev, .subcat-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    z-index: 2;
    background: transparent;
}

.subcat-prev svg, .subcat-next svg,
.subcat-prev svg, .subcat-next svg {
    width: 45px;
    height: 45px;
}
.hogar-prev { left: 0; }
.hogar-next { right: 0; }
.hogar-prev:hover, .hogar-next:hover { filter: brightness(1.05); }
/* Slides */
.hogar-card {
  display: block; border-radius: 16px; overflow: hidden; position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform .2s ease;
}
.hogar-card:hover { transform: translateY(-2px); }

.hogar-thumb {
  display:block; width:100%; padding-top:370px; /* 3:2 */
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Overlay */
.hogar-caption {
  position: absolute; left: 0; right: 0; bottom: 0;     padding: 25px 15px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.7) 100%);
  color: #fff; text-align: center;z-index: 99;
}
.hogar-title {
  font-size: 20px; font-weight: 700; line-height: 1.25; margin: 0 0 10px;
}
.hogar-btn {
  display:inline-block; background:#fff; color:#0B5D18; font-weight: 800;font-size: 18px;
  border-radius: 10px; padding: 7px; width: -webkit-fill-available;
}
@media (max-width: 575.98px){
  .hogar-slider-wrap { padding: 0 55px; }
  .hogar-slider-wrap svg {
    width: 40px;
}
}

article.hogar-item .hogar-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #00000038);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 1;
}
.list-recetas h2, .list-product_int h2{
    font-size: 40px;
    color: #0B5D18;
    font-weight: 500;
}
.list-recetas h2 b, .list-product_int h2 b{
    color: #72BE44;
    font-weight: 700;
}


/* Contenedor del select con flecha personalizada */
.select-custom { position: relative; display: inline-block;    width: 100%; }

/* Oculta la flecha nativa y deja espacio a la personalizada */
.select-custom .custom-select{
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background: none; /* sin flecha nativa de Bootstrap */
  padding-right: 0;text-align: center;
  cursor: pointer;
  background-color: #81C559;
    border: none;
    border-radius: 0;
    color: #453D3B;font-size: 16px;font-weight:600;
}
.select-custom .custom-select::-ms-expand{ display: none; } /* IE/Edge legado */

/* Flecha SVG posicionada a la derecha */
.select-custom .select-arrow{
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  pointer-events: none; /* no tapa el click del select */
  line-height: 0; display: flex; align-items: center; justify-content: center;
  color: white; /* color de la flecha (usa currentColor) */
}
.select-custom .select-arrow svg{ width: 20px; height: 20px; display: block; }
.select-custom .select-arrow svg *{ fill: currentColor; } /* si tu svg no tiene fill inline */

/* Accesibilidad/focus */
.select-custom .custom-select:focus{ outline: none; box-shadow: 0 0 0 0.2rem rgba(43,92,20,.2); }


/* Estilo base de cada opción */
.select-custom .custom-select option{
  background-color:#f1fce3;  /* tono 1 */
  color:#453D3B;
  padding:10px;      /* algunos navegadores lo ignoran (ok en Chrome/Edge) */
  line-height:2;
  /* una “línea” sutil separadora */
  /* box-shadow: inset 0 -1px rgba(0,0,0,.06); */
}

/* Intercalar colores */
.select-custom .custom-select option:nth-child(even){
  background-color:#EBE9DB;  /* tono 2 */
}

/* Opción seleccionada (cuando está abierto el desplegable) */
.select-custom .custom-select option:checked{
  /* hack del gradient para anular el highlight nativo en Blink/WebKit */
  background: #81C559 !important;
  color:#453D3B !important;
}

/* (Opcional) Hover en navegadores que lo soportan */
@supports selector(option:hover){
  .select-custom .custom-select option:hover{
    filter: brightness(0.97);
  }
}

/* Accesibilidad/focus del control */
.select-custom .custom-select:focus{
  outline: none;
  /* box-shadow: 0 0 0 .2rem rgba(139,197,96,.25); */
}


.present-view {
    height: 450px;
    border-radius: 28px;
    background: #f1fce3;
    display: flex;
    justify-content: center;
    align-items: center;
}
span.present-title {
   display: flex;
    text-align: center;
    background-color: #0B5D18;
    color: white;
    padding: 5px;
    font-size: 17px;
    border-radius: 8px 8px 0 0;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-weight:500;
}
.info-product h2 {
    font-size: 40px;
    color: #0B5D18;
    font-weight: 700;
}
.info-product h3{
    font-size: 35px;
    color: #0B5D18;
    font-weight: 700;
}
.info-product .content p{
  color: #453D3B;
  font-size: 16px;
  font-weight: 500;
}
button.btn-tabla-nut {
    background-color: #72BE44;
    border-radius: 40px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 7px 50px;
    display: block;
}
.div-btn-almace {
    display: flex;
    align-items: center;
    gap: 50px;
}
.almace {
    display: flex;
    align-items: center;
    gap: 15px;
}
.text-almace span {
    color: #453D3B;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}

.text-almace p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #453D3B;
}
.cert {
    display: flex;
    gap: 15px;
}
.cert .card, .certifi-slider .card{
  border-radius: 8px;
    background: #FEFEFE;
    box-shadow: 0 0 14px 0px rgb(0 0 0 / 32%);
        border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-imgs{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.cert-imgs .card{
	  width:191px;
  	border-radius: 8px;
    background: #FEFEFE;
    box-shadow: 0 0 14px 0px rgb(0 0 0 / 32%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-imgs .card img{
    object-fit: contain;
    width: 130px;
    height: 130px;
}

.list-recet-int{
    background: #f1fce3;
}
.otros-slick a.card {
    height: 350px;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--crema);
    border: none;
    border-radius: 25px;
    text-decoration: none!important;
}

span.otros-btn {
    border-radius: 40px;
    background-color: #72BE44;
    color: white;
    width: 80%;
    display: block;
    text-align: center;
    padding: 5px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none!important;
}

.otros-prev svg, .otros-next svg,
.cert-prev svg, .cert-next svg {
    width: 35px;
    height: 35px;
}
.otros-prev { left: -35px; }
.otros-next { right: -35px; }
.banner-txt p {
    font-size: 30px;
    font-weight: 600;
    line-height: normal;
     z-index: 2;
}
.banner-txt .card-img-overlay::before,
.banner_text .card-img-overlay.text_banner::before{
content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
        height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #00000082);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 1;
}

.cert-slider img.logo-cert.img-fluid {
    object-fit: contain;
    width: 130px;
    height: 130px;
}


/* Layout */
.facts-anim{ color:#fff; }
.facts-anim .facts-grid{
  display:grid; grid-template-columns:repeat(4,1fr);height: 200px;
}
.facts-anim .fact{
  min-height:160px;
  padding:28px 24px;
  display:flex; align-items:center; justify-content:center; text-align:left;
  background:#2f540c;                 /* verde base (estado 0) */
  transition: background-color .6s ease, color .3s ease;
}
/* .facts-anim .fact + .fact{ border-left:0px solid rgba(255,255,255,.06); } */

.facts-anim .fact-num{
  font-weight:300;
  font-size: 56px;
  line-height:1;
  margin-right:10px;
}
.facts-anim .fact.fact-2 .fact-text{width: 50%;}
.facts-anim .fact-text .l1{ font-size: clamp(18px, 2.4vw, 28px); font-weight:300; line-height:1; }
.facts-anim .fact-text .l2{ font-size: clamp(14px, 1.8vw, 18px); font-weight:300; opacity:.9; line-height:1;}
.fact-1 .fact-text .l1,.fact-2 .fact-text .l1{font-size: clamp(18px, 2.4vw, 32px);}
.fact-1 .fact-text .l2, .fact-3 .fact-wrap .l1,.facts-anim .fact.fact-4 .l1{font-size: clamp(18px, 2.4vw, 20px);}
.fact-2 .fact-text .l2{font-size: clamp(16px, 2.4vw, 16px);line-height: normal;}
.facts-anim .row-inline{ display:flex; align-items:flex-end;align-items: center; }
.facts-anim .row-inline .l3{ font-size:  32px; font-weight:300; line-height:1; }
.facts-anim .row-inline .fact-num{margin-right: 1px;}
.facts-anim .fact.fact-4{ flex-direction: column;}

/* ===== SECUENCIAS =====
   stage-0: todo base
   stage-1: 1ª columna clara
   stage-2: 1ª muy clara + 2ª media
   stage-3: 1ª amarillo + 2ª muy clara + 3ª media
*/

/* Paleta */
.facts-anim .fact{ background:#274d0b; }        /* base oscuro */
.facts-anim.stage-1 .fact:nth-child(1){ background:#72B344; }       /* verde medio */
.facts-anim.stage-2 .fact:nth-child(1){ background:#BFED00; }       /* lima */
.facts-anim.stage-2 .fact:nth-child(2){ background:#72B344; }       /* verde medio */
.facts-anim.stage-3 .fact:nth-child(1){ background:#FFD22F;color:#2C5904; } /* amarillo */
.facts-anim.stage-3 .fact:nth-child(2){ background:#BFED00;color:#2C5904; } /* lima */
.facts-anim.stage-3 .fact:nth-child(3){ background:#72B344; }                 /* verde medio */

/* Ajuste de color de texto para fondos muy claros */
.facts-anim.stage-2 .fact:nth-child(1) .fact-num,
.facts-anim.stage-2 .fact:nth-child(1) .l1,
.facts-anim.stage-2 .fact:nth-child(1) .l2{ color:#2C5904; }

.facts-anim.stage-3 .fact:nth-child(1) .fact-num,
.facts-anim.stage-3 .fact:nth-child(1) .l1,
.facts-anim.stage-3 .fact:nth-child(1) .l2,
.facts-anim.stage-3 .fact:nth-child(2) .fact-num,
.facts-anim.stage-3 .fact:nth-child(2) .l1,
.facts-anim.stage-3 .fact:nth-child(2) .l2{ color:#2C5904; }

/* Responsive */
@media (max-width: 992px){
  .facts-anim .facts-grid{ grid-template-columns:1fr 1fr; }
}
/* ===== MÓVIL: convertir en slider horizontal ===== */
/* ============================
   MOVIL: COLORES POR CLASE DINÁMICA
   ============================ */
@media (max-width: 576px){
 
  .facts-anim .row-inline .l3{ font-size:  20px;}
 .facts-anim .fact-num{
  font-size: 75px;
 }
  .facts-anim .facts-grid{
    height: auto;
  }
    .facts-anim .facts-grid {
        grid-template-columns: none;
    }
  /* Reset de fondo/texto para móvil */
  .facts-anim .fact {
    background: #274d0b !important;
    color: #fff !important;
    transition: background .4s ease, color .3s ease;
  }

  /* etapa 0 */
  .facts-anim.stage-0 .fact.fact-visible-0 {
    background:#274d0b !important;
  }

  /* etapa 1 */
  .facts-anim.stage-1 .fact.fact-visible-1 {
    background:#72B344 !important;
  }

  /* etapa 2 */
  .facts-anim.stage-2 .fact.fact-visible-2 {
    background:#BFED00 !important;
    color:#2C5904 !important;
  }

  /* etapa 3 */
  .facts-anim.stage-3 .fact.fact-visible-3 {
    background:#FFD22F !important;
    color:#2C5904 !important;
  }
}




.card.texto-interna{
  background-color: var(--crema);
  border: none;
  border-radius: 0 8px 8px 0;
}

.card.texto-interna button.btn-subcate.active {
    background-color: #2C5904;
    color: white;
}
.card.texto-interna button.btn-subcate {  
    border: 1px solid #2C5904;
    width: 190px;
    font-weight: 600;
    color: #2C5904;
    background-color: white;
}
.list-products-subcate .card.texto-interna h2{
    color: #2C5904;
    font-size: 30px;
}
.list-products-subcate .card.texto-interna p{
    font-size: 20px;
    font-weight: 500;
}
.subcat-slick .itemProduct a {
    text-decoration: none!important;
}
.subcat-slick .itemProduct .card{
  background-color: var(--crema);
  border-radius: 16px;
  border: none;
}
.subcat-slick .itemProduct .txtTt h4 {
    height: 60px;
    font-size: 23px;
    font-weight: 600;
    line-height: normal;
    color:#2C5904;
    display: flex;
    align-items: center;
	justify-content: center;
}
.subcat-slick .itemProduct .card span {
    background-color: #2C5904;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 40px;
    padding: 4px;
}
.subcat-prev { left: -30px; }
.subcat-next { right: 15px; }

.img_texto img{
  border-radius: 16px;
} 

/* sección */
.sec-proceso{ padding:40px 0; }

/* slick: que “asome” el siguiente slide */
.proceso-slider .slick-list{
  padding-right: 500px;
}
.proceso-slider .slick-track{ display:flex; }
.proceso-slider .slick-slide{ margin: 0 20px; min-height: 550px; height: 480px;}

/* card */
.proceso-item{
  position: relative;
  border-radius: 0 18px 18px 0;
      overflow: hidden;
}
.proceso-media img{ width:100%; display:block;     height: 100%;
    object-fit: cover;}

.proceso-info{ padding:30px; color:#fff; height: 50%; }
.proceso-tt{
  margin:0 0 10px;
  font-size:clamp(22px,3.2vw,40px);
  line-height:1.1; font-weight:700;
}
.proceso-desc{ margin:0; font-size:clamp(13px,1.4vw,18px); line-height:1.5; }

/* ===== Colores cíclicos (4) ===== */
.proceso-info.c1{ background:#2C5904; color:#fff; }   /* verde oscuro */
.proceso-info.c2{ background:#72B344; color:#fff; }/* verde medio -> texto oscuro */
.proceso-info.c3{ background:#BFED00; color:#2C5904; }/* lima -> texto oscuro */
.proceso-info.c4{ background:#FFD22F; color:#2C5904; }/* amarillo -> texto oscuro */
.proceso-info.c5{ background:#f1fce3; color:#2C5904; }/* amarillo -> texto oscuro */

/* responsive: reduce el peek */
@media (max-width: 992px){
  .proceso-slider .slick-list{ padding-right: 80px; }
}
@media (max-width: 576px){
  .proceso-slider .slick-list{ padding-right: 40px; }
  .proceso-slider .slick-slide{ margin-right: 16px; }
}

section.aliados{
  border-radius: 16px;
  background:  #72B344;
}
section.aliados h2{
    color: white;
    font-size: 35px;
}
a.btn-certifi {
    background-color: #2C5904;
    border-radius: 8px;
    color: white;
    padding: 10px 15px;
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
}
a.btn-certifi:hover{
  text-decoration: none;
}
.icon-link {
    position: absolute;
    right: 40px;
    top: 60px;
}
.proceso-item  .proceso-media {
    height: 50%;
}

.present-head .present-tabs li {
    background-color: #F2F2F2;
}
.present-head .present-tabs li:nth-child(1) {
    border-radius: 8px 0 0 0;
}
.present-head .present-tabs li:nth-child(2) {
    border-radius: 0 8px 0 0;
}
.present-head .present-tabs li a.nav-link{
    color: #453D3B;
    font-size: 17px;
    font-weight: 500;
    position: relative;
        padding: .4em 1rem;
}
.present-head .present-tabs li a.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #F2F2F2;
        z-index: -1;
}
.present-head .present-tabs li a.nav-link.active {
    background-color: #BFED00;
    color: #0B5D18;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}
.present-head .present-tabs li a.nav-link.active::before{
  background-color: #BFED00;
}




/* Contenedor general */
.alc-block { padding: 40px 0; }

/* ------------------ LADO IZQUIERDO (imagen + overlay) ------------------ */
.alc-media{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #f6f6f6;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.alc-img{
  display: block;
  width: 100%;

  transition: opacity .2s ease;
}

.alc-overlay{
  position: relative;
  left: 0; right: 0; bottom: 0;
  transition: background-color .3s ease;
  padding: 28px 32px;
}

.alc-ov-tt{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  color: #2C5904;            /* verde oscuro para contraste */
}
.alc-ov-tt b{
  font-weight: 700;
}

.alc-ov-desc{
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: #2C5904;
  max-width: 95%;
}

/* ------------------ LADO DERECHO (títulos + botones) ------------------ */
.alc-current-tt{
  margin: 0 0 22px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  color: #2C5904;
}

.alc-titles{
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.alc-titles li { margin-bottom: 10px; }

.alc-title-btn{
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 6px 0;
  font-size: 28px;
  line-height: 1.15;
  color: #C0C0C0;             /* inactivo gris */
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.alc-title-btn b{
  font-weight: 700;
}

.alc-title-btn:hover{ transform: translateX(2px); }

.alc-title-btn.is-active{
  color: #2C5904;             /* activo verde */
}

.alc-group-switch{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.alc-group-btn{
  appearance: none;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;       /* píldora */
  background: #EEE;
  color: #2C5904;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), inset 0 0 0 1px rgba(0,0,0,.06);
  transition: background-color .2s ease, color .2s ease, transform .12s ease;
}

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

.alc-group-btn.active{
  background: #2C5904;
  color: #fff;
}

/* Accesibilidad: focus visible */
.alc-group-btn:focus,
.alc-title-btn:focus{
  outline: 2px solid #2C5904;
  outline-offset: 2px;
  border-radius: 999px;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 1199.98px){
  /* .alc-img{ height: 380px; } */
  .alc-ov-tt{ font-size: 28px; }
  .alc-ov-desc{ font-size: 16px; }
  .alc-current-tt{ font-size: 32px; }
  .alc-title-btn{ font-size: 24px; }
}

@media (max-width: 991.98px){
  /* .alc-img{ height: 360px; } */
  .alc-overlay{ padding: 22px 24px; }
  .alc-current-tt{ margin-top: 8px; }
  .alc-group-switch{ justify-content: flex-start; }
}

@media (max-width: 575.98px){
  /* .alc-img{ height: 300px; } */
  .alc-ov-tt{ font-size: 24px; }
  .alc-ov-desc{ font-size: 15px; }
  .alc-title-btn{ font-size: 22px; }
  .alc-current-tt{ font-size: 26px; }
}

section.sobre-no .content p{
  color: #2C5904;
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
}

section.conoce-nuestro {
  background-color: var(--crema);
}
section.conoce-nuestro h2{
    font-size: 40px;
    color: #2C5904;
    font-weight: 300;
    line-height: 1;
}
section.conoce-nuestro h2 b{
    font-size: 50px;
    font-weight: 700;
}
section.conoce-nuestro p{
  color: #453D3B;
font-size: 20px;
font-weight: 500;
line-height: normal;
}
section.conoce-nuestro .card{
 border-radius: 8px;
 border: none;
box-shadow: 0 4px 22.9px 0 rgba(0, 0, 0, 0.15);
}
section.conoce-nuestro .card p{
  color: #453D3B;
font-size: 20px;
font-weight: 300;
line-height: normal;
}
section.conoce-nuestro .card p b{
    font-weight: 700;
}
section.conoce-nuestro .certi_alco {
    gap: 50px;
}

section.asesoria.ase_alco .card .img{
  margin-top: 0;
}
section.asesoria.ase_alco .card .text {
      justify-content: flex-start;
}
section.asesoria.ase_alco a.btn_asesor {
    background: #72B344;
    color: #fff;
    padding: 7px 20px;
    width: max-content;
    align-self: end;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
}
section.conoce-nuestro img.logo-cert.img-fluid {
    width: 200px;
}
.tt_energia .txt-linea .h3{
  color: #2C5904 ;
}
.tt_proenergia .txt-linea .h3 span{
  color: #2C5904;
  font-weight: 300;
}



/* ====== Layout general ====== */
.ener-block { margin: 32px 0; }
.ener-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Card */
.ener-card {
  border-radius: 8px;
  min-height: 300px; /* ajusta si lo necesitas */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Icono */
.ener-ico {
  margin-bottom: 16px;
}
.ener-ico img {
  display: block;
  width: 64px;   /* ajusta para que se parezca a tu diseño */
  height: 64px;
  object-fit: contain;
}

/* Texto y valor */
.ener-txt {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 500;
}
.ener-val {
  font-size: 35px;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

/* ====== Colores automáticos (4 tarjetas) ======
   Orden: #2C5904, #BFED00, #72B344, #f1fce3
   Se reparten por posición con :nth-child
*/
.ener-card:nth-child(1) { background:#2C5904; color:#fff; }
.ener-card:nth-child(2) { background:#BFED00; color:#2C5904; }
.ener-card:nth-child(3) { background:#72B344; color:#fff; }
.ener-card:nth-child(4) { background:#f1fce3; color:#2C5904; }

/* Si en algún momento hubiese más de 4, que se repitan los colores */
.ener-card:nth-child(4n+1) { background:#2C5904; color:#fff; }
.ener-card:nth-child(4n+2) { background:#BFED00; color:#2C5904; }
.ener-card:nth-child(4n+3) { background:#72B344; color:#fff; }
.ener-card:nth-child(4n+4) { background:#f1fce3; color:#2C5904; }

/* Contrastes finos para que se parezca a la referencia */
.ener-card:nth-child(1) .ener-txt,
.ener-card:nth-child(1) .ener-val { color:#fff; }

.ener-card:nth-child(2) .ener-txt,
/*.ener-card:nth-child(3) .ener-txt { color:rgba(0,0,0,.85); }*/
.ener-card:nth-child(2) .ener-val,
/*.ener-card:nth-child(3) .ener-val { color:rgba(0,0,0,.95); }*/

.ener-card:nth-child(4) .ener-txt { color:#2C5904; }
.ener-card:nth-child(4) .ener-val { color:#2C5904; }

/* Responsive */
@media (max-width: 991.98px){
  .ener-grid {
    grid-template-columns: 1fr;
  }
  .ener-val { font-size: 34px; }
  .ener-txt { font-size: 20px; }
}


section.nclientes{
  background-color: var(--crema);
}
section.nclientes h3{
    color: #2C5904;
    font-size: 40px;
    font-weight: 400;
    line-height: normal;
}
section.nclientes h3 b{
    font-weight: 700;
    color:#72B344;
}
.logos-slider .card{
  border-radius: 25px;
  border: none;
}
section.banner_text .valor_mwh span {
    font-size: 35px;
    font-weight: 600;
    color: #2C5904;
    background-color: #BFED00;
    padding: 20px 30px;
    border-radius: 0 0 8px 0;
}
section.banner_text .text_banner p {
    font-size: 24px;
    font-weight: 500;
    color: #FFF;
    line-height: normal;
    z-index: 1;
}
section.banner_text .text_banner p b{
    font-weight: 700;
}



.abo-grid .row { row-gap: 1.5rem; }

.abo-card{
  background: var(--abo-bg);
  border-radius: 16px;
  padding: 28px 28px 26px;
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 10px 24px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.abo-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
}

/* ícono (SVG inline) */

.abo-ico svg{
  width: 100%;
  height: 100%;
  display: block;
}
.abo-ico-fallback{
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; font-weight: 700;
}

/* Tipografía (modo claro por defecto) */
.abo-tt{
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #2C5904;
}
.abo-desc{
  margin: 0;
  color: #000;
  line-height: normal;
  font-size: 12px;
}

/* Modo oscuro (para #2C5904) */
.abo-card.is-dark .abo-tt,
.abo-card.is-dark .abo-desc{ color: #fff; }
.abo-card.is-dark .abo-ico svg { filter: brightness(100%) contrast(100%); }
.abo-card.is-dark .abo-ico svg [fill="#000"], 
.abo-card.is-dark .abo-ico svg [fill="#1c1c1c"] { fill: #fff !important; }
.abo-card.is-dark .abo-ico svg [stroke="#000"],
.abo-card.is-dark .abo-ico svg [stroke="#1c1c1c"] { stroke: #fff !important; }

/* Responsive */
@media (max-width: 575.98px){
  .abo-card{ padding: 22px; border-radius: 14px; }
  .abo-ico{ width: 56px; height: 56px; margin-bottom: 14px; }
  .abo-tt{ font-size: 20px; }
  .abo-desc{ font-size: 14px; }
}


section.abo-grid span.abo-ico {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: rgb(255 255 255 / 40%);
    align-self: end;
        position: absolute;
}
.abo-card[style*="#f1fce3"] .abo-ico {
  background: #bfed0063;

}

section.carrusel-img, section.img_texto{ 
  background-color: var(--crema);
}

/* Wrapper visual (fondo claro y bordes redondeados como en tu referencia) */
.abono-slider-wrap{
  background:#f1fce3;
  border-radius:16px;
  padding:18px 18px 28px;
  max-width: 380px; /* opcional, maqueta */
  margin:0 auto;
}

/* Imagen redondeada */
.abono-slider .abono-slide img{
  width:100%;
  height:auto;
  display:block;
  border-radius:22px;
}
.div_txtabono p {
    color: #000;
    font-size: 24px;
    line-height: normal;
}


/* Contenedor fijo, sin scroll horizontal */
.abono-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;              /* separación constante entre los 3 */
  width: 100%;
  max-width: 460px;       /* ajusta si quieres */
  margin: 12px auto 0;
  padding: 8px 0;
  overflow: hidden;       /* por si acaso */
}

/* Cada “dot” ocupa el mismo espacio: NO cambia su ancho */
.abono-dot {
  position: relative;
  flex: 1 1 0;
  height: 10px;           /* alto de la píldora */
  border-radius: 999px;
  background: transparent;  /* el track lo simulamos con ::before */
}

/* Track (gris) – ancho constante, centrado */
.abono-dot::before {
  content: "";
  position: absolute;
  inset: 0;                        /* ocupa todo el dot */
  background: #c9c9c9;             /* gris del track */
  border-radius: inherit;
  opacity: 1;
}

/* Fill (barra interior) – es lo ÚNICO que “se ensancha” */
.abono-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 10px;                    /* mismo alto que el track */
  border-radius: 999px;
  background: #c9c9c9;             /* mismo gris cuando está inactivo */
  transform: translate(-50%, -50%);
  width: 60%;                      /* ancho “estrecho” inactivo */
  transition: width 260ms ease, background-color 220ms ease, opacity 220ms ease;
}

/* Activo: solo cambia el “fill” (no el contenedor) */
.abono-dot.is-active::after {
  width: 100%;                     /* se hace “el largo” */
  background: #72B344;             /* verde activo */
}
h2.abo-tt-pral b {
    color: #72B344;
}
h2.abo-tt-pral {
    font-size: 40px;
    color: #2C5904;
    font-weight: 400;
}
.div_txtgas h3{
  color: #2c5904;
  font-size: 32px;
  font-weight: 600;
}
.div_txtgas p {
    color: #000;
    font-size: 20px;
    line-height: normal;
}

.gas-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.gas-card__img img {
  display: block;
  width: 100%;
  height: auto;
}

.gas-card__body {
  background: #f1fce3;               /* el tono claro del ejemplo */
  padding: 18px 20px;
  text-align: center;
  line-height: normal;
  color: #2C5904;
  font-size: 15px;
  font-weight: 400;
  border-radius: 0 0 8px 8px;
      height: 100%;
}

/* Ajustes responsivos */
@media (min-width: 992px){
  .gas-card__body { padding: 20px 24px; font-size: 16px; }
}
.gale_img .slick-prev:before, 
.gale_img .slick-next:before,
.nclientes .slick-prev:before, 
.nclientes .slick-next:before{
  content: '';
}

.slick-prev.img-slider-prev,
.nclientes .slick-prev{
  left: -37px;
}
img.img_banner-ener {
    border-radius: 12px;
    height: 380px;
    object-fit: cover;
}
  .cert-prev, .cert-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    z-index: 2;
    background: transparent;
}
.cert-next {
    right: -30px;
}
.cert-prev {
    left: -30px;
}
.cert-slider .slick-track{
    display:flex !important;
    align-items:center;
    width: auto;
}

/* Responsivo */
@media (max-width: 600px){
  .tf-card{ min-height: 190px; }
  .tf-avatar{ left: 0px; width: 90px; height: 90px; }
  .tf-head{ padding-left: 140px; }
  .tf-head-left {   left: 100px;}
  .tf-name{ font-size: 15px; margin-bottom: 4px;}
  .tf-role{ font-size: 12px; }
  .tf-desc{ font-size: 13px; }
  section.content h2, section.conoce-nuestro h2,section.asesoria .card .text h2{ font-size: 25px; }
  section.conoce-nuestro h2 b{ font-size: 30px; }
  .alc-group-switch{justify-content: center;}
  .alc-group-btn {width: 160px;}
  section.conoce-nuestro .certi_alco {gap: 30px;}
  section.conoce-nuestro img.logo-cert.img-fluid {width: 130px;}
  .alc-block {padding: 0px 0;}

  .proc-left-inner{    min-height: 200px;}
      .proc-product {
        width: min(30%, 400px);
    }


  /* Ocultamos el layout grid y dejamos que Slick maneje la disposición */
  .abo-slider.slick-initialized {
    display: block;
  }

  /* Cada slide ocupa todo el ancho */
  .abo-slider .col-lg-4,
  .abo-slider .col-md-6 {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* Flechas */
  .abo-slider .slick-prev, 
  .abo-slider .slick-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #2C5904;
    z-index: 5;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }
  

  .abo-slider .slick-prev { left: 10px; }

  .abo-slider .slick-next { right: 20px; }


  .abo-slider .slick-prev:hover,
  .abo-slider .slick-next:hover {
    color: #72B344;
  }
   .abo-slider .slick-next:before,  .abo-slider .slick-prev:before{
    content: "";
  }
  /* Quitar dots por si se cargan por defecto */
  .abo-slider .slick-dots { display: none !important; }
  .tf-body {padding: 35px;}
  .abo-card{    min-height: 190px;}

  .div_txtgas h3{   font-size: 25px;  }
  .div_txtgas p{ font-size: 16px;  }
 
  
  /* Slick sustituye el grid */
  .gas-slider.slick-initialized {
    display: block;
  }

  /* Ajustes de cada slide */
  .gas-slider .col-md-4,
  .gas-slider .col-sm-6 {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* Estilos de dots */
  .gas-slider .slick-dots, .ener-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    list-style: none;
    padding: 0;
    bottom: -40px;
  }

  .gas-slider .slick-dots li,
  .ener-slider .slick-dots li {
    width: 25px;
    height: 25px;
  }

  .gas-slider .slick-dots li button,
  .ener-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #AFC9A2; /* verde claro base */
    border: none;
    cursor: pointer;
    
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .gas-slider .slick-dots li.slick-active button,
  .ener-slider .slick-dots li.slick-active button   {
    background-color: #2C5904; /* verde oscuro activo */
    
  }
  .slick-dots li button:before, .slick-dots li.slick-active button:before {
    color: transparent;
  }
  .valor_mwh{position: relative;}
  section.banner_text .valor_mwh span{font-size: 25px;    padding: 25px;width: 100%;    text-align: center;}
  section.banner_text .text_banner p {    font-size: 20px;}
  .ener-card{    min-height: 280px;}
  .cert-slider-wrap .slick-next {    right: 10px;}
  .cert-slider-wrap .slick-prev {    left: 0px;}
  section.nclientes h3{font-size: 25px;}
  .logos-slider .card {  border-radius: 10px;}
  .list-products-subcate h2 {font-size: 24px;}
  .list-products-subcate p {font-size: 16px;line-height: normal;}
  .list-products-subcate .div-tabs {height: auto;}
  .list-products-subcate .itemCatProduct {width: 100%;}
h2.abo-tt-pral {font-size: 25px;}
  .banner-txt p {
    font-size: 18px;}
    .banner-txt .card-img-overlay::before{
      border-radius: 0;
    }
    .banner-txt img {
    height: 250px;
    object-fit: cover;
  }
   .list-products-subcate .card.texto-interna h2 {
    font-size: 25px;
  }
  .list-products-subcate .card.texto-interna p {
    font-size: 15px;
  }
   .card.texto-interna button.btn-subcate, .list-products-subcate button.btn-subcate {width: 160px;font-size: 16px;}
   .subcat-slick .itemProduct .txtTt h4 {
    height: 30px;
    font-size: 16px;}
.subcat-slick .itemProduct .card img{
  width: 80%;
}
    .subcat-slick .itemProduct .card {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
    .subcat-slick .itemProduct .card span {
        font-size: 14px;
        font-weight: 500;
        padding: 2px 15px;
    }
section.aliados{
  border-radius: 0;
}
section.aliados h2 {
    font-size: 20px;
}
.proceso-slider .slick-slide{
  height: 100%;
}
.proceso-item .proceso-media {
    height: 250px;
}
.proceso-item .proceso-info{
  height: 300px;
}
a.btn-certifi {
    font-size: 14px;
    padding: 5px 10px;
}
.subcat-prev svg, .subcat-next svg, .subcat-prev svg, .subcat-next svg {
    width: 30px;
    height: 30px;
}
.subcat-prev, .subcat-next{
  top: 60%;
}
.subcat-next {
    right: 0px;
}
.subcat-prev{
  left: 0px;
}
.div_txtabono p {
  text-align: center;
    font-size: 20px;
}

.present-view {
    height: auto;
}
.div-btn-almace {
    display: flex;
    align-items: stretch;
    gap: 20px;
    flex-direction: column;
}
.almace {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}
button.btn-tabla-nut{
  padding: 10px 50px;
}
.info-product h3 {
    font-size: 25px;
    text-align: center;
}
 .cert {
    display: block; /* Slick controla el layout */
  }

.cert .card img {
    margin: auto;
}
  .cert .card {
    text-align: center;
  }
  .info-product h2 {
    font-size: 25px;
  }
  .info-product .content p {
    font-size: 14px;
    line-height: normal;
  }
  .slider-certi{
    display: block;
    position: relative;
  }
  .cert-prev, .cert-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    z-index: 2;
    background: transparent;
}
.cert-next {
    right: -30px;
}
.cert-prev {
    left: -30px;
}

.cert-imgs{
  justify-content: center;
}

.list-recetas h2, .list-product_int h2 {
    font-size: 25px;
}
}

#tablaNutModal .modal-content{
  background-color: transparent !important;
  border: none;
}
#tablaNutModal button.close {
    position: absolute;
    right: 10rem;
    top: -3rem;
    font-size: 4rem;
    z-index: 9;
    color: #81c559;
}

.div_txtabono a {
    display: inline-block;
    background-color: #2C5904;
    color: white;
    line-height: 1;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size:18px;
}


 #alcModal button.close {
    position: absolute;
    right: 0;
    color: #72B344;
    font-size: 3rem;
            top: -10px;
                    z-index: 999;

}
#alcModal .modal-content {
        border-radius: 10px;
    }

#alcModal .modal-content {
    border-radius: 16px;
    background-color:#f1fce3;
    border: none;
}
#alcModal h5{
    color: #72B344;
    font-size: 35px;
    font-weight: 700;
}
#alcModal p{
    font-size: 14px;
    color: #2C5904;
    line-height: 1.2;
    font-weight: 500;
}


section.alc-block .alc-overlay button.btn-eye {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 1.3rem;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}






