.contact-page { --contact-heading: #237E83; font-family: "Montserrat", sans-serif; overflow-wrap: anywhere; }
.contact-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--hero-light);
    background-image: linear-gradient(90deg, var(--hero-light) 0%, var(--hero-light) max(40%, calc(100% - 801.9px)), transparent max(70%, calc(100% - 526.5px))), url("../images/contact/contacto-background-desktop.png");
    background-position: center, right center;
    background-size: 100% 100%, auto 100%;
    background-repeat: no-repeat;
}
.contact-banner__inner { min-height: 267.3px; display: flex; align-items: center; padding-block: 29px; }
.contact-banner__copy { position: relative; z-index: 1; width: 48%; max-width: 550px; }
/* Same inherited Georgia family and global gradient as About and Servicios. */
.contact-banner__title { width: fit-content; font-size: clamp(42px, 4vw, 58px); margin-bottom: 12px; color: var(--color-gradient-blue); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .contact-banner__title { background: var(--gradient-blue-purple); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}
.contact-banner__description { margin: 0; font-size: 16px; line-height: 1.75; }
.contact-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); padding-block: 52px 36px; }
.contact-columns > section { min-width: 0; }
.contact-columns h2, .contact-columns h3 { font-family: "Montserrat", sans-serif; font-weight: 600; line-height: 1.4; color: var(--contact-heading); }
.contact-columns h2 { font-size: 20px; letter-spacing: .045em; margin-bottom: 24px; }
.contact-columns h3 { font-size: 19px; margin: 28px 0 10px; }
.contact-columns p { margin-top: 0; }
.contact-columns a { text-underline-offset: 3px; }
.contact-field { margin-bottom: 18px; }
.contact-field label { display: block; margin-bottom: 6px; font-weight: 500; }
.contact-field label span, .contact-form__help, .contact-consent { font-size: 13px; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid var(--color-text); border-radius: 7px; padding: 11px 12px; background: var(--color-bg); color: var(--color-text); font: inherit; }
.contact-field textarea { resize: vertical; min-height: 150px; }
.contact-field .contact-form__help { margin: 8px 0 0; }
.contact-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; }
.contact-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-primary); }
.contact-form .contact-button { --contact-button-bg: #237E83; --contact-button-hover: #1C686D; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border: 1px solid transparent; border-radius: 8px; background: var(--contact-button-bg); color: #fff; font: 600 15px/1.4 "Montserrat", sans-serif; cursor: pointer; }
.contact-form .contact-button:hover { background: var(--contact-button-hover); }
.contact-form .contact-button:disabled { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
    .contact-form .contact-button { transition: none; animation: none; }
}
.contact-page :focus-visible { outline: 3px solid var(--color-purple); outline-offset: 4px; }
.contact-page [aria-invalid="true"] { border: 2px solid var(--color-purple); }
.contact-feedback { padding: 18px; border: 2px solid var(--color-primary-dark); border-radius: 8px; margin-bottom: 24px; scroll-margin-top: 120px; }
.contact-feedback p:last-child, .contact-feedback ul { margin-bottom: 0; }
.contact-field, .contact-consent { scroll-margin-top: 120px; }
.contact-map { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 270px; padding: 0; overflow: hidden; border: 1px solid var(--color-primary); border-radius: 12px; background: var(--hero-light); }
.contact-map__notice { font-size: 13px; }
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.contact-location > p { margin-block: 12px 0; }
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details a { display: flex; gap: 12px; align-items: center; min-height: 44px; padding-block: 7px; }
.contact-details svg { width: 22px; height: 22px; flex: 0 0 22px; stroke: var(--color-text); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-details span { min-width: 0; }
.contact-page [hidden] { display: none !important; }
@media (max-width: 900px) {
    .contact-columns { grid-template-columns: minmax(0, 1fr); max-width: 680px; gap: 44px; padding-top: 36px; }
}
@media (max-width: 600px) {
    .contact-banner { background-image: url("../images/contact/contacto-background-mobile.png"); background-position: center bottom; background-size: cover; }
    .contact-banner__inner { align-items: flex-start; min-height: 0; padding-top: 32px; padding-bottom: clamp(280px, 84vw, 420px); }
    .contact-banner__copy { width: 100%; }
    .contact-columns h2 { font-size: 18px; }
}
@media (forced-colors: active) {
    .contact-banner__title { background: none; -webkit-text-fill-color: currentColor; }
    .contact-form .contact-button { border-color: ButtonText; }
}
