@charset "UTF-8";
/*
Theme Name: Mental Land Дочерняя тема
Theme URI: https://goodwinpress.ru/wp-tema-mental-land
Author: GoodwinPress
Author URI: https://goodwinpress.ru/
Description: Дочерняя тема Mental Land.
Version: 1.0.0
Text Domain: mental-land
Domain Path: /languages
Template: mental-land
*/

:root {
    --ustina-blue: #203E63;
    --ustina-wine: #8A2432;
    --ustina-wine-dark: #711B29;
    --ustina-text: #31465E;
    --ustina-muted: #68778A;
    --ustina-line: #BDC6D0;
}

.site-header:has(+ .site-main > .site-main__wrap) { margin-bottom: 0; }

/* Header */
.site-header {
    background: var(--ustina-blue);
    color: #fff;
    border-bottom: 2px solid var(--ustina-wine);
}

.site-header__wrap { min-height: 86px; padding-block: 4px; }

.site-header__logo {
    width: 78px;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-header .main-menu a,
.site-header__phone {
    color: #fff !important;
    font-size: .94rem;
}

.site-header .main-menu a { position: relative; }

.site-header .main-menu a::after {
    content: "";
    position: absolute;
    inset: auto 0 -.45rem;
    height: 2px;
    background: var(--ustina-wine);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.site-header .main-menu a:hover::after { transform: scaleX(1); }

.mobile-menu-btn__line,
.mobile-menu-btn__line::before,
.mobile-menu-btn__line::after { background: #fff; }

/* Hero */
.poster {
    padding: 1.7rem 0 .9rem;
    background: linear-gradient(90deg, #F1F3F5, #F8F7F4 50%, #FBFAF8);
    border-radius: 0;
}

.poster__wrap {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: .9rem 3rem;
    align-items: stretch;
}

.poster .poster-media {
    grid-column: 1;
    grid-row: 1;
}

.poster .poster-media > .poster-media__img {
    display: block;
    width: 100%;
    border: 1px solid #D6DCE3;
    border-radius: 14px;
    box-shadow:
        0 16px 40px rgba(32,62,99,.08),
        inset 0 0 0 1px rgba(255,255,255,.35);
}

.poster .poster-media__img--mob { display: none !important; }

.poster__content {
    grid-column: 2;
    grid-row: 1;
    order: initial;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    max-width: 760px;
}

.poster__content::before,
.poster__content::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 64px;
    height: 3px;
    background: var(--ustina-wine);
}

.poster__content::before { margin-bottom: 1rem; }

.poster__eyebrow {
    margin-bottom: .7rem;
    color: #5D6D80;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .05em;
}

.poster .poster__subtitle {
    max-width: 760px;
    margin-bottom: .8rem;
    color: var(--ustina-blue);
    font: 400 clamp(2.6rem,3vw,3.35rem)/1.06 Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
}

.poster__remote-note {
    max-width: 650px;
    margin-bottom: .9rem;
    color: #657386;
    font-size: .84rem;
    line-height: 1.4;
}

.poster .poster__title {
    max-width: 700px;
    margin-bottom: 1rem;
    color: var(--ustina-text);
    font: 400 1.14rem/1.5 var(--fontFamily);
    letter-spacing: -.01em;
}

.poster .poster__title span {
    color: var(--ustina-wine);
    font-weight: 500;
}

/* CTA */
.poster .poster-btn {
    align-self: flex-start;
    min-height: 52px;
    margin-top: auto;
    padding-inline: 1.75rem;
    background: var(--ustina-wine) !important;
    border: 1px solid var(--ustina-wine) !important;
    border-radius: 7px;
    color: #fff !important;
    box-shadow: 0 7px 20px rgba(138,36,50,.14);
    font-weight: 600;
    transition: .25s ease;
}

.poster .poster-btn:hover {
    background: var(--ustina-wine-dark) !important;
    border-color: var(--ustina-wine-dark) !important;
    box-shadow: 0 9px 24px rgba(113,27,41,.18);
    transform: translateY(-2px);
}

.poster .poster__descr {
    max-width: 620px;
    margin: .8rem 0 .25rem;
    color: var(--ustina-muted);
    font-size: .9rem;
    line-height: 1.4;
}

.poster .poster__descr p { margin: 0; }

.poster__phone-link:is(:link,:visited,:hover,:focus,:active) {
    align-self: flex-start;
    margin-bottom: 2.15rem;
    color: var(--ustina-blue) !important;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none !important;
    outline: 0;
}

.poster__phone-link span {
    color: var(--ustina-wine);
    text-decoration: none !important;
    transition: color .2s ease;
}

.poster__phone-link:is(:hover,:focus) span { color: var(--ustina-wine-dark); }

/* Trust */
.poster__trust {
    grid-column: 1 / -1;
    padding-top: .85rem;
    border-top: 1px solid var(--ustina-line);
}

.poster__trust-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
}

.poster__trust-item {
    padding: .12rem 1.25rem;
    color: var(--ustina-blue);
    font-size: .96rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.poster__trust-item + .poster__trust-item { border-left: 1px solid #8593A3; }

.poster .poster__video,
.poster .poster__rating { display: none; }

/* Laptop */
@media (max-width: 1480px) {
    .poster__wrap {
        grid-template-columns: 43% 57%;
        gap: .9rem 2.6rem;
    }

    .poster .poster__subtitle { font-size: 2.65rem; }
    .poster .poster__title { font-size: 1.08rem; }
    .poster__trust-item { font-size: .92rem; }
}

/* Tablet */
@media (max-width: 1200px) {
    .poster { padding: 2rem 0; }
    .poster__wrap { display: block; }

    .poster__content {
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .poster__content::before,
    .poster__content::after,
    .poster__eyebrow,
    .poster__remote-note,
    .poster .poster__descr { margin-inline: auto; }

    .poster__content::after { margin-top: 1.5rem; }

    .poster .poster-btn {
        align-self: center;
        margin-top: 1.5rem;
    }

    .poster__phone-link:is(:link,:visited,:hover,:focus,:active) {
        align-self: center;
        margin-bottom: 1.5rem;
    }

    .poster .poster-media { margin-top: 2rem; }
    .poster__trust { margin-top: 1.5rem; }
}

/* Mobile */
@media (max-width: 700px) {
    .poster { padding: 1.5rem 0; }

    .poster__content::before,
    .poster__content::after {
        width: 48px;
        height: 2px;
    }

    .poster__eyebrow {
        margin-bottom: .55rem;
        font-size: .72rem;
    }

    .poster .poster__subtitle {
        margin-bottom: .7rem;
        font-size: 2rem;
        line-height: 1.12;
    }

    .poster__remote-note {
        margin-bottom: .8rem;
        font-size: .78rem;
    }

    .poster .poster__title {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .poster .poster-btn {
        min-height: 50px;
        padding-inline: 1.4rem;
        border-radius: 6px;
    }

    .poster .poster__descr,
    .poster__phone-link { font-size: .88rem; }

    .poster__trust-list { display: block; }
    .poster__trust-item { padding: .65rem .4rem; }

    .poster__trust-item + .poster__trust-item {
        border-left: 0;
        border-top: 1px solid #D5DAE0;
    }
}

/* Services */
.services-section.section {
    padding: clamp(4rem,6vw,6rem) 0;
    background: #fff;
}

.services-head {
    max-width: 980px;
    margin-bottom: 2.2rem;
}

.services-kicker {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .65rem;
    color: var(--ustina-muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.services-kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--ustina-wine);
}

.services-title {
    margin: 0 0 .8rem;
    color: var(--ustina-blue);
    font: 400 clamp(2.4rem,3.4vw,3.6rem)/1.08 Georgia,"Times New Roman",serif;
    letter-spacing: -.025em;
}

.services-lead,
.services-note {
    margin: 0;
    color: var(--ustina-text);
    font-size: 1.08rem;
    line-height: 1.55;
}

.services-note {
    margin-top: .3rem;
    color: var(--ustina-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.15rem;
}

.services-card {
    position: relative;
    min-width: 0;
    min-height: 250px;
    padding: 1.35rem 1.4rem 1.45rem;
    border: 1px solid #D9DFE5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(32,62,99,.035);
    transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.services-card:hover {
    transform: translateY(-2px);
    border-color: var(--ustina-line);
    box-shadow: 0 12px 28px rgba(32,62,99,.07);
}

.services-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .7rem;
}

.services-card__num {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    color: var(--ustina-wine);
    font: 400 1.8rem/1 Georgia,"Times New Roman",serif;
}

.services-card__num::after {
    content: "";
    width: 1px;
    height: 24px;
    background: var(--ustina-line);
}

.services-card__icon {
    width: 30px;
    height: 30px;
    color: var(--ustina-blue);
    opacity: .9;
}

.services-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-card__title {
    margin: 0 0 .8rem;
    color: var(--ustina-blue);
    font: 400 1.3rem/1.2 Georgia,"Times New Roman",serif;
}

.services-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-card__list li {
    position: relative;
    margin: 0 0 .35rem;
    padding-left: 1rem;
    color: var(--ustina-text);
    font-size: .93rem;
    line-height: 1.34;
}

.services-card__list li::before {
    content: "";
    position: absolute;
    top: .58em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ustina-wine);
}

.services-mid {
    display: flex;
    justify-content: center;
    padding: 1.45rem 0 2.1rem;
    border-bottom: 1px solid #DCE1E6;
}

.services-mid__btn,
.services-callout__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 50px;
    padding: 0 1.65rem;
    border: 1px solid var(--ustina-wine);
    border-radius: 7px;
    background: var(--ustina-wine);
    color: #fff !important;
    font-weight: 600;
    cursor: pointer;
    transition: .22s ease;
}

.services-mid__btn::after,
.services-callout__btn::after {
    content: "→";
    font-size: 1.05rem;
    line-height: 1;
    transition: transform .2s ease;
}

.services-mid__btn:hover,
.services-mid__btn:focus,
.services-callout__btn:hover,
.services-callout__btn:focus {
    border-color: var(--ustina-wine-dark);
    background: var(--ustina-wine-dark);
    transform: translateY(-2px);
}

.services-mid__btn:hover::after,
.services-mid__btn:focus::after,
.services-callout__btn:hover::after,
.services-callout__btn:focus::after { transform: translateX(3px); }

.services-grid--secondary { margin-top: 2.1rem; }

.services-callout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(390px,.95fr);
    min-height: 250px;
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--ustina-line);
    border-radius: 12px;
    background: #F4F6F8;
}

.services-callout__content {
    position: relative;
    z-index: 2;
    padding: 2.1rem 2.35rem;
    background: linear-gradient(
        90deg,
        #F4F6F8 0%,
        rgba(244,246,248,.98) 78%,
        rgba(244,246,248,.84) 100%
    );
}

.services-callout__content::before {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-bottom: .9rem;
    background: var(--ustina-wine);
}

.services-callout__title {
    margin: 0 0 .65rem;
    color: var(--ustina-blue);
    font: 400 clamp(1.8rem,2.4vw,2.45rem)/1.12 Georgia,"Times New Roman",serif;
}

.services-callout__text {
    max-width: 620px;
    margin: 0 0 1.1rem;
    color: var(--ustina-text);
    font-size: .98rem;
    line-height: 1.5;
}

.services-callout__meta {
    margin: .75rem 0 0;
    color: var(--ustina-muted);
    font-size: .86rem;
}

.services-callout__visual {
    min-height: 250px;
    background:
        url("https://yurist-ustina.ru/wp-content/uploads/2026/09/QvyDJfIE5nBgtq09.png")
        68% center/cover no-repeat;
}

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

    .services-card { min-height: 0; }

    .services-callout {
        grid-template-columns: 1.1fr .9fr;
    }
}

@media (max-width: 760px) {
    .services-section.section { padding: 3.5rem 0; }

    .services-head {
        margin-bottom: 1.7rem;
    }

    .services-title {
        font-size: 2.25rem;
    }

    .services-lead,
    .services-note {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-card {
        padding: 1.2rem 1.2rem 1.3rem;
    }

    .services-mid {
        padding: 1.25rem 0 1.7rem;
    }

    .services-grid--secondary {
        margin-top: 1.7rem;
    }

    .services-callout {
        display: block;
    }

    .services-callout__content {
        padding: 1.7rem 1.4rem;
    }

    .services-callout__visual {
        min-height: 190px;
        background-position: 72% center;
    }
}

/* Vertical rhythm fix */
.site-main__wrap > * {
    margin-bottom: 0 !important;
}

.site-main__wrap > .poster {
    margin-bottom: 0 !important;
}

.site-main__wrap > .services-section,
.site-main__wrap > #problems,
.site-main__wrap > .benefits-pro,
.site-main__wrap > #benefits,
.site-main__wrap > #about {
    margin-bottom: 0 !important;
}

.services-section.section,
#problems.section {
    padding: 2.75rem 0 !important;
}

.benefits-pro.section,
#benefits.section {
    padding: 3rem 0 !important;
}

