﻿/* =========================================
   NOSOTROS - ESTILO CORPORATIVO PROFESIONAL
========================================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #1f2d3d;
    background: #f4f7f9;
    margin: 0;
    line-height: 1.8;
}

/* =========================================
   HERO
========================================= */

.nosotros-hero {
    position: relative;
    height: 360px;
    background: linear-gradient(rgba(6, 59, 70, 0.82), rgba(6, 59, 70, 0.82)), url('../img/imagen9.jpeg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

    .nosotros-hero::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        background: rgba(255,255,255,0.04);
        border-radius: 50%;
        top: -260px;
        right: -160px;
    }

    .nosotros-hero::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        background: rgba(255,76,30,0.10);
        border-radius: 50%;
        bottom: -210px;
        left: -120px;
    }

.nosotros-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 22px;
    animation: fadeHero 1.2s ease forwards;
}

    .nosotros-hero-content span {
        display: inline-block;
        background: rgba(255,255,255,0.13);
        padding: 10px 24px;
        border-radius: 40px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #ffffff;
        margin-bottom: 18px;
        backdrop-filter: blur(5px);
        animation: fadeDown .8s ease forwards;
    }

    .nosotros-hero-content h1 {
        font-size: 52px;
        line-height: 1.1;
        margin-bottom: 18px;
        color: white;
       
               text-shadow: 0 6px 20px rgba(0,0,0,0.35);
        animation: fadeUp 1s ease forwards;
    }

    .nosotros-hero-content p {
        color: #ecf7fa;
        font-size: 18px;
        line-height: 1.8;
        max-width: 760px;
        margin: auto;
        text-align: center;
        animation: fadeUp 1.3s ease forwards;
    }

/* =========================================
   SECCIÓN GENERAL
========================================= */

.section {
    padding: 80px 40px;
    overflow: hidden;
}

/* =========================================
   PRESENTACIÓN
========================================= */

.nosotros-presentacion {
    display: flex;
    gap: 45px;
    align-items: flex-start;
}

