@font-face {
    font-family: "a_AvanteInt Book";
    src: local("a_AvanteInt Book"), local("AAvanteIntBook");
    font-display: swap;
}

.contacts-page {
    --contacts-navy: #122b3a;
    --contacts-navy-deep: #0d2331;
    --contacts-gold: #c89135;
    --contacts-gold-dark: #a96f1d;
    --contacts-ink: #172630;
    --contacts-muted: #66727a;
    --contacts-line: #e2e5e7;
    --contacts-soft: #f7f6f3;
    --contacts-container: 1460px;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
    overflow: hidden;
    color: var(--contacts-ink);
    background: #fff;
    font-family: "a_AvanteInt Book", "Avenir Next", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.contacts-page,
.contacts-page * {
    box-sizing: border-box;
}

.contacts-page a {
    color: inherit;
    text-decoration: none;
}

.contacts-page button,
.contacts-page input,
.contacts-page textarea {
    font: inherit;
}

.contacts-page button,
.contacts-page a {
    -webkit-tap-highlight-color: transparent;
}

.contacts-page [hidden] {
    display: none !important;
}

.contacts-container {
    width: min(calc(100% - 64px), var(--contacts-container));
    max-width: var(--contacts-container);
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

.contacts-container::before,
.contacts-container::after {
    content: none !important;
    display: none !important;
}

.contacts-section {
    padding: 84px 0;
}

.contacts-heading {
    margin-bottom: 40px;
}

.contacts-heading--center {
    text-align: center;
}

.contacts-heading h2,
.contacts-find h2,
.contacts-requisites h2,
.contacts-final h2,
.contacts-modal h2 {
    margin: 0;
    color: var(--contacts-navy);
    font-size: clamp(32px, 2.6vw, 46px);
    font-weight: 600;
    line-height: 1.13;
}

.contacts-eyebrow {
    margin: 0 0 12px;
    color: var(--contacts-gold-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contacts-title-line {
    display: block;
    width: 50px;
    height: 2px;
    margin: 22px 0 25px;
    background: var(--contacts-gold);
}

.contacts-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 22px;
    color: #68737a;
    font-size: 13px;
}

.contacts-breadcrumbs a:hover {
    color: var(--contacts-gold-dark);
}

.contacts-hero {
    min-height: 600px;
    background: #f3eee7 url("/kontakty/assets/hero.webp") center / cover no-repeat;
}

.contacts-hero__content {
    width: 46%;
    max-width: 660px;
    padding: 95px 0 100px;
}

.contacts-hero h1 {
    margin: 0;
    color: var(--contacts-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 4vw, 72px);
    font-weight: 400;
    line-height: 1.03;
}

.contacts-hero__content > p:not(.contacts-eyebrow) {
    max-width: 610px;
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.7;
}

.contacts-info {
    background: var(--contacts-soft);
}

.contacts-info__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.contacts-info__grid article {
    min-height: 315px;
    padding: 38px 34px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(20, 42, 55, .045);
}

.contacts-info__grid svg {
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
    fill: none;
    stroke: var(--contacts-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contacts-info__grid h3 {
    margin: 0 0 23px;
    color: var(--contacts-navy);
    font-size: 20px;
    font-weight: 700;
}

.contacts-info__grid p,
.contacts-info__grid address {
    margin: 0 0 12px;
    color: #33444e;
    font-style: normal;
    line-height: 1.75;
}

.contacts-info__grid small {
    color: var(--contacts-muted);
}

.contacts-info__grid a:hover {
    color: var(--contacts-gold-dark);
}

.contacts-find {
    background: #fff;
}

.contacts-find__grid {
    display: grid;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
    min-height: 610px;
}

.contacts-find__content {
    align-self: center;
    padding: 70px 80px 70px 0;
}

.contacts-find__content > p:not(.contacts-eyebrow) {
    margin: 0 0 14px;
    color: var(--contacts-muted);
    font-size: 18px;
}

.contacts-find address {
    margin: 0 0 30px;
    color: var(--contacts-navy);
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.7;
}

.contacts-map {
    min-height: 610px;
    background: #e9ece8;
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 610px;
    border: 0;
}

.contacts-button {
    display: inline-flex;
    min-height: 58px;
    padding: 13px 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.contacts-button--outline {
    border-color: var(--contacts-gold);
    color: var(--contacts-gold-dark);
}

.contacts-button--outline:hover {
    color: #fff;
    background: var(--contacts-gold);
}

.contacts-button--gold {
    color: #fff;
    background: var(--contacts-gold);
}

.contacts-button--gold:hover {
    background: var(--contacts-gold-dark);
}

.contacts-button--light {
    border-color: var(--contacts-gold);
    color: #fff;
}

.contacts-button--light:hover {
    color: var(--contacts-navy);
    background: var(--contacts-gold);
}

.contacts-requisites {
    min-height: 510px;
    padding: 82px 0;
    background: #f4eee5 url("/kontakty/assets/requisites.webp") center / cover no-repeat;
}

.contacts-requisites__content {
    width: 68%;
    max-width: 990px;
}

.contacts-company {
    margin: 0 0 26px;
    color: var(--contacts-navy);
    font-size: 20px;
    font-weight: 700;
}

.contacts-requisites__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 70px;
    margin: 0;
}

.contacts-requisites__grid div {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.contacts-requisites__grid dt,
.contacts-requisites__grid dd {
    margin: 0;
}

.contacts-requisites__grid dt {
    color: var(--contacts-muted);
}

.contacts-requisites__grid dd {
    color: var(--contacts-navy);
    overflow-wrap: anywhere;
}

.contacts-final {
    padding: 76px 0;
    color: #fff;
    background:
        radial-gradient(circle at 75% 20%, rgba(200, 145, 53, .12), transparent 30%),
        linear-gradient(135deg, #163446 0%, #0d2432 100%);
}

.contacts-final__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr);
    gap: 70px;
    align-items: center;
}

.contacts-final h2 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.contacts-final__grid > div:first-child > p:not(.contacts-eyebrow) {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
}

.contacts-final__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 25px;
}

.contacts-final__links a {
    display: grid;
    gap: 2px;
}

.contacts-final__links span,
.contacts-final__links small {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.contacts-final__links b {
    font-size: 19px;
    font-weight: 600;
}

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

.contacts-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    padding: 24px;
    place-items: center;
}

.contacts-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 17, 24, .74);
    backdrop-filter: blur(3px);
}

.contacts-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    padding: 42px;
    overflow: auto;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.contacts-modal__dialog > p:not(.contacts-eyebrow) {
    margin: 14px 0 24px;
    color: var(--contacts-muted);
}

.contacts-modal__dialog form {
    display: grid;
    gap: 12px;
}

.contacts-page form label:not(.contacts-consent) > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.contacts-page input,
.contacts-page textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #cfd5d8;
    border-radius: 0;
    color: var(--contacts-ink);
    background: #fff;
    outline: none;
}

.contacts-page textarea {
    min-height: 120px;
    resize: vertical;
}

.contacts-page input:focus,
.contacts-page textarea:focus {
    border-color: var(--contacts-gold);
    box-shadow: 0 0 0 2px rgba(200, 145, 53, .16);
}

.contacts-modal__dialog .contacts-button {
    width: 100%;
}

.contacts-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    align-items: start;
    margin-top: 3px;
    color: var(--contacts-muted);
    font-size: 12px;
    cursor: pointer;
}

