/* ====================================
   MODAL DE CONTACTO - ESTILOS
   ==================================== */

/* Modal Container */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s ease-in-out;
}

@keyframes fadeInModal {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.6);
    }
}

/* Modal Content */
.contact-modal-content {
    background-color: var(--color-white);
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideInModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInModal {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.contact-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    color: var(--color-primary);
}

/* Modal Header */
.contact-modal-header {
    background: linear-gradient(135deg, #5B9FFF 0%, #0066FF 100%);
    color: var(--color-white);
    padding: 40px 30px 30px 30px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.contact-modal-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: var(--font-heading);
}

.contact-modal-header p {
    font-size: var(--font-size-sm);
    opacity: 1;
    margin: 0;
    color: var(--color-text-primary);
}

/* Modal Body */
.contact-modal-body {
    padding: 40px 30px;
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8F1FF;
    border-radius: 12px;
    color: #5B9FFF;
}

.contact-details h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.contact-details a {
    font-size: var(--font-size-lg);
    color: #5B9FFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    color: #0066FF;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-modal-content {
        width: 95%;
        max-width: 100%;
    }

    .contact-modal-header {
        padding: 30px 20px 20px 20px;
    }

    .contact-modal-header h2 {
        font-size: var(--font-size-2xl);
    }

    .contact-modal-body {
        padding: 30px 20px;
    }

    .contact-info-item {
        gap: 15px;
        margin-bottom: 25px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
}

/* ====================================
   AJUSTES DEL HERO Y NAVBAR
   ==================================== */

/* Hero Content - Ajustar espaciado */
.hero-content {
    padding-bottom: 60px;
}

.hero-subtitle {
    margin-bottom: 40px;
}

/* Navbar - Rellenar espacio */
.nav-container {
    padding: 0 var(--spacing-xl);
    gap: var(--spacing-lg);
}

.nav-menu {
    flex: 1;
    justify-content: flex-end;
}

.btn-contact {
    margin-left: var(--spacing-lg) !important;
    padding-right: 0 !important;
}
