.hero{
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(251, 254, 254, 0.82) 0%,
            rgba(250, 252, 252, 0.7) 35%,
            rgba(255,255,255,.30) 70%,
            rgba(255,255,255,.05) 100%
        ),
        url("../img/hero7.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:#01062cd2;

    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: #08032c;

    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%;
    }
}

.about{
    padding: 50px 0;
}

.about-content{
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image{
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text{
    max-width: 520px;
}

.about-text .section-tag{
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    padding: .55rem 1rem;

    background: rgba(29,158,117,.1);
    color: #1D9E75;

    border-radius: 999px;

    font-size: .85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.about-text .section-title{
    margin: 1rem 0 1.2rem;

    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.2;
    font-weight: 800;

    color: #163028;
}

.about-text p{
    color: #5f6b66;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.about-list{
    margin: 2rem 0;

    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-list li{
    list-style: none;

    display: flex;
    align-items: center;
    gap: .9rem;

    color: #47544e;
    font-weight: 500;
}

.about-list li::before{
    content: "";

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #1D9E75;

    flex-shrink: 0;
}

.about .btn{
    margin-top: .5rem;
}

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

@media (max-width: 900px){

    .about-content{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image{
        height: 350px;
    }

    .about-text{
        max-width: 100%;
    }

    .about-text .section-title{
        font-size: 2rem;
    }
}
/* ==========================================
SERVICIOS - GRID MÁS BALANCEADO
========================================== */

.services {
    background: #eef9ff;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

/* CARD MÁS MODERNA Y EQUILIBRADA */
.service-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGEN CONSISTENTE */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENIDO MÁS AIREADO */
.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.6;
}
/* ==========================================
SERVICIOS - CARDS MODERNAS (2025 STYLE)
========================================== */

.services {
    background: #eef9ff;
    padding: 5rem 0;
}

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

.service-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all .35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 1.5rem;
}

.service-card h3 {
    margin-bottom: .8rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.5;
}
/* ==========================================
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(--white);
}

.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;
    }
}