/* ===== HERO SECTION PREMIUM ===== */

/* Hero Section Principal */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
}

.hero-background::before {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
    padding: 3rem 0;
}

.hero-text {
    color: #ffffff;
}

/* Título Principal */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: #ffc107 !important;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.5), rgba(255, 213, 79, 0.3));
    border-radius: 4px;
    z-index: -1;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    font-weight: 400;
}

/* Features - Badges mejorados */
.hero-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff !important;
    letter-spacing: 0.2px;
}

/* Botones CTA Mejorados */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta .btn-primary {
    background: #2e7d32 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
    border: none !important;
    font-size: 1rem !important;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.hero-cta .btn-primary:hover {
    background: #1b5e20 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

.hero-cta .btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 14px 32px !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

/* Área de Imagen */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-img:hover {
    transform: scale(1.04) rotate(1deg);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Placeholder decorativo */
.hero-image::before {
    content: '🎓';
    position: absolute;
    font-size: 10rem;
    opacity: 0.15;
    z-index: -1;
    animation: floatEmoji 4s ease-in-out infinite;
}

@keyframes floatEmoji {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* ===== WELCOME SECTION PREMIUM ===== */
.welcome-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f0f4f0 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2e7d32, #ffc107, #4caf50, #ffc107, #2e7d32);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.welcome-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.highlight-green {
    color: #2e7d32;
    position: relative;
}

.welcome-description {
    font-size: 1.2rem;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #555555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.15rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}