.site-body {
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(231, 224, 214, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.985);
    border-bottom-color: rgba(168, 130, 76, 0.28);
    box-shadow: 0 12px 34px rgba(31, 31, 31, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-body {
    padding-top: 74px;
}

.site-header__inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--color-primary);
    text-decoration: none;
    min-width: 0;
}

.site-brand__logo {
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 52px;
    object-fit: contain;
    flex: 0 1 auto;
}

.site-brand--has-logo {
    width: 100%;
}

.site-brand--has-logo .site-brand__logo {
    display: block;
}

.site-brand__name {
    font-size: 17px;
    line-height: 1.15;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    white-space: nowrap;
}

.site-header__burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    background: var(--color-surface);
    color: var(--color-primary);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.site-header__burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.site-header__menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-width: 0;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.site-nav__link:hover {
    background: var(--color-soft);
    color: var(--color-accent-hover);
}

.site-header__contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
}

.site-header__phone,
.site-header__hours {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.site-header__phone {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.site-header__hours {
    color: var(--color-muted);
    font-size: 12px;
}

.site-header__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--color-accent);
}

.site-header__cta {
    min-height: 40px;
    white-space: nowrap;
}

.site-main {
    min-height: 54vh;
}

.site-footer {
    margin-top: 56px;
    padding: 42px 0 22px;
    background: var(--color-primary);
    color: var(--color-text-light);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) minmax(160px, 1fr) minmax(160px, 1fr);
    gap: 28px;
}

.site-footer__column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.site-footer__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 4px;
}

.site-footer__name {
    font-size: 17px;
    color: var(--color-text-light);
}

.site-footer__description {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__title {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer__link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__legal-link:hover {
    color: var(--color-accent-soft);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.site-footer__legal-link {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    text-decoration: none;
}

.page-section {
    margin-top: var(--section-gap);
}

@media (max-width: 1180px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 64px;
    }

    .site-body {
        padding-top: 64px;
    }

    .site-header__burger {
        display: inline-flex;
        justify-self: end;
    }

    .site-header__menu {
        display: none;
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 0 16px;
    }

    .site-header.is-menu-open .site-header__menu {
        display: grid;
    }

    .site-nav {
        display: grid;
        justify-content: stretch;
        gap: 4px;
        white-space: normal;
    }

    .site-nav__link {
        min-height: 42px;
        padding: 10px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border-soft);
    }

    .site-header__contacts {
        display: grid;
        justify-content: stretch;
        gap: 10px;
        white-space: normal;
    }

    .site-header__phone,
    .site-header__hours,
    .site-header__cta {
        justify-content: flex-start;
    }
}

@media (max-width: 980px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        gap: 10px;
    }

    .site-brand {
        gap: 8px;
    }

    .site-brand__logo {
        max-width: 170px;
        max-height: 42px;
    }

    .site-brand__name {
        font-size: 15px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        display: grid;
        justify-content: start;
    }
}

@media (max-width: 380px) {
    .site-brand__name {
        font-size: 13px;
    }
}

@media (max-width: 340px) {
    .site-brand__name {
        display: none;
    }
}

/* SiteShell v0.1.4 navigation hierarchy */
.site-nav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav__link--dropdown {
    gap: 5px;
}

.site-nav__chevron {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    transition: transform 0.18s ease;
}

.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    display: none;
    z-index: 30;
}

.site-nav__item--has-dropdown:hover .site-nav__dropdown,
.site-nav__item--has-dropdown:focus-within .site-nav__dropdown {
    display: grid;
    gap: 2px;
}

.site-nav__item--has-dropdown:hover .site-nav__chevron,
.site-nav__item--has-dropdown:focus-within .site-nav__chevron {
    transform: rotate(180deg);
}

