/* ==========================================================================
   ESTILOS PERSONALIZADOS - LATITUD S.R.L. - VERSIÓN FINAL CORREGIDA
   ========================================================================== */

/* --- 1. ESTILOS GLOBALES Y DE BASE --- */
body {
    font-family: 'Inter Tight', sans-serif;
    background-color: #f7f9fc;
}

html {
    scroll-behavior: smooth;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #121212;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    font-size: 1rem;
    font-weight: 600;
    color: #79c548;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-light {
    background-color: #f7f9fc !important;
}

/* --- 2. HEADER / MENÚ DE NAVEGACIÓN (Versión 6.0 - Logo Único) --- */

/* ---- ESTADO INICIAL Y CON SCROLL UNIFICADO ---- */

#header-nav .navbar {
    padding: 0.5rem 0;
    transition: all 0.4s ease-in-out;
}

#header-nav .navbar .container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#header-nav.scrolled .navbar .container {
    background: rgba(255, 255, 255, 0.85); /* Se vuelve más opaco al hacer scroll */
}

/* ---- LÓGICA DE LA MARCA (SOLO LOGO) ---- */
#header-nav .navbar-brand {
    padding: 0; /* Quitamos padding extra */
}
.brand-logo-img {
    height: 45px; /* Tamaño del logo en escritorio */
    width: auto;
    transition: all 0.4s ease;
}
#header-nav.scrolled .brand-logo-img {
    height: 50px; /* Se agranda un poco al hacer scroll */
}

/* ---- LINKS DE NAVEGACIÓN ---- */
#header-nav .nav-link {
    position: relative;
    background: transparent;
    box-shadow: none;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    text-decoration: none;
}
#header-nav .nav-link::before, #header-nav .nav-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: linear-gradient(45deg, #982c53, #32694a);
    opacity: 0;
    transition: 0.5s;
}
#header-nav .nav-link::after { filter: blur(15px); z-index: -1; top: 10px; }
#header-nav .nav-link:hover::before { opacity: 1; }
#header-nav .nav-link:hover::after { opacity: 0.5; }
#header-nav .nav-link-title {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.5s;
    margin-left: 0.5rem;
    position: relative;
    z-index: 2;
}
#header-nav .nav-link:hover .nav-link-title { color: #fff; }
#header-nav .nav-icon-wrapper ion-icon {
    color: #333;
    font-size: 1.5em;
    transition: color 0.5s;
    position: relative;
    z-index: 2;
}

/* ---- ESTILOS DE LINKS AL HACER SCROLL ---- */
#header-nav.scrolled .nav-link-title { color: #555; }
#header-nav.scrolled .nav-icon-wrapper ion-icon { color: #777; }
#header-nav.scrolled .nav-link:hover { background-color: rgba(0, 0, 0, 0.05); }
#header-nav.scrolled .nav-link:hover .nav-link-title { color: #260a30 !important; }
#header-nav.scrolled .nav-link:hover .nav-icon-wrapper ion-icon { color: #260a30; }
#header-nav.scrolled .nav-link::before, #header-nav.scrolled .nav-link::after { display: none; } /* Desactivamos el efecto de color al hacer scroll */

/* ---- ICONO DE CONTACTO Y HAMBURGUESA ---- */
#header-nav .navbar-contact .nav-icon {
    font-size: 1.5rem; color: #333; text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    transition: color 0.4s ease-in-out; padding: 0.5rem; text-decoration: none;
}
#header-nav.scrolled .navbar-contact .nav-icon { color: #260a30; text-shadow: none; }
#header-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
#header-nav.scrolled .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ---- RESPONSIVIDAD ---- */
@media (max-width: 991px) {
    #header-nav .nav-icon-wrapper { display: none; }
    #header-nav .nav-link-title { margin-left: 0; }
    #header-nav .navbar-collapse { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1rem; margin-top: 0.5rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
    #header-nav .nav-link, #header-nav.scrolled .nav-link { color: #555 !important; text-shadow: none; }
    #header-nav .nav-link:hover, #header-nav.scrolled .nav-link:hover, #header-nav .nav-link.active { color: #260a30 !important; background-color: rgba(0, 0, 0, 0.05); }
    
    .brand-logo-img, #header-nav.scrolled .brand-logo-img {
        height: 35px; /* Un solo tamaño de logo para móvil, siempre visible */
    }
}

/* --- 3. SECCIÓN HERO Y SOBRE NOSOTROS --- */
.main-hero-parallax {
    min-height: 100vh;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}

