.contact-page .contact-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(200, 138, 61, 0.18), transparent 26rem),
        linear-gradient(135deg, #18191d 0%, #25272c 100%);
}

.contact-hero-card {
    width: min(100%, 560px);
    padding: clamp(26px, 4vw, 42px);
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.22);
    color: #f7f4ef;
    -webkit-backdrop-filter: blur(18px) saturate(112%);
    backdrop-filter: blur(18px) saturate(112%);
}

.contact-hero-card__eyebrow {
    margin: 0 0 18px;
    color: #e4b574;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-hero-card__item {
    display: grid;
    padding: 18px 0;
    gap: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-hero-card__item span {
    color: rgba(242, 240, 236, 0.65);
    font-size: 13px;
}

.contact-hero-card__item a {
    width: fit-content;
    color: #fff;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(228, 181, 116, 0.42);
    text-underline-offset: 5px;
}

.contact-hero-card__item a:hover,
.contact-hero-card__item a:focus-visible {
    color: #f0c98f;
    text-decoration-color: currentColor;
}

.contact-page .contact-request-section {
    color-scheme: light;
    --text: #242529;
    --muted: #62646a;
    --border: rgba(44, 38, 31, 0.14);
    position: relative;
    border-block: 1px solid rgba(44, 38, 31, 0.1);
    background:
        radial-gradient(circle at 8% 10%, rgba(197, 131, 54, 0.08), transparent 25rem),
        #f5f1ea;
    color: var(--text);
}

.contact-page .contact-request-section .rich-copy h2,
.contact-page .contact-request-section .rich-copy h3 {
    color: #242529;
}

.contact-page .contact-request-section .rich-copy p {
    color: #62646a;
}

.contact-guide__details {
    display: grid;
    margin-top: 30px;
    gap: 14px;
}

.contact-guide__details article {
    padding: 20px 22px;
    border: 1px solid rgba(44, 38, 31, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.58);
}

.contact-guide__details h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.contact-guide__details p {
    margin: 0;
    font-size: 15px;
}

.contact-guide__phone {
    margin-top: 28px;
}

.contact-page .phone-link {
    color: #80511a;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    text-decoration: underline;
    text-decoration-color: rgba(128, 81, 26, 0.38);
    text-underline-offset: 4px;
}

.contact-page .phone-link:hover,
.contact-page .phone-link:focus-visible {
    color: #51300c;
    text-decoration-color: currentColor;
}

.contact-page .contact-form {
    color-scheme: light;
    border-color: rgba(44, 38, 31, 0.12);
    background: #fff;
    color: #242529;
    box-shadow: 0 24px 64px rgba(61, 47, 30, 0.12);
}

.contact-switcher {
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.contact-switcher legend {
    margin-bottom: 10px;
    color: #46484d;
    font-size: 14px;
    font-weight: 750;
}

.contact-switcher__options {
    display: grid;
    padding: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    border: 1px solid #ddd5ca;
    border-radius: 16px;
    background: #f1ece4;
}

.contact-switcher__option {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

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

.contact-switcher__option > span {
    display: grid;
    min-height: 70px;
    padding: 12px 14px;
    align-content: center;
    gap: 3px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #62646a;
    text-align: center;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-switcher__option strong {
    color: inherit;
    font-size: 15px;
    line-height: 1.2;
}

.contact-switcher__option small {
    color: inherit;
    font-size: 12px;
    opacity: 0.78;
}

.contact-switcher__option input:checked + span {
    border-color: rgba(151, 96, 35, 0.24);
    background: #fff;
    box-shadow: 0 7px 20px rgba(70, 52, 31, 0.1);
    color: #714617;
    transform: translateY(-1px);
}

.contact-switcher__option input:focus-visible + span {
    outline: 3px solid rgba(165, 107, 45, 0.28);
    outline-offset: 2px;
}

.contact-selection {
    margin-bottom: 26px;
}

.contact-selection h2 {
    margin: 0 0 8px;
    color: #242529;
    font-size: clamp(28px, 3.8vw, 40px);
}

.contact-selection p {
    margin: 0;
    color: #62646a;
}

.contact-selection__email {
    display: inline-flex;
    margin-top: 8px;
    color: #80511a;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(128, 81, 26, 0.36);
    text-underline-offset: 4px;
}

.contact-selection__email:hover,
.contact-selection__email:focus-visible {
    color: #51300c;
    text-decoration-color: currentColor;
}

.contact-page .contact-form .field label {
    color: #34363b;
}

.contact-page .contact-form .field small {
    color: #71737a;
}

.contact-page .contact-form .field input,
.contact-page .contact-form .field textarea {
    border-color: #d5cfc5;
    background: #fff;
    color: #25262a;
    box-shadow: inset 0 1px 0 rgba(34, 35, 38, 0.025);
}

.contact-page .contact-form .field input::placeholder,
.contact-page .contact-form .field textarea::placeholder {
    color: #8a8b90;
    opacity: 1;
}

.contact-page .contact-form .field input:hover,
.contact-page .contact-form .field textarea:hover {
    border-color: #bcb3a7;
}

.contact-page .contact-form .field input:focus,
.contact-page .contact-form .field textarea:focus {
    border-color: #a56b2d;
    outline: 3px solid rgba(165, 107, 45, 0.16);
    outline-offset: 1px;
}

.contact-field-hint {
    display: block;
    line-height: 1.45;
}

.contact-page .contact-form .consent {
    color: #606269;
}

.contact-page .contact-form .consent a {
    color: #80511a;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(128, 81, 26, 0.42);
    text-underline-offset: 3px;
}

.contact-page .contact-form .consent a:hover,
.contact-page .contact-form .consent a:focus-visible {
    color: #51300c;
    text-decoration-color: currentColor;
}

.contact-page .contact-form .form-error.is-visible {
    border-color: rgba(165, 53, 53, 0.24);
    background: #fff0ef;
    color: #842f2f;
}

.contact-submit {
    width: 100%;
    justify-content: center;
}

.contact-page .contact-channels {
    color-scheme: light;
    --text: #242529;
    --muted: #62646a;
    --panel: #fff;
    --border: rgba(44, 38, 31, 0.12);
    background: #fff;
    color: var(--text);
}

.contact-page .contact-channels .section-heading,
.contact-page .contact-channels .contact-channel-card h3 {
    color: #242529;
}

.contact-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-channel-card {
    border-color: rgba(44, 38, 31, 0.1);
    background: #fbf9f5;
    box-shadow: 0 16px 42px rgba(61, 47, 30, 0.07);
}

.contact-channel-card__label {
    display: block;
    margin-bottom: 18px;
    color: #9a6224;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-channel-card h3 {
    overflow-wrap: anywhere;
    font-size: clamp(19px, 2vw, 24px);
}

.contact-channel-card h3 a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(154, 98, 36, 0.3);
    text-underline-offset: 5px;
}

.contact-channel-card h3 a:hover,
.contact-channel-card h3 a:focus-visible {
    color: #80511a;
    text-decoration-color: currentColor;
}

.contact-channel-card p {
    color: #62646a;
}

@media (min-width: 981px) {
    .contact-guide {
        position: sticky;
        top: 118px;
        align-self: start;
    }
}

@media (max-width: 980px) {
    .contact-hero-card {
        max-width: 720px;
        justify-self: start;
    }

    .contact-page .contact-request-section .demo-layout {
        gap: 42px;
    }

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

@media (max-width: 680px) {
    .contact-page .contact-request-section {
        padding-block: 68px;
    }

    .contact-page .contact-request-section .demo-layout {
        gap: 32px;
    }

    .contact-page .contact-form {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .contact-hero-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .contact-hero-card__item a {
        font-size: 17px;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 430px) {
    .contact-switcher__options {
        grid-template-columns: 1fr;
    }

    .contact-switcher__option > span {
        min-height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-switcher__option > span {
        transition: none;
    }

    .contact-switcher__option input:checked + span {
        transform: none;
    }
}