.site-nav__dropdown-link {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: var(--radius-control);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.site-nav__dropdown-link:hover {
    background: var(--color-soft);
    color: var(--color-accent-hover);
}

@media (max-width: 1180px) {
    .site-nav__item {
        display: grid;
        align-items: stretch;
    }

    .site-nav__link--dropdown {
        justify-content: space-between;
    }

    .site-nav__chevron {
        display: none;
    }

    .site-nav__dropdown {
        position: static;
        display: grid;
        min-width: 0;
        padding: 0 0 4px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-nav__dropdown-link {
        min-height: 38px;
        padding: 8px 0;
        border-bottom: 1px solid var(--color-border-soft);
        border-radius: 0;
    }
}

/* SiteShell v0.1.5 semantic navigation markup */
.site-nav__list,
.site-nav__dropdown,
.site-footer__list,
.site-footer__legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.site-nav__dropdown-item,
.site-footer__item,
.site-footer__legal-item {
    margin: 0;
    padding: 0;
}

.site-footer__list {
    display: grid;
    gap: 10px;
}

.site-footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

@media (max-width: 1180px) {
    .site-nav__list {
        display: grid;
        justify-content: stretch;
        gap: 4px;
        white-space: normal;
    }
}


/* SiteShell v0.1.6 dropdown/footer fixes */
.site-nav__item--has-dropdown {
    padding-bottom: 0;
}

.site-nav__dropdown {
    margin-top: 0;
}

.site-footer__inner {
    align-items: start;
}


.site-cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 14px 0;
    background: rgba(31, 31, 31, 0.96);
    color: var(--color-text-light);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
}

.site-cookie-notice[hidden] {
    display: none;
}

.site-cookie-notice__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-cookie-notice__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.site-cookie-notice__link {
    margin-left: 8px;
    color: var(--color-accent-soft);
    text-decoration: none;
}

.site-cookie-notice__link:hover {
    color: #ffffff;
}

.site-cookie-notice__button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 16px;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .site-cookie-notice__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .site-cookie-notice__button {
        width: 100%;
    }
}

/* SiteShell v0.1.9 prefooter common lead form */
.site-prefooter-lead {
    margin: 64px 0 0;
    scroll-margin-top: 96px;
}

.site-prefooter-lead + .site-footer {
    margin-top: 56px;
}

.site-prefooter-lead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 42px;
    align-items: center;
    padding: clamp(34px, 5vw, 56px);
    border-radius: 24px;
    background: linear-gradient(135deg, #1f1f1f 0%, #242424 58%, #3a3024 100%);
    box-shadow: 0 24px 70px rgba(31, 31, 31, 0.14);
    color: #ffffff;
}

.site-prefooter-lead__content {
    display: grid;
    gap: 16px;
    max-width: 620px;
}

.site-prefooter-lead__eyebrow {
    margin: 0;
    color: var(--color-accent-soft);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-prefooter-lead__content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.12;
    font-weight: var(--font-weight-bold);
}

.site-prefooter-lead__content p:last-child {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.55;
}

.site-prefooter-lead__form {
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.site-prefooter-lead__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.site-prefooter-lead__field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.site-prefooter-lead__label {
    color: var(--color-muted);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
}

.site-prefooter-lead__control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    background: #ffffff;
    color: var(--color-primary);
    font: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.site-prefooter-lead__control::placeholder {
    color: #8d8d8d;
}

.site-prefooter-lead__control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(168, 130, 76, 0.16);
}

.site-prefooter-lead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
}

