.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px;
}

.breadcrumb {
    font-size: 16px;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb span {
    color: #ff6b35;
}

/* --- SECCION DE SOBRE NOSOTROS --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    min-height: 600px;
}

/* Panel izquierdo con imágenes */
.image-panel {
    position: relative;
    background: #e9ecef;
    display: flex;
    flex-direction: column;
    height: 90%;
    width: 90%;
}

.image-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.image-box {
    position: relative;
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border: 8px solid white; 
}

/* Overlay azul sobre las imágenes */
.image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.4);
    z-index: 1;
}

/* Rectángulo blanco vertical que abarca ambas imágenes */
.white-overlay {
    position: absolute;
    top: 60px;
    left: 80px;
    bottom: 60px;
    width: 400px;
    background: transparent;
    border: 8px solid rgba(255, 255, 255, 0.408); /* Borde blanco, ajusta el grosor si quieres */
    z-index: 2;
}

/* Rectángulo azul del lado derecho */
.blue-overlay {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    background: #1e3a5f;
    color: white;
    padding: 40px 30px;
    text-align: center;
    z-index: 10;
 
    width: 240px;
    border: 8px solid white;
}

.blue-overlay h2 {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

.blue-overlay .highlight {
    font-weight: 600
}
/* Panel derecho con contenido */
.content-panel {
    padding: 60px 40px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-title {
    font-size: 30px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.2;
}

.main-title .emphasis {
    font-weight: 600;
    color: #1e3a5f;
}

.description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: justify;
}

.content-section {
    margin-bottom: 20px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.section-text {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    text-align: justify;
}


/* --- SECCION DE METRICAS --- */
.stats-section {
  padding: 60px 0;
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-item .icon {
    font-size: 36px;
    color: #ff6b35;
    margin-bottom: 10px;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
}

.stat-item .text {
    font-weight: 600;
    font-size: 13px;
    color: white;
}

/* --- SECCION DE CARACTERISTICAS--- */
.why-choose-us {
    padding: 80px 0;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    margin-top: 8px;
}

.why-choose-us .subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
}

.section-header {
    text-align: center;
}

.section-icon {
    width: 50px; 
    height: 20px; 
    border: 4px solid #ff6b35; 
    border-bottom: none;
    margin: 0 auto; 
    position: relative; 
}

.section-underline {
    width: 80px;
    height: 3px;
    background-color: #ff6b35;
    margin: 0 auto;
    border-radius: 2px;
    margin-bottom: 3rem;
}



/* --- Cuadrícula de Características --- */
.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 50px 30px; 
    align-items: start;
}

.feature-item {
    padding: 0; 
    position: relative;
    transition: transform 0.3s ease-out; 
}

.feature-item:hover {
    transform: translateY(-8px); /* Sutil levantamiento al pasar el mouse */
}

/* --- Estilo de los Iconos --- */
.feature-item .icon-wrapper {
    border: 1px solid #ff6b35; 
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px; 
    position: relative;
}

.feature-item .icon-wrapper .fa-solid {
    font-size: 24px; 
    color: #ff6b35; 
    text-shadow: 0 0 10px rgba(255, 154, 106, 0.3); /* Efecto de brillo sutil en el ícono */
    transition: color 0.3s ease-out;
}


/* --- Estilo de Títulos de Características --- */
.feature-item h3 {
    font-size: 16px; 
    font-weight: 600;
    color: #2c3e50; 
    margin-bottom: 12px;
    text-align: center; 
}

/* --- Estilo del Párrafo Descriptivo --- */
.feature-item p {
    font-size: 13px; 
    line-height: 1.6;
    color: #6c757d; 
    opacity: 0.9; 
    text-align: center; 
}

/* --- SECCION DE CONTACTO --- */
.contact-cta-section-styled {
    background-color: #233a5f; 
    color: #ffffff;
    padding: 50px 0; 
}

.contact-cta-section-styled .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    text-align: center; 
}

.contact-cta-text {
    flex-grow: 1; 
    margin-right: 20px; 
    max-width: 60%; 
}

