.contact-page {
    --contact-orange: #f0642b;
    --contact-orange-dark: #d94f18;
    --contact-ink: #101114;
    --contact-muted: #73777d;
    --contact-border: #e9e9e9;
    margin: 0;
    color: var(--contact-ink);
    background: #fff;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-banner {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: #101414 url("/images/public-transportation-coach-bus-passenger-e1656574186152.webp") center 53% / cover no-repeat;
    color: #fff;
}

.contact-banner::before {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    content: "";
}

.contact-banner-inner {
    position: relative;
    display: flex;
    width: min(1320px, calc(100% - 64px));
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-inline: auto;
    padding-top: 65px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.contact-breadcrumb a {
    color: #fff;
}

.contact-breadcrumb span:last-child {
    color: var(--contact-orange);
}

.contact-banner h1 {
    margin: 0;
    color: #fff;
    font-family: "Barlow", Arial, sans-serif;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
}

.contact-banner-inner > p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
}

.contact-content {
    padding: 72px 0 82px;
    background: #fff;
}

.contact-container {
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto;
}

.contact-intro {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.contact-section-label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--contact-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .45px;
    line-height: 1.3;
}

.contact-intro h2,
.contact-panel-heading h3,
.contact-details-heading h3 {
    margin: 0;
    color: var(--contact-ink);
    font-family: "Barlow", Arial, sans-serif;
    font-weight: 700;
}

.contact-intro h2 {
    font-size: clamp(31px, 3.3vw, 42px);
    line-height: 1.12;
}

.contact-intro > p {
    margin: 10px 0 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.65;
}

.contact-alert {
    display: flex;
    max-width: 1320px;
    align-items: flex-start;
    gap: 12px;
    margin: 0 auto 22px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.contact-alert strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
}

.contact-alert p {
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.contact-alert-success {
    border-color: #b8dfc4;
    background: #eff9f1;
    color: #205c31;
}

.contact-alert-error {
    display: block;
    border-color: #f0bdb9;
    background: #fff3f2;
    color: #8e2922;
}

.contact-alert-icon {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 50%;
    background: #d8f0de;
    font-size: 14px;
    font-weight: 700;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
    gap: 36px;
    align-items: start;
}

.contact-form-panel {
    padding: 30px 32px 24px;
    border: 1px solid #eee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 19px rgba(25, 31, 38, .08);
}

.contact-panel-heading {
    margin-bottom: 23px;
}

.contact-panel-heading h3,
.contact-details-heading h3 {
    font-size: 29px;
    line-height: 1.2;
}

.contact-panel-heading > p {
    margin: 6px 0 0;
    color: var(--contact-muted);
    font-size: 14px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.contact-field {
    min-width: 0;
}

.contact-field-wide {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    color: #494646;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.contact-field label span {
    color: var(--contact-orange);
}

.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field input {
    min-height: 46px;
    padding: 9px 13px;
}

.contact-field textarea {
    min-height: 138px;
    padding: 10px 13px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #929292;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--contact-orange);
    box-shadow: 0 0 0 3px rgba(240, 100, 43, .15);
}

.contact-field [aria-invalid="true"] {
    border-color: #b42318;
}

.contact-field-hint {
    display: block;
    margin-top: 4px;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.45;
}

.contact-field-error {
    display: block;
    margin-top: 5px;
    color: #a1261d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.contact-submit {
    display: inline-flex;
    min-width: 210px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 0;
    border-radius: 30px;
    background: var(--contact-orange);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    background: var(--contact-orange-dark);
}

.contact-submit:focus-visible,
.contact-map-link:focus-visible,
.contact-detail-item a:focus-visible {
    outline: 3px solid rgba(240, 100, 43, .4);
    outline-offset: 3px;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .82;
}

.contact-submit-arrow {
    font-size: 19px;
    line-height: 1;
}

.contact-submit-loading {
    align-items: center;
    gap: 8px;
}

.contact-submit-loading:not([hidden]) {
    display: inline-flex;
}

.contact-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contact-spin .7s linear infinite;
}

@keyframes contact-spin {
    to { transform: rotate(360deg); }
}

.contact-privacy {
    margin: 14px 0 0;
    color: var(--contact-muted);
    font-size: 12px;
}

.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.contact-details {
    padding: 8px 0 0;
}

.contact-details-heading {
    margin-bottom: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 0;
    border-top: 1px solid var(--contact-border);
}

.contact-detail-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: #fff0e9;
    color: var(--contact-orange);
    font-size: 21px;
    line-height: 1;
}

.contact-detail-item h4 {
    margin: 0 0 2px;
    color: var(--contact-ink);
    font-family: "Barlow", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-detail-item address,
.contact-detail-item a {
    color: #555;
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-detail-item a:hover,
.contact-map-link:hover {
    color: var(--contact-orange-dark);
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 11px 56px;
    color: var(--contact-orange);
    font-size: 13px;
    font-weight: 700;
}

.contact-map-frame {
    overflow: hidden;
    height: 185px;
    border: 1px solid var(--contact-border);
    border-radius: 6px;
    background: #f7f7f7;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-response-note {
    margin: 12px 0 0;
    color: var(--contact-muted);
    font-size: 13px;
}

@media (max-width: 1000px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
        gap: 26px;
    }

    .contact-form-panel {
        padding-inline: 24px;
    }
}

@media (max-width: 820px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .contact-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 26px;
    }

    .contact-details-heading,
    .contact-map-link,
    .contact-map-frame,
    .contact-response-note {
        grid-column: 1 / -1;
    }

    .contact-detail-item:nth-of-type(2) {
        border-top: 0;
    }
}

@media (max-width: 720px) {
    .contact-banner {
        height: 250px;
        background-position: 58% center;
    }

    .contact-banner-inner,
    .contact-container {
        width: calc(100% - 40px);
    }

    .contact-banner-inner {
        padding-top: 50px;
    }

    .contact-banner h1 {
        font-size: 38px;
    }

    .contact-content {
        padding-block: 50px 58px;
    }

    .contact-intro {
        margin-bottom: 26px;
        text-align: left;
    }

    .contact-intro h2 {
        font-size: 32px;
    }

    .contact-form-panel {
        padding: 23px 20px 20px;
    }

    .contact-panel-heading h3,
    .contact-details-heading h3 {
        font-size: 26px;
    }

    .contact-details {
        display: block;
    }

    .contact-detail-item:nth-of-type(2) {
        border-top: 1px solid var(--contact-border);
    }
}

@media (max-width: 480px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-field-wide {
        grid-column: auto;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-banner-inner,
    .contact-container {
        width: calc(100% - 32px);
    }

    .contact-banner-inner > p {
        max-width: 300px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
