.contacts-page {
    background: #f7f8f3;
}

.contacts-page .hero {
    height: auto;
    min-height: 0;
    padding-bottom: 96px;
}

.contacts-hero-block {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    grid-template-areas:
        "content highlight"
        "form social";
    gap: 32px 28px;
    align-items: start;
    height: auto;
    min-height: 0;
    padding: 92px 88px 88px;
}

.contacts-hero__content {
    grid-area: content;
    max-width: 720px;
}

.contacts-hero__eyebrow {
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6f7d57;
}

.contacts-hero__title {
    margin: 0 0 22px;
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #111111;
}

.contacts-hero__description {
    margin: 0;
    max-width: 620px;
    font-size: 20px;
    line-height: 1.55;
    color: #566154;
}

.contacts-hero__highlight {
    grid-area: highlight;
    align-self: start;
    padding: 30px 32px;
    border-radius: 28px;
    background: linear-gradient(145deg, #e9f6c8 0%, #f4f7e7 100%);
    border: 1px solid rgba(120, 144, 71, 0.16);
    box-shadow: 0 24px 60px rgba(79, 99, 34, 0.12);
}

.contacts-hero__highlight-label {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #68764f;
}

.contacts-hero__highlight-email {
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.2;
    color: #111111;
    text-decoration: none;
    word-break: break-word;
}

.contacts-hero__highlight-note {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #4f5b4a;
}

.contacts-hero__form {
    grid-area: form;
}

.contacts-hero__social {
    grid-area: social;
}

.contacts-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.contacts-card--form {
    padding: 34px;
}

.contacts-card--social {
    padding: 30px;
}

.contacts-card__title {
    margin: 0 0 20px;
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #111111;
}

.contacts-card__text,
.contacts-form__privacy,
.contacts-form__message {
    font-size: 16px;
    line-height: 1.65;
    color: #5c6658;
}

.contacts-card__text {
    margin: 0 0 22px;
}

.contacts-form {
    display: grid;
    gap: 18px;
}

.contacts-form__field {
    display: grid;
    gap: 10px;
}

.contacts-form__label {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}

.contacts-form input,
.contacts-form textarea {
    width: 100%;
    border: 1px solid #d8ddd0;
    border-radius: 18px;
    background: #fbfcf7;
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: #111111;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    border-color: #96b529;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(173, 236, 22, 0.16);
}

.contacts-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contacts-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contacts-form__submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-height: 56px;
    border: none;
    border-radius: 999px;
    padding: 16px 26px;
    background: linear-gradient(135deg, #a5dd14 0%, #bfdc51 100%);
    color: #111111;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.contacts-form__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(165, 221, 20, 0.24);
}

.contacts-form__submit:disabled {
    opacity: 0.7;
    cursor: progress;
}

.contacts-form__privacy {
    margin: -2px 0 0;
}

.contacts-form__message {
    margin: 0;
}

.contacts-form__message.is-success {
    color: #2f7a32;
}

.contacts-form__message.is-error {
    color: #b3261e;
}

.contacts-social-links {
    display: grid;
    gap: 14px;
}

.contacts-social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #f8faf4;
    border: 1px solid #e3e8d7;
    text-decoration: none;
    color: #111111;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contacts-social-link:hover {
    transform: translateY(-2px);
    border-color: #bfdc51;
    box-shadow: 0 14px 28px rgba(68, 84, 36, 0.12);
}

.contacts-social-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    flex-shrink: 0;
}

.contacts-social-link__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contacts-social-link__label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.contacts-social-link--instagram .contacts-social-link__icon {
    background: linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
    color: #ffffff;
}

.contacts-social-link--instagram:hover {
    border-color: rgba(214, 41, 118, 0.34);
    box-shadow: 0 14px 28px rgba(214, 41, 118, 0.18);
}

.contacts-social-link--threads .contacts-social-link__icon {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(17, 17, 17, 0.14);
}

.contacts-social-link--threads:hover {
    border-color: rgba(17, 17, 17, 0.24);
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
}

.contacts-social-link--linkedin .contacts-social-link__icon {
    background: #0a66c2;
    color: #ffffff;
}

.contacts-social-link--linkedin:hover {
    border-color: rgba(10, 102, 194, 0.34);
    box-shadow: 0 14px 28px rgba(10, 102, 194, 0.18);
}

@media (max-width: 1024px) {
    .contacts-page .hero {
        padding-bottom: 72px;
    }

    .contacts-hero-block {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "highlight"
            "form"
            "social";
    }

    .contacts-hero__content {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .contacts-page .hero {
        padding-bottom: 48px;
    }

    .contacts-hero-block {
        margin-top: calc(var(--menu-offset) + var(--menu-h) + 24px);
        padding: 34px 24px;
        gap: 24px;
        border-radius: 28px;
    }

    .contacts-hero__title {
        font-size: 36px;
    }

    .contacts-hero__description {
        font-size: 17px;
    }

    .contacts-card--form,
    .contacts-card--social {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .contacts-card__title {
        font-size: 26px;
    }

    .contacts-hero__highlight-email {
        font-size: 22px;
    }

    .contacts-form__submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contacts-hero__title {
        font-size: 31px;
    }

    .contacts-social-link {
        min-height: 62px;
        padding: 14px 16px;
    }

    .contacts-social-link__icon {
        width: 38px;
        height: 38px;
    }

    .contacts-social-link__label {
        font-size: 16px;
    }
}