/********************************CONTACTO **********************************************/
/* ==================== CONTACT HERO ==================== */
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==================== CONTACT WRAPPER ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ==================== CONTACT FORM ==================== */
.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 0.6s ease;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #667eea;
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Source Code Pro', monospace;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Source Code Pro', monospace;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* ==================== FORM VALIDATION ==================== */
.input-error {
    border-color: #e74c3c !important;
    background: #fff5f5 !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.error-message::before {
    content: "⚠";
}

.success-message {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    animation: slideInDown 0.5s ease;
}

.success-message i {
    font-size: 2rem;
}

/* ==================== CONTACT INFO SECTION ==================== */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInRight 0.6s ease;
}

.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.info-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.info-content p {
    color: #666;
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

/* ==================== SOCIAL CONTACT ==================== */
.social-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.social-contact h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links-contact a {
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links-contact a:hover {
    transform: scale(1.2) rotate(5deg);
}

.social-links-contact a:nth-child(1):hover { color: #1877f2; } /* Facebook */
.social-links-contact a:nth-child(2):hover { color: #E4405F; } /* Instagram */
.social-links-contact a:nth-child(3):hover { color: #1DA1F2; } /* Twitter */
.social-links-contact a:nth-child(4):hover { color: #25D366; } /* WhatsApp */
.social-links-contact a:nth-child(5):hover { color: #FF0000; } /* YouTube */

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-section,
    .contact-info-section {
        animation: fadeInUp 0.6s ease;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 1rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
    }

    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 1rem 0.5rem;
    }

    .contact-hero {
        margin-bottom: 2rem;
    }

    .btn-submit {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .social-links-contact a {
        font-size: 2rem;
    }
}