:root {
    --h1: clamp(26px, 4vw, 40px);
    --h2: clamp(22px, 3vw, 32px);
    --h3: clamp(18px, 2.5vw, 24px);
    --text-lg: clamp(16px, 2vw, 20px);
    --text: clamp(14px, 1.5vw, 16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f5f7f6;
    color: #111;
    overflow-x: hidden;
}

/* ===== Cursor Light ===== */
.cursor-light {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 80, 0.2), transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 120px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.6);
    z-index: 1000;
    transition: 0.3s;

    box-shadow: -1px 9px 16px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: -1px 9px 16px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: -1px 9px 16px 0px rgba(0, 0, 0, 0.26);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;
}

.logo-text {
    font-weight: 630;
    color: #111;
    font-size: 18px;
}

.logo-text span {
    color: #13531a;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #222;
    font-weight: 530;
    position: relative;
    font-size: 18px;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #1a8f3c;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== HAMBURGUESA ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #111;
    border-radius: 5px;
    transition: 0.3s;
}

/* ANIMACIÓN X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* NAV MOBILE */
@media(max-width:900px) {

    header {
        padding: 12px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav a {
        font-size: 20px;
    }

    nav.active {
        right: 0;
    }
}

/* ===== HERO FULLSCREEN PRO ===== */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #fcfcfb;
}

/* SLIDER */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* SLIDE */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0 0 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* ===== REVEAL MASK ===== */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fcfcfb;
    transform: translateX(0);
    transition: transform 1.2s cubic-bezier(.77, 0, .18, 1);
    z-index: 3;
}

.hero-slide.active::after {
    transform: translateX(100%);
}

/* ===== TEXTO ===== */
.hero-text {
    max-width: 840px;
    position: relative;
    padding-left: 25px;

    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
    transition-delay: 0.5s;
}

.hero-slide.active .hero-text {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LOGO CENTRADO ===== */
.logo2 {
    display: block;
    margin: 0 auto 20px auto;
    width: 460px;
}

/* ===== TITULOS ===== */
.hero-text h1 {
    font-size: var(--h1);
    color: #555;
    font-weight: 600;
}

/* ===== LINEA VERDE (FIX REAL) ===== */
.hero-text h1::before {
    content: "";
    position: absolute;
    left: 0;
    /* top: 10px; */
    width: 5px;
    height: 100px;
    background: linear-gradient(#1a8f3c, #0c5c27);
    border-radius: 10px;
}

.hero-text p {
    font-size: var(--h2);
    color: #1b671b;
    font-weight: 600;
}

.hero-text h2 {
    margin-top: 10px;
    font-size: var(--text-lg);
    color: #4c4c4c;
    font-weight: 500;
}

/* ===== IMAGEN FULL PRO ===== */
.hero-img {
    width: 50%;
    align-self: end;
    /* max-height: 80vh; */
    object-fit: contain;

    transform: scale(1.1);
    opacity: 0;
    transition: all 1.4s ease;
    transition-delay: 0.4s;
}

.hero-slide.active .hero-img {
    transform: scale(1);
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {

    .hero {
        height: 100vh;
    }

    .hero-slide {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 100px 20px 40px;
    }

    /* 🔥 ocultar imagen */
    .hero-img {
        display: none;
    }

    /* TEXTO LIMPIO */
    .hero-text {
        padding-left: 0;
        max-width: 100%;
    }

    .hero-text h1::before {
        display: none;
    }

    .logo2 {
        width: 260px;
    }

    .hero-text h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 22px;
        margin-top: 10px;
    }

    .hero-text h2 {
        font-size: 16px;
        margin-top: 15px;
    }

    .btn {
        font-size: 18px;
        padding: 12px 22px;
    }
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #167230, #08461d);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    font-size: 25px;
    top: 20px;
}

.btn:hover {
    transform: translateY(-3px);
}

/* ===== Section ===== */
.section {
    padding: 50px 50px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* ICONOS COMO IMAGEN */
.card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px auto;
}

.card i {
    font-size: 30px;
    color: #1a8f3c;
    align-items: center;
}

.card h3 {
    font-size: 25px;
    color: #222;
    margin: 20px;
    text-align: center;
    font-weight: 600;
}

.card p {
    font-size: 15px;
    color: #555;
    text-align: center;
    line-height: 1.6;
    margin-top: 10px;
    padding: 0 10px;
}

.card p::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, #1a8f3c, #0c5c27);
    border-radius: 10px;
}

/* ===== PURPOSE PRO PREMIUM ===== */
.purpose {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding: 60px 60px;
    display: flex;
    align-items: center;
    background: url("../img/coyotepec_team.png")center/cover;
    overflow: hidden;
}

/* GRADIENTE VERDE ENCIMA */
.purpose-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0b4d1f 20%, rgba(11, 77, 31, 0.7) 50%, rgba(11, 77, 31, 0.1));
    z-index: 1;
}