#about.section {
    padding: 3rem 0 !important;
}

#about .about__education {
    margin-top: 3rem;
}

#about .person-content__consult {
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .services-section.section,
    #problems.section,
    .benefits-pro.section,
    #benefits.section,
    #about.section {
        padding: 2.5rem 0 !important;
    }

    #about .about__education {
        margin-top: 2.5rem;
    }
}

@media (max-width: 700px) {
    .services-section.section,
    #problems.section,
    .benefits-pro.section,
    #benefits.section,
    #about.section {
        padding: 2rem 0 !important;
    }

    #about .about__education {
        margin-top: 2rem;
    }

    #about .person-content__consult {
        margin-top: 1.25rem;
    }
}

/* Contacts PRO */
.contacts-pro.section {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 2.75rem 0 3rem !important;
    background: #fff;
}

.contacts-pro.section::after {
    content: "";
    position: absolute;
    right: -18%;
    bottom: -58%;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(32,62,99,.04),rgba(32,62,99,0) 69%);
    pointer-events: none;
}

.contacts-pro .container {
    position: relative;
    z-index: 1;
    max-width: 1160px;
}

.contacts-pro__head {
    max-width: 820px;
    margin-bottom: 1.8rem;
}

.contacts-pro__kicker {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .7rem;
    color: var(--ustina-muted);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contacts-pro__kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--ustina-wine);
}

