/* ==========================================
HERO
========================================== */

/* ==========================================
HERO SECTION
========================================== */

.hero{
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(5, 136, 119, 0.82) 0%,
            rgba(255, 255, 255, 0.7) 35%,
            rgba(255,255,255,.30) 70%,
            rgba(255,255,255,.05) 100%
        ),
        url("../img/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;

    padding: 0;
}

.hero-container{
    min-height: 88vh;

    display: flex;
    align-items: center;

    padding: 3rem 0;
}

.hero-content{
    max-width: 720px;

    display: flex;
    flex-direction: column;

    gap: 1.25rem;
}

.hero-badge{
    width: fit-content;

    padding: .8rem 1.4rem;

    background: rgba(52,126,191,.12);

    color: var(--secondary-color);

    border-radius: var(--radius-full);

    font-size: .95rem;
    font-weight: 600;

    backdrop-filter: blur(10px);
}

.hero-title{
    font-size: clamp(2.8rem,4vw,3.8rem);

    line-height: 1.05;

    color: var(--primary-color);

    font-weight: 700;

    max-width: 750px;

    text-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.hero-text{
    max-width: 650px;

    font-size: 1.1rem;

    color: var(--text-light);

    line-height: 1.8;
}

.hero-buttons{
    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

    margin-top: .75rem;
}

.hero-buttons .btn{
    min-width: 180px;
    text-align: center;
}

.hero-buttons .btn-primary{
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-secondary{
    box-shadow: var(--shadow-sm);
}

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

@media(max-width:992px){

    .hero{

        background:
            linear-gradient(
                rgba(255,255,255,.90),
                rgba(255,255,255,.90)
            ),
            url("../img/hero.jpg");

        background-size: cover;
        background-position: center;
    }

    .hero-container{
        min-height: auto;
        padding: 5rem 0;
    }

    .hero-title{
        font-size: 3rem;
    }
}

@media(max-width:768px){

    .hero-container{
        padding: 4rem 0;
    }

    .hero-title{
        font-size: 2.3rem;
    }

    .hero-text{
        font-size: 1rem;
    }

    .hero-buttons{
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn{
        width: 100%;
    }
}
/* ==========================================
NOSOTROS
========================================== */

.about{
    background: #ffffff;
}

.about-content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 5rem;
}

.about-image img{
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p{
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ==========================================
SERVICIOS
========================================== */

.services{
    background: #eef9ff;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
}

.service-card{
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: .35s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-card h3{
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p{
    color: var(--text-light);
}

/* ==========================================
IMPACTO
========================================== */

.impact{
    background: linear-gradient(
        135deg,
        #212640,
        #274F73
    );
    color: white;
}

.impact .section-title{
    color: white;
}

.impact-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

.impact-card{
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    text-align: center;
    padding: 3rem 2rem;
}

.impact-card h3{
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.impact-card p{
    color: rgba(255,255,255,.85);
}

/* ==========================================
CTA
========================================== */

.cta{
    background: var(--soft-blue);
}

.cta-content{
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.cta-content h2{
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cta-content p{
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

@media (max-width: 992px){

    .hero-container,
    .about-content,
    .services-grid,
    .impact-grid{
        grid-template-columns: 1fr;
    }

    .hero-title{
        font-size: 3.2rem;
    }
}

@media (max-width: 768px){

    .hero-title{
        font-size: 2.6rem;
    }

    .hero-buttons{
        flex-direction: column;
        align-items: flex-start;
    }
}