/* CONTENIDO IZQUIERDA */
.purpose-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

.purpose-tag {
    font-size: 22px;
    letter-spacing: 2px;
    color: #1dc831;
    font-weight: 500;
}

.purpose-content h2 {
    font-size: 34px;
    margin: 10px 0;
    font-weight: 700;
}

.purpose-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* BOTÓN */
.btn-outline {
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid #9be3b1;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #1a8f3c;
    border-color: #1a8f3c;
}

/* ===== CARD DERECHA ===== */
.purpose-card {
    position: absolute;
    right: 120px;
    /* bottom: 60px; */
    background: #f3f3f3;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-width: 420px;
}

/* ICONO REDONDO */
.card-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* background: #1a8f3c; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrap img {
    width: 80px;
    /* filter: brightness(0) invert(1); */
}

/* TEXTO CARD */
.purpose-card p {
    font-size: 25px;
    color: #333;
    margin: 10px;
    font-weight: 600;
}

/* LINEA VERDE */
.purpose-card .line {
    display: block;
    width: 60px;
    height: 3px;
    background: #1a8f3c;
    margin: 10px;
    border-radius: 10px;
}

@media(max-width:900px) {
    .purpose {
        padding: 80px 20px;
        flex-direction: column;
    }

    .purpose-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 30px;
    }
}

/* ===== FOOTER PRO ===== */
.footer {
    background: #0f1713;
    color: #fff;
    padding: 20px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* INFO */
.footer-info {
    display: flex;
    align-items: center;
    justify-content:center important;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #dcdcdc;
}

.footer-item span {
    letter-spacing: 0.3px;
}

.footer-item img {
    width: 20px;
    height: 20px;
}

/* REDES */
/* .footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social img {
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 0.8;
   
}

.footer-social img:hover {
    opacity: 1;
    transform: translateY(-2px);
} */

/* ===== Animaciones ===== */
.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}



html {
    scroll-behavior: smooth;
}

/* ===== HEADER PREMIUM ===== */
header {
    transition: all 0.4s ease;
}

header.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== NAV OVERLAY (mobile pro) ===== */
@media(max-width:900px) {
    nav {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
    }
}

/* ===== HERO PARALLAX LIGHT ===== */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(26, 143, 60, 0.08), transparent 60%);
    z-index: 0;
}

/* ===== BOTÓN PREMIUM ===== */
.btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin-top: 40px;
}

.btn::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    /* background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%); */
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: 0.4s;
}

.btn:hover::after {
    opacity: 1;
}

/* ===== CARDS PREMIUM ===== */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(26, 143, 60, 0.08), transparent);
    opacity: 0;
    transition: 0.4s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ===== PURPOSE PARALLAX ===== */
.purpose {
    background-attachment: fixed;
}

/* ===== FOOTER PREMIUM ===== */
.footer {
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1a8f3c, transparent);
}

/* ===== SOCIAL HOVER ===== */
.footer-social img {
    transition: 0.3s;
}

.footer-social img:hover {
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(26, 143, 60, 0.5));
}

