/* Estilos para la sección de "Quiénes Somos" */

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.main {
    padding: 20px;
}

.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 2.5rem;
    color: #d12727;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.text-secondary {
    margin-left: 2%;
    color: #6c757d;
}

/* Banner Section */
.banner-section .banner {
    margin-top: -4%;
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.banner h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.5rem;
    color: #fff;
}

/* Valores Section */
.valores-section {
    margin-bottom: 30px;
    padding: 60px 0;
    background-color: #e7e7e7;
}

.valores-section h2 {
    font-size: 2.5rem;
    color: #d12727;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.valores-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6, .col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Historia Section */
.historia-section {
    padding: 60px 0;
    background-color: #e7e7e7;
}

.historia-section h2 {
    font-size: 2.5rem;
    color: #d12727;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.historia-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Equipo Section */
.equipo-section {
    margin-top: 2%;
    padding: 60px 0;
    background-color: #e7e7e7;
}

.team-member {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.equipo-section h2 {
    font-size: 2.25rem;
    color: #d12727;
    margin-top: 0px;
}

.team-member h5 {
    font-size: 1.25rem;
    color: #d12727;
    margin-top: 15px;
}

.team-member span {
    font-size: 1rem;
}

.team-member p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section h2 {
        font-size: 2rem;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1.2rem;
    }
}

/* Renovacion visual 2026 */
.banner-section .banner {
    min-height: clamp(430px, 62vh, 650px);
    height: auto;
    background-position: center;
    background-size: cover;
}

.banner-overlay {
    min-height: inherit;
    padding: 70px 24px;
    background: linear-gradient(90deg, rgba(10, 12, 15, .82), rgba(10, 12, 15, .36));
}

.banner h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.banner p {
    max-width: 720px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.valores-section,
.historia-section,
.equipo-section {
    padding: clamp(70px, 9vw, 110px) clamp(24px, 7vw, 110px) !important;
}

.valores-section .row,
.historia-section .row,
.equipo-section .row {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.valores-section h2,
.historia-section h2,
.equipo-section h2 {
    color: var(--am-ink);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -.035em;
    text-transform: none;
}

.valores-section p,
.historia-section p {
    color: var(--am-muted) !important;
    font-size: 1.08rem;
    line-height: 1.85;
}

.valores-section img,
.historia-section img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--am-radius);
    box-shadow: var(--am-shadow);
}

.historia-section {
    background: #eef0f2 !important;
}

.equipo-section {
    background: #fff;
}

.team-member {
    height: 100%;
    padding: 18px 18px 28px;
    border: 1px solid rgba(21, 24, 28, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(15, 18, 22, .08);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--am-shadow);
}

.team-member img {
    width: 100%;
    height: 300px;
    margin-bottom: 22px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
}

.team-member h5 {
    color: var(--am-ink);
    font-size: 1.25rem;
    font-weight: 800;
}

.team-member span {
    color: var(--am-red) !important;
    font-weight: 700;
}
