/* =============================================
   SOMOS - HERO
   ============================================= */

.somos-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
}

.somos-hero__overlay {
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.95) 100%);
    width: 100%;
}

.somos-hero__imagen {
    display: block;
    max-width: 100%;
    height: 350px;
    margin: 0 auto 20px;
    object-fit: cover;
    width: 100%;
}

.somos-hero__overlay h1 {
    margin: 0 0 20px 0;
    line-height: 1.3;

    color: #C51A1B;
    font-family: "Raleway", Sans-serif;
    font-size: 40px;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.somos-hero__overlay h1::after {
    content: "";
    display: block;
    width: 400px;
    height: 1px;
    background-color: #D8D4D3;
    margin: 10px auto 0;
}

.somos-hero__texto {
    margin-left: 10%;
    margin-right: 10%;
}

.somos-hero__texto h5 {
    max-width: 700px;
    line-height: 1.6;

    color: #606060;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;    
}

.somos-hero__texto p {
    color: #8E8E8E;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: normal;    
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 991px) {
    .somos-hero {
        min-height: 250px;
    }

    .somos-hero__titulo {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .somos-hero {
        min-height: 200px;
    }

    .somos-hero__titulo {
        font-size: 26px;
    }
}

/* =============================================
   SECCIÓN SOMOS - Estilos personalizados
   ============================================= */

/* Contenedor principal */
.somos {
    padding: 0;
}

/* Page Header */
.somos__header {
    background-color: #C51A1B;
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
}

.somos__header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.somos__header-image {
    flex-shrink: 0;
}

.somos__header-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.somos__header-text h1 {
    font-family: "Raleway", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.somos__header-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.dot-yellow {
    background-color: #FFD700;
}

.dot-blue {
    background-color: #1E88E5;
}

.dot-red {
    background-color: #C51A1B;
}

.dot-green {
    background-color: #606060;
}

.dot-white {
    background-color: #FFFFFF;
}

.dot-gray {
    background-color: #9E9E9E;
}

/* Contenido principal */
.somos__contenido-principal {
    padding: 40px 0;
    text-align: center;
}

.somos__contenido-principal p {
    font-family: "Raleway", Sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.somos__contenido-principal h2 {
    font-family: "Raleway", Sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.8;
    color: #606060;
    margin-bottom: 15px;
}

.somos__contenido-principal strong {
    color: #606060;
    font-weight: 700;
}

/* Grid con iconos */
.somos__grid-iconos {
    padding: 40px 0;
}

.icono-card {
    background-color: #C51A1B;
    color: #FFFFFF;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icono-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(197, 26, 27, 0.3);
}

.icono-card__icono {
    margin-bottom: 20px;
}

.icono-card__icono img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.icono-card__titulo {
    font-family: "Raleway", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #FFFFFF;
}

/* Destacados */
.somos__destacados {
    padding: 40px 0;
}

.destacados-bloque {
    text-align: center;
    padding: 30px;
}

.destacados-bloque__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.destacados-bloque h3 {
    font-family: "Raleway", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: #606060;
    text-transform: uppercase;
    margin: 0;
}

/* ==========================================
   RESPONSIVE - MONITORES GRANDES (>19 pulgadas / 1920px+)
========================================== */

@media (min-width: 1920px) {
    .somos__header-text h1 {
        font-size: 42px;
    }

    .somos__header-image img {
        width: 250px;
        height: 250px;
    }

    .icono-card__titulo {
        font-size: 18px;
    }

    .destacados-bloque h3 {
        font-size: 32px;
    }
}

/* ==========================================
   RESPONSIVE - TABLET HORIZONTAL (landscape: 1024px - 1199px)
========================================== */

@media (min-width: 1024px) and (max-width: 1199px) {
    .somos__header-text h1 {
        font-size: 32px;
    }

    .somos__header-image img {
        width: 180px;
        height: 180px;
    }

    .icono-card__titulo {
        font-size: 15px;
    }

    .destacados-bloque h3 {
        font-size: 24px;
    }
}

/* ==========================================
   RESPONSIVE - TABLET VERTICAL (portrait: 768px - 1023px)
========================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .somos__header {
        padding: 40px 0;
    }

    .somos__header-content {
        flex-direction: column;
        text-align: center;
    }

    .somos__header-image img {
        width: 150px;
        height: 150px;
    }

    .somos__header-text h1 {
        font-size: 28px;
    }

    .somos__header-dots {
        justify-content: center;
    }

    .icono-card {
        padding: 25px 15px;
    }

    .icono-card__titulo {
        font-size: 14px;
    }

    .destacados-bloque h3 {
        font-size: 22px;
    }
}

/* ==========================================
   RESPONSIVE - MOVIL (max-width: 767px)
========================================== */

@media (max-width: 767px) {
    .somos__header {
        padding: 30px 0;
    }

    .somos__header-content {
        flex-direction: column;
        text-align: center;
    }

    .somos__header-image img {
        width: 120px;
        height: 120px;
    }

    .somos__header-text h1 {
        font-size: 24px;
    }

    .somos__header-dots {
        justify-content: center;
    }

    .somos__contenido-principal {
        padding: 30px 0;
    }

    .somos__contenido-principal p {
        font-size: 14px;
    }

    .icono-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .icono-card__icono img {
        width: 60px;
        height: 60px;
    }

    .icono-card__titulo {
        font-size: 14px;
    }

    .destacados-bloque {
        padding: 20px;
    }

    .destacados-bloque h3 {
        font-size: 20px;
    }
}

/* ==========================================
   RESPONSIVE - MOVIL PEQUEÑO (max-width: 480px)
========================================== */

@media (max-width: 480px) {
    .somos__header {
        padding: 20px 0;
    }

    .somos__header-image img {
        width: 100px;
        height: 100px;
    }

    .somos__header-text h1 {
        font-size: 20px;
    }

    .icono-card__titulo {
        font-size: 13px;
    }

    .destacados-bloque h3 {
        font-size: 18px;
    }
}