.nosotros-texto {
    width: 58%;
}

    /* SUBTÍTULOS */

    .nosotros-texto .subtitulo,
    .titulo-centro span,
    .experiencia-contenido span {
        color: #ff4c1e;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    /* TÍTULOS PRINCIPALES */

    .nosotros-texto h2,
    .titulo-centro h2,
    .experiencia-contenido h2 {
        font-size: 48px;
        font-weight: 900;
        color: #063b46;
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .nosotros-texto h2 {
        position: relative;
    }

        .nosotros-texto h2::after {
            content: "";
            width: 90px;
            height: 4px;
            background: linear-gradient(90deg, #ff4c1e, #ff8b68);
            position: absolute;
            left: 0;
            bottom: -14px;
            border-radius: 20px;
        }

    /* PÁRRAFOS CORPORATIVOS */

    .nosotros-texto p,
    .mv-card p,
    .valor-card p,
    .experiencia-contenido p,
    .nosotros-info div {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.9;
        letter-spacing: .2px;
    }

    .nosotros-texto p,
    .mv-card p,
    .valor-card p,
    .experiencia-contenido p {
        text-align: justify;
        color: #555;
    }

    .nosotros-texto p {
        margin-bottom: 16px;
    }

/* =========================================
   INFO EMPRESA
========================================= */

.nosotros-info {
    width: 42%;
    background: linear-gradient(135deg, #063b46, #0b5565);
    padding: 32px 40px;
    border-radius: 0 0 28px 28px;
    color: white;
    box-shadow: 0 18px 38px rgba(0,0,0,0.14);
    position: relative;
    overflow: hidden;
}

    .nosotros-info::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        background: rgba(255,255,255,0.06);
        border-radius: 50%;
        top: -90px;
        right: -80px;
    }

    .nosotros-info div {
        position: relative;
        z-index: 2;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        text-align: left;
    }

        .nosotros-info div:last-child {
            border-bottom: none;
        }

    .nosotros-info strong {
        color: #ffb39f;
    }

/* =========================================
   MISIÓN Y VISIÓN
========================================= */

.mision-vision {
    display: flex;
    gap: 30px;
    padding-top: 40px;
}

.mv-card {
    flex: 1;
    background: white;
    padding: 38px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,0.07);
    transition: .35s ease;
    position: relative;
    overflow: hidden;
}

    .mv-card::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, #ff4c1e, #ff7c57);
        left: 0;
        top: 0;
    }

    .mv-card:hover {
        transform: translateY(-8px);
    }

    .mv-card i {
        font-size: 48px;
        color: #ff4c1e;
        margin-bottom: 18px;
    }

    .mv-card h2 {
        color: #063b46;
        font-size: 42px;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 18px;
    }

/* =========================================
   TÍTULO CENTRADO
========================================= */

.titulo-centro {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 45px;
}

    .titulo-centro span {
        display: inline-block;
        margin-bottom: 12px;
    }

    .titulo-centro h2 {
        position: relative;
    }

        .titulo-centro h2::after {
            content: "";
            width: 90px;
            height: 4px;
            background: linear-gradient(90deg, #ff4c1e, #ff8b68);
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -16px;
            border-radius: 20px;
        }

/* =========================================
   VALORES
========================================= */

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.valor-card {
    background: white;
    padding: 32px 26px;
    border-radius: 22px;
    text-align: center;
    transition: .35s ease;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    border: 1px solid #eef2f4;
}

    .valor-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 38px rgba(0,0,0,0.10);
    }

    .valor-card i {
        font-size: 42px;
        color: #ff4c1e;
        margin-bottom: 16px;
    }

    .valor-card h3 {
        color: #063b46;
        margin-bottom: 14px;
        font-size: 24px;
        font-weight: 800;
        text-align: center;
        line-height: 1.3;
    }

/* =========================================
   ANIMACIONES CORPORATIVAS
========================================= */

@keyframes fadeHero {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   EXPERIENCIA
========================================= */

.experiencia-section {
    margin: 20px 40px;
    border-radius: 28px;
    background: linear-gradient( rgba(6,59,70,0.90), rgba(6,59,70,0.90) );
    padding: 55px 60px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.experiencia-contenido {
    width: 100%;
    max-width: 100%;
}

    /* TÍTULO */
    .experiencia-contenido h2 {
        font-family: 'Segoe UI', Roboto, Arial, sans-serif;
        font-size: 42px;
        font-weight: 900;
        line-height: 1.1;
        color: #fff;
        margin: 14px 0 22px;
    }

    /* TEXTO */
    .experiencia-contenido p {
        font-family: 'Segoe UI', Roboto, Arial, sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.8;
        letter-spacing: 0;
        color: #dcecef;
        text-align: justify;
        margin-bottom: 16px;
    }

/* =========================================
   DIFERENCIALES
========================================= */

.diferenciales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.diferencial-card {
    background: #fff;
    padding: 32px;
    border-radius: 22px;
    text-align: center;
    transition: .35s ease;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    border: 1px solid #eef2f4;
}

    .diferencial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 38px rgba(0,0,0,.10);
    }

    .diferencial-card i {
        font-size: 42px;
        color: #ff4c1e;
        margin-bottom: 16px;
    }

    .diferencial-card h3 {
        color: #063b46;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 14px;
        text-align: center;
    }

    .diferencial-card p {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.9;
        letter-spacing: .2px;
        color: #555;
        text-align: justify;
    }

/* =========================================
   CTA
========================================= */

.nosotros-cta {
    margin: 35px 40px 60px;
    background: linear-gradient(135deg, #063b46, #0b5565);
    padding: 45px 50px;
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-bottom: 6px solid #ff4c1e;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

    .nosotros-cta h2 {
        color: #fff;
        font-size: 48px;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .nosotros-cta p {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.9;
        letter-spacing: .2px;
        color: #dcecef;
        text-align: justify;
    }

    .nosotros-cta a {
        background: #ff4c1e;
        color: #fff;
        padding: 15px 32px;
        border-radius: 40px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
        transition: .3s ease;
    }

        .nosotros-cta a:hover {
            background: #fff;
            color: #063b46;
            transform: translateY(-4px);
        }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

    .section {
        padding: 60px 32px;
    }

    .valores-grid,
    .diferenciales-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nosotros-texto h2,
    .titulo-centro h2,
    .experiencia-contenido h2,
    .nosotros-cta h2 {
        font-size: 40px;
    }
}

@media (max-width: 900px) {

    .nosotros-hero {
        height: 300px;
        padding: 0 20px;
    }

    .nosotros-hero-content h1 {
        font-size: 42px;
    }

    .nosotros-presentacion,
    .mision-vision {
        flex-direction: column;
        gap: 28px;
    }

    .nosotros-texto,
    .nosotros-info {
        width: 100%;
    }

    .nosotros-info {
        border-radius: 24px;
        padding: 28px;
    }

    .valores-grid,
    .diferenciales-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experiencia-section {
        margin: 20px;
        padding: 40px 30px;
    }

    .nosotros-cta {
        margin: 35px 20px 50px;
        padding: 35px 28px;
        flex-direction: column;
        text-align: center;
    }

        .nosotros-cta p {
            text-align: center;
        }
}

@media (max-width: 600px) {

    .section {
        padding: 40px 18px;
    }

    .nosotros-hero {
        height: 260px;
    }

    .nosotros-hero-content span {
        font-size: 11px;
        padding: 8px 16px;
    }

    .nosotros-hero-content h1 {
        font-size: 32px;
    }

    .nosotros-hero-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .nosotros-texto h2,
    .titulo-centro h2,
    .experiencia-contenido h2,
    .nosotros-cta h2 {
        font-size: 32px;
    }

    .nosotros-texto p,
    .mv-card p,
    .valor-card p,
    .diferencial-card p,
    .experiencia-contenido p,
    .nosotros-cta p {
        font-size: 15px;
        line-height: 1.8;
    }

    .mv-card,
    .valor-card,
    .diferencial-card {
        padding: 26px 20px;
    }

    .valores-grid,
    .diferenciales-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .experiencia-section {
        margin: 15px;
        padding: 30px 22px;
        border-radius: 20px;
    }

    .nosotros-cta {
        margin: 30px 15px 45px;
        padding: 30px 22px;
        border-radius: 20px;
    }

        .nosotros-cta h2 {
            font-size: 28px;
        }

        .nosotros-cta a {
            padding: 13px 24px;
            font-size: 14px;
        }
}

@media (max-width: 380px) {

    .nosotros-hero-content h1 {
        font-size: 26px;
    }

    .nosotros-info div {
        font-size: 15px;
    }

    .mv-card i,
    .valor-card i,
    .diferencial-card i {
        font-size: 34px;
    }
}
