@font-face {
    font-family: "Contact Forum";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/faq/forum-400.ttf') format('truetype');
}

@font-face {
    font-family: "Contact Cyrillic";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/faq/inter-400.ttf') format('truetype');
}

@font-face {
    font-family: "Contact Cyrillic";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/faq/inter-500.ttf') format('truetype');
}

@font-face {
    font-family: "Contact Cyrillic";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/faq/inter-600.ttf') format('truetype');
}

body:has(.contact-page) {
    background: #191919;
}

.contact-page {
    --contact-forum: "Contact Forum", var(--fontFamily-forum, "Forum");
    --contact-sans: "DM Sans", "Contact Cyrillic", sans-serif;
    --contact-container: 1280px;
    --contact-gutter: 0px;
    padding-top: var(--contact-header-offset, 203px);
    color: var(--grey-90, #E6E6E6);
}

.contact-locations-section {
    width: 100%;
    padding: 0 var(--contact-gutter);
}

.contact-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 64px;
    text-align: center;
}

.contact-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.contact-divider {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 152px;
    height: 19px;
}

.contact-page-title {
    font-family: var(--contact-forum);
    font-size: 64px;
    font-weight: 400;
    line-height: 56px;
}

.contact-intro-description {
    font-family: var(--contact-sans);
    font-size: 16px;
    line-height: 24px;
}

.contact-location-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1148px;
    margin: 0 auto;
}

.contact-location-pattern {
    position: absolute;
    top: 528px;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    pointer-events: none;
}

.contact-location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    height: 750px;
    padding: 80px 4px 24px;
    overflow: hidden;
}

.contact-location-photos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-location-photos::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(0 0 0 / 20%), rgb(0 0 0 / 20%)), linear-gradient(180deg, rgb(13 13 13 / 24%) 28.438%, rgb(0 0 0 / 72%) 100%);
}

.contact-location-bukston .contact-location-photos::after,
.contact-location-budapest .contact-location-photos::after {
    background: linear-gradient(rgb(0 0 0 / 20%), rgb(0 0 0 / 20%)), linear-gradient(180deg, rgb(13 13 13 / 24%) 4.6875%, rgb(0 0 0 / 72%) 100%);
}

.contact-location-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.contact-location-shipka .contact-location-photo-main {
    inset: auto;
    top: -15.5%;
    left: -52.71%;
    width: 205.39%;
    height: 115.53%;
}

.contact-location-bukston .contact-location-photo-main {
    inset: auto;
    top: -7.72%;
    left: -7.13%;
    width: 107.73%;
    height: 107.59%;
}

.contact-location-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: center;
}