.contact-cta-text h3 {
    font-size: 24px;
    margin: 0;
    line-height: 1.3;
}

.contact-cta-text p {
    font-size: 16px;
    color: #ff6b35; 
    margin: 0;
    line-height: 1.5;
}

.contact-cta-button-container {
    flex-shrink: 0; 
}

.btn-contact-style { 
    background-color: #ff6b35; 
    border: none;
    color: #233a5f; 
    padding: 15px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px; 
    font-weight: 600;
    text-decoration: none; 
    display: inline-block; 
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact-style:hover {
    background-color: #e05c2a; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* sombra suavecita */
}

/* =================================
   MEDIA QUERIES PARA PÁGINA NOSOTROS
   ================================= */

/* --- TABLETS Y PANTALLAS MEDIANAS (768px - 1024px) --- */
@media (max-width: 1024px) {
    /* HERO SECTION */
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    /* SECCIÓN SOBRE NOSOTROS */
    section[style*="padding: 0 80px"] {
        padding: 0 40px !important;
    }
    
    .section-container {
        gap: 20px;
    }
    
    .content-panel {
        padding: 50px 30px;
    }
    
    .main-title {
        font-size: 26px;
    }
    
    .blue-overlay {
        width: 200px;
        padding: 30px 20px;
    }
    
    .blue-overlay h2 {
        font-size: 28px;
    }
    
    /* CARACTERÍSTICAS */
    .features-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px 25px;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
    }
}

/* --- TABLETS (768px - 991px) --- */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 38px;
    }
    
    .section-container {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: auto;
    }
    
    .image-panel {
        height: 400px;
        width: 100%;
        order: 2;
    }
    
    .content-panel {
        order: 1;
        padding: 40px 25px;
    }
    
    .white-overlay {
        top: 40px;
        left: 40px;
        bottom: 40px;
        width: 300px;
    }
    
    .blue-overlay {
        right: -30px;
        width: 180px;
        padding: 25px 15px;
    }
    
    .blue-overlay h2 {
        font-size: 24px;
    }
}