/* ===== FADE-UP PRO ===== */
.fade {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(.22, .61, .36, 1);
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

.organigrama {
    padding: 80px 60px;
    text-align: center;
}

/* .section-title {
            font-size: 32px;
            margin-bottom: 40px;
            font-weight: 700;
        } */

.org-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.org-level {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.org-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 20px 25px;
    border-radius: 15px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.org-card strong {
    display: block;
    font-size: 15px;
}

.org-card span {
    font-size: 13px;
    color: #1a8f3c;
}

.org-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.org-card.main {
    background: linear-gradient(135deg, #1a8f3c, #0c5c27);
    color: #fff;
    font-weight: 600;
}

.org-line {
    width: 2px;
    height: 40px;
    background: #1a8f3c;
}

/* MOBILE */
@media(max-width:768px) {
    .organigrama {
        padding: 60px 20px;
    }
}

.org-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.org-img {
    width: 100%;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: 0.4s ease;
}

/* efecto elegante */
.org-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

/* responsive */
@media(max-width:768px) {
    .org-img {
        border-radius: 12px;
    }
}

.cronograma {
    padding: 80px 60px;
    background: #f9faf9;
}

.cronograma {
    padding: 80px 60px;
    background: #f5f7f6;
    text-align: center;
}

.cronograma-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.cronograma-img {
    width: 100%;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: 0.4s ease;
}

/* efecto premium */
.cronograma-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

/* responsive */
@media(max-width:768px) {
    .cronograma {
        padding: 60px 20px;
    }

    .cronograma-img {
        border-radius: 12px;
    }
}

/* ===== TITULOS PREMIUM ===== */
/* .section-title {
            font-size: 54px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
            overflow: hidden;
            color: #08461d;
            letter-spacing: 3px;
            text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.28);
        } */

.section-title {
    font-size: var(--h2);
    font-weight: 700;
    margin-bottom: 20px;
    color: #08461d;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}


/* ===== REVEAL HORIZONTAL (PRO) ===== */
.reveal {
    position: relative;
    overflow: hidden;
}

.reveal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #f5f7f6;
    transform: translateX(0);
    transition: transform 1.2s cubic-bezier(.77, 0, .18, 1);
    z-index: 2;
}

.reveal.show::after {
    transform: translateX(100%);
}

/* ===== IMAGEN CLICKABLE ===== */
.zoomable {
    cursor: zoom-in;
    transition: 0.4s ease;
}

.zoomable:hover {
    transform: scale(1.02);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9999;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    transform: scale(0.8);
    transition: 0.4s ease;
}

.modal.active img {
    transform: scale(1);
}

/* ===== CRONOGRAMA SECTION FIX ===== */
.cronograma {
    padding: 80px 60px;
    text-align: center;
}

/* ===== CONVOCATORIA ===== */
.convocatoria {
    padding: 80px 60px;
    text-align: center;
    background: #ffffff;
}

.convocatoria-box {
    max-width: 900px;
    margin: 0 auto 40px auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.convocatoria-box h3 {
    font-size: 28px;
    color: #0c5c27;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.convocatoria-box p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}

.convocatoria-box .bases {
    margin-top: 20px;
    font-weight: 600;
    color: #1a8f3c;
}

/* ===== PDF VISOR ===== */
.pdf-container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.pdf-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* MOBILE */
@media(max-width:768px) {
    .convocatoria {
        padding: 60px 20px;
    }

    .pdf-container iframe {
        height: 500px;
    }
}

.btn-download {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border-radius: 30px;
    background: #1a8f3c;
    color: #fff;
    text-decoration: none;
}

/* ===== SIDE INDEX ===== */
.side-index {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.side-index .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    transition: 0.3s;
}

.side-index .dot.active {
    background: #1a8f3c;
    transform: scale(1.4);
}

/* ocultar en mobile */
@media(max-width:900px) {
    .side-index {
        display: none;
    }
}

.apple-anim {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    transition: all 1s cubic-bezier(.22, .61, .36, 1);
}

.apple-anim.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

section {
    scroll-margin-top: 120px;
}

.trust-bar {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
}

.badge-oficial {
    display: inline-block;
    background: #0c5c27;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.deadline {
    margin-top: 15px;
    color: #c62828;
    font-weight: 600;
}

.cta-final {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0c5c27, #1a8f3c);
    color: #fff;
}

section {
    animation: fadeIn 1s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== WHY SECTION CAMPAÑA ===== */
/* ===== WHY SECTION ULTRA PRO ===== */
.why-section {
    position: relative;
    padding: 120px 60px;
    text-align: center;
    background: linear-gradient(135deg, #f3f7f4, #e3f3ea);
    overflow: hidden;
}

/* glow fondo */
.why-section::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(26, 143, 60, 0.18), transparent 70%);
    top: -150px;
    right: -150px;
    z-index: 0;
}

/* subtitulo */
.why-sub {
    font-size: 22px;
    color: #1b5e20;
    margin-bottom: 60px;
}

/* GRID */
.why-cards {
    position: relative;
    z-index: 2;
    gap: 35px;
}

/* CARD */
.why-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    border: 1px solid rgba(26, 143, 60, 0.1);
}

/* ICONO */
.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a8f3c, #0c5c27);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(26, 143, 60, 0.3);
}

/* GLOW */
.why-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 143, 60, 0.25), transparent 70%);
    top: -80px;
    left: -80px;
    opacity: 0;
    transition: 0.4s;
}

/* shine effect */
.why-card::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -50%;
    left: -50%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transform: rotate(25deg);
    transition: 0.6s;
}

/* hover */
.why-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 70px rgba(26, 143, 60, 0.25);
    border: 1px solid rgba(26, 143, 60, 0.4);
}

.why-card:hover .why-glow {
    opacity: 1;
}

.why-card:hover::after {
    opacity: 1;
    left: 120%;
}

/* TITULO */
.why-card h3 {
    font-size: 22px;
    color: #0c5c27;
    margin-bottom: 10px;
    font-weight: 700;
}

/* TEXTO */
.why-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* linea animada */
.why-card p::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, #1a8f3c, #0c5c27);
    transition: 0.4s;
}

.why-card:hover p::after {
    width: 70px;
}

/* MOBILE */
@media(max-width:768px) {
    .why-section {
        padding: 70px 20px;
    }

    .why-sub {
        font-size: 16px;
    }
}