.jarallax-img {
    object-position: center center;
}

.hero-content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 800px;
    margin: 1rem auto 0;
}

.about-us-content-wrapper {
    margin-top: -200px;
    position: relative;
    z-index: 3;
    transition: margin-top 0.4s ease;
}

.about-us-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pueblo-blanco-logo {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.4));
}

@media (max-width: 991px) {
    .main-hero-parallax {
        min-height: 100vh;
    }

    #main-hero-parallax .jarallax-img {
        object-position: bottom center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-us-content-wrapper {
        margin-top: -100px;
    }
}

@media (max-width: 575px) {
    .main-hero-parallax {
        min-height: 70vh;
    }

    .hero-content-wrapper {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-us-content-wrapper {
        margin-top: -80px;
    }

    .about-us-card {
        padding: 1.5rem;
    }
}

/* --- 4. SECCIÓN ALCANCE GLOBAL (FUSIÓN) --- */
.global-reach-section {
    padding: 0;
    background-color: #B0385C;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.global-reach-section .row {
    min-height: 600px;
}

.text-and-stats-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.image-column {
    padding: 0;
    min-height: 400px;
    display: flex; /* Añadido para controlar el padding de la imagen */
    align-items: center; /* Añadido para centrar verticalmente si es necesario */
    justify-content: center; /* Añadido para centrar horizontalmente si es necesario */
}
.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* --> 3. ESTILOS PARA LA IMAGEN GRANDE */
    border-radius: 1rem; /* Borde redondeado más sutil */
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.15); /* Sombra hacia la izquierda */
    /* Añadimos un "padding" visual haciendo la imagen un poco más pequeña que su contenedor */
    width: calc(100% - 2rem);
    height: calc(100% - 4rem);
}

.text-and-stats-column .content-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.text-and-stats-column .section-kicker {
    font-size: 0.9rem;
    color: #79c548;
    margin-bottom: 0.5rem;
}

.text-and-stats-column .section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: left !important;
}

.text-and-stats-column p {
    color: white;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.stats-carousel-container.swiper {
    width: 100%;
    overflow: hidden;
}

.stat-carousel-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 100%;
}

.stat-icon {
    font-size: 2rem;
    color: #B0385C;
    margin-right: 2%;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-title {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.2rem;
    font-weight: 400;
}

/* Ajustes responsivos */
@media (max-width: 991px) {
    .global-reach-section .row {
        flex-direction: column-reverse;
    }
    .text-and-stats-column {
        padding: 3rem;
    }
    .image-column img {
        width: 100%;
        height: 400px; /* Altura fija en tablet */
        border-radius: 1rem;
    }
}

@media (max-width: 575px) {
    .text-and-stats-column {
        padding: 2rem;
    }
    .text-and-stats-column .section-title {
        font-size: 2rem;
    }
}

/* --- 7. SECCIÓN MAPA Y UBICACIÓN - "LIENZO ANIMADO" --- */

.location-section-v2 {
    padding: 6rem 0;
    background-color:  #982c53;
    overflow: hidden;
}

/* El texto ahora debe ser claro para contrastar */
.location-section-v2 .section-title,
.location-section-v2 .text-content p.lead {
    color: #ffffff;
}

.location-section-v2 .text-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* El contenedor de la animación (nuestro lienzo) */
.animated-map-container {
    position: relative;
    border-radius: 16px;
    padding: 2rem; /* Espacio para que la sombra respire */

    /* EL FONDO ANIMADO */
    background: linear-gradient(135deg, #982c53, #32694a, #982c53);
    background-size: 400% 400%; /* El fondo es 4 veces más grande para poder moverse */
    animation: gradient-flow 15s ease-in-out infinite;
}

/* La animación que mueve el fondo del gradiente */
@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* La imagen PNG transparente */
.animated-map-container img {
    width: 100%;
    height: auto;
    position: relative; /* Para que esté sobre el fondo */
    z-index: 2;
    
    /* Sombra para dar efecto de profundidad */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    
    transition: all 0.4s ease;
}

/* Efecto al pasar el cursor */
.animated-map-container:hover img {
    transform: scale(1.05); /* Se agranda sutilmente */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); /* La sombra se intensifica */
}

/* --- NUEVA SECCIÓN: PROCESO DE PRODUCCIÓN (VERSIÓN AMPLIADA) --- */

.process-section-v2 {
    padding: 6rem 0;
    background-color: #ffffff;
    overflow-x: hidden; /* Evita que las animaciones AOS se desborden */
}

.process-step {
    margin-bottom: 6rem; /* Gran espacio entre cada etapa */
}
.process-step:last-child {
    margin-bottom: 0;
}

.process-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.process-image img {
    width: 100%;
    height: auto;
    display: block;
}

.process-text {
    position: relative;
    padding: 0 2rem;
}

/* El número grande y estilizado de cada etapa */
.step-number {
    font-size: 6rem;
    font-weight: 800;
    color: #f0f2f5; /* Un gris muy claro que actúa como marca de agua */
    position: absolute;
    top: -2.5rem;
    left: 0;
    z-index: 1;
    line-height: 1;
}

/* Ajuste para los textos alineados a la derecha */
.process-text.text-lg-end .step-number {
    left: auto;
    right: 0;
}

.process-text h3 {
    position: relative;
    z-index: 2; /* Se asegura de estar sobre el número */
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.process-text p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Ajustes responsivos */
@media (max-width: 991px) {
    .process-step {
        margin-bottom: 4rem;
        text-align: center; /* Centramos todo en móvil */
    }
    .process-image {
        margin-bottom: 2rem;
    }
    .process-text {
        padding: 0;
    }
    .process-text.text-lg-end {
        text-align: center !important; /* Forzamos el centrado */
    }
    .step-number {
        font-size: 4rem;
        top: -1.5rem;
        left: 50%; /* Centramos el número */
        transform: translateX(-50%);
    }
    .process-text h3 {
        font-size: 1.8rem;
    }
}


/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA SECCIONES DE TARJETAS
   ========================================================================== */

/* --- 8. SECCIÓN PRODUCTOS ("Nuestros Racimos de Exportación") --- */
/* Esta sección tiene tarjetas más informativas con precio y descripción. */

#productos {
    background-color: #f7f9fc;
    padding: 5rem 0;
}

#productos .feature-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

#productos .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#productos .feature-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#productos .feature-card:hover img {
    transform: scale(1.1);
}

