/* css/nosotros.css - Updated with New Content */

body { background-color: #fff; color: #1d1d1f; }

/* --- 1. HERO TEXTO --- */
.apple-hero {
    padding: 180px 20px 100px;
    text-align: center;
    background: radial-gradient(circle at top, #fbfbfd 0%, #fff 100%);
}

.apple-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #000 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease forwards;
}

.hero-text-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center; /* Alineación centrada para el manifiesto */
}

.apple-lead {
    font-size: 1.6rem;
    font-weight: 500;
    color: #1d1d1f;
    line-height: 1.5;
    margin-bottom: 30px;
}

.apple-desc {
    font-size: 1.2rem;
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- 2. HISTORIA --- */
.story-section { padding: 120px 0; background: #fff; }
.story-grid { display: flex; align-items: center; gap: 80px; }
.story-content { flex: 1; text-align: left; } /* Texto a la izquierda */
.story-content h2 { font-size: 3rem; margin-bottom: 30px; font-weight: 700; }
.story-content p { font-size: 1.25rem; line-height: 1.6; color: #424245; margin-bottom: 20px; }

.story-image-wrapper {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: 0.6s ease;
}
.story-image-wrapper:hover { transform: perspective(1000px) rotateY(0deg); }

/* --- 3. VALORES (Grid de 4) --- */
.values-section { padding: 100px 0 150px; background: #f5f5f7; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Tarjetas más anchas */
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
}
.value-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.value-card h3 { font-size: 1.8rem; margin-bottom: 20px; color: #0073aa; }
.value-card p { font-size: 1.1rem; color: #666; line-height: 1.7; }

/* Tarjeta Destacada (Únete) */
.highlight-card {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
}
.highlight-card h3 { color: #fff; }
.highlight-card p { color: rgba(255,255,255,0.9); }

/* --- 4. LÍDERES --- */
.leaders-section { padding: 150px 0; background: #fff; }
.leaders-title { font-size: 3rem; margin-bottom: 80px; }

.leaders-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.leader-profile {
    max-width: 350px;
    text-align: center;
}

.leader-img {
    width: 280px;
    height: 350px; /* Formato retrato Apple */
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.leader-img img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: 50% 20%; /* Centrar caras */
    transition: transform 0.6s ease;
}
.leader-profile:hover .leader-img img { transform: scale(1.05); }

.leader-profile h3 { font-size: 1.6rem; margin-bottom: 5px; color: #1d1d1f; }
.role { display: block; font-weight: 700; color: #0073aa; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 15px; }
.role-desc { font-size: 1.1rem; color: #86868b; }

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .story-grid { flex-direction: column; }
    .apple-title { font-size: 3.5rem; }
    .story-image-wrapper { transform: none; width: 100%; }
    .values-grid { grid-template-columns: 1fr; }
}