.contact-page-hero {
    --contact-progress: 0;
    position: relative;
    z-index: 0;
    width: 100%;
    height: 250svh;
    min-height: 1800px;
    overflow: visible;
    background: #fcfcfc;
}

.contact-page-hero__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    isolation: isolate;
    background: #303030;
}

.admin-bar .contact-page-hero__sticky {
    top: 32px;
    height: calc(100svh - 32px);
}

.contact-page-hero__details,
.contact-page-hero__curtains,
.contact-page-hero__title {
    position: absolute;
    inset: 0;
}

.contact-page-hero__details {
    z-index: 0;
    padding: clamp(28px, 4vh, 48px) clamp(38px, 6vw, 92px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(18px, 2.4vh, 30px);
    overflow: hidden;
    color: #2f302f;
    background: #fcfcfc;
    transform: scale(calc(.975 + (var(--contact-progress) * .025)));
    transform-origin: center;
    will-change: transform;
}

.contact-page-hero__details-header {
    width: min(100%, 1180px);
    max-width: none;
    margin-inline: auto;
}

.contact-page-hero__details-header p {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.contact-page-hero__details-header h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(34px, 4.25vw, 64px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.contact-page-hero__details-grid {
    width: min(100%, 1180px);
    min-height: 0;
    max-height: 440px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(290px, .72fr) minmax(0, 1.35fr);
    gap: 18px;
}

.contact-page-hero__card,
.contact-page-hero__map {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 30px;
}

.contact-page-hero__card {
    position: relative;
    padding: clamp(22px, 3vh, 34px);
    display: flex;
    flex-direction: column;
    background: #ececea;
}

.contact-page-hero__card dl {
    margin: 0;
    display: grid;
    gap: clamp(11px, 1.65vh, 18px);
}

.contact-page-hero__card dl > div {
    min-width: 0;
}

.contact-page-hero__card dt {
    margin-bottom: 5px;
    color: #8b8b88;
    font-size: 13px;
    line-height: 1.2;
}

.contact-page-hero__card dd {
    margin: 0;
    color: #303130;
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-page-hero__card dd a {
    color: inherit;
    transition: color .25s ease;
}

.contact-page-hero__card dd a:hover,
.contact-page-hero__card dd a:focus-visible {
    color: var(--accent);
}

.contact-page-hero__social-block {
    position: absolute;
    left: clamp(22px, 3vh, 34px);
    bottom: clamp(20px, 3vh, 30px);
}

.contact-page-hero__social-block > p {
    margin: 0 0 9px;
    color: #8b8b88;
    font-size: 13px;
    line-height: 1.2;
}

.contact-page-hero__socials {
    display: flex;
    gap: 9px;
}

.contact-page-hero__socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--accent);
    transition: transform .25s ease, background-color .25s ease;
}

.contact-page-hero__socials a:hover,
.contact-page-hero__socials a:focus-visible {
    background: #303130;
    transform: translateY(-2px);
}

.contact-page-hero__socials svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.contact-page-hero__map {
    --map-corner-cut-width: clamp(118px, 11vw, 158px);
    --map-corner-cut-height: clamp(86px, 8vw, 112px);
    --map-corner-cut-radius: clamp(42px, 4vw, 58px);
    --map-corner-flare: clamp(20px, 2vw, 28px);
    position: relative;
    border-radius: 30px 30px 0 30px;
    isolation: isolate;
    background: #e7e9e8;
}

.contact-page-hero__map-cut {
    position: absolute;
    z-index: 3;
    right: -3px;
    bottom: -3px;
    width: calc(var(--map-corner-cut-width) + 3px);
    height: calc(var(--map-corner-cut-height) + 3px);
    border-top-left-radius: var(--map-corner-cut-radius);
    background: #fcfcfc;
    pointer-events: auto;
}

.contact-page-hero__map-cut::before,
.contact-page-hero__map-cut::after {
    content: "";
    position: absolute;
    width: var(--map-corner-flare);
    height: var(--map-corner-flare);
    border-bottom-right-radius: var(--map-corner-flare);
    box-shadow: 8px 8px 0 8px #fcfcfc;
}

.contact-page-hero__map-cut::before {
    top: calc(var(--map-corner-flare) * -1);
    right: 0;
}

.contact-page-hero__map-cut::after {
    bottom: 0;
    left: calc(var(--map-corner-flare) * -1);
}

.contact-page-hero__map > img {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: .52;
    filter: grayscale(.55) saturate(.3) contrast(.78) blur(1.5px);
    transform: scale(1.02);
}

.contact-page-hero__map iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: inherit;
    opacity: 0;
    filter: saturate(.72) contrast(.93);
    transition: opacity .45s ease;
}

.contact-page-hero__map.is-loaded iframe {
    opacity: 1;
}

.contact-page-hero__curtains {
    z-index: 2;
    pointer-events: none;
}

.contact-page-hero__curtain {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50.05%;
    display: block;
    background: #fcfcfc;
    will-change: transform;
}

.contact-page-hero__curtain--left {
    left: 0;
    transform: translateX(calc(var(--contact-progress) * -200%));
}

.contact-page-hero__curtain--right {
    right: 0;
    transform: translateX(calc(var(--contact-progress) * 200%));
}

.contact-page-hero__title {
    z-index: 3;
    display: grid;
    place-items: center;
    pointer-events: none;
    will-change: clip-path;
}

.contact-page-hero__title--left {
    clip-path: inset(0 calc(50% + (var(--contact-progress) * 100%)) 0 0);
}

.contact-page-hero__title--right {
    clip-path: inset(0 0 0 calc(50% + (var(--contact-progress) * 100%)));
}

.contact-page-hero__title h1,
.contact-page-hero__title span {
    width: calc(100% - 80px);
    margin: 0;
    color: #333;
    font-family: var(--font-family);
    font-size: clamp(96px, 12.7vw, 180px);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.055em;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(calc(var(--contact-progress) * -600px));
    will-change: transform;
}

.contact-page-hero__title span {
    display: block;
}

.contact-page-hero__disc {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 20px;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    opacity: calc(1 - (var(--contact-progress) * 2.2));
    background: rgba(252, 252, 252, .94);
    backdrop-filter: blur(8px);
    color: #fff;
    will-change: opacity, transform;
}

.contact-page-hero__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: hero-disc-spin 30s linear infinite;
}