.site-prefooter-lead__submit {
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.site-prefooter-lead__note,
.site-prefooter-lead__policy {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
}

.site-prefooter-lead__policy a {
    color: var(--color-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-prefooter-lead__policy a:hover {
    color: var(--color-accent);
}

.site-prefooter-lead__hp {
    position: absolute !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

@media (max-width: 1024px) {
    .site-prefooter-lead__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .site-prefooter-lead {
        margin-top: 42px;
    }

    .site-prefooter-lead__inner {
        padding: 24px;
        border-radius: 20px;
    }

    .site-prefooter-lead__fields {
        grid-template-columns: 1fr;
    }

    .site-prefooter-lead__actions {
        display: grid;
        gap: 12px;
    }

    .site-prefooter-lead__submit {
        width: 100%;
    }
}

/* SiteShell v0.1.13 footer-embedded lead restore */
.site-footer {
    margin-top: 56px;
    padding: 0;
    background: var(--color-primary);
    color: var(--color-text-light);
}

.site-footer__lead {
    margin: 0;
    padding: 56px 0 42px;
    scroll-margin-top: 96px;
}

.site-footer__content {
    padding: 42px 0 22px;
    background: var(--color-primary);
}

.site-footer .site-prefooter-lead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 42px;
    align-items: center;
    padding: clamp(34px, 5vw, 56px);
    border-radius: 24px;
    background: linear-gradient(135deg, #1f1f1f 0%, #242424 58%, #3a3024 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

.site-footer .site-prefooter-lead__form {
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
    .site-footer .site-prefooter-lead__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .site-footer__lead {
        padding: 36px 0 30px;
    }

    .site-footer .site-prefooter-lead__inner {
        padding: 24px;
        border-radius: 20px;
    }
}


/* SiteShell v0.1 Patch 3L: cookie notice viewport containment */
.site-cookie-notice {
    box-sizing: border-box;
    max-inline-size: 100vw;
    overflow-x: hidden;
}

.site-cookie-notice,
.site-cookie-notice * {
    min-inline-size: 0;
}

.site-cookie-notice__inner {
    box-sizing: border-box;
    inline-size: min(calc(100% - var(--page-padding-mobile, 16px) * 2), var(--site-container, 1180px));
    max-inline-size: var(--site-container, 1180px);
    margin-inline: auto;
}

.site-cookie-notice__text,
.site-cookie-notice__button {
    max-inline-size: 100%;
}

.site-cookie-notice__text {
    overflow-wrap: anywhere;
}

@media (max-width: 720px) {
    .site-cookie-notice {
        padding-inline: 0;
    }
}

/* SiteShell v0.1.14 desktop footer lead form guard
   Keeps the global LeadModule .lead-form grid from turning the footer form into columns. */
.site-footer .site-prefooter-lead__form {
    grid-template-columns: minmax(0, 1fr);
}

.site-footer .site-prefooter-lead__fields,
.site-footer .site-prefooter-lead__actions,
.site-footer .site-prefooter-lead__policy {
    grid-column: 1 / -1;
}

@media (min-width: 641px) {
    .site-footer .site-prefooter-lead__actions {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }
}


/* SiteShell patch 39.1: fixed header and logo-only brand */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header {
        background: rgba(255, 255, 255, 0.98);
    }
}

@media (max-width: 420px) {
    .site-brand__logo {
        max-width: 138px;
    }
}

/* SiteShell footer logo polish: invert dark PNG logo on dark footer */
.site-footer__brand .site-footer__logo {
    width: 85%;
    max-width: 260px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
    margin: 0 0 10px;
    filter: brightness(0) invert(1);
    opacity: 0.94;
}

.site-footer__brand .site-footer__logo--contrast {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}

@media (max-width: 640px) {
    .site-footer__brand .site-footer__logo {
        width: min(78vw, 240px);
        max-width: 240px;
        max-height: 64px;
    }
}

/* SiteShell prefooter lead title fix v1.2: direct target by actual H2 id */
#site-prefooter-lead-title,
.site-footer #site-prefooter-lead-title,
.site-prefooter-lead__content #site-prefooter-lead-title,
.site-footer .site-prefooter-lead__content #site-prefooter-lead-title {
    font-size: 34px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.024em;
    max-width: 560px;
}

@media (max-width: 1024px) {
    #site-prefooter-lead-title,
    .site-footer #site-prefooter-lead-title,
    .site-prefooter-lead__content #site-prefooter-lead-title,
    .site-footer .site-prefooter-lead__content #site-prefooter-lead-title {
        font-size: 30px !important;
        line-height: 1.17 !important;
        max-width: 620px;
    }
}

/* SiteShell prefooter lead title mobile 2-line optimization */
@media (max-width: 640px) {
    #site-prefooter-lead-title,
    .site-footer #site-prefooter-lead-title,
    .site-prefooter-lead__content #site-prefooter-lead-title,
    .site-footer .site-prefooter-lead__content #site-prefooter-lead-title {
        display: block;
        width: 100%;
        max-width: 100% !important;
        font-size: clamp(23px, 7.1vw, 25px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.025em;
        text-wrap: balance;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
}

@media (max-width: 380px) {
    #site-prefooter-lead-title,
    .site-footer #site-prefooter-lead-title,
    .site-prefooter-lead__content #site-prefooter-lead-title,
    .site-footer .site-prefooter-lead__content #site-prefooter-lead-title {
        font-size: 22px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.03em;
    }
}

/* SiteShellModule v0.1.2: contact messengers, social channels and footer disclaimer */
.site-footer-messengers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.site-footer-messenger__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.site-footer-messenger__link:hover {
    border-color: rgba(199, 165, 114, 0.55);
    background: rgba(168, 130, 76, 0.14);
    color: var(--color-accent-soft);
}

.site-footer-messenger__link:focus-visible {
    outline: 2px solid var(--color-accent-soft);
    outline-offset: 3px;
}

.site-footer-messenger__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: currentColor;
}

.site-footer__social-row {
    display: grid;
    grid-template-columns: minmax(190px, 0.52fr) minmax(0, 1.48fr);
    align-items: center;
    gap: 18px 32px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__social-title {
    margin: 0;
    color: var(--color-accent-soft);
    font-size: 13px;
    line-height: 1.35;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-social__item {
    margin: 0;
    padding: 0;
}

.site-footer-social__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.025) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.10);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.site-footer-social__link:hover {
    border-color: rgba(199, 165, 114, 0.58);
    background:
        linear-gradient(180deg, rgba(199, 165, 114, 0.18) 0%, rgba(168, 130, 76, 0.10) 100%);
    color: var(--color-text-light);
    transform: translateY(-1px);
}

.site-footer-social__link:focus-visible {
    outline: 2px solid var(--color-accent-soft);
    outline-offset: 3px;
}

.site-footer-social__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 4px;
    border: 1px solid rgba(199, 165, 114, 0.28);
    border-radius: 50%;
    background: rgba(168, 130, 76, 0.12);
    color: var(--color-accent-soft);
    box-sizing: border-box;
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
    align-items: end;
    justify-content: initial;
    gap: 18px 42px;
}

