/* ===================================================
   ABOUT PAGE — css/about.css
   Página: Quiénes Somos
   =================================================== */

/* ---- Inner Page Title Banner ---- */
.inner-title-banner {
    position: relative;
    height: 120px;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.inner-title-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.inner-title-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ---- Nuestra Empresa ---- */
.about-empresa {
    padding: 70px 0 60px;
    background-color: var(--bg-white);
}

.about-empresa-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.about-isotipo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.about-empresa-header h2 {
    font-size: 45px;
    font-weight: 900;
    /* black */
    font-style: italic;
    color: #000000;
    line-height: 1.1;
}

.about-empresa-header h2 span {
    color: var(--primary-green);
}

.about-empresa-grid {
    display: grid;
    grid-template-columns: 1fr 583px;
    gap: 50px;
    align-items: flex-start;
}

.about-empresa-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-lead {
    font-size: 20px;
    line-height: 1.5;
    color: #333333;
    font-weight: 400;
}

.about-empresa-text p {
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
}

.about-empresa-image {
    position: relative;
    width: 583px;
    height: 440px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-empresa-image img {
    width: 583px;
    height: 440px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* WhatsApp floating button — fixed at bottom-right of viewport */
.about-float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
}

.about-float-wa img {
    width: 60px;
    height: 60px;
    border-radius: 0;
    object-fit: contain;
}

.about-float-wa:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ---- Statistics Parallax ---- */
.about-stats {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    isolation: isolate;
}

.about-stats-parallax-bg {
    position: absolute;
    inset: -120px 0;
    /* extra room for more visible parallax travel */
    background-image: url('../../images/about_banner_bg_parallax.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* CSS parallax */
    z-index: -2;
    will-change: transform;
}

.about-stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);
    z-index: -1;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 20px 10px;
    transition: transform 0.3s ease;
}

.about-stat-item:hover {
    transform: translateY(-6px);
}

.about-stat-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(5deg);
    /* Converts SVG to warm amber/orange tint matching design */
}

.about-stat-number {
    font-size: 60px;
    font-weight: 900;
    color: #D4A017;
    /* gold/amber accent */
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* ---- Ejes Estratégicos ---- */
.about-ejes {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-ejes-grid {
    display: grid;
    grid-template-columns: 583px 1fr;
    gap: 60px;
    align-items: center;
}

.about-ejes-image {
    width: 583px;
    height: 440px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.about-ejes-image img {
    width: 583px;
    height: 440px;
    object-fit: cover;
    display: block;
}

.about-ejes-content h2 {
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.about-ejes-content h2 span {
    color: var(--primary-green);
}

.about-ejes-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-ejes-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    padding-left: 18px;
    border-left: 3px solid var(--primary-green);
}

.about-eje-title {
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1100px) {
    .about-empresa-grid {
        grid-template-columns: 1fr 400px;
        gap: 35px;
    }

    .about-ejes-grid {
        grid-template-columns: 360px 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .about-empresa-grid {
        grid-template-columns: 1fr;
    }

    .about-empresa-image {
        width: 350px;
        height: 320px;
        margin: 0 auto;
    }

    .about-empresa-image img {
        width: 350px;
        height: 320px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-ejes-grid {
        grid-template-columns: 1fr;
    }

    .about-ejes-image {
        width: 100%;
        height: auto;
    }

    .about-ejes-image img {
        width: 100%;
        height: 320px;
    }

    .about-ejes-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .inner-title-text {
        font-size: 22px;
    }

    .about-empresa-header h2 {
        font-size: 32px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat-number {
        font-size: 46px;
    }

    .about-stat-icon {
        width: 50px;
        height: 50px;
    }

    .about-ejes-content h2 {
        font-size: 24px;
    }

    /* Parallax fix for mobile performance */
    .about-stats-parallax-bg {
        background-attachment: scroll;
        inset: 0;
    }
}