:root {
    --forest-green-dark: #000000;
    --forest-green: hsl(152, 85%, 20%);
    --forest-green-medium: hsl(148, 75%, 30%);
    --forest-green-light: hsl(145, 65%, 45%);
    --sage-green-dark: hsl(142, 45%, 25%);
    --sage-green: hsl(142, 40%, 75%);
    --sage-green-light: hsl(142, 30%, 85%);
    --mint-fresh-dark: hsl(155, 50%, 70%);
    --mint-fresh: hsl(155, 40%, 85%);
    --mint-fresh-light: hsl(155, 30%, 94%);
    --emerald-dark: hsl(160, 85%, 25%);
    --emerald-medium: hsl(160, 75%, 35%);
    --emerald-light: hsl(160, 60%, 50%);
    --nature-gold: hsl(45, 95%, 55%);
    --earth-brown: hsl(25, 40%, 45%);
    --sky-blue: hsl(200, 100%, 85%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --gray-light: hsl(0, 0%, 95%);
    --gray-medium: hsl(0, 0%, 85%);
    --gray-dark: hsl(0, 0%, 15%);
    --gradient-primary: linear-gradient(135deg, var(--forest-green-dark), var(--forest-green-medium));
    --gradient-nature: linear-gradient(180deg, var(--mint-fresh-light), var(--sage-green-light));
    --gradient-hero: linear-gradient(135deg, hsl(158, 95%, 15%, 0.34), hsl(142, 45%, 25%, 0.5));
    --gradient-accent: linear-gradient(45deg, var(--nature-gold), hsl(35, 90%, 60%));
    --gradient-emerald: linear-gradient(135deg, var(--emerald-dark), var(--emerald-light));
    --gradient-forest: linear-gradient(45deg, var(--forest-green), var(--forest-green-light));
    --shadow-soft: 0 4px 20px hsl(152, 85%, 20%, 0.12);
    --shadow-medium: 0 8px 30px hsl(148, 75%, 30%, 0.18);
    --shadow-strong: 0 12px 40px hsl(158, 95%, 15%, 0.25);
    --shadow-emerald: 0 6px 25px hsl(160, 75%, 35%, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif
}




/* ================================
   ESTILOS PARA PREGUNTAS DE ELEGIBILIDAD
   ================================ */

/* Optimización del video hero */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Loading spinner para cuando se carga el video */
.hero-video-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.eligibility-section {
    background: #2a2a2a;
    padding: 1px 20px 20px;
    border-radius: 8px;
    border: 1px solid #404040;
}

.eligibility-section h4 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 1.1em;
}

.eligibility-section h4 svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    stroke: #ffffff;
}

.eligibility-section > p {
    color: #d1d1d1;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.eligibility-question {
    margin-bottom: 20px;
}

.eligibility-question > label {
    display: block;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 500;
    color: #e0e0e0;
}

.radio-group {
    display: flex;
    gap: 40px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease;
    color: #d1d1d1;
}

.radio-group label:hover {
    color: #e47835;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #e47835;
}

#eligibilityResult {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    animation: fadeIn 0.3s ease-in;
    background: #2a2a2a;
    color: #ffffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para preguntas de elegibilidad */
@media (max-width: 768px) {
    .eligibility-section {
        padding: 15px;
        margin-bottom: 20px;

    }
    
    .eligibility-section h4 {
        font-size: 1em;
    }
    
    .radio-group {
        gap: 40px;
    }
    
    .eligibility-question label {
        font-size: 0.95em;
    }

    .project-showcase {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    }

}


@media (max-width: 767px) {
    .landing-contacto-section h2 {
        font-size: 2rem;
        margin-top: 3rem !important;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-top: 8rem;
    }
}


/* ================================
   ESTILOS HOVER PARA BOTONES
   ================================ */

.btn-hero:hover {
    background: #e47835 !important;
}

.btn-accent:hover {
    background-color: #e47835 !important;
    color: var(--white);
}

/* ================================
   ESTILOS DEL FORMULARIO LANDING PAGE
   ================================ */

.landing-contacto-section {
    padding: 0 0 3rem 0;
    background: var(--white)
}

.landing-contacto-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem
}

.landing-form-card {
    background: #1a1a1a;
    border-radius: .5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden
}

.landing-form-header {
    padding: 1.5rem;
    border-bottom: 1px solid #333
}

.landing-form-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: .5rem
}

.landing-form-header p {
    color: #d1d1d1;
    opacity: .9;
    margin: 0
}

.landing-contact-form {
    padding: 1.5rem;
    background: #1a1a1a;
}

.landing-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.landing-form-group {
    display: flex;
    flex-direction: column
}

.landing-form-group label {
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: .5rem
}

.landing-form-group input,
.landing-form-group select,
.landing-form-group textarea {
    padding: .75rem;
    border: 1px solid #404040;
    border-radius: .375rem;
    font-size: 1rem;
    transition: var(--transition-smooth);
    resize: none;
    background: #2a2a2a;
    color: #ffffff;
}

.landing-form-group input::placeholder,
.landing-form-group select::placeholder,
.landing-form-group textarea::placeholder {
    color: #808080;
}

.landing-form-group input:focus,
.landing-form-group select:focus,
.landing-form-group textarea:focus {
    outline: 0;
    border-color: #e47835;
    box-shadow: 0 0 0 3px hsla(32, 65%, 45%, 0.2);
    background: #333;
}

.landing-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.landing-form-checkbox input[type=checkbox] {
    margin-top: .25rem;
    accent-color: #e47835;
}

.landing-form-checkbox label {
    font-size: .875rem;
    color: #d1d1d1;
    opacity: .9;
    line-height: 1.4
}

@media (min-width:768px) {
    .landing-form-row {
        grid-template-columns: repeat(2, 1fr)
    }
}