/* edufin.css - EDUFIN UA Custom Styles */

/* Modal de Suscripción EDUFIN UA - Integrado desde landing */
.edufin-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.edufin-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 8% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from { transform: translateY(-60px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.edufin-modal-header {
    background: rgba(255,255,255,0.12);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.edufin-modal-header h2 {
    color: white;
    margin: 0 0 0.8rem 0;
    font-size: 1.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.edufin-modal-header p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.edufin-modal-body {
    padding: 2.2rem 2rem;
}

.edufin-form-group {
    margin-bottom: 1.6rem;
}

.edufin-form-group label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

.edufin-form-group input {
    width: 100%;
    padding: 1.1rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.edufin-form-group input::placeholder {
    color: rgba(255,255,255,0.7);
}

.edufin-form-group input:focus {
    outline: none;
    border-color: #00BFFF;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 0 3px rgba(0,191,255,0.25), 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* RGPD Optimizado */
.edufin-rgpd {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 1.4rem;
    margin: 1.8rem 0;
    font-size: 0.9rem;
}

.edufin-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.2rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.edufin-checkbox-group:hover {
    background: rgba(255,255,255,0.08);
}

.edufin-checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #00BFFF;
}

.edufin-checkbox-group label {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
    cursor: pointer;
}

.edufin-rgpd-links {
    text-align: center;
    margin-top: 1rem;
}

.edufin-rgpd-links a {
    color: #87CEEB;
    text-decoration: none;
    margin: 0 8px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.edufin-rgpd-links a:hover {
    text-decoration: underline;
    color: white;
}

.edufin-modal-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.2rem;
}

.edufin-btn {
    flex: 1;
    padding: 1.1rem 1.5rem;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.edufin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.edufin-btn:hover::before {
    left: 100%;
}

.edufin-btn-primary {
    background: linear-gradient(135deg, #00BFFF 0%, #0099CC 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0,191,255,0.3);
}

.edufin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,191,255,0.4);
}

.edufin-btn-primary:disabled {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.edufin-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.edufin-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.edufin-modal-close {
    color: rgba(255,255,255,0.7);
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.edufin-modal-close:hover {
    color: white;
    background: rgba(255,255,255,0.15);
    transform: rotate(90deg);
}

.edufin-success-message {
    text-align: center;
    color: white;
    padding: 1rem;
}

.edufin-success-message .checkmark {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    display: block;
    animation: checkmarkBounce 0.6s ease-out;
}

@keyframes checkmarkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.edufin-success-message h3 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.edufin-success-message p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Security Indicator */
.edufin-security-indicator {
    position: fixed;
    bottom: 60px;
    right: 25px;
    background: rgba(0, 191, 255, 0.95);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1001;
    display: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.edufin-security-indicator.active { 
    display: block; 
    transform: translateY(0);
}

.edufin-security-indicator.warning { 
    background: rgba(255, 165, 0, 0.95); 
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .edufin-modal-content { 
        margin: 5% auto; 
        width: 95%; 
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .edufin-modal-header, .edufin-modal-body { 
        padding: 1.5rem; 
    }

    .edufin-modal-header h2 {
        font-size: 1.6rem;
    }

    .edufin-modal-buttons { 
        flex-direction: column; 
        position: sticky;
        bottom: 0;
        background: inherit;
        padding-top: 1.2rem;
        margin-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .edufin-checkbox-group {
        padding: 16px 14px;
        gap: 16px;
        background: rgba(255,255,255,0.06);
        border-radius: 14px;
    }

    .edufin-checkbox-group input[type="checkbox"] {
        width: 26px;
        height: 26px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .edufin-checkbox-group label {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .edufin-rgpd {
        margin: 1.2rem 0;
    }

    .edufin-form-group {
        margin-bottom: 1.4rem;
    }

    .edufin-security-indicator {
        bottom: 20px;
        right: 15px;
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* Animaciones adicionales */
.edufin-modal.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.edufin-modal.fade-out {
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Fix para viewport móvil */
.edufin-modal {
    position: fixed;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mejora de accesibilidad */
.edufin-modal:focus {
    outline: none;
}

.edufin-btn:focus, .edufin-form-group input:focus {
    outline: 2px solid #00BFFF;
    outline-offset: 2px;
}

/* Integration with existing EDUFIN styles */
.btn-edufin-inscripcion {
    background: linear-gradient(135deg, #00BFFF 0%, #0099CC 100%);
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-edufin-inscripcion:hover {
    background: linear-gradient(135deg, #0099CC 0%, #007BA7 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,191,255,0.4);
}

/* Efectos hover para las medallas de premios */
.team-item {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.team-item:hover {
    transform: translateY(-8px);
}

/* Efecto hover específico para cada medalla */
.team-item:hover div[style*="linear-gradient(135deg, #FFD700"] {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.team-item:hover div[style*="linear-gradient(135deg, #C0C0C0"] {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 15px 35px rgba(192, 192, 192, 0.4);
}

.team-item:hover div[style*="linear-gradient(135deg, #CD7F32"] {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 15px 35px rgba(205, 127, 50, 0.4);
}

/* Efecto en las cajas de información */
.team-item:hover .name > div {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Efecto en los precios */
.team-item:hover h4 {
    transform: scale(1.05);
}

/* Animación del emoji de medalla */
.team-item:hover div[style*="border-radius: 50%"] {
    animation: medalBounce 0.6s ease-out;
}

@keyframes medalBounce {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1.15) rotate(-2deg); }
    75% { transform: scale(1.05) rotate(3deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

/* Efectos hover para el calendario */
.calendar-item {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.calendar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

/* Efectos específicos para cada círculo de fecha */
.calendar-item:hover div[style*="background: #03a9f5"] {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(3, 169, 245, 0.4);
}

.calendar-item:hover div[style*="background: #f033b5"] {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(240, 51, 181, 0.4);
}

/* Efecto en los títulos */
.calendar-item:hover h5 {
    transform: translateX(5px);
}

/* Animación sutil del emoji */
.calendar-item:hover div[style*="border-radius: 50%"] {
    animation: calendarPulse 0.8s ease-out;
}

@keyframes calendarPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

/* Efecto adicional en las fechas */
.calendar-item:hover p {
    color: #333 !important;
    font-weight: 700;
}

/* Estilos para la sección de descarga con efectos hover espectaculares */
.download-materials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 20px 0;
}

.download-item {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.download-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.download-item:hover::before {
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

/* Efectos hover específicos por tipo */
.triptico-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #007bff;
    box-shadow: 0 20px 40px rgba(0,123,255,0.25);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.cartel-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #f033b5;
    box-shadow: 0 20px 40px rgba(240,51,181,0.25);
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

/* Icono con animación */
.download-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.triptico-item .download-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.cartel-item .download-icon {
    background: linear-gradient(135deg, #f033b5 0%, #c02a92 100%);
    color: white;
}

.download-icon i {
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

/* Efecto de pulso en el icono */
.download-item:hover .download-icon {
    transform: scale(1.2) rotate(10deg);
    animation: iconPulse 1s ease-in-out infinite alternate;
}

.download-item:hover .download-icon i {
    transform: scale(1.1);
}

@keyframes iconPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    100% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}

/* Contenido del download */
.download-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    transition: all 0.3s ease;
}

.download-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.download-size {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-item:hover .download-content h6 {
    color: #222;
    transform: translateY(-2px);
}

.download-item:hover .download-content p {
    color: #444;
}

.triptico-item:hover .download-size {
    color: #007bff;
}

.cartel-item:hover .download-size {
    color: #f033b5;
}

/* Botón overlay espectacular */
.download-btn-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.9) 100%);
    color: white;
    padding: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.download-item:hover .download-btn-overlay {
    transform: translateY(0);
}

.download-btn-overlay i {
    font-size: 1.1rem;
    animation: downloadBounce 2s ease-in-out infinite;
}

@keyframes downloadBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.download-btn-overlay:hover {
    background: linear-gradient(135deg, rgba(0,123,255,0.9) 0%, rgba(240,51,181,0.9) 100%);
    color: white;
    text-decoration: none;
}

/* Responsive para downloads */
@media (max-width: 768px) {
    .download-materials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-item {
        padding: 20px;
    }
    
    .download-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .download-icon i {
        font-size: 1.5rem;
    }
}

/* Estilos para sponsors institucionales profesionales */
.institutional-sponsors {
    display: block !important;
    margin-bottom: 2rem;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0;
}

.sponsor-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.sponsor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sponsor-item:hover::before {
    left: 100%;
}

.sponsor-item a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.sponsor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.sponsor-icon {
    font-size: 1.4rem;
    margin-top: 3px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sponsor-item.primary .sponsor-icon {
    color: #007bff;
}

.sponsor-item.collaborator .sponsor-icon {
    color: #28a745;
}

.sponsor-item.ministry .sponsor-icon {
    color: #dc3545;
}

.sponsor-item.foundation .sponsor-icon {
    color: #6f42c1;
}

.sponsor-item:hover .sponsor-icon {
    transform: scale(1.2) rotate(5deg);
}

.sponsor-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #2c3e50;
    display: block;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.sponsor-role {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.sponsor-item:hover .sponsor-name {
    color: #007bff;
}

.sponsor-item:hover .sponsor-role {
    color: #495057;
}

/* Efectos específicos por tipo */
.sponsor-item.primary:hover {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
}

.sponsor-item.collaborator:hover {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
}

.sponsor-item.ministry:hover {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fdeaea 0%, #ffffff 100%);
}

.sponsor-item.foundation:hover {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .sponsor-item {
        padding: 15px;
    }
    
    .sponsor-name {
        font-size: 0.9rem;
    }
    
    .sponsor-role {
        font-size: 0.75rem;
    }
    
    .sponsor-icon {
        font-size: 1.2rem;
    }
}

/* Enhanced Contact Section */
.enhanced-contact {
    position: relative;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.primary-contact:hover {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
}

.email-contact:hover {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
}

.web-contact:hover {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
}

.department-contact:hover {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.primary-contact .contact-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.email-contact .contact-icon {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.web-contact .contact-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.department-contact .contact-icon {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
    animation: contactIconPulse 1s ease-in-out infinite alternate;
}

@keyframes contactIconPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    100% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}

.contact-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.contact-info a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-card:hover .contact-info h5 {
    color: #007bff;
}

.contact-card:hover .contact-info a {
    color: #495057;
    transform: translateX(3px);
}

/* CTA Section */
.contact-cta-section {
    display: flex;
    align-items: center;
    height: 100%;
}

.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 40px 35px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    width: 100%;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: ctaFloat 6s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(-25%, -25%) rotate(0deg); }
    50% { transform: translate(-15%, -35%) rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.5;
}

.cta-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.highlight-item {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #FFD700;
}

.highlight-item span {
    font-size: 0.85rem;
    line-height: 1.3;
}

.btn-cta-main {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.btn-cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-cta-main:hover::before {
    left: 100%;
}

.btn-cta-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.btn-cta-icon {
    transition: transform 0.3s ease;
}

.btn-cta-main:hover .btn-cta-icon {
    transform: translateX(5px);
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 15px;
}

.cta-note i {
    color: #4CAF50;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-cta-section {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .cta-card {
        padding: 30px 25px;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-cta-main {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ESTILOS PARA MODAL AMPLIADO - AÑADIR AL FINAL */

/* Toggle de tipo de registro */
.edufin-registration-toggle {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1.5rem;
}

.toggle-header h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.toggle-header p {
    color: rgba(255,255,255,0.8);
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.toggle-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.toggle-option {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toggle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-option label {
    display: block;
    padding: 1.2rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0;
}

.toggle-option label i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.7);
}

.option-title {
    display: block;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.option-desc {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}

.toggle-option.active label {
    background: rgba(0,191,255,0.2);
    border-color: #00BFFF;
    transform: translateY(-2px);
}

.toggle-option.active label i {
    color: #00BFFF;
}

.toggle-option:hover label {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* Secciones del formulario */
.edufin-form-section {
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
}

.section-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.section-title i {
    color: #00BFFF;
    font-size: 1.1rem;
}

/* Textarea específico */
.edufin-form-group textarea {
    width: 100%;
    padding: 1.1rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
    min-height: 80px;
}

.edufin-form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.edufin-form-group textarea:focus {
    outline: none;
    border-color: #00BFFF;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 0 3px rgba(0,191,255,0.25), 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* Field hints */
.field-hint {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    font-style: italic;
}

/* Info box del concurso */
.edufin-contest-info {
    margin: 1.5rem 0;
}

.info-box {
    background: rgba(0,191,255,0.15);
    border: 1px solid rgba(0,191,255,0.3);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-box i {
    color: #00BFFF;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box strong {
    color: white;
    display: block;
    margin-bottom: 8px;
}

.info-box ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    color: rgba(255,255,255,0.9);
}

.info-box li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* Responsive del modal ampliado */
@media (max-width: 768px) {
    .toggle-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .toggle-option label {
        padding: 1rem 0.8rem;
    }
    
    .option-title {
        font-size: 0.9rem;
    }
    
    .option-desc {
        font-size: 0.75rem;
    }
    
    .edufin-form-section {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 0.95rem;
    }
    
    .info-box {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-box ul {
        padding-left: 16px;
    }
}

/* Animaciones para campos que aparecen/desaparecen */
.contest-only {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}