/* Estilos específicos para la vista de Sobre Nosotros (about_us.html) */

.banner-home {
    margin: 95px 0 0 0 !important;
}

/* Personalización del título con badge */
.banner-home__title {
    font-size: clamp(2rem, 5vw, 2.7rem) !important;
    line-height: 1.1 !important;
    color: #185480 !important;
    text-transform: uppercase;
}

.badge-blue {
    display: inline-block;
    background: #185480;
    color: #ffffff;
    padding: 0.2rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    transform: translateY(-2px);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .banner-home__title {
        font-size: 1.8rem !important;
    }

    .badge-blue {
        padding: 0.2rem 1rem;
        font-size: 0.9em;
    }
}

/* Sección About Intro - Imagen y Caja de texto */
.about-intro {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
}

.about-intro__container {
    max-width: 1000px;
    /* Reducido de 1200px */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.about-intro__image-wrap {
    position: relative;
    width: 55%;
    /* Reducido de 65% */
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.about-intro__image {
    width: 100%;
    display: block;
    aspect-ratio: 1.1 / 1;
    /* Imagen más cuadrada como en el diseño */
    object-fit: cover;
}

.about-intro__text-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(15%);
    /* Traslación moderada para evitar que esté muy a la izquierda */
    width: 65%;
    background: #F2F3F7;
    padding: 3rem 3.5rem;
    border-radius: 35px;
    z-index: 2;
}

.about-intro__title {
    font-family: 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.about-intro__subtitle {
    font-family: 'Kontora SemiBold', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-intro__desc {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .about-intro__text-box {
        transform: translateY(-50%) translateX(10%);
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 900px) {
    .about-intro {
        padding: 4rem 5%;
    }

    .about-intro__container {
        flex-direction: column;
    }

    .about-intro__image-wrap {
        width: 100%;
        border-radius: 25px;
    }

    .about-intro__text-box {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        margin-top: -3rem;
        /* Sigue el efecto de solapamiento manual */
        padding: 2rem;
        border-radius: 25px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-intro__title {
        font-size: 1.7rem;
    }
}

/* Sección Pilares - Basada en modules-list-section pero invertida */
.pilares-section {
    background-color: #f2f3f7;
    /* Gris muy claro para resaltar */
    padding: 6rem 5%;
    color: #333;
}

.pilares-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pilares-header {
    text-align: center;
    margin-bottom: 5rem;
}

.pilares-title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    color: #212529;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.pilares-underline {
    display: block;
    width: 120px;
    height: 5px;
    background-color: #8bb7cc;
    margin: 0 auto 5rem auto;
}

.pilares-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .pilares-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8rem;
    }
}

.pilares-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

.pilares-line {
    position: absolute;
    top: 45px;
    bottom: 45px;
    left: 45px;
    width: 2.5px;
    background-color: #185480;
    z-index: 1;
}

.pilar-item {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pilar-icon-wrap {
    width: 90px;
    height: 90px;
    background-color: #185480;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 2rem;
}

.pilar-plus {
    position: relative;
    width: 28px;
    height: 28px;
}

.pilar-plus::before,
.pilar-plus::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pilar-plus::before {
    width: 100%;
    height: 5.5px;
}

.pilar-plus::after {
    width: 5.5px;
    height: 100%;
}

.pilar-content {
    flex: 1;
}

.pilar-name {
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
    color: #185480;
    line-height: 1.1;
}

.pilar-desc {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 500;
    color: #404040;
}

/* Sección Historia - Texto Izquierda / Imagen Derecha */
.about-history {
    padding: 8rem 5%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.about-history__container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-history__content {
    flex: 1;
}

.about-history__title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.about-history__subtitle {
    font-family: 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: 1.17rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-history__text p {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.about-history__image-wrap {
    flex: 1.1;
    position: relative;
    padding-left: 20px;
    /* Espacio para el bloque azul decorativo */
}

/* Bloque azul decorativo detrás de la imagen */
.about-history__image-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 60px;
    height: 65%;
    background-color: #185480;
    border-radius: 15px;
    z-index: 0;
}

.about-history__image {
    width: 100%;
    border-radius: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    display: block;
    filter: grayscale(100%);
    /* Aplicar filtro a blanco y negro */

    /* Preparación para la animación */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-history__image.animate-reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 900px) {
    .about-history {
        padding: 4rem 5%;
    }

    .about-history__container {
        flex-direction: column;
        gap: 3rem;
    }

    .about-history__title {
        text-align: center;
    }

    .about-history__image-wrap {
        width: 100%;
        padding-left: 0;
        display: flex;
        justify-content: center;
    }

    .about-history__image-wrap::before {
        display: none;
        /* Simplificado para móvil */
    }

    .about-history__image {
        max-width: 500px;
        border-radius: 20px;
    }
}

/* Sección CTA Final - Banner Azul */
.about-cta {
    padding: 6rem 5%;
    background-color: #185480;
    text-align: center;
    color: #ffffff;
}

.about-cta__container {
    max-width: 800px;
    margin: 0 auto;
}

.about-cta__title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-cta__desc {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.about-cta__btn {
    display: inline-block;
    background-color: #ffffff;
    color: #185480;
    padding: 0.45rem 2.6rem;
    /* Estructura de btn-blue */
    border-radius: 20px;
    /* Estructura de btn-blue */
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-align: center;
}

.about-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .about-cta {
        padding: 4rem 5%;
    }

    .about-cta__title {
        font-size: 1.6rem;
    }

    .about-cta__desc {
        font-size: 1.1rem;
    }
}