/* ============================================================
   ELPLAAANB — ABOUT US STYLES
   Específico de aboutus.html — requiere inicio.css
   ============================================================ */

/* --- SECCIÓN PRINCIPAL --- */
.container-about {
    max-width: 1140px;
    margin: 80px auto 60px;
    padding: 0 32px;
}

/* --- FADE IN DE PÁGINA --- */
.content-fade-in {
    animation: fadeIn 0.8s ease both;
}

/* --- FILAS DE CONTENIDO --- */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-bottom: 110px;
}

.about-row.reverse {
    direction: rtl; /* Invierte el orden sin tocar el HTML */
}

.about-row.reverse > * {
    direction: ltr; /* Restaura la dirección del texto */
}

/* --- BLOQUE DE TEXTO --- */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-subtitle {
    font-family: var(--fuente-titulo);
    font-size: 0.72rem;
    color: var(--crema);
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 12px;
}

.about-title {
    font-family: var(--fuente-titulo);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--blanco);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--blanco-dim);
    max-width: 48ch;
}

/* --- BLOQUE DE IMAGEN --- */
.about-image {
    overflow: hidden;
    border: 1px solid var(--linea);
    background-color: var(--bg-card);
    position: relative;
}

/* Línea decorativa en esquina */
.about-image::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    width: 60px;
    height: 2px;
    background: var(--crema);
    z-index: 2;
    opacity: 0.6;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: grayscale(25%) brightness(0.9);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.7s ease;
}

.about-image:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(1);
}

/* --- DIVISOR CENTRAL --- */
.about-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--crema-dim), transparent);
    margin: 0 auto 110px;
}

/* --- QUICK ACCESS / SIGUE EXPLORANDO --- */
.quick-access {
    text-align: center;
    border-top: 1px solid var(--linea);
    padding-top: 64px;
    margin-bottom: 64px;
}

.quick-access .eyebrow {
    font-family: var(--fuente-titulo);
    font-size: 0.72rem;
    color: var(--crema);
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 32px;
}

.access-links {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.access-links a {
    font-family: var(--fuente-titulo);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blanco);
    opacity: 0.6;
    transition: opacity var(--transition), color var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.access-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--crema);
    transition: width var(--transition);
}

.access-links a:hover {
    opacity: 1;
    color: var(--crema);
}

.access-links a:hover::after {
    width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .about-row,
    .about-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 36px;
        margin-bottom: 72px;
        text-align: center;
    }

    .about-text p {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-image img {
        height: 300px;
    }

    .about-divider {
        display: none;
    }

    .access-links {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container-about {
        padding: 0 20px;
    }

    .access-links {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
}