#productos .feature-card-body {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#productos .feature-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

#productos .feature-card-price {
    color: #79c548;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#productos .feature-card-text {
    color: #7f8c8d;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}


/* --- 9. SECCIÓN ATRIBUTOS DEL PRODUCTO (Efecto Neón Inclinado) --- */
/* Esta es la sección con "Nutrición Solar", "Suelo Puro", etc. */

.attributes-section {
    padding: 5rem 0;
    background-color: #ffffff;
    /* Fondo blanco */
}

.attributes-section .section-title,
.attributes-section .section-subtitle {
    color: #1a1a1a;
}

.attribute-box {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

/* Fondo de color inclinado (invisible por defecto) */
.attribute-box::before,
.attribute-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 50%;
    height: 100%;
    background: linear-gradient(315deg, #b2df8a, #79c548);
    border-radius: 8px;
    transform: skewX(15deg);
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

/* Brillo desenfocado */
.attribute-box::after {
    filter: blur(30px);
}

/* Animación al pasar el cursor */
.attribute-box:hover::before,
.attribute-box:hover::after {
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 40px);
    opacity: 1;
}

/* Contenido "Glass" */
.attribute-box .attribute-content {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    z-index: 10;
    transition: 0.5s;
    text-align: center;
    color: #555;
}

.attribute-box:hover .attribute-content {
    transform: translateY(-20px);
}

.attribute-content img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.attribute-content h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.attribute-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.attribute-content a {
    display: inline-block;
    font-size: 1rem;
    color: #ffffff;
    background: #79c548;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 5px;
    transition: 0.3s ease;
}

.attribute-content a:hover {
    background: #5c810d;
}

/* Brillos flotantes */
@keyframes animate-glow {

    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.attribute-box span::before,
.attribute-box span::after {
    content: '';
    position: absolute;
    border-radius: 8px;
    background: rgba(121, 197, 72, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: 0.5s;
    animation: animate-glow 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.attribute-box:hover span::before {
    top: -40px;
    left: 40px;
    width: 80px;
    height: 80px;
    opacity: 1;
}

.attribute-box:hover span::after {
    bottom: -40px;
    right: 40px;
    width: 80px;
    height: 80px;
    opacity: 1;
    animation-delay: -2s;
}


/* --- 10. SECCIÓN VARIEDADES DE PASAS (Estilo "Ficha Técnica") --- */

#variedades {
    background-color: #f9fcf7;
    padding: 5rem 0;
}

#variedades .section-title {
    color: #853449;
}

.variety-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
    
    /* Ya no es cuadrada, es una tarjeta rectangular alta */
    height: 100%; 
    min-height: 480px; /* Asegura una altura mínima consistente */
    
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* El borde ahora es una línea superior de color */
    border-top: 5px solid var(--card-color);
}

.variety-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* El reflejo de cristal se mantiene, pero lo ajustamos */
.variety-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%; /* Más estrecho para un reflejo más rápido */
    height: 100%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100% );
    transform: skewX(-25deg);
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.variety-card:hover::after {
    left: 150%;
}


