/* Contact page only — scoped so other templates stay unchanged.
================================================================ */

.contact-page-body footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-page-body .floating__form__wrapper {
    display: none !important;
}

.contact-page__hero.inner__banners {
    padding: 148px 0 72px;
}

.contact-page__hero-inner {
    max-width: 680px;
}

.contact-page__hero .main__heading {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.contact-page__hero-lead {
    max-width: 560px;
    margin: 18px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.contact-page__hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 28px;
}

.contact-page__intro {
    padding: 80px 0 72px;
    background: #ffffff;
}

.contact-page__intro-copy {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.contact-page__heading {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
}

.contact-page__heading--light {
    color: #ffffff;
}

.contact-page__lede {
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: #757575;
}

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

.contact-page__value {
    padding: 28px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-page__value:hover {
        border-color: #000000;
        transform: translateY(-2px);
    }
}

.contact-page__value-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border-radius: 5px;
}

.contact-page__value-icon i {
    font-size: 18px;
    color: #ffffff;
}

.contact-page__value h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #000000;
}

.contact-page__value p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: #757575;
}

.contact-page__connect {
    padding: 80px 0 88px;
    background: #000000;
    scroll-margin-top: 96px;
}

.contact-page__connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: start;
}

.contact-page__info {
    padding-top: 8px;
}

.contact-page__statement {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
}

.contact-page__info-copy {
    max-width: 460px;
    margin: 0 0 36px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.contact-page__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.contact-page__detail,
a.contact-page__detail,
a.contact-page__detail:hover,
a.contact-page__detail:focus {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
}

.contact-page__detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    color: #ffffff;
    transition: border-color 0.2s ease;
}

.contact-page__detail-icon i {
    font-size: 15px;
}

.contact-page__detail-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}

.contact-page__detail-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.contact-page__detail-value {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #ffffff;
    word-break: break-word;
}

.contact-page__detail:hover .contact-page__detail-icon,
.contact-page__detail:focus .contact-page__detail-icon {
    border-color: #ffffff;
}

.contact-page__form {
    padding: 36px 32px;
    border-radius: 10px;
    background: #ffffff;
}

.contact-page__form-title {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #333331;
}

.contact-page__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
    margin-bottom: 8px;
}

.contact-page__field--full {
    grid-column: 1 / -1;
}

.contact-page__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #333331;
}

.contact-page__field label span {
    font-weight: 400;
    color: #757575;
}

.contact-page__form input,
.contact-page__form select,
.contact-page__form textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #c8c7c7;
    border-radius: 5px;
    background: #ffffff;
    color: #333331;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease;
}

.contact-page__form input,
.contact-page__form select {
    height: 48px;
}

.contact-page__form textarea {
    height: 132px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
    min-height: 120px;
    max-height: 220px;
}

.contact-page__form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333331' stroke-width='1.4' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.contact-page__form input::placeholder,
.contact-page__form textarea::placeholder {
    color: #9a9a9a;
}

.contact-page__form input:focus,
.contact-page__form select:focus,
.contact-page__form textarea:focus,
.contact-page__form input:focus-visible,
.contact-page__form select:focus-visible,
.contact-page__form textarea:focus-visible {
    border-color: #333331;
}

.contact-page__form input.is-invalid,
.contact-page__form select.is-invalid,
.contact-page__form textarea.is-invalid {
    border-color: #c0392b;
}

.contact-page__error {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.35;
    color: #c0392b;
}

.contact-page__error[hidden] {
    display: none;
}

.contact-page__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 22px;
    border: 1px solid #000000;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-page__submit:hover,
.contact-page__submit:focus {
    background: #333331;
    color: #ffffff;
}

.contact-page__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-page__microcopy {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #757575;
}

.contact-page .codex-form-message {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.contact-page.is-animatable .js-contact-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 550ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.contact-page .js-contact-reveal.is-inview {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .contact-page.is-animatable .js-contact-reveal,
    .contact-page__value {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1200px) {
    .contact-page__hero-inner {
        margin: 0 auto;
        text-align: center;
    }

    .contact-page__hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 991px) {
    .contact-page__hero.inner__banners {
        padding: 132px 0 56px;
    }

    .contact-page__intro {
        padding: 64px 0 56px;
    }

    .contact-page__intro-copy {
        margin-bottom: 36px;
        text-align: left;
    }

    .contact-page__values {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-page__connect {
        padding: 56px 0 64px;
    }

    .contact-page__connect-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page__info-copy {
        max-width: none;
        margin-bottom: 28px;
    }

    .contact-page__form {
        padding: 28px 22px;
    }

    .contact-page__fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-page__hero.inner__banners {
        padding: 120px 0 48px;
    }

    .contact-page__hero .main__heading {
        font-size: 28px;
    }

    .contact-page__hero-lead,
    .contact-page__lede {
        font-size: 15px;
    }

    .contact-page__heading {
        font-size: 28px;
    }

    .contact-page__statement {
        font-size: 20px;
    }

    .contact-page__intro,
    .contact-page__connect {
        padding: 48px 0;
    }

    .contact-page__value {
        padding: 22px 20px;
    }

    .contact-page__form-title {
        font-size: 22px;
    }

    .contact-page__submit {
        font-size: 15px;
    }
}
