

/* ==========================================================================
   HERO EXCLUSIVO E INDEPENDIENTE PARA NOSOTROS (NOSOTROS.CSS)
   ========================================================================== */

.nosotros-hero-section {
    position: relative;
    padding: 140px 0 45px 0;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    /* Corrección para escritorio: fija un límite proporcional y oculta excesos */
    min-height: 580px; 
    overflow: hidden;
}

.nosotros-hero-bg-container {
    position: absolute;
    inset: 0; /* Sustituye top/left/width/height para cubrir de forma exacta */
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.nosotros-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.nosotros-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 19, 41, 0.9) 0%, rgba(5, 19, 41, 0.4) 30%, rgba(5, 19, 41, 0.05) 70%);
    z-index: 2;
    pointer-events: none;
}

.nosotros-hero-section .container {
    position: relative;
    z-index: 3;
}

.nosotros-hero-content {
    max-width: 700px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.nosotros-hero-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.nosotros-hero-tagline .nosotros-gold-line {
    display: block;
    width: 35px;
    height: 3px;
    background-color: #ffc107;
}

.nosotros-hero-tagline .nosotros-tag-text {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffc107;
}

.nosotros-hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 12px 0;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.nosotros-hero-title .nosotros-text-gold {
    color: #ffc107;
}

.nosotros-hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Grilla de Stats del Hero */
.nosotros-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    box-sizing: border-box;
}

.nosotros-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
    min-width: 0;
    box-sizing: border-box;
}