.contacts-pro__title {
    max-width: 760px;
    margin: 0 0 .8rem;
    color: var(--ustina-blue);
    font: 400 clamp(2.45rem,3.1vw,3.35rem)/1.07 Georgia,"Times New Roman",serif;
    letter-spacing: -.025em;
}

.contacts-pro__lead {
    max-width: 760px;
    margin: 0;
    color: var(--ustina-muted);
    font-size: .98rem;
    line-height: 1.5;
}

.contacts-pro__grid {
    display: grid;
    grid-template-columns: minmax(350px,390px) minmax(0,1fr);
    gap: 1.4rem;
    align-items: stretch;
}

.contacts-pro__card,
.contacts-pro__map {
    box-sizing: border-box;
    min-height: 500px;
    border: 1px solid #D9DFE5;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(32,62,99,.035);
}

.contacts-pro__card {
    display: flex;
    flex-direction: column;
    padding: 1.55rem 1.55rem 1.3rem;
}

.contacts-pro__card-head {
    padding-bottom: .95rem;
    border-bottom: 1px solid #E2E6EB;
}

.contacts-pro__name {
    margin: 0 0 .35rem;
    color: var(--ustina-blue);
    font-size: 1.38rem;
    line-height: 1.15;
}

.contacts-pro__intro {
    margin: 0;
    color: var(--ustina-muted);
    font-size: .86rem;
    line-height: 1.4;
}