.contact-page-hero__ring text {
    fill: #424242;
    font-family: var(--font-family);
    font-size: var(--contact-ring-font-size, 12px);
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.contact-page-hero__disc-center {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    transition: background-color .25s ease, transform .25s ease;
}

.contact-page-hero__disc-center svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contact-page-hero__disc:hover .contact-page-hero__disc-center,
.contact-page-hero__disc:focus-visible .contact-page-hero__disc-center {
    background: #303130;
    transform: scale(1.05);
}

.contact-page-hero__disc:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.contact-page-contact.be-contact,
.contact-page-contact .be-contact__inner {
    height: auto;
    min-height: 790px;
}

.contact-page-contact .be-contact__inner {
    justify-content: center;
}

.contact-page-contact .be-contact__shade {
    background:
        linear-gradient(90deg, rgba(11, 18, 34, .94), rgba(15, 22, 38, .84)),
        linear-gradient(135deg, rgba(245, 87, 51, .08), transparent 55%);
}

.contact-page-contact .be-contact__copy {
    padding-top: 2px;
}

.contact-page-contact .be-contact__message {
    max-width: 420px;
    font-size: 18px;
}

.contact-page-contact .be-contact__form {
    height: auto;
}

.contact-page-contact .be-contact__status {
    position: static;
    min-height: 20px;
    margin-top: -18px;
}

.contact-page-faq .be-faq__sticky {
    gap: 36px;
}

.contact-page-faq .be-faq__image {
    height: 360px;
}

@media (max-width: 1199.98px) {
    .contact-page-hero__details { padding-right: 42px; padding-left: 42px; }
    .contact-page-hero__details-grid { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); }
    .contact-page-hero__card { padding: 28px; }
    .contact-page-contact.be-contact,
    .contact-page-contact .be-contact__inner { min-height: 760px; }
    .contact-page-faq .be-faq__image { height: auto; }
}