.site-footer__bottom-main {
    display: grid;
    align-content: end;
    gap: 10px;
    min-width: 0;
}

.site-footer__bottom > .site-footer__bottom-main:only-child {
    grid-column: 1 / -1;
}

.site-footer__disclaimer {
    justify-self: end;
    max-width: 450px;
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 1.55;
    text-align: right;
    white-space: pre-line;
    text-wrap: balance;
}

@media (max-width: 900px) {
    .site-footer__social-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
    }

    .site-footer-social {
        justify-content: flex-start;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }

    .site-footer__disclaimer {
        justify-self: start;
        max-width: 680px;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .site-footer-messengers {
        gap: 8px;
    }

    .site-footer-messenger__link {
        min-height: 34px;
        padding: 8px 11px;
        font-size: 12px;
    }

    .site-footer__social-row {
        margin-top: 26px;
        padding-top: 20px;
    }

    .site-footer-social {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .site-footer-social__link {
        width: 100%;
        min-width: 0;
        min-height: 38px;
        justify-content: flex-start;
        box-sizing: border-box;
        padding: 7px 11px 7px 8px;
        font-size: 12px;
    }

    .site-footer-social__icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .site-footer__disclaimer {
        font-size: 11px;
    }
}

@media (max-width: 440px) {
    .site-footer-social {
        grid-template-columns: 1fr;
    }
}