/* Estructura interna de la tarjeta */
.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.variety-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--card-color); /* El título toma el color de la tarjeta */
    text-align: center;
    margin-bottom: 1.5rem;
}

.variety-image {
    width: 100%;
    height: 200px; /* Altura fija para la imagen */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.variety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.variety-card:hover .variety-image img {
    transform: scale(1.1);
}

.variety-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
    flex-grow: 1; /* Empuja el botón (si lo hubiera) hacia abajo */
}

/* --- 11. SECCIÓN FAQ (PREGUNTAS FRECUENTES) --- */

.faq-section {
    padding: 5rem 0;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 1rem;
    border-radius: 8px !important;
}

.accordion-button {
    font-weight: 700;
    color: #1a1a1a;
}

.accordion-button:not(.collapsed) {
    color: #1a1a1a;
    background-color: #f7f9fc;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(121, 197, 72, 0.25);
}


/* --- 12. SECCIÓN CONTACTO --- */

.contact-section {
    padding: 5rem 0;
    /* Fondo con gradiente sutil */
    background: linear-gradient(175deg, #f7f9fc 0%, #eef2f7 100%);
}

/* Tarjeta principal del formulario */
.contact-form-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.contact-form-card h4,
.contact-info-card h4 {
    font-weight: 700;
    color: #982c53;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    background-color: #fff;
    border-color: #32694a;
    box-shadow: 0 0 0 0.25rem rgba(121, 197, 72, 0.25);
}

.btn-submit {
    padding: 12px 35px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.btn-submit i {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* Tarjeta de información de contacto */
.contact-info-card {
    background-color: #982c53;
    /* Fondo oscuro para contraste */
    color: #f0f0f0;
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
}

.contact-info-card h4 {
    color: #fff;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-item .icon {
    font-size: 1.8rem;
    color: #32694a;
    margin-right: 1.5rem;
}

.contact-info-item .text span {
    display: block;
    font-size: 0.9rem;
    color: #F8F8FA;
    text-transform: uppercase;
}

.contact-info-item .text a,
.contact-info-item .text p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.contact-info-item .text a:hover {
    color: #32694a;
}

.contact-notice {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #32694a;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* --- 13. FOOTER --- */

.footer-section {
    background-color: #982c53;
    color: #F8F8FA;
    padding-top: 4rem;
}

.footer-title {
    color: #F8F8FA;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p,
.footer-section h6 {
    color: #F8F8FA;
}

.footer-section h6 {
    font-size: 1.1rem;
}

.footer-section i {
    color: #BDBDBD;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #BDBDBD;
    border-radius: 50%;
    color: #BDBDBD;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.logonav {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    background-color: #fff;

}

.footer-social a:hover {
    background-color: #bdbdbd65;
    color: #fff;
}

.footer-link {
    display: block;
    color: #F8F8FA;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-link::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    margin-right: 0.5rem;
    color: #BDBDBD;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px 0 0 8px;
}

.footer-section .form-control::placeholder {
    color: #F8F8FA;
}

.btn-subscribe {
    background-color: #32694a;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0.8rem 1.2rem;
    position: absolute;
    top: 0;
    right: 0;
}

.copyright-bar {
    background-color: #982c53;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.copyright-bar a {
    color: #BDBDBD;
    text-decoration: none;
    font-weight: 600;
}

.copyright-bar a:hover {
    color: #fff;
    padding-left: 5px;
}

/* --- SWIPER CUSTOM STYLES --- */
.stats-carousel-container .swiper-button-next,
.stats-carousel-container .swiper-button-prev {
    color: #79c548;
    /* Use a color from the palette */
    top: 50%;
    transform: translateY(-50%);
}

.stats-carousel-container .swiper-button-next:after,
.stats-carousel-container .swiper-button-prev:after {
    font-size: 1.5rem;
    /* Adjust size */
    font-weight: 700;
}

.stats-carousel-container .swiper-pagination-bullet {
    background-color: #79c548;
    width: 10px;
    height: 10px;
}

.stats-carousel-container .swiper-pagination-bullet-active {
    background-color: #982c53;
}