.contacts-pro__list {
    display: grid;
    gap: .78rem;
    padding: .95rem 0 1rem;
}

.contacts-pro__item {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: .78rem;
    align-items: center;
    min-width: 0;
}

.contacts-pro__icon,
.contacts-pro__fact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #F2F5F8;
    color: var(--ustina-blue);
}

.contacts-pro__icon {
    width: 42px;
    height: 42px;
}

.contacts-pro__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts-pro__icon--metro {
    color: var(--ustina-wine);
    font: 800 1rem/1 Arial,sans-serif;
}

.contacts-pro__item strong,
.contacts-pro__fact strong {
    display: block;
    margin-bottom: .14rem;
    color: var(--ustina-blue);
    font-size: .83rem;
    line-height: 1.25;
}

.contacts-pro__item span,
.contacts-pro__item a,
.contacts-pro__fact span {
    display: block;
    min-width: 0;
    color: var(--ustina-text) !important;
    font-size: .88rem;
    line-height: 1.36;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contacts-pro__item a[href^="tel:"] {
    color: var(--ustina-blue) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contacts-pro__item a:hover {
    color: var(--ustina-wine) !important;
}

.contacts-pro__item small {
    display: block;
    margin-top: .12rem;
    color: var(--ustina-muted);
    font-size: .72rem;
    line-height: 1.3;
}

.contacts-pro__cta {
    display: grid;
    grid-template-columns: 20px minmax(0,1fr) auto;
    gap: .65rem;
    align-items: center;
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: .68rem .9rem;
    border: 1px solid var(--ustina-wine);
    border-radius: 7px;
    background: var(--ustina-wine);
    color: #fff;
    font-family: inherit;
    font-size: .86rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(138,36,50,.13);
    transition: .22s ease;
}

.contacts-pro__cta svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts-pro__cta:hover,
.contacts-pro__cta:focus {
    border-color: var(--ustina-wine-dark);
    background: var(--ustina-wine-dark);
    transform: translateY(-2px);
    outline: 0;
}

.contacts-pro__arrow {
    font-size: 1rem;
    transition: transform .2s ease;
}

.contacts-pro__cta:hover .contacts-pro__arrow { transform: translateX(3px); }

.contacts-pro__note {
    max-width: 285px;
    margin: .58rem auto 0;
    color: var(--ustina-muted);
    font-size: .7rem;
    line-height: 1.32;
    text-align: center;
}

.contacts-pro__map {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    padding: 0;
    overflow: hidden;
    appearance: none;
    cursor: pointer;
    text-align: left;
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.contacts-pro__map:hover,
.contacts-pro__map:focus {
    border-color: var(--ustina-line);
    box-shadow: 0 13px 30px rgba(32,62,99,.08);
    transform: translateY(-2px);
    outline: 0;
}

.contacts-pro__map img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform .9s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.contacts-pro__map:hover img,
.contacts-pro__map:focus img { transform: scale(1.07); }

.contacts-pro__map-hint { display: none; }

.contacts-pro__facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: stretch;
    margin-top: 1.45rem;
    padding-top: 1.25rem;
    border-top: 1px solid #D9DFE5;
}

.contacts-pro__fact {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
    gap: .8rem;
    align-items: center;
    min-width: 0;
    padding: .15rem 1.6rem;
}

.contacts-pro__fact:first-child { padding-left: 0; }
.contacts-pro__fact:last-child { padding-right: 0; }
.contacts-pro__fact + .contacts-pro__fact { border-left: 1px solid #D8DEE5; }

.contacts-pro__fact-icon {
    width: 46px;
    height: 46px;
}

.contacts-pro__fact-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts-pro__fact strong {
    margin-bottom: .15rem;
    font-size: .86rem;
}

.contacts-pro__fact span {
    color: var(--ustina-muted) !important;
    font-size: .82rem;
    line-height: 1.35;
}

@media (max-width: 1100px) {
    .contacts-pro .container { max-width: 860px; }
    .contacts-pro__grid { grid-template-columns: 1fr; }
    .contacts-pro__card { min-height: 0; }
    .contacts-pro__map { height: 430px; min-height: 430px; }
}

@media (max-width: 700px) {
    .contacts-pro.section { padding: 2rem 0 2.2rem !important; }
    .contacts-pro__head { margin-bottom: 1.25rem; }
    .contacts-pro__kicker { margin-bottom: .55rem; font-size: .7rem; }
    .contacts-pro__kicker::before { width: 30px; }
    .contacts-pro__title { margin-bottom: .65rem; font-size: 2.05rem; line-height: 1.08; }
    .contacts-pro__lead { font-size: .92rem; line-height: 1.46; }
    .contacts-pro__grid { gap: .95rem; }
    .contacts-pro__card { padding: 1.15rem; border-radius: 10px; }
    .contacts-pro__card-head { padding-bottom: .85rem; }
    .contacts-pro__name { font-size: 1.2rem; }
    .contacts-pro__intro { font-size: .82rem; }
    .contacts-pro__list { gap: .78rem; padding: .9rem 0; }
    .contacts-pro__item { grid-template-columns: 42px minmax(0,1fr); gap: .7rem; }
    .contacts-pro__item span,.contacts-pro__item a { font-size: .86rem; }
    .contacts-pro__cta { min-height: 50px; font-size: .84rem; }
    .contacts-pro__note { font-size: .7rem; }
    .contacts-pro__map { height: 300px; min-height: 300px; border-radius: 10px; }
    .contacts-pro__facts { grid-template-columns: 1fr; margin-top: 1rem; padding-top: .55rem; }
    .contacts-pro__fact,.contacts-pro__fact:first-child,.contacts-pro__fact:last-child { padding: .8rem 0; }
    .contacts-pro__fact + .contacts-pro__fact { border-left: 0; border-top: 1px solid #DDE2E7; }
    .contacts-pro__fact-icon { width: 44px; height: 44px; }
}


/* Footer — Юстина */
.site-footer.ustina-footer {
    margin: 0;
    padding: 2.35rem 0 2.15rem;
    background: var(--ustina-blue);
    border-top: 2px solid var(--ustina-wine);
    border-radius: 0 !important;
    color: #fff;
}

.ustina-footer .container {
    max-width: 1160px;
}

.ustina-footer__wrap {
    display: grid;
    grid-template-columns: 120px minmax(0,1fr) 46px;
    gap: 2rem;
    align-items: center;
}

.ustina-footer__brand {
    display: flex;
    align-items: center;
    align-self: stretch;
    padding-right: 1.75rem;
    border-right: 1px solid rgba(255,255,255,.24);
}

.ustina-footer__brand a {
    display: block;
    line-height: 0;
}

.ustina-footer__logo {
    display: block;
    width: 92px;
    max-width: 100%;
    height: auto;
    margin: 0;
    filter: brightness(0) invert(1);
}

.ustina-footer__content {
    min-width: 0;
    color: rgba(255,255,255,.92);
}

.ustina-footer__copy,
.ustina-footer__description,
.ustina-footer__requisites {
    margin: 0;
    color: inherit;
    font-size: .83rem;
    line-height: 1.48;
}

.ustina-footer__copy {
    font-weight: 600;
}

.ustina-footer__description {
    margin-top: .18rem;
}

.ustina-footer__requisites {
    margin-top: .42rem;
    font-weight: 600;
}

.ustina-footer__policies {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1.5rem;
    margin-top: .85rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(255,255,255,.2);
}

.ustina-footer__policies a,
.ustina-footer__policies a:visited {
    color: rgba(255,255,255,.86) !important;
    font-size: .76rem;
    line-height: 1.4;
    text-decoration-line: underline !important;
    text-decoration-color: rgba(255,255,255,.7) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
    transition: color .2s ease,text-decoration-color .2s ease;
}

.ustina-footer__policies a:hover,
.ustina-footer__policies a:focus {
    color: #fff !important;
    text-decoration-color: #fff !important;
}

.ustina-footer__policies .ustina-footer__developer-link,
.ustina-footer__policies .ustina-footer__developer-link:visited {
    margin-left: auto;
    color: rgba(255,255,255,.9) !important;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
}

.ustina-footer__policies .ustina-footer__developer-link:hover,
.ustina-footer__policies .ustina-footer__developer-link:focus {
    color: #fff !important;
    text-decoration: none !important;
}


.site-footer.ustina-footer .site-footer__backtop,
.site-footer.ustina-footer .ustina-footer__backtop {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease,border-color .2s ease,transform .2s ease;
}

.site-footer.ustina-footer .site-footer__backtop:hover,
.site-footer.ustina-footer .site-footer__backtop:focus {
    border-color: #fff;
    background: rgba(255,255,255,.1);
    color: #fff;
    transform: translateY(-2px);
    outline: 0;
}

.site-footer.ustina-footer .site-footer__backtop svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
    transform: rotate(-90deg);
}

@media (max-width: 900px) {
    .site-footer.ustina-footer {
        padding: 2rem 0;
    }

    .ustina-footer__wrap {
        grid-template-columns: 96px minmax(0,1fr) 44px;
        gap: 1.35rem;
    }

    .ustina-footer__brand {
        padding-right: 1.2rem;
    }

    .ustina-footer__logo {
        width: 78px;
    }
}

@media (max-width: 700px) {
    .site-footer.ustina-footer {
        padding: 1.8rem 0;
    }

    .ustina-footer__wrap {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .ustina-footer__brand {
        justify-content: center;
        padding: 0 0 1.15rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .ustina-footer__logo {
        width: 84px;
        margin-inline: auto;
    }

    .ustina-footer__copy,
    .ustina-footer__description,
    .ustina-footer__requisites {
        font-size: .8rem;
        line-height: 1.48;
    }

    .ustina-footer__policies {
        justify-content: center;
        gap: .55rem 1rem;
        margin-top: .9rem;
        padding-top: .9rem;
    }

    .ustina-footer__policies a,
    .ustina-footer__policies a:visited {
        font-size: .74rem;
    }

    .ustina-footer__policies .ustina-footer__developer-link,
    .ustina-footer__policies .ustina-footer__developer-link:visited {
        margin-left: 0;
    }

    .site-footer.ustina-footer .site-footer__backtop,
    .site-footer.ustina-footer .ustina-footer__backtop {
        position: static;
        margin: 0 auto;
    }
}


/* Фикс прокрутки к якорям под фиксированную шапку */
[id] { scroll-margin-top: 90px; }

/* Cookie popup */
#cookiesbox.cookies-box {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99999;
    width: min(420px, calc(100vw - 32px));
    padding: 26px 28px 24px;
    background: #fff;
    border: 1px solid #D9E0E7;
    border-top: 4px solid var(--ustina-wine);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(32,62,99,.14);
    color: var(--ustina-text);
}

#cookiesbox .cookies-box__title {
    margin: 0 0 12px;
    color: var(--ustina-blue);
    font: 400 clamp(1.55rem, 2vw, 1.95rem)/1.1 Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
}

#cookiesbox .cookies-box__descr,
#cookiesbox .cookies-box__descr p {
    margin: 0;
    color: var(--ustina-text);
    font-size: .96rem;
    line-height: 1.58;
}

#cookiesbox .cookies-box__descr {
    margin-bottom: 18px;
}

#cookiesbox .cookies-box__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 52px;
    padding: 0 26px;
    background: var(--ustina-wine);
    border: 1px solid var(--ustina-wine);
    border-radius: 999px;
    color: #fff;
    font: inherit;
    font-size: .96rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(138,36,50,.16);
    transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

#cookiesbox .cookies-box__btn:hover,
#cookiesbox .cookies-box__btn:focus {
    background: var(--ustina-wine-dark);
    border-color: var(--ustina-wine-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(113,27,41,.2);
}

#cookiesbox .cookies-box__btn:active {
    transform: translateY(0);
}

@media (max-width: 700px) {
    #cookiesbox.cookies-box {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
        padding: 22px 20px 20px;
        border-radius: 16px;
    }

    #cookiesbox .cookies-box__title {
        margin-bottom: 10px;
        font-size: 1.45rem;
    }

    #cookiesbox .cookies-box__descr,
    #cookiesbox .cookies-box__descr p {
        font-size: .92rem;
        line-height: 1.5;
    }

    #cookiesbox .cookies-box__descr {
        margin-bottom: 16px;
    }

    #cookiesbox .cookies-box__btn {
        width: 100%;
        min-width: 0;
        min-height: 50px;
    }
}