/* ================================================== */
/* CONTACT-SECTION.CSS - ESTILO CLARO CON BORDES CUADRADOS */
/* ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
    color: #343a40;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 25px;
}

.contact-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.contact-header h2:hover::after {
    width: 200px;
}

.contact-header p {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* FORM STYLES - Estilo del formulario ancho con bordes cuadrados */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #343a40;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 0; /* BORDES CUADRADOS */
    color: #343a40;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: #6c757d;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* BUTTON STYLES - BORDES CUADRADOS */
.btn-primary {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    border: none;
    border-radius: 0; /* BORDES CUADRADOS */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #7c3aed, #4ade80);
}

.btn-primary:active {
    transform: translateY(0);
}

/* MENSAJES EMERGENTES */
.form-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    max-width: 350px;
    padding: 1rem 1.5rem;
    background: #ffffff;
    color: #343a40;
    border-radius: 0; /* BORDES CUADRADOS */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid transparent;
}

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

.form-notification--success {
    border-left-color: #2563eb;
}

.form-notification--error {
    border-left-color: #dc2626;
}

.form-notification__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-notification--success .form-notification__icon {
    color: #2563eb;
}

.form-notification--error .form-notification__icon {
    color: #dc2626;
}

.form-notification__content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.form-notification__content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .form-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: calc(100% - 2rem);
    }
}