main.site-main.semillas{
    background: url(../../img/fondo-semillas.png);
    background-size: cover;
     background-color: rgba(255,255,255,0.4);
    background-blend-mode: lighten;
    
}

h2, h3, h4, h4{
          font-family: "Montserrat", sans-serif;
}

section.container.first-content-introduction {
    max-width: 1000px;
    margin-top: 90px;
    position: relative;
}

h1#titulo-principal{
    font-size: 70px;
}

.destacado-semillas {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--fen-azul);
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    color: #fff;
    padding: 40px 30px;
    font-size: 20px;
    border-radius: 30px;
    font-style: italic;
    font-weight: 500;
}



.destacado-semillas p{
    color: #fff;
    margin-bottom: 0;
}
/* --- ESTILOS BASE (Estructura) --- */
.nav-semillas-custom {
    border-bottom: none;
    padding-left: 15px;
    gap: 10px;
    align-items: flex-end;
}

.nav-semillas-custom .nav-link {
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
    /* El color del borde se define abajo por cada hijo */
    font-weight: 700;
    border-radius: 40px 40px 0 0;
    padding: 12px 25px;
    margin-right: 0;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-semillas-custom .nav-link:hover {
    opacity: 1;
}

.nav-semillas-custom .nav-link.active {
    opacity: 1;
    color: #fff !important;
    /* El background se define abajo por cada hijo */
}

.content-semillas-custom {
    border-radius: 0 20px 20px 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  
}

.content-semillas-custom .tab-pane {
    padding: 40px;
    color: #fff; /* Texto blanco por defecto */
}

/* Ajustes de texto interno */
.content-semillas-custom h3, 
.content-semillas-custom strong { 
    color: #fff; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.content-semillas-custom ul {
    list-style: disc;
    padding-left: 1.5rem;
}


/* --- COLORES ESPECÍFICOS (Aquí está lo que pediste) --- */

/* 1. PRIMER ELEMENTO (Amarillo #f2c26a) */
/* Botón inactivo */
.nav-semillas-custom li:nth-of-type(1) .nav-link {
    color: #f2c26a;
      border-color: var(--fen-azul);
    border: 2px solid var(--fen-azul);
    opacity: 1;
}
/* Botón activo */
.nav-semillas-custom li:nth-of-type(1) .nav-link.active {
    background-color: #f2c26a;
      border: 2px solid #f2c26a;
}
/* Caja de contenido correspondiente */
.content-semillas-custom .tab-pane:nth-of-type(1) {
    background-color: #f2c26a;
        column-width: 300px; 
    column-gap: 40px;
   
}


/* 2. SEGUNDO ELEMENTO (Rojizo #be7275) */
/* Botón inactivo */
.nav-semillas-custom li:nth-of-type(2) .nav-link {
    color: #be7275;
    border-color: var(--fen-azul);
    border: 2px solid var(--fen-azul);
    opacity: 1;
}
/* Botón activo */
.nav-semillas-custom li:nth-of-type(2) .nav-link.active {
    background-color: #be7275;
     border: 2px solid #be7275;
}
/* Caja de contenido correspondiente */
.content-semillas-custom .tab-pane:nth-of-type(2) {
    background-color: #be7275;
}


/* 3. TERCER ELEMENTO (Naranja #f4a36f) */
/* Botón inactivo */
.nav-semillas-custom li:nth-of-type(3) .nav-link {
    color: #f4a36f;
   border-color: var(--fen-azul);
    border: 2px solid var(--fen-azul);
    opacity: 1;

}
/* Botón activo */
.nav-semillas-custom li:nth-of-type(3) .nav-link.active {
    background-color: #f4a36f;
     border: 2px solid #f4a36f;
}
/* Caja de contenido correspondiente */
.content-semillas-custom .tab-pane:nth-of-type(3) {
    background-color: #f4a36f;
}


.nav-semillas–custom .nav-link{
    color: var(--fen-azul);
}
section.tabs-semillas , section.cenicel, section.tech-sheets, section.content-form, section.contacto-sucursales{
    max-width: 1000px;
}

section.cenicel p{
    color: #fff;
}

.col-md-6.col-cenicel{
            font-family: "Montserrat", sans-serif;
}

section.tabs-semillas h3{
  font-size: 40px;
    margin: 60px 0 0 0;
      font-family: "Montserrat", sans-serif;
}

section.tabs-semillas h4{
  font-size: 30px;
    margin: 0 0 30px 0;
      font-family: "Montserrat", sans-serif;
      font-weight: 700;
 
}

/* --- AUTOMATIZACIÓN DE COLORES (Ciclo de 3) --- */

/* Elementos 1, 4, 7, 10... (Fórmula: 3n + 1) */
section.tabs-semillas .row > div:nth-of-type(3n + 1) h4 {
    color: var(--fen-orange) !important;
}

/* Elementos 2, 5, 8, 11... (Fórmula: 3n + 2) */
section.tabs-semillas .row > div:nth-of-type(3n + 2) h4 {
    color: var(--fen-rose) !important;
}

/* Elementos 3, 6, 9, 12... (Fórmula: 3n + 3) */
section.tabs-semillas .row > div:nth-of-type(3n + 3) h4 {
    color: var(--fen-yellow) !important;
}

/* Tarjeta Principal */
    .cenicel-card {
        background-color: #0f3250; /* Azul Oscuro Profundo */
        color: #fff;
        border-radius: 30px;
        padding: 50px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        font-family: sans-serif; /* O tu fuente principal */
        margin-bottom: 40px;
    }

    /* Título Principal */
    .cenicel-title {
        color: #99cc00; /* Verde Lima (según tu imagen anterior) */
        font-weight: 800;
        font-size: 2rem;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    /* Descripción WYSIWYG */
    .cenicel-desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 40px;
    }
    .cenicel-desc p { margin-bottom: 15px; }

    /* --- SECCIÓN DE UBICACIONES (Abajo) --- */
    .cenicel-loc-title {
        color: #99cc00; /* Verde Lima */
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .cenicel-address {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.4;
        min-height: 60px; /* Para alinear los mapas si los textos difieren */
    }
   /* --- ESTILOS (Igual que la versión anterior) --- */
    .tabs-semillas {
        padding-bottom: 100px; 
        position: relative;
    }

    /* Icono flotante */
    .crop-icon-wrapper {
        width: 96px; 
        height: 96px;
        background-color: white;
        border-radius: 50%;
        border: 3px solid #002E5B;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto; 
        position: relative;
        z-index: 10; 
    }


/* Seleccionamos las columnas impares (la de la izquierda) */
    .item-sucursal:nth-of-type(odd) {
        position: relative; /* Necesario para posicionar la línea */
    }

    /* Creamos la línea virtualmente */
    .item-sucursal:nth-of-type(odd)::after {
        content: "";
        position: absolute;
        
        /* Posición: A la derecha del todo */
        right: 0; 
        
        /* Altura y Centrado vertical: */
        top: 10%;       /* Deja un espacio del 10% arriba */
        height: 80%;    /* La línea mide el 80% de la altura de la caja */
        
        /* Apariencia */
        width: 5px;     /* Grosor de la línea */
        background-color: #bf7870; /* El color rosa de tu diseño */
        border-radius: 2px; /* Bordes un poco redondeados para que se vea elegante */
    }   
    /* Tarjeta */
    .crop-card {
        border-radius: 30px;
        text-align: center;
        height: 100%; 
        color: #002E5B;
        font-family: sans-serif;
        background-color: #fff;
        position: relative;
        z-index: 5; 
        margin-top: -50px; /* Efecto de subida */
        padding: 75px 20px 30px 20px; 
    }

    .crop-card h5 {
        font-weight: 800;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    /* Estilos para el WYSIWYG dentro de la tarjeta */
    .crop-card ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        font-size: 0.95rem;
    }
    
    .crop-card ul li {
        margin-bottom: 8px;
    }
    
    /* Limpiamos párrafos automáticos del WYSIWYG si es necesario */
    .crop-card p {
        margin-bottom: 5px;
        font-size: 0.95rem;
    }

    /* Colores dinámicos */
    .bg-crop-yellow { background-color: #F8C86D; } /* Cereales */
    .bg-crop-orange { background-color: #F5A576; } /* Soya */
    .bg-crop-red    { background-color: #BD7478; } /* Leguminosas */
    .tabs-semillas .col-lg-4.col-md-6
 {
    margin-bottom: 20px;
}

/* Estilos Base del Botón */
.accordion-button {
    border-radius: 15px !important;
    font-weight: 800;
    font-size: 1.2rem;
    color: #002E5B!important; /* Texto Azul Oscuro siempre */
    box-shadow: none !important;
    padding: 15px 30px;
    background-color: #e9ecef; /* Color por si acaso falla el ciclo */
}

.accordion-item {
    border: 0!important;
}

.nav.flex-column.nav-pills.custom-vertical-tabs .nav-link.active{
     background: var(--fen-azul);
     color: #fff;
}

#wpforms-form-30092 label.wpforms-field-label, #wpforms-form-30092 legend.wpforms-field-label{
    margin: 0 0 5px 0;
    font-family: "Montserrat", sans-serif;
    color: var(--fen-azul);
    font-weight: 600;
}

#wpforms-form-30092 input, #wpforms-form-30092 select, #wpforms-form-30092 textarea {
    border: 2px solid #0d3253;
    border-radius: 27px;
    background-color: #d6d6d6;
}

#wpforms-form-30092 .button-form-fenalce {
    background-color: #0d3253;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}
.nav.flex-column.nav-pills.custom-vertical-tabs .nav-link{
    color: var(--fen-azul);
}

/* CICLO AUTOMÁTICO DE COLORES */

/* 1. El PRIMERO de cada 3 (1, 4, 7, 10...) -> AMARILLO */
.accordion-item:nth-of-type(3n + 1) .accordion-button {
    background-color: #F8C86D !important;
}

/* 2. El SEGUNDO de cada 3 (2, 5, 8, 11...) -> NARANJA */
.accordion-item:nth-of-type(3n + 2) .accordion-button {
    background-color: #F5A576 !important;
}

/* 3. El TERCERO de cada 3 (3, 6, 9, 12...) -> ROJO */
.accordion-item:nth-of-type(3n + 3) .accordion-button {
    background-color: #BD7478 !important;
}

/* Flecha del acordeón en negro/azul */
.accordion-button::after {
    filter: brightness(0); 
}

    /* Línea divisoria blanca entre columnas (Solo en Desktop) */
    @media (min-width: 768px) {
        .col-cenicel:not(:last-child) {
            border-right: 2px solid #fff;
            padding-right: 30px;
        }
        .col-cenicel:not(:first-child) {
            padding-left: 30px;
        }
    }

    /* Ajuste para móvil: separar los bloques */
    @media (max-width: 767px) {
        .col-cenicel {
            margin-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 20px;
        }
        .col-cenicel:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }
    }

    /* --- ESTILOS DEL MAPA ACF --- */
    .cenicel-map-wrapper {
        border: 2px solid #fff; /* Borde blanco estilo botón */
        border-radius: 15px;
        overflow: hidden;
        height: 250px; /* Altura fija para el mapa */
        width: 100%;
        margin-top: 10px;
    }
    
    /* Clase necesaria para que el JS de ACF detecte el mapa */
    .acf-map {
        width: 100%;
        height: 100%;
    }
    /* Arreglo común para que las imágenes de Google Maps no se deformen por CSS del tema */
    .acf-map img { max-width: none; }

    .info-extra-card.h-100 {
    background: var(--fen-azul);
    color: #fff;
    padding: 40px 30px;
    margin-top: 30px;
}

.info-body p{
    color: #fff;
}