/* ============================================
   FORDEMA — Estilos Nosotros
   ============================================ */

/* --- HERO --- */
.nosotros-hero {
    position: relative;
    height: 48vh;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: #1a2d42;
}

.nosotros-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.nosotros-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.nosotros-hero h2 {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.nosotros-hero p {
    font-size: 1.3em;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 80px 5%;
    background-color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2em;
    color: #3b6fa0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* --- VALUES SECTION --- */
.values-section {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
    border-color: #a8c528;
    transform: translateY(-5px);
}

.value-card h3 {
    color: #3b6fa0;
    font-size: 1.3em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.value-card p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.8;
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 80px 5%;
    background-color: #f5f5f5;
    text-align: center;
}

.team-title {
    font-size: 2em;
    color: #3b6fa0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.team-subtitle {
    color: #777;
    font-size: 1.1em;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.team-image-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #a8c528;
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image-container img {
    transform: scale(1.05);
}

.team-card h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.team-role {
    color: #ecb94a;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-desc {
    color: #666;
    font-size: 0.9em;
    line-height: 1.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nosotros-hero h2 {
        font-size: 2.5em;
    }

    .nosotros-hero p {
        font-size: 1em;
    }

    .about-section,
    .values-section,
    .team-section {
        padding: 50px 20px;
    }
}
