/* Estilos modernos para la página de contacto */

/* Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-hero-badges .badge {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-method-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color, #667eea), var(--card-color-light, #764ba2));
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, var(--card-color, #667eea), var(--card-color-light, #764ba2));
}

.whatsapp-card {
    --card-color: #25d366;
    --card-color-light: #128c7e;
}

.phone-card {
    --card-color: #007bff;
    --card-color-light: #0056b3;
}

.email-card {
    --card-color: #dc3545;
    --card-color-light: #c82333;
}

.location-card {
    --card-color: #28a745;
    --card-color-light: #1e7e34;
}

.contact-method-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.contact-method-card p {
    color: #666;
    margin-bottom: 25px;
}

.contact-method-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--card-color, #667eea), var(--card-color-light, #764ba2));
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.contact-method-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-container {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-title i {
    color: #667eea;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form .form-floating > label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.form-actions .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.form-note {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Contact Info Container */
.contact-info-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-title i {
    color: #667eea;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

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

.info-content h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Social Links */
.social-links-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.social-links-section h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 250px;
}

.map-info h5 {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.map-info p {
    color: #666;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    border-radius: 15px;
    padding: 20px;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px;
    background: white;
    color: #666;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-methods-section,
    .contact-form-section,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .map-overlay {
        position: static;
        margin-top: 20px;
        max-width: none;
    }
    
    .contact-info-container {
        margin-top: 30px;
        position: static;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 60px 0 40px;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-method-card {
        padding: 30px 20px;
    }
    
    .contact-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

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

.contact-method-card,
.contact-form-container,
.contact-info-container {
    animation: fadeInUp 0.6s ease forwards;
}

/* Estados de carga del formulario */
.btn-loading {
    display: inline-block !important;
}

.form-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
