/* ===== CONTACTO PAGE STYLES ===== */

/* Contact Page Body */
.contact-page {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Contact Quick Info Icons */
.contact-icon-small {
    width: 50px;
    height: 50px;
    background: #ff8c42;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.contact-icon-small:hover::before {
    width: 60px;
    height: 60px;
}

.contact-icon-small i {
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.contact-quick-info {
    margin-top: 2rem;
}

.contact-quick-info strong {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.contact-quick-info span {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #faa563 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

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

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-hero-image {
    position: relative;
    z-index: 1;
}

.contact-hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.contact-hero-image img:hover {
    transform: translateY(-10px);
}

/* Contact Cards */
.contact-info {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #f38022);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #f4821f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.contact-card:hover .contact-icon::before {
    width: 100px;
    height: 100px;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    width: auto;
}

.contact-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-card .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.contact-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-card .btn span {
    position: relative;
    z-index: 2;
}

.contact-card .btn:hover {
    color: white;
    border-color: var(--primary-color);
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
    position: relative;
}

.contact-form-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 100 100"><circle cx="50" cy="50" r="2" fill="rgba(0,123,255,0.05)"/></svg>');
    opacity: 0.5;
}

.contact-form-wrapper {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.05);
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Form Styles */
.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.1);
    background: white;
    transform: translateY(-2px);
}

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

.form-check-input {
    border-radius: 6px;
    border: 2px solid #dee2e6;
    width: 1.25rem;
    height: 1.25rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #f4821f);
    border: none;
    border-radius: 25px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.3);
}

/* FAQ Section */
.faq-section {
    background: white;
}

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

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), #f4821f);
    color: white;
    box-shadow: none;
}

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

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23007bff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem 2rem 2rem;
    background: #fafbfc;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Social Media Section */
.social-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.social-section .container {
    position: relative;
    z-index: 2;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 120px;
}

.social-icon:hover {
    color: white;
    transform: translateY(-10px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.social-icon i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.social-icon span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 991px) {
    .contact-hero {
        padding: 100px 0 70px;
        min-height: auto;
    }
    
    .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-hero {
        padding: 90px 0 60px;
        min-height: auto;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-icons-large {
        gap: 1rem;
    }
    
    .social-icon {
        min-width: 100px;
        padding: 1rem;
    }
    
    .social-icon i {
        font-size: 2rem;
    }
    
    .contact-info {
        margin-top: -40px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .contact-hero {
        padding: 80px 0 50px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-hero p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .social-icons-large {
        flex-direction: column;
        align-items: center;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn {
    position: relative;
}

.loading .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert-custom {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* ===== COL-LG-6 PADDING EN RESPONSIVO ===== */
@media (max-width: 991px) {
    .contact-hero .col-lg-6 {
        padding: 20px 15px;
    }
    
    .contact-hero .col-lg-6:first-child {
        padding-top: 30px;
        padding-bottom: 20px;
    }
    
    .contact-hero .col-lg-6:last-child {
        padding-top: 10px;
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero .col-lg-6 {
        padding: 15px 10px;
    }
    
    .contact-hero .col-lg-6:first-child {
        padding-top: 40px;
        padding-bottom: 15px;
    }
    
    .contact-hero .col-lg-6:last-child {
        padding-top: 15px;
        padding-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .contact-hero .col-lg-6 {
        padding: 10px;
    }
    
    .contact-hero .col-lg-6:first-child {
        padding-top: 50px;
        padding-bottom: 10px;
    }
    
    .contact-hero .col-lg-6:last-child {
        padding-top: 10px;
        padding-bottom: 50px;
    }
}

/* ===== PADDING ESPECÍFICO PARA COL-LG-6 AOS ===== */
.col-lg-6.aos-init.aos-animate:first-child {
    padding: 30px 15px;
}

@media (max-width: 768px) {
    .col-lg-6.aos-init.aos-animate:first-child {
        padding: 40px 15px;
    }
}

@media (max-width: 576px) {
    .col-lg-6.aos-init.aos-animate:first-child {
        padding: 50px 15px;
    }
}
