/* ==== Layout global: container, row y columnas ==== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row > [class*="col-"] {
    padding: 0 15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* ==== Sección Contact ==== */
.w3l-contact-1 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.contacts-9 {
    background: var(--bg-color);
}

/* ==== Mapa ==== */
.map-iframe {
    margin-bottom: 2.5rem;
}

.map-iframe iframe {
    width: 100%;
    height: 400px;
    border: 0;
    filter: var(--iframe-filter);
    display: block;
}

/* ==== Breadcrumb “Get in touch” ==== */
.title-subw3hny {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding-left: 65px;
    display: inline-block;
    line-height: 22px;
    color: #e30613;
    position: relative;
}

.title-subw3hny:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 1px;
    background: #e30613;
    left: 0;
    top: 12px;
}

/* ==== Título principal ==== */
.title-w3l {
    font-size: 32px;
    line-height: 42px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

/* ==== Grid de direcciones ==== */
.w3-addressinfo-grids {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 2.5rem;
    row-gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.w3-addressinfo-gd h5 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ==== Ítems de contacto ==== */
.cont-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: .75rem;
}

.cont-top.margin-up {
    margin-top: 1.5rem;
}

.cont-left span {
    font-size: 16px;
    color: #e30613;
    margin-top: 4px;
}

.cont-right h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: .25rem;
    color: var(--heading-color);
}

.cont-right p,
.cont-right p a {
    font-size: 16px;
    line-height: 26px;
    color: var(--font-color);
    text-decoration: none;
}

.cont-right p a:hover {
    text-decoration: underline;
    opacity: .8;
}

/* ==== Formulario ==== */
.map-content-9 h5 {
    font-size: 28px;
    line-height: 38px;
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-content-9 form .form-control,
.map-content-9 form textarea {
    background: #f5f5f5;
    border: 1px solid transparent;
    color: #333;
    font-size: 16px;
    padding: 12px 18px;
    line-height: 28px;
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: .75rem;
}

.map-content-9 form textarea {
    resize: none;
    min-height: 196px;
}

.map-content-9 form input:focus,
.map-content-9 form textarea:focus {
    outline: none;
    border: 1px solid var(--primary-color);
    background: var(--bg-color);
    box-shadow: none;
}

/* ==== Botón “Send Message” ==== */
.btn-style {
    padding: 18px 38px;
    font-size: 16px;
    font-weight: 600;
    border-radius: .25rem;
    /* background: var(--primary-color); */
    background: #e30613;
    color: white;
    /* color: #232323; */
    text-transform: capitalize;
    border: none;
    cursor: pointer;
    transition: background .3s ease-in;
}

.btn-style:hover {
    /* background: #e69e04; */
    background: #e30613;
}

/* ==== Footer ==== */
.site-footer .footer-container {
    padding: 4rem 15px;
    max-width: 1140px;
    margin: 0 auto;
}

.site-footer .footer-bottom {
    padding: 1.5rem 15px;
    background: #1f1f1f;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* ==== Select personalizado con flecha alineada ==== */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
}

.select-wrapper::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    pointer-events: none;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #495057;
    font-size: 1rem;
}

/* ==== BREAKPOINTS RESPONSIVE ==== */
@media (max-width: 992px) {
    /* en tablet/desktop pequeño, cada columna pasa a 100% */
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    /* en móviles más anchos, ajusta grid de direcciones */
    .w3-addressinfo-grids {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    /* en móviles pequeños, reduce la altura del mapa */
    .map-iframe iframe {
        height: 200px;
    }
    /* ajusta paddings generales */
    .w3l-contact-1 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .map-content-9 form .form-control,
    .map-content-9 form textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
    .btn-style {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }
}