.contacts-consent input {
    width: 16px;
    min-height: 16px;
    height: 16px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--contacts-gold);
}

.contacts-consent a {
    text-decoration: underline;
}

.contacts-form-status {
    min-height: 22px;
    margin: 0;
    color: #297644;
    font-size: 14px;
}

.contacts-form-status.is-error {
    color: #a42b2b;
}

.contacts-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contacts-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    color: var(--contacts-navy);
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

body.contacts-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .contacts-info__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts-info__grid article {
        min-height: 275px;
    }

    .contacts-find__grid {
        grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    }

    .contacts-requisites__content {
        width: 78%;
    }

    .contacts-final__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 800px) {
    .contacts-hero {
        position: relative;
        min-height: 650px;
        background-position: 64% center;
    }

    .contacts-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .83) 70%, rgba(255, 255, 255, .32));
    }

    .contacts-hero .contacts-container {
        position: relative;
        z-index: 1;
    }

    .contacts-hero__content {
        width: 76%;
    }

    .contacts-find__grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .contacts-find__content {
        width: min(calc(100% - 64px), var(--contacts-container));
        margin: 0 auto;
        padding: 65px 0;
    }

    .contacts-map,
    .contacts-map iframe {
        min-height: 480px;
    }

    .contacts-requisites {
        position: relative;
        background-position: 65% center;
    }

    .contacts-requisites::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, .7);
    }

    .contacts-requisites .contacts-container {
        position: relative;
        z-index: 1;
    }

    .contacts-requisites__content {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .contacts-container,
    .contacts-find__content {
        width: min(calc(100% - 32px), var(--contacts-container));
    }

    .contacts-section {
        padding: 55px 0;
    }

    .contacts-heading h2,
    .contacts-find h2,
    .contacts-requisites h2,
    .contacts-final h2,
    .contacts-modal h2 {
        font-size: 30px;
    }

    .contacts-breadcrumbs {
        padding-top: 16px;
    }

    .contacts-hero {
        min-height: auto;
        background-position: 72% center;
    }

    .contacts-hero::before {
        background: rgba(255, 255, 255, .89);
    }

    .contacts-hero__content {
        width: 100%;
        padding: 55px 0 65px;
    }

    .contacts-hero h1 {
        font-size: 43px;
    }

    .contacts-hero__content > p:not(.contacts-eyebrow) {
        font-size: 15px;
    }

    .contacts-info__grid,
    .contacts-requisites__grid,
    .contacts-final__links,
    .contacts-buttons {
        grid-template-columns: 1fr;
    }

    .contacts-info__grid article {
        min-height: auto;
        padding: 30px 26px;
    }

    .contacts-map,
    .contacts-map iframe {
        min-height: 410px;
    }

    .contacts-requisites {
        padding: 58px 0;
        background-position: 73% center;
    }

    .contacts-requisites::before {
        background: rgba(255, 255, 255, .84);
    }

    .contacts-requisites__grid div {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .contacts-final {
        padding: 58px 0;
    }

    .contacts-final__grid {
        gap: 36px;
    }

    .contacts-modal {
        padding: 12px;
    }

    .contacts-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 34px 22px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contacts-page *,
    .contacts-page *::before,
    .contacts-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
