/* ============================================
   CARRUSEL "QUIÉNES SOMOS" - ABOUT SECTION
   ============================================ */

.about-image-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.about-carousel {
    width: 100%;
    height: 100%;
}

.about-carousel .swiper-slide {
    height: 500px;
}

.about-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Efecto hover en las imágenes */
.about-carousel .swiper-slide img:hover {
    transform: scale(1.05);
}

/* Paginación del carrusel */
.about-carousel .swiper-pagination {
    bottom: 20px;
}

.about-carousel .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.about-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-gold);
    width: 30px;
    border-radius: 5px;
}

/* Botones de navegación */
.about-carousel .swiper-button-next,
.about-carousel .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.about-carousel .swiper-button-next:after,
.about-carousel .swiper-button-prev:after {
    font-size: 20px;
}

.about-carousel .swiper-button-next:hover,
.about-carousel .swiper-button-prev:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: scale(1.1);
}

/* Estilos responsive para el carrusel */
@media (max-width: 768px) {

    .about-image-carousel,
    .about-carousel .swiper-slide {
        height: 350px;
    }

    .about-carousel .swiper-button-next,
    .about-carousel .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .about-carousel .swiper-button-next:after,
    .about-carousel .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* ============================================
   ICONOS SVG DE VALORES - VALUE ICONS
   ============================================ */

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B1538;
    /* Color rojo burgundy de la página */
    transition: all 0.3s ease;
}

.value-icon svg {
    width: 64px;
    height: 64px;
    stroke: currentColor;
    transition: all 0.3s ease;
}

/* Efecto hover en los iconos */
.value-card:hover .value-icon {
    color: var(--primary-gold);
    transform: translateY(-5px);
}

.value-card:hover .value-icon svg {
    stroke: var(--primary-gold);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

/* Responsive para iconos */
@media (max-width: 768px) {
    .value-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* ============================================
   MOBILE HERO REDESIGN (SPLIT VIEW)
   Adapted from Homepage Improvements
   ============================================ */
@media (max-width: 768px) {

    /* 1. Reset & Main Layout */
    .hero {
        display: flex;
        flex-direction: column;
        background-color: #0b0b0b;
        height: 100vh;
        height: 100svh;
        position: relative;
    }

    /* 2. Top Section: Image Background */
    /* Forces the background to only take the top 70% */
    .hero-bg {
        height: 70% !important;
        min-height: 70% !important;
        bottom: auto !important;
        top: 0 !important;
        position: absolute;
        width: 100%;
        overflow: hidden;
    }

    .hero-overlay {
        height: 100% !important;
        min-height: 100% !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1;
    }

    .hero-image {
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }

    /* 3. Content Container */
    .hero-content {
        height: 100%;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 10;
        width: 100%;
    }

    /* 4. Top Content (Label + Title) - Over Image */
    .hero-top {
        height: 70%;
        position: static !important;
        /* Ensure it is NOT a containing block */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    .hero-label {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        z-index: 2;
    }

    .hero-title {
        margin-bottom: 0 !important;
        font-size: 2.2rem !important;
        padding: 0;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        z-index: 2;
    }

    /* 5. Bottom Content (Subtitle) - Solid Black Area */
    .hero-subtitle {
        position: absolute;
        top: 70%;
        /* Explicitly start at 70% mark */
        bottom: auto;
        left: 0;
        width: 100%;
        height: 30%;
        margin: 0 !important;
        padding: 0 16px 20px 16px !important;

        display: flex !important;
        align-items: center;
        justify-content: center;

        background-color: #0b0b0b;
        color: rgba(255, 255, 255, 0.9) !important;

        text-align: center;
        /* Responsive font size logic from Homepage */
        font-size: clamp(0.95rem, 5vw, 1.25rem) !important;
        line-height: 1.4 !important;
        font-weight: 300;

        z-index: 20;
    }

    /* Remove default AOS transforms for subtitle */
    .hero-subtitle[data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* 6. Scroll Indicator */
    .hero-scroll {
        bottom: 15px !important;
        z-index: 30;
    }

    .scroll-arrow-icon svg {
        width: 20px;
        height: 20px;
        opacity: 0.7;
    }
}