/* ==========================================================================
   PÁGINA SOBRE NOSOTROS (EDITORIAL)
   ========================================================================== */
.about-page-wrapper {
    background-color: var(--color-white);
}

.about-intro {
    padding: calc(var(--header-height) + 5rem) 0 5rem 0;
}

.about-intro-grid {
    max-width: 1200px;
    width: 90%; /* Mantiene el respiro en cualquier pantalla */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start;
}

.about-massive-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1.5px;
    color: var(--color-black);
}

.about-intro-text {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Efecto Bleed (Imagen de lado a lado) */
.about-hero-image {
    padding: 0; 
}

.hero-img-wrapper {
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-mission-vision {
    padding: 6rem 0;
}

.mv-container {
    max-width: 1200px;
    width: 90%; /* Mantiene el respiro en cualquier pantalla */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.mv-row {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Título izquierda, texto derecha */
    gap: 6rem;
    align-items: start;
}

.mv-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
}

.mv-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.value-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--color-black);
}

.value-item p {
    margin: 0;
}

/* ==========================================================================
   SECCIÓN EL EQUIPO
   ========================================================================== */
.about-team {
    padding: 6rem 0;
    background-color: #fafafa;
}

.team-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.team-section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.team-grid {
    display: grid;
    /* Grid inteligente: Crea columnas automáticas sin importar si pones 3, 4 o 5 miembros */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-img-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #e0e0e0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la foto en círculo sin deformarla */
    display: block;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.3rem 0;
}

.team-role {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================================
   GALERÍA
   ========================================================================== */
.about-gallery {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

.gallery-grid {
    max-width: 1200px;
    width: 90%; /* Mantiene el respiro en cualquier pantalla */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f0f0f0;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-intro-grid { gap: 3rem; }
    .mv-row { gap: 3rem; }
}

@media (max-width: 768px) {
    .about-intro-grid, .mv-row { 
        grid-template-columns: 1fr; /* Apila en móvil */
        gap: 3rem; 
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .about-intro { padding: calc(var(--header-height) + 2rem) 0 3rem 0; }
    .hero-img-wrapper { height: 40vh; min-height: 250px; }
}