.contact-page {
    background: var(--dark-background, linear-gradient(135deg, #0F1B1B 0%, #1C2121 100%));
    min-height: 100vh;
    color: #fff;
    position: relative;
}

/* Asegurar que los enlaces funcionen correctamente */
.nav__links {
    pointer-events: auto !important;
    z-index: 9999;
    position: relative;
    color: #14B8A6;
}

.nav__logo a {
    pointer-events: auto !important;
    z-index: 9999;
    position: relative;
}

/* Asegurar que el header esté por encima de otros elementos */
.contact-page header {
    position: relative;
    z-index: 1000;
}

.nav {
    position: relative;
    z-index: 1001;
}

.contact-main {
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.contact-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.contact-subtitle {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
    font-weight: 500;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #fff);
    background: rgba(32, 145, 249, 0.1);
    box-shadow: 0 0 15px rgba(32, 145, 249, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #4fd1c5;
    color: #fff;
    padding: 1rem 2rem;
    border: 2px solid #4fd1c5;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 209, 197, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: transparent;
    color: #4fd1c5;
    border: 2px solid #4fd1c5;
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.3);
}

/* Efectos decorativos */
.contact-page::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(32, 145, 249, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(32, 145, 249, 0.1) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 1;
}

.contact-content::before,
.contact-content::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

.contact-content::before {
    background: rgba(32, 145, 249, 0.1);
    top: -150px;
    left: -150px;
}

.contact-content::after {
    background: rgba(32, 145, 249, 0.05);
    bottom: -100px;
    right: -100px;
}

/* Estilos del footer en página de contacto */
.contact-page .footer {
    position: relative;
    z-index: 10;
    background: #0a0f0f;
    margin-top: 4rem;
}

.contact-page .footer__legal-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-page .footer__legal-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    z-index: 100;
    position: relative;
}

.contact-page .footer__legal-links a:hover {
    color: #4fd1c5;
    text-decoration: underline;
}

/* Notificación de formulario */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.form-notification.fade-out {
    opacity: 0;
    transform: translateX(400px);
}

.form-notification.success {
    border-left: 4px solid #4fd1c5;
}

.form-notification.error {
    border-left: 4px solid #ef4444;
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-notification.success .notification-icon {
    background: rgba(79, 209, 197, 0.15);
    color: #4fd1c5;
}

.form-notification.error .notification-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.notification-content {
    flex: 1;
    color: #fff;
}

.notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.notification-message {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.notification-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #fff;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}