@media (min-width: 810px) and (max-height: 720px) {
    .contact-page-hero__details {
        padding-top: 22px;
        padding-bottom: 22px;
        gap: 16px;
    }
    .contact-page-hero__details-header p { margin-bottom: 8px; }
    .contact-page-hero__details-header h2 { font-size: clamp(34px, 4vw, 52px); }
    .contact-page-hero__details-grid { max-height: none; }
    .contact-page-hero__card { padding: 22px 28px; }
    .contact-page-hero__card dl { gap: 10px; }
    .contact-page-hero__card dt { margin-bottom: 3px; }
    .contact-page-hero__card dd { font-size: clamp(15px, 1.35vw, 19px); }
    .contact-page-hero__social-block { bottom: 18px; }
    .contact-page-hero__socials a { width: 38px; height: 38px; }
}

@media (max-width: 809.98px) {
    .contact-page-hero {
        height: 220svh;
        min-height: 1320px;
    }
    .contact-page-hero__sticky {
        top: 64px;
        height: calc(100svh - 64px);
        min-height: 560px;
    }
    .admin-bar .contact-page-hero__sticky {
        top: 110px;
        height: calc(100svh - 110px);
    }
    .contact-page-hero__details {
        padding: 16px;
        gap: 14px;
    }
    .contact-page-hero__details-header p {
        margin-bottom: 9px;
        font-size: 13px;
    }
    .contact-page-hero__details-header h2 {
        max-width: 340px;
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.02;
    }
    .contact-page-hero__details-grid {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1.06fr) minmax(180px, .94fr);
        gap: 12px;
    }
    .contact-page-hero__card { border-radius: 22px; }
    .contact-page-hero__map {
        --map-corner-cut-width: 96px;
        --map-corner-cut-height: 72px;
        --map-corner-cut-radius: 38px;
        --map-corner-flare: 18px;
        border-radius: 22px 22px 0 22px;
    }
    .contact-page-hero__card {
        padding: 17px 19px;
        overflow: auto;
    }
    .contact-page-hero__card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px 14px;
    }
    .contact-page-hero__card dl > div:first-child { grid-column: 1 / -1; }
    .contact-page-hero__card dt { margin-bottom: 3px; font-size: 10px; }
    .contact-page-hero__card dd { font-size: 13px; line-height: 1.2; }
    .contact-page-hero__social-block {
        right: 19px;
        bottom: 14px;
        left: auto;
    }
    .contact-page-hero__social-block > p { margin-bottom: 7px; font-size: 10px; }
    .contact-page-hero__socials a { width: 34px; height: 34px; border-radius: 10px; }
    .contact-page-hero__socials svg { width: 17px; height: 17px; }
    .contact-page-hero__title h1,
    .contact-page-hero__title span {
        width: calc(100% - 30px);
        font-size: clamp(45px, 14vw, 72px);
        letter-spacing: -.045em;
        transform: translateY(calc(var(--contact-progress) * -360px));
    }
    .contact-page-hero__disc {
        right: 18px;
        bottom: 18px;
        width: 100px;
        height: 100px;
    }
    .contact-page-hero__disc-center { width: 54px; height: 54px; }
    .contact-page-hero__disc-center svg { width: 24px; height: 24px; }
    .contact-page-contact.be-contact,
    .contact-page-contact .be-contact__inner { min-height: 0; }
    .contact-page-contact .be-contact__inner { padding-top: 72px; }
    .contact-page-faq .be-faq__sticky { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page-hero {
        height: 100svh;
        min-height: 700px;
    }
    .contact-page-hero__curtains,
    .contact-page-hero__title--right { display: none; }
    .contact-page-hero__title--left { clip-path: none; }
    .contact-page-hero__title {
        inset: 18px 20px auto;
        display: block;
    }
    .contact-page-hero__title h1 {
        width: 100%;
        color: #333;
        font-size: clamp(32px, 6vw, 64px);
        text-align: left;
        transform: none;
    }
    .contact-page-hero__details { padding-top: 100px; transform: none; }
    .contact-page-hero__disc { display: none; }
}
