/* Contact module refresh for the 9443 site. */
#pageContact .box {
    width: 760px;
    transform: translateX(-135px);
}

#pageContact ._banner1 {
    width: 760px;
    height: 108px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eaf9fd, rgba(255, 255, 255, .94));
    box-shadow: 0 14px 32px rgba(30, 111, 140, .13);
    overflow: hidden;
}

#pageContact ._banner1 > .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 742px;
    height: 90px;
    margin: 9px;
    border: 1px solid rgba(42, 167, 223, .28);
    border-radius: 12px;
    background: transparent;
}

#pageContact ._banner1 .col2 {
    width: auto;
    margin: 0;
    float: none;
}

#pageContact ._banner1 .textStyle1 {
    font-size: 31px;
    line-height: 1;
    text-align: center;
}

#pageContact ._banner1 .textStyle2 {
    color: #4f5a61;
    font-size: 29px;
    line-height: .95;
    text-align: center;
}

#pageContact ._banner1 .textStyle2 span:last-child { color: #159bd7; }

#pageContact .containerContent {
    width: 760px;
    padding-top: 20px;
}

#pageContact .containerContent > .col1 {
    grid-template-columns: 430px minmax(260px, 1fr);
    gap: 18px;
}

#pageContact .containerContent > .col1 > h2 {
    padding-bottom: 0;
    color: #31515f;
    font-size: 32px;
    line-height: 1;
}

#pageContact .containerContent .col4 {
    width: 430px;
}

#pageContact figure.google {
    width: 430px;
    height: 315px;
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(21, 80, 103, .17);
}

#pageContact .containerContent .col3 {
    min-height: 315px;
    padding: 24px 22px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(251, 254, 255, .94), rgba(238, 248, 251, .82));
    box-shadow: 0 16px 32px rgba(21, 80, 103, .11);
}

#pageContact .containerContent .col3 h3 {
    margin-bottom: 22px;
    color: #087fab;
    font-size: 16px;
    line-height: 1.45;
}

#pageContact .containerContent .col3 p {
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 760px) {
    #pageContact .box {
        width: 100% !important;
        transform: none;
    }

    #pageContact ._banner1 {
        width: 100%;
        height: auto;
        min-height: 88px;
    }

    #pageContact ._banner1 > .content {
        grid-template-columns: 1fr 1fr;
        width: calc(100% - 18px);
        height: 70px;
    }

    #pageContact ._banner1 .textStyle1 { font-size: clamp(19px, 6vw, 27px); }
    #pageContact ._banner1 .textStyle2 { font-size: clamp(20px, 6vw, 27px); }

    #pageContact .containerContent,
    #pageContact .containerContent > .col1 {
        width: 100% !important;
    }

    #pageContact .containerContent > .col1 { grid-template-columns: 1fr; gap: 14px; }
    #pageContact .containerContent > .col1 > h2 { font-size: 29px; }
    #pageContact .containerContent .col4,
    #pageContact figure.google { width: 100%; }
    #pageContact figure.google { height: 300px; border-radius: 16px; }
    #pageContact .containerContent .col3 { min-height: 0; border-radius: 16px; }
}

/* Restore the compact desktop footprint so the fixed legacy navigation never covers Contacto. */
@media (min-width: 761px) {
    body.contact-mode #pageContact,
    body.contact-mode #pageContact .box { position: relative; z-index: 20; }
    #pageContact .box { width: 680px; transform: translateX(-105px); }
    #pageContact ._banner1 { width: 680px; height: 94px; }
    #pageContact ._banner1 > .content { width: 662px; height: 76px; }
    #pageContact ._banner1 .textStyle1 { font-size: 27px; }
    #pageContact ._banner1 .textStyle2 { font-size: 25px; }
    #pageContact .containerContent { width: 680px; padding-top: 14px; }
    #pageContact .containerContent > .col1 { grid-template-columns: 340px minmax(240px, 1fr); gap: 22px; }
    #pageContact .containerContent > .col1 > h2 { font-size: 30px; }
    #pageContact .containerContent .col4 { width: 340px; }
    #pageContact figure.google { width: 340px; height: 250px; border-radius: 18px; }
    #pageContact .containerContent .col3 { min-height: 250px; padding: 18px 19px; border-radius: 18px; }
    #pageContact .containerContent .col3 h3 { margin-bottom: 12px; font-size: 14px; }
    #pageContact .containerContent .col3 p { font-size: 12px; line-height: 1.5; }
}
