/* Sección Header de Contacto */
.contacto-header {
    margin-top: calc(149px + 20px);
    padding: var(--spacing-lg) 0;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.contacto-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1da1a3;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contacto-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Sección de Formulario */
.contacto-form-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.8rem;
    text-align: center;
    font-weight: 600;
}

.form-underline {
    width: 70px;
    height: 3px;
    background-color: #1da1a3;
    margin: 0 auto 15px;
}

.form-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #777;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contacto-form {
    display: grid;
    grid-gap: 20px;
}

.form-group {
    position: relative;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    transition: border-color 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: #1da1a3;
    box-shadow: 0 0 0 2px rgba(29, 161, 163, 0.1);
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
    color: #aaa;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.legal-link {
    color: #1da1a3;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-link:hover {
    color: #146d6f;
    text-decoration: underline;
}

.submit-btn {
    background-color: #1da1a3;
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #146d6f;
    transform: translateY(-2px);
}

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

/* Sección de Información de Contacto */
.contacto-info-section {
    padding: 60px 0;
    background-color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-container {
    width: 70px;
    height: 70px;
    background-color: #1da1a3;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container i {
    color: white;
    font-size: 1.8rem;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.info-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.social-links-2 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.social-links-2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #666;
    transition: background-color 0.3s, color 0.3s;
}

.social-links-2 a:hover {
    background-color: #1da1a3;
    color: white;
}

/* Sección de Mapas */
.mapa-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.mapa-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.mapas-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mapa-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mapa-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #333;
    padding: 20px;
    background-color: #1da1a3;
    color: white;
    margin: 0;
}

.mapa-iframe {
    width: 100%;
    height: 450px;
}

/* Spinner de carga */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.spinner-overlay.visible {
    visibility: visible;
    opacity: 1;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #1da1a3;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes sk-bounce {
    0%, 100% { 
        transform: scale(0);
    } 50% { 
        transform: scale(1.0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mapas-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contacto-title {
        font-size: 2.5rem;
    }
    
    .contacto-subtitle {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 30px 25px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .contacto-title {
        font-size: 2rem;
    }
    
    .contacto-subtitle {
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
    }
    
    .contacto-form input,
    .contacto-form textarea {
        padding: 12px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}