.nosotros-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(5, 19, 41, 0.92) 0%, rgba(5, 19, 41, 0.5) 60%, rgba(5, 19, 41, 0.2) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.nosotros-stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.nosotros-stat-number {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.nosotros-stat-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   RESPONSIVE DESIGN - HERO NOSOTROS
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .nosotros-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media screen and (max-width: 992px) {
    .nosotros-hero-section {
        padding: 55px 0 35px 0;
        min-height: auto;
    }

    .nosotros-hero-title {
        font-size: 2.1rem;
    }

    .nosotros-hero-desc {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 768px) {
    .nosotros-hero-title {
        font-size: 1.8rem;
    }

    .nosotros-stat-text {
        white-space: normal;
    }
}

@media screen and (max-width: 576px) {
    .nosotros-hero-section {
        padding: 45px 0 30px 0;
        min-height: auto;
    }

    .nosotros-hero-content {
        margin-bottom: 20px;
    }

    .nosotros-hero-title {
        font-size: 1.5rem;
    }

    .nosotros-hero-desc {
        font-size: 0.88rem;
    }

    .nosotros-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 20px;
    }

    .nosotros-stat-item {
        padding: 10px 8px;
        gap: 8px;
    }

    .nosotros-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .nosotros-stat-number {
        font-size: 0.95rem;
    }

    .nosotros-stat-text {
        font-size: 0.68rem;
        white-space: normal;
        line-height: 1.2;
    }
}

/* ==========================================================================
   SECCIÓN: NUESTRA EMPRESA (NOSOTROS.CSS)
   ========================================================================== */
.nosotros-intro-section {
    padding: 80px 0;
}

.nosotros-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.nosotros-intro-text .section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--navy-blue, #031229);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.nosotros-intro-text .section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy-blue, #031229);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-desc-main {
    font-size: 0.98rem;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.intro-desc-sub {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.nosotros-intro-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.intro-card-item {
    background-color: var(--white, #ffffff);
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(3, 18, 41, 0.05);
    border: 1px solid rgba(3, 18, 41, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

.intro-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(3, 18, 41, 0.1);
}

.ic-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--primary-yellow, #ffc107);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.ic-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--navy-blue, #031229);
    line-height: 1.1;
    margin-bottom: 5px;
}

.ic-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--navy-blue, #031229);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.ic-desc {
    font-size: 0.75rem;
    color: #666666;
    line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES - CENTRADO)
   ========================================================================== */

@media screen and (max-width: 992px) {
    .nosotros-intro-section {
        padding: 60px 0;
    }

    .nosotros-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nosotros-intro-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Centramos subtítulos o líneas doradas si existen */
    .nosotros-intro-text .section-tag,
    .nosotros-intro-text .nosotros-hero-tagline {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .nosotros-intro-text .section-title {
        font-size: 1.9rem;
        text-align: center;
    }

    .nosotros-intro-text .btn {
        margin: 0 auto;
        display: inline-flex;
    }

    /* Centramos el contenido de las tarjetas internas si las hay */
    .nosotros-intro-cards {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .nosotros-intro-section {
        padding: 45px 0;
    }

    .nosotros-intro-text {
        text-align: center;
        align-items: center;
    }

    .nosotros-intro-text .section-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .intro-desc-main {
        font-size: 0.92rem;
        text-align: center;
    }

    .intro-desc-sub {
        font-size: 0.85rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .nosotros-intro-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        width: 100%;
    }

    .intro-card-item {
        padding: 20px 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ic-number {
        font-size: 1.4rem;
        text-align: center;
    }
}

/* ==========================================================================
   SECCIÓN: NUESTROS VALORES (NOSOTROS.CSS)
   ========================================================================== */
.nosotros-valores-section {
    background: linear-gradient(135deg, var(--navy-blue, #031229) 0%, #0d2347 100%);
    padding: 80px 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.valores-header {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.valores-header .section-tag.text-gold {
    color: var(--primary-yellow, #ffc107);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.valores-header .section-title.text-white {
    color: var(--white, #ffffff);
    font-size: 2.3rem;
    font-weight: 900;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.valor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

.valor-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-4px);
}

.valor-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--primary-yellow, #ffc107);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.valor-info {
    min-width: 0;
    flex: 1;
}

.valor-info h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white, #ffffff);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.valor-info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN - SECCIÓN VALORES (TABLETS Y MÓVILES EN 2 COLUMNAS)
   ========================================================================== */

@media screen and (max-width: 992px) {
    .nosotros-valores-section {
        padding: 60px 0;
    }

    .valores-header {
        margin-bottom: 40px;
    }

    .valores-header .section-title.text-white {
        font-size: 1.9rem;
    }

    .valores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* Forzamos 2 columnas también en pantallas medianas */
    .valores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .valor-card {
        padding: 20px 15px;
    }
}

@media screen and (max-width: 576px) {
    .nosotros-valores-section {
        padding: 45px 0;
    }

    .valores-header {
        margin-bottom: 30px;
    }

    .valores-header .section-title.text-white {
        font-size: 1.5rem;
    }

    /* Mantenemos 2 columnas pero adaptamos el espaciado interno para pantallas muy estrechas */
    .valores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .valor-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px 12px;
        border-radius: 8px;
    }

    .valor-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .valor-info h3 {
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .valor-info p {
        font-size: 0.75rem;
        line-height: 1.35;
    }
}

/* ==========================================================================
   SECCIÓN: COBERTURA NACIONAL (NOSOTROS.CSS)
   ========================================================================== */
.nosotros-cobertura-section {
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.cobertura-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.cobertura-content {
    min-width: 0;
    box-sizing: border-box;
}

.cobertura-content .section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--navy-blue, #031229);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.cobertura-content .section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy-blue, #031229);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cobertura-desc {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Estilos para los highlights adicionales */
.cobertura-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    min-width: 0;
    box-sizing: border-box;
}

.cobertura-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-blue, #031229);
    min-width: 0;
    box-sizing: border-box;
}

.cobertura-highlight-item i {
    width: 32px;
    height: 32px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--primary-yellow, #ffc107);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cobertura-provincias {
    background-color: var(--white, #ffffff);
    border: 1px solid rgba(3, 18, 41, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(3, 18, 41, 0.05);
    min-width: 0;
    box-sizing: border-box;
}

.provincias-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(3, 18, 41, 0.06);
    min-width: 0;
    box-sizing: border-box;
}

.provincias-header i {
    font-size: 1.2rem;
    color: var(--primary-yellow, #ffc107);
    flex-shrink: 0;
}

.provincias-header span {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-blue, #031229);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provincias-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 20px;
    width: 100%;
    box-sizing: border-box;
}

.provincias-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-blue, #031229);
    min-width: 0;
    box-sizing: border-box;
}

.provincias-list li i {
    color: var(--primary-yellow, #ffc107);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN - SECCIÓN COBERTURA Y ELEMENTOS (TABLETS Y MÓVILES)
   ========================================================================== */

@media screen and (max-width: 992px) {
    .nosotros-cobertura-section {
        padding: 60px 0;
    }

    .cobertura-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cobertura-content {
        text-align: center;
    }

    .cobertura-content .section-title {
        font-size: 1.9rem;
    }

    .cobertura-highlights {
        align-items: center;
    }

    .cobertura-content .btn {
        margin: 0 auto;
        display: inline-flex;
    }
}

@media screen and (max-width: 768px) {
    .provincias-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

@media screen and (max-width: 576px) {
    .nosotros-cobertura-section {
        padding: 45px 0;
    }

    .cobertura-content .section-title {
        font-size: 1.6rem;
    }

    .cobertura-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .cobertura-highlight-item {
        font-size: 0.82rem;
        text-align: left;
        width: 100%;
    }

    .cobertura-provincias {
        padding: 20px 15px;
    }

    .provincias-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .provincias-header span {
        font-size: 0.88rem;
    }

    .provincias-list li {
        font-size: 0.83rem;
    }
}

/* ==========================================================================
   ESTILOS Y RESPONSIVE: BANNER CTA INFERIOR (NOSOTROS.CSS)
   ========================================================================== */
.equipos-bottom-cta {
    background: linear-gradient(135deg, var(--navy-blue, #031229) 0%, #0d2347 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 35px 40px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(3, 18, 41, 0.15);
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--primary-yellow, #ffc107);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-text-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--white, #ffffff);
    letter-spacing: 0.3px;
}

.cta-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* Botón Dorado/Amarillo Específico para el Banner */
.equipos-bottom-cta .btn-gold,
.equipos-bottom-cta .btn {
    background-color: #ffc107;
    color: #031229;
    border: none;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.equipos-bottom-cta .btn-gold:hover,
.equipos-bottom-cta .btn:hover {
    background-color: #e0a800;
    color: #031229;
}

/* ==========================================================================
   RESPONSIVE DESIGN - BANNER CTA INFERIOR (TABLETS Y MÓVILES)
   ========================================================================== */

@media screen and (max-width: 992px) {
    .equipos-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
        margin: 40px auto;
        gap: 25px;
    }

    .equipos-bottom-cta .btn,
    .equipos-bottom-cta .btn-gold {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .equipos-bottom-cta {
        padding: 25px 20px;
        margin: 30px auto;
        border-radius: 10px;
    }

    .cta-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cta-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 1.1rem;
    }

    .cta-desc {
        font-size: 0.85rem;
    }
}

/* Corrección directa para el salto de scroll */
.nosotros-cobertura-section,
.pvsa-banner-inferior {
    overflow: hidden;
    box-sizing: border-box;
}