/* ==========================================================================
   CUSTOM CSS: CONTACTO (Actualizado y Refinado)
   ========================================================================== */

/* 1. Breadcrumb & Top Heading */
.aq-breadcrumb-ptb {
    padding-top: 100px;
}

.aq-blog-inner-top-title,
.aq-breadcrumb-top-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.25;
}

/* 2. Contact Info Cards Area */
.aq-contact-info-area {
    padding-bottom: 60px;
    background-color: #ffffff;
}

.aq-contact-info-wrap {
    padding: 40px 20px 55px;
    background-color: #F8F5FC; /* Fondo sutil derivado de #5c318c con alta claridad */
    border: 1px solid rgba(92, 49, 140, 0.08);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.aq-contact-info-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(92, 49, 140, 0.1);
}

.aq-contact-info-icon {
    font-size: 34px;
    color: #5c318c;
    margin-bottom: 30px;
    display: inline-block;
    line-height: 1;
}

.aq-contact-info-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.24px;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.aq-contact-info-wrap p {
    margin-bottom: 35px;
    color: #6E6E73;
    font-size: 15px;
}

.aq-contact-info-wrap a {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.09px;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aq-contact-info-wrap a:hover {
    color: #5c318c;
    text-decoration: underline;
}

/* 3. Contact Form & Map Area */
.aq-contact-ptb {
    position: relative;
    background-color: #f2f2f2; /* Fondo general unificado para el mapa y contenedor */
}

.aq-contact-map {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    height: 100%;
    width: calc(50% - 65px);
}

.aq-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.aq-contact-us-wrap {
    background-color: #ffffff;
    padding: 80px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-top: 40px;
    margin-bottom: 40px;
}

.aq-contact-us-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.24px;
    color: #1A1A1A;
}

/* Form Controls & Inputs */
.aq-form-label {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
    font-size: 14px;
}

.aq-form-control {
    width: 100%;
    padding: 0 20px;
    border: 1px solid #E0E0E0;
    background-color: #FAFAFA;
    font-size: 15px;
    color: #1A1A1A;
    transition: border-color 0.3s ease;
}

.aq-form-control:focus {
    border-color: #5c318c;
    outline: none;
    background-color: #ffffff;
}

textarea.aq-form-control {
    height: 150px;
    padding-top: 15px;
    resize: vertical;
}

.h-56 {
    height: 56px;
}

.brr-0 {
    border-radius: 0px;
}

.aq-contact-form-btn .aq-btn-subscribe {
    padding: 20px 30px;
    background-color: #5c318c;
    color: #ffffff;
    border: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.aq-contact-form-btn .aq-btn-subscribe:hover {
    background-color: #48266e;
}

/* 4. FAQ / Accordion Area con Iconos Plus/Minus */
.aq-contact-faq-area {
    padding-top: 120px;
    padding-bottom: 100px;
    background-color: #ffffff;
}

.aq-faq-wrap .accordion-items {
    border: 1px solid #E5E5E5;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.aq-faq-wrap .accordion-buttons {
    position: relative;
    width: 100%;
    padding: 20px 65px 20px 25px; /* Espacio a la derecha para el icono circular */
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    color: #1A1A1A;
    display: flex;
    align-items: center;
}

.aq-faq-wrap .accordion-buttons:not(.collapsed) {
    color: #5c318c;
    background-color: #F8F5FC;
}

.aq-faq-wrap .accordion-body {
    padding: 20px 25px;
    color: #6E6E73;
    font-size: 15px;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Estilos de los iconos plus/minus del acordeón */
.aq-faq-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-end: 20px;
    height: 34px;
    width: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(92, 49, 140, 0.2);
    background-color: #ffffff;
}

.aq-faq-icon::after,
.aq-faq-icon::before {
    position: absolute;
    content: "";
    width: 12px;
    height: 2px;
    top: 50%;
    border-radius: 2px;
    inset-inline-start: 50%;
    transition: all 0.3s ease-out;
    background-color: #5c318c;
    transform: translate(-50%, -50%);
}

.aq-faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Al expandirse el acordeón, el icono rota o cambia a menos (gira el before a 0deg para formar el signo menos) */
.aq-faq-wrap .accordion-buttons:not(.collapsed) .aq-faq-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* 5. Responsive Adapters */
@media only screen and (max-width: 991px) {
    .aq-contact-map {
        position: relative;
        width: 100%;
        height: 350px;
    }
    .aq-contact-us-wrap {
        padding: 40px 20px;
        margin-top: 0;
        margin-bottom: 0;
    }
}