.contacts-layout {
    padding-top: 34px;
    padding-bottom: 70px;
}

.contacts-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
}


/* ШАПКА СТРАНИЦЫ */

.contacts-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
    padding: clamp(32px, 5vw, 64px);
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(215, 174, 59, 0.22),
            transparent 34%
        ),
        linear-gradient(135deg, #111214 0%, #1e2024 100%);
    color: #ffffff;
}

.contacts-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -170px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.contacts-hero::after {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -210px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contacts-hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.contacts-hero .eyebrow {
    color: #d8b249;
}

.contacts-hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.contacts-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.contacts-hero__logo {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    margin-left: 40px;
}

.contacts-hero__logo::before {
    content: "";
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    background: rgba(215, 174, 59, 0.25);
    filter: blur(35px);
}

.contacts-hero__logo img {
    position: relative;
    display: block;
    width: clamp(130px, 17vw, 210px);
    height: auto;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.35));
}


/* КАРТОЧКИ */

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #e6e6e8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 17, 20, 0.06);
}

.contact-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: 50%;
}

.contact-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 27px;
    place-items: center;
    border-radius: 15px;
    background: #f2f2f3;
    color: #17181a;
}

.contact-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card__label {
    margin-bottom: 9px;
    color: #9a771c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-card h2 {
    margin: 0 0 15px;
    color: #17181a;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.contact-card p {
    margin: 0 0 24px;
    color: #6e7075;
    font-size: 15px;
    line-height: 1.65;
}

.contact-card__link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    color: #17181a;
    font-weight: 750;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-card__link:hover {
    color: #a98018;
    transform: translateX(3px);
}

.contact-card__note {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 9px;
    background: #f3f3f4;
    color: #77797e;
    font-size: 13px;
    font-weight: 650;
}

.contact-card--accent {
    border-color: transparent;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 255, 255, 0.15),
            transparent 35%
        ),
        linear-gradient(145deg, #c99c29 0%, #a7780c 100%);
}

.contact-card--accent .contact-card__icon {
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
}

.contact-card--accent .contact-card__label,
.contact-card--accent h2,
.contact-card--accent p {
    color: #ffffff;
}

.contact-card--accent p {
    color: rgba(255, 255, 255, 0.79);
}

.contact-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    margin-top: auto;
    padding: 0 21px;
    border-radius: 12px;
    background: #161719;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-card__button:hover {
    background: #000000;
    transform: translateY(-2px);
}


/* КАРТА */

.contacts-map {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #e6e6e8;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 17, 20, 0.05);
}

.contacts-map__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.contacts-map__header h2 {
    margin: 7px 0 0;
    color: #17181a;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.contacts-map__header a {
    flex: 0 0 auto;
    color: #8c6810;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.contacts-map__header a:hover {
    text-decoration: underline;
}

.contacts-map__frame {
    height: 430px;
    overflow: hidden;
    border-radius: 17px;
    background: #eeeeef;
}

.contacts-map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* НИЖНИЙ БЛОК */

.contacts-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: clamp(28px, 4vw, 46px);
    border-radius: 22px;
    background: #18191c;
    color: #ffffff;
}

.contacts-info__content {
    max-width: 670px;
}

.contacts-info .eyebrow {
    color: #d8b249;
}

.contacts-info h2 {
    margin: 8px 0 12px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.contacts-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.65;
}

.contacts-info__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 23px;
    border-radius: 12px;
    background: #d2a62f;
    color: #18191c;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contacts-info__button:hover {
    background: #e3ba4a;
    transform: translateY(-2px);
}


/* АДАПТИВ */

@media (max-width: 980px) {
    .contacts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card--accent {
        grid-column: 1 / -1;
        min-height: 250px;
    }
}

@media (max-width: 760px) {
    .contacts-layout {
        padding-top: 20px;
        padding-bottom: 45px;
    }

    .contacts-hero {
        min-height: auto;
        padding: 32px 25px;
    }

    .contacts-hero__logo {
        margin-left: 20px;
    }

    .contacts-hero__logo img {
        width: 115px;
    }

    .contacts-map__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .contacts-map__frame {
        height: 360px;
    }

    .contacts-info {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    .contacts-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .contacts-hero__logo {
        position: absolute;
        right: -10px;
        bottom: -15px;
        margin: 0;
        opacity: 0.21;
    }

    .contacts-hero__logo img {
        width: 160px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card--accent {
        grid-column: auto;
    }

    .contact-card {
        min-height: 280px;
        padding: 25px;
    }

    .contacts-map {
        padding: 20px;
    }

    .contacts-map__frame {
        height: 320px;
    }

    .contacts-info__button,
    .contact-card__button {
        width: 100%;
    }
}
.contact-card__email {
    display: inline-flex;
    width: fit-content;
    margin: -8px 0 22px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.contact-card__email:hover {
    text-decoration: underline;
}

.contact-card--accent .contact-card__button {
    margin-top: auto;
}