/* =================================================
   CONTACTO - ESTILOS GENERALES
================================================= */

body a {
    text-decoration: none;
    transition: 0.4s;
}

/* =================================================
   BANNER
================================================= */

.contact-banner {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url("../images/andamioalto2.jpeg") center center / cover no-repeat;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 70px;
}

.inner-banner-text h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.inner-banner-text p {
    color: #fff;
    font-size: 18px;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =================================================
   TARJETAS DE CONTACTO
================================================= */

.address.row {
    width: 100%;
    margin: 2.5em 0 3em;
    display: flex;
    flex-wrap: wrap;
}

.address-grid-inf-w3layouts {
    text-align: center;
    padding: 15px;
    display: flex;
}

.address-info {
    width: 100%;
    min-height: 320px;
    padding: 2.5em 1.8em;
    background: #1b1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.address-left {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #da1d18;
    margin-bottom: 1.5em;
    border-radius: 50%;
}

.address-grid-inf-w3layouts span {
    font-size: 2em;
    color: #fff;
}

.address-right h6 {
    font-size: 2em;
    margin-bottom: 0.8em;
    color: #fff;
    font-weight: 700;
}

.address-right p {
    font-size: 1em;
    line-height: 1.8;
    color: #bdbdbd;
}

.address-right a {
    color: #bdbdbd;
}

.address-right a:hover {
    color: #f3a900;
}

/* =================================================
   MAPA
================================================= */

.contact-map {
    width: 100%;
    margin-bottom: 2em;
}

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

/* =================================================
   FORMULARIO
================================================= */

.contact_grid_right {
    width: 100%;
}

.contact_grid_right input[type="text"],
.contact_grid_right input[type="email"],
.contact_grid_right input[type="tel"],
.contact_grid_right textarea {

    width: 100%;
    padding: 15px;
    font-size: 14px;
    color: #777;
    background: #f7f7f7;
    border: 1px solid #ebeeef;
    margin-top: 1em;
}

.contact_grid_right textarea {
    min-height: 150px;
    resize: none;
}

.contact_grid_right input[type="submit"],
.contact_grid_right button {

    padding: 18px 0;
    font-size: 14px;
    color: #fff;
    background: #0e0f10;
    width: 220px;
    border: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

.contact_grid_right button:hover,
.contact_grid_right input[type="submit"]:hover {

    background: #da1d18;
}

/* =================================================
   FAQ
================================================= */

.faq-section {
    width: 100%;
    margin: 1.5em 0 3em;
}

.faq-title {
    font-size: 2em;
    font-weight: 700;
    color: #1b1a1a;
}

.faq-subtitle {
    font-size: 1em;
    color: #666;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

.faq-card {
    border: none;
    margin-bottom: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.faq-card-header {
    background: #1b1a1a;
}

.faq-btn {
    width: 100%;
    padding: 20px 24px;
    color: #fff !important;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    background: #1b1a1a;
    border: none;
}

.faq-btn:hover {
    background: #da1d18;
}

.faq-btn:not(.collapsed) {
    background: #da1d18;
}

.faq-icon {
    margin-left: 15px;
    transition: transform .3s;
}

.faq-btn:not(.collapsed) .faq-icon {
    transform: rotate(180deg);
}

.faq-card-body {
    padding: 20px 24px;
    font-size: .95rem;
    color: #555;
    line-height: 1.9;
}

/* =================================================
   FAQ ANIMACIÓN
================================================= */

.faq-accordion .collapse {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
}

.faq-accordion .collapse.show {
    opacity: 1;
}

/* =================================================
   PARCHE AOS
================================================= */

html, body {
    overflow-x: hidden !important;
}

[data-aos] {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* =================================================
   RESPONSIVE
================================================= */

@media (max-width: 991px) {

    .address-info {
        min-height: 280px;
        padding: 2em 1.2em;
    }

    .address-right h6 {
        font-size: 1.6em;
    }

}

@media (max-width: 768px) {

    .contact-banner {
        min-height: 350px;
        padding: 100px 15px 50px;
    }

    .inner-banner-text h2 {
        font-size: 30px;
    }

    .inner-banner-text p {
        font-size: 15px;
    }

    .faq-title {
        font-size: 1.6em;
    }

}

@media (max-width: 640px) {

    .contact_grid_right button {
        width: 100%;
    }

}