.contact-location-area {
    color: var(--accent-01, #E4C590);
    font-family: var(--contact-sans);
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-location-name {
    color: var(--grey-95, #F2F2F2);
    font-family: var(--contact-forum);
    font-size: 44px;
    font-weight: 400;
    line-height: 28px;
}

.contact-location-address {
    font-family: var(--contact-sans);
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
}

.contact-card-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 488px;
    max-width: calc(100% - 48px);
}

.contact-card-actions>.btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.contact-card-action-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-card-action {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 10px;
    min-width: 0;
    height: 44px;
    padding: 0 24px;
    font-family: var(--contact-sans);
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 250ms ease;
}

.contact-card-action:hover {
    color: var(--accent-01, #E4C590);
}

.contact-card-phone {
    font-weight: 500;
}

.contact-card-divider {
    position: relative;
    flex: 0 0 0;
    width: 0;
    height: 32px;
}

.contact-card-divider img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.contact-inquiry-section {
    width: 100%;
    padding: 0 var(--contact-gutter);
}

.contact-inquiry-container {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 562.5fr 717.5fr;
    align-items: center;
    width: 100%;
    max-width: var(--contact-container);
    min-height: 1005px;
    margin: 24px auto 128px;
}

.contact-inquiry-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-inquiry-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(0 0 0 / 40%);
}

.contact-question-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 375px;
    max-width: calc(100% - 80px);
    margin-left: 83.5px;
}

.contact-question-title {
    font-family: var(--contact-forum);
    font-size: 48px;
    font-weight: 400;
    line-height: 56px;
}

.contact-question-description {
    font-family: var(--contact-sans);
    font-size: 14px;
    line-height: 22px;
}

.contact-faq-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 278px;
    max-width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border: 2px solid var(--accent-01, #E4C590);
    background: rgb(26 26 26 / 20%);
    font-family: var(--contact-sans);
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 250ms ease;
}

.contact-faq-button:hover {
    background: rgb(26 26 26 / 65%);
}

.contact-form-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
    width: 100%;
    margin: 61px 0 62px;
    padding: 64px;
    background: var(--grey-15, #262626);
    scroll-margin-top: 130px;
}

.contact-form-border {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8px;
    overflow: hidden;
    pointer-events: none;
}

.contact-form-border img {
    position: absolute;
    top: 0;
    left: 8px;
    max-width: none;
    transform: rotate(90deg);
    transform-origin: top left;
}

.contact-form-title {
    width: 100%;
    font-family: var(--contact-forum);
    font-size: 40px;
    font-weight: 400;
    line-height: 56px;
    text-align: center;
}

.contact-form-description {
    width: 566px;
    max-width: 100%;
    font-family: var(--contact-sans);
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 566px;
    max-width: 100%;
}

.contact-field label {
    color: var(--grey-80, #CCC);
    font-family: var(--contact-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;
    height: 56px;
    padding: 19px 15px;
    border: 1px solid var(--grey-30, #4D4D4D);
    border-radius: 0;
    background: var(--grey-15, #262626);
    color: var(--white, #FFF);
    font-family: var(--fontFamily-roboto, "Roboto"), sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    outline: none;
    transition: border-color 250ms ease;
}

.contact-field select {
    color-scheme: dark;
    cursor: pointer;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--grey-90, #E6E6E6);
}

.contact-message-container {
    position: relative;
}

.contact-field textarea {
    height: 146px;
    min-height: 146px;
    padding-bottom: 36px;
    resize: vertical;
}

.contact-character-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: #999;
    font-family: var(--fontFamily-roboto, "Roboto"), sans-serif;
    font-size: 12px;
    line-height: 16px;
    pointer-events: none;
}

.contact-consent {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 569px;
    max-width: 100%;
    min-height: 24px;
}

.contact-consent input {
    appearance: none;
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid #999;
    border-radius: 0;
    cursor: pointer;
}

.contact-consent input:checked::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--accent-01, #E4C590);
}

.contact-consent label {
    font-family: var(--contact-sans);
    font-size: 16px;
    line-height: 16px;
}

.contact-consent a {
    display: inline;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form-button {
    width: 569px;
    max-width: 100%;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-consent input:focus-visible {
    outline: 1px solid var(--accent-01, #E4C590);
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    html:has(.contact-page) {
        scroll-behavior: auto;
    }

    .contact-page a,
    .contact-page input,
    .contact-page select,
    .contact-page textarea {
        transition: none;
    }

}
.contact-locations-container {
    width: var(--contact-container);
    max-width: 100%;
    margin-inline: auto;
    padding-block: 96px;
}

.contact-card-actions>.contact-card-inquiry,
.contact-location-controls {
    display: none;
}

.contact-location-card {
    scroll-margin-top: 128px;
}

@media (max-width: 1320px) {
    .contact-page {
        --contact-container: 1000px;
    }

    .contact-question-copy {
        max-width: calc(100% - 64px);
        margin-left: 32px;
    }

    .contact-form-card {
        padding: 48px 32px;
    }

    .contact-card-action {
        padding-inline: 8px;
        gap: 8px;
        font-size: 13px;
    }

    .contact-location-name {
        font-size: 38px;
        line-height: 42px;
    }

    .contact-location-address {
        font-size: 17px;
        line-height: 24px;
    }
}

@media (max-width: 1080px) {
    .contact-page {
        --contact-container: 100%;
        --contact-gutter: 48px;
    }

    .contact-locations-container {
        padding-block: 0;
    }

    .contact-intro {
        gap: 24px;
        margin: 0;
        padding-block: 87px 51px;
    }

    .contact-title-row {
        flex-direction: column;
        gap: 24px;
    }

    .contact-title-row .contact-divider:last-child {
        display: none;
    }

    .contact-page-title {
        font-size: 32px;
        line-height: 40px;
    }

    .contact-intro-description {
        font-size: 14px;
        line-height: 22px;
        color: var(--grey-80, #CCC);
    }

    .contact-location-grid {
        max-width: 100%;
    }

    .contact-location-pattern {
        display: none;
    }

    .contact-location-card {
        height: 448px;
        padding: 32px 8px 24px;
    }

    .contact-location-info {
        gap: 12px;
    }

    .contact-location-area {
        font-size: 12px;
        line-height: 12px;
    }

    .contact-location-name {
        font-size: 28px;
        line-height: 34px;
    }

    .contact-location-address {
        font-size: 14px;
        line-height: 20px;
    }

    .contact-card-actions {
        width: 100%;
        max-width: 100%;
    }

    .contact-card-actions>.contact-card-explore {
        display: none;
    }

    .contact-card-actions>.contact-card-inquiry {
        display: block;
        order: 1;
        min-height: 40px;
        padding: 12px 16px;
        font-family: var(--contact-sans);
        font-size: 12px;
        font-weight: 500;
        line-height: 12px;
        letter-spacing: 1px;
    }

    .contact-card-action-row {
        gap: 8px;
    }

    .contact-card-action {
        height: 29px;
        padding: 0;
        gap: 6px;
        font-size: 12px;
    }

    .contact-card-action img {
        flex-shrink: 0;
        content: url('../UpdateImages/contact/map-mobile.svg');
    }

    .contact-card-phone img {
        content: url('../UpdateImages/contact/phone-mobile.svg');
    }

    .contact-card-divider {
        height: 29px;
    }

    .contact-card-divider img {
        content: url('../UpdateImages/contact/action-divider-mobile.svg');
    }

    .contact-location-controls:not([hidden]) {
        display: flex;
        justify-content: center;
        gap: 13px;
        margin-top: 24px;
    }

    .contact-location-arrow {
        display: grid;
        place-items: center;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: rgba(51, 51, 51, 0.75);
    }

    .contact-location-arrow-next img {
        transform: rotate(180deg);
    }

    .contact-inquiry-container {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        margin-block: 0;
    }

    .contact-inquiry-background {
        inset: auto;
        top: 0;
        left: calc(-1 * var(--contact-gutter));
        width: calc(100% + 2 * var(--contact-gutter));
        max-width: none;
        height: 480px;
        object-position: center top;
        content: url('../UpdateImages/contact/form-background-mobile.png');
    }

    .contact-inquiry-container::before {
        inset: auto;
        top: 0;
        left: calc(-1 * var(--contact-gutter));
        width: calc(100% + 2 * var(--contact-gutter));
        height: 480px;
    }

    .contact-question-copy {
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-height: 480px;
        margin: 0;
        padding: 112px 0 96px;
        text-align: center;
    }

    .contact-question-title {
        font-size: 32px;
        line-height: 32px;
    }

    .contact-faq-button {
        min-height: 44px;
        padding-block: 12px;
        font-size: 14px;
        line-height: 16px;
    }

    .contact-form-card {
        margin: -73px 0 0;
        padding: 40px 16px;
    }

    .contact-form-title,
    .contact-form-description,
    .contact-field,
    .contact-consent,
    .contact-form-button {
        width: 100%;
    }

    .contact-form-title {
        font-size: 32px;
        line-height: 32px;
    }

    .contact-form-description {
        color: var(--grey-80, #CCC);
    }

    .contact-location-field {
        display: none;
    }

    .contact-form-border {
        right: 0;
        bottom: auto;
        width: 100%;
        height: 8px;
    }

    .contact-form-border img {
        left: 0;
        transform: none;
    }

    .contact-consent label {
        font-size: 14px;
        line-height: 22px;
    }

    .contact-form-button {
        max-width: 100%;
        padding: 13px 16px;
        font-family: var(--contact-sans);
        font-size: 14px;
        font-weight: 400;
        line-height: 14px;
        letter-spacing: 1px;
    }
}

@media (max-width: 970px) {
    .contact-page {
        --contact-gutter: 32px;
    }
}

@media (max-width: 700px) {
    .contact-page {
        --contact-gutter: 24px;
    }

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

@media (max-width: 500px) {
    .contact-page {
        --contact-gutter: 16px;
    }
}

@media (max-width: 360px) {
    .contact-card-action {
        font-size: 11px;
        letter-spacing: 0;
    }
}