/* --- DISPOSITIVOS MÓVILES GRANDES Y TABLETS PEQUEÑAS (576px - 768px) --- */
@media (max-width: 768px) {
    /* HERO SECTION */
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .breadcrumb {
        font-size: 14px;
    }
    
    /* SECCIÓN SOBRE NOSOTROS */
    section[style*="padding: 0 80px"] {
        padding: 0 20px !important;
    }
    
    .section-container {
        max-width: 100%;
        padding: 20px 10px;
        grid-template-columns: 1fr;
        gap: 50px;
        min-height: auto;
    }
    
    .image-panel {
        height: 400px;
        width: 100%;
        margin: 0 auto;
    }
    
    .image-container {
        flex-direction: row;
    }
    
    .image-box {
        border: 4px solid white;
    }
    
    .white-overlay {
        top: 30px;
        left: 30px;
        bottom: 30px;
        width: 250px;
        border: 4px solid rgba(255, 255, 255, 0.408);
    }
    
    .blue-overlay {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 20px auto 0;
        width: 220px;
        padding: 25px 20px;
        border: 4px solid white;
    }
    
    .blue-overlay h2 {
        font-size: 24px;
    }
    
    .content-panel {
        padding: 40px 25px;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .main-title {
        font-size: 26px;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .description {
        font-size: 14px;
        margin-bottom: 35px;
        line-height: 1.8;
    }
    
    .content-section {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .section-text {
        font-size: 13px;
        line-height: 1.7;
    }
    
    /* ESTADÍSTICAS */
    .stats-section .container {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .stat-item {
        flex-basis: calc(50% - 15px);
        min-width: 150px;
    }
    
    .stat-item .icon {
        font-size: 32px;
    }
    
    .stat-item .number {
        font-size: 40px;
    }
    
    .stat-item .text {
        font-size: 12px;
    }
    
    /* CARACTERÍSTICAS */
    .why-choose-us {
        padding: 60px 0;
    }
    
    .why-choose-us h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .features-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 35px 20px;
    }
    
    .feature-item .icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 20px;
    }
    
    .feature-item .icon-wrapper .fa-solid {
        font-size: 20px;
    }
    
    .feature-item h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .feature-item p {
        font-size: 12px;
    }
    
    /* CONTACTO CTA */
    .contact-cta-section-styled {
        padding: 40px 0;
    }
    
    .contact-cta-section-styled .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-cta-text {
        max-width: 100%;
        margin-right: 0;
    }
    
    .contact-cta-text h3 {
        font-size: 20px;
    }
    
    .contact-cta-text p {
        font-size: 14px;
    }
    
    .btn-contact-style {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* --- MÓVILES PEQUEÑOS (480px - 575px) --- */
@media (max-width: 575px) {
    /* HERO SECTION */
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    /* SECCIÓN SOBRE NOSOTROS */
    section[style*="padding: 0 80px"] {
        padding: 0 15px !important;
    }
    
    .section-container {
        padding: 15px 5px;
        gap: 40px;
    }
    
    .image-panel {
        height: 350px;
        width: 100%;
    }
    
    .image-container {
        flex-direction: column;
    }
    
    .white-overlay {
        top: 25px;
        left: 25px;
        bottom: 25px;
        width: 220px;
    }
    
    .blue-overlay {
        width: 200px;
        padding: 20px 18px;
        margin-top: 18px;
    }
    
    .blue-overlay h2 {
        font-size: 22px;
    }
    
    .content-panel {
        padding: 35px 20px;
        min-height: 350px;
    }
    
    .main-title {
        font-size: 24px;
        margin-bottom: 25px;
        line-height: 1.3;
    }
    
    .description {
        font-size: 13px;
        margin-bottom: 30px;
        line-height: 1.7;
    }
    
    .content-section {
        margin-bottom: 20px;
    }
    
    /* ESTADÍSTICAS */
    .stat-item {
        flex-basis: 100%;
        margin-bottom: 25px;
    }
    
    .stat-item .icon {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .stat-item .number {
        font-size: 36px;
    }
    
    .stat-item .text {
        font-size: 11px;
    }
    
    /* CARACTERÍSTICAS */
    .why-choose-us {
        padding: 50px 0;
    }
    
    .why-choose-us h2 {
        font-size: 1.6rem;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-item .icon-wrapper {
        width: 40px;
        height: 40px;
        margin-bottom: 18px;
    }
    
    .feature-item .icon-wrapper .fa-solid {
        font-size: 18px;
    }
    
    .feature-item h3 {
        font-size: 14px;
    }
    
    .feature-item p {
        font-size: 11px;
    }
    
    /* CONTACTO CTA */
    .contact-cta-text h3 {
        font-size: 18px;
    }
    
    .contact-cta-text p {
        font-size: 13px;
    }
    
    .btn-contact-style {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* --- MÓVILES MUY PEQUEÑOS (menos de 400px) --- */
@media (max-width: 399px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .section-container {
        gap: 25px;
    }
    
    .image-panel {
        height: 250px;
    }
    
    .white-overlay {
        width: 150px;
        top: 15px;
        left: 15px;
        bottom: 15px;
    }
    
    .blue-overlay {
        width: 160px;
        padding: 12px;
    }
    
    .blue-overlay h2 {
        font-size: 18px;
    }
    
    .content-panel {
        padding: 30px 15px;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .main-title {
        font-size: 22px;
        margin-bottom: 22px;
        line-height: 1.3;
    }
    
    .why-choose-us h2 {
        font-size: 1.4rem;
    }
    
    .contact-cta-text h3 {
        font-size: 16px;
    }
    
    .stat-item .number {
        font-size: 32px;
    }
    
    .features-wrapper {
        gap: 25px;
    }
}

/* --- LANDSCAPE MÓVILES --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .image-panel {
        height: 280px;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .why-choose-us {
        padding: 40px 0;
    }
    
    .contact-cta-section-styled {
        padding: 30px 0;
    }
}
