/* --- Estilos para la página "Contact Us" --- */

.contact-us-main {
    padding: 40px 0;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px; /* Ancho máximo para el efecto "boxed" */
    margin: 0 auto; /* Centra la sección */
    gap: 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    align-items: flex-start;
}

.locations-accordion-wrapper h2,
.contact-form-wrapper h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 25px;
}

/* --- Estilos del Acordeón --- */
.accordion {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-item {
    border-top: 1px solid #e0e0e0;
}

.accordion-item.active .accordion-header {
    background-color: #fdf8e4;
    color: var(--text-color);
}

.accordion-header {
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 5px;
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-icon {
    position: relative;
    width: 14px;
    height: 14px;
    transition: transform 0.4s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-color);
    transition: transform 0.4s ease;
}

.accordion-icon::before { /* Barra vertical */
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-icon::after { /* Barra horizontal */
    top: 50%;
    left: 0;
    height: 2px;
    width: 100%;
    transform: translateY(-50%);
}

.accordion-item.active .accordion-icon {
    transform: rotate(135deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    padding: 0 15px;
    background-color: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.accordion-content p {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.5;
}

.social-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease;
}
.social-btn:hover {
    transform: scale(1.1);
}
.social-btn.facebook { background-color: #3b5998; }
.social-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }


/* --- Estilos del Formulario de Contacto --- */
.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.contact-form label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 5px;
    border: none;
    border-bottom: 2px solid #ddd;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    box-sizing: border-box;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.contact-form select:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-submit-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 22px;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #e6c31e;
}

.captcha-group input {
    max-width: 150px;
}

/* --- Media Queries para Móvil --- */
@media (max-width: 992px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}