

body { background-color: var(--bg-light); color: var(--text-dark); }

/* --- 1. HERO SECTION --- */
.about-hero {
    text-align: center;
    /* Mantenemos reducido abajo (30px) para conectar rápido con la historia */
    padding: 140px 20px 30px; 
    background: #000; 
    color: white;
}

.hero-content { max-width: 900px; margin: 0 auto; }

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 2. HISTORIA (Grid) --- */
.about-story {
    /* Compacto (30px) */
    padding: 30px 20px; 
    max-width: 1200px;
    margin: 0 auto;
}

.story-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 10px;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(138,43,226,0.1); 
}

/* Valores dentro de la historia */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
}

.value-item h3 { margin: 0 0 10px; font-size: 1.2rem; }
.value-item p { margin: 0; font-size: 0.95rem; }

/* (CSS de reserva por si usas stats en el futuro) */
.about-stats {
    background: var(--primary-gradient);
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    color: white;
    text-align: center;
}
.stat-box { flex: 1; min-width: 150px; }
.stat-number { display: block; font-size: 3.5rem; font-weight: 900; }
.stat-label { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }

/* --- 4. EQUIPO --- */
.about-team {
    /* Compacto (30px) */
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-header { margin-bottom: 40px; }
.team-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.team-header p { color: var(--text-grey); font-size: 1.2rem; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    transition: transform 0.3s;
}

.team-member:hover { transform: translateY(-10px); }

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%; 
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 { margin: 10px 0 5px; font-size: 1.4rem; }
.member-role { color: var(--accent-color); font-weight: bold; font-size: 0.9rem; text-transform: uppercase; }

/* --- 5. CTA FINAL (AJUSTADO) --- */
.about-cta {
    background: #111;
    color: white;
    text-align: center;
    /* AJUSTE: Restaurado a 80px para separar del footer */
    padding: 80px 20px;
}

.about-cta h2 { margin-bottom: 30px; font-size: 2rem; }

.btn-about-cta {
    background: white;
    color: black;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-about-cta:hover {
    background: var(--accent-color);
    color: white;
}

/* --- RESPONSIVE DESKTOP --- */
@media (min-width: 992px) {
    .about-title { font-size: 4.5rem; }
    
    .story-container {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }
    
    .story-text { flex: 1; }
    .story-image { flex: 1; }
    
    .values-grid { grid-template-columns: 1fr 1fr; }
}