/* ===== Переменные ===== */
:root {
    --color-primary: #2D4A33;
    /* глубокий зелёный */
    --color-primary-2: #1E3524;
    /* тёмный акцент */
    --color-accent: #C9B98E;
    /* песочный */
    --color-bg: #F6F4EF;
    /* кремовый фон */
    --color-text: #22271F;
    --color-muted: #6B7265;
    --font-head: 'Lato', sans-serif;
    --font-body: 'Lato', sans-serif;
    --radius: 6px;
}

/* ===== Сброс и база ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary-2);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: all .25s ease;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-primary-2);
}

.btn--ghost {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--ghost:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Топбар ===== */
.topbar {
    background: var(--color-primary-2);
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
}

.topbar__phone {
    color: #fff;
    font-weight: 700;
}

.topbar__phone:hover {
    color: var(--color-accent);
}

/* ===== Шапка ===== */
.header-main {
    background: #fff;
    border-bottom: 1px solid #EAE8E2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 80px;
}

.site-branding__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}

.brand-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    flex: none;
    background: linear-gradient(135deg, rgba(45, 74, 51, .12), rgba(201, 185, 142, .20));
    border-radius: 50%;
}

.brand-logo__name {
    color: var(--color-primary);
    letter-spacing: .01em;
}

/* Логотип-изображение (Настройщик → Свойства сайта → Логотип) */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    display: block;
    width: auto;
    max-height: 56px;
}

.footer-logo .custom-logo {
    max-height: 48px;
}

/* Меню */
.primary-nav {
    margin-left: auto;
}

.primary-nav__list {
    display: flex;
    gap: 28px;
}

.primary-nav__list a {
    font-size: 15px;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
}

.primary-nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width .25s;
}

.primary-nav__list a:hover::after,
.current-menu-item a::after {
    width: 100%;
}

/* ===== Подвал ===== */
.site-footer {
    background: var(--color-primary-2);
    color: rgba(255, 255, 255, .75);
    margin-top: 80px;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo .brand-logo__name {
    color: #fff;
}

.footer-logo .brand-logo__mark {
    background: rgba(255, 255, 255, .14);
}

.footer-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: 14px;
}

/* ===== Мобильное меню ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    transition: .25s;
}

@media (max-width: 900px) {
    .burger {
        display: flex;
    }

    .primary-nav,
    .header__btn {
        display: none;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #EAE8E2;
        padding: 15px 20px 25px;
    }

    .primary-nav__list {
        flex-direction: column;
        gap: 10px;
    }

    body.nav-open .primary-nav {
        display: block;
    }

    body.nav-open .burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .burger span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topbar__note {
        display: none;
    }
}

/* ===== Общее для секций ===== */
.section {
    padding: 80px 0;
}

.section--bg {
    background: var(--color-bg);
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
}

.section-head__link {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 15px;
}

.section-head__link:hover {
    color: var(--color-primary-2);
}

/* ===== Hero ===== */
.hero__slider {
    position: relative;
    height: 78vh;
    min-height: 500px;
    overflow: hidden;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    background: linear-gradient(120deg, #243f2b, #16281c);
    /* фолбэк, если фото нет */
    background-size: cover;
    background-position: center;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(12, 20, 14, .70) 0%,
        rgba(12, 20, 14, .42) 45%,
        rgba(12, 20, 14, .06) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 680px;
}

.hero__title {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.hero__text {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
    margin: 14px 0 30px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(16, 26, 19, .35);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.hero__arrow:hover {
    background: var(--color-primary);
}

.hero__arrow--prev {
    left: 22px;
}

.hero__arrow--next {
    right: 22px;
}

.hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .5);
}

.hero__dot.is-active {
    background: var(--color-accent);
}

/* ===== Карточки услуг ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: #fff;
    border: 1px solid #EAE8E2;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(34, 39, 31, .14);
}

.card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card__body {
    padding: 22px;
}

.card__title {
    font-size: 20px;
    margin-bottom: 8px;
}

.card__text {
    font-size: 14.5px;
    color: var(--color-muted);
}

.card__more {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
}

/* ===== Bento: услуги ===== */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 18px;
}

.bento__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background: var(--color-primary-2);
}

/* 10 плиток: страница «Услуги» */
.bento--10 .bento__item:nth-child(1),
.bento--10 .bento__item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 2;
}

.bento--10 .bento__item:nth-child(2),
.bento--10 .bento__item:nth-child(6),
.bento--10 .bento__item:nth-child(9),
.bento--10 .bento__item:nth-child(10) {
    grid-column: span 2;
}

/* 6 плиток: превью на главной */
.bento--6 .bento__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.bento--6 .bento__item:nth-child(2),
.bento--6 .bento__item:nth-child(5),
.bento--6 .bento__item:nth-child(6) {
    grid-column: span 2;
}

.bento__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.bento__item:hover .bento__img {
    transform: scale(1.06);
}

.bento__img--empty {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2) 60%, #3a6b45);
}

.bento__img--empty::after {
    content: '🌿';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    opacity: .25;
}

.bento__body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 20px 18px;
    background: linear-gradient(transparent, rgba(12, 20, 14, .88));
}

.bento__title {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.25;
}

.bento--10 .bento__item:nth-child(1) .bento__title,
.bento--10 .bento__item:nth-child(5) .bento__title,
.bento--6 .bento__item:nth-child(1) .bento__title {
    font-size: 24px;
}

.bento__more {
    display: inline-block;
    margin-top: 6px;
    font-size: 13.5px;
    opacity: .8;
    transform: translateY(4px);
    transition: .25s;
}

.bento__item:hover .bento__more {
    opacity: 1;
    transform: translateY(0);
}

/* ===== О компании ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.about__img--empty {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2) 60%, #3a6b45);
}

.about__img--empty::after {
    content: '🌿';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    opacity: .25;
}

.about__text {
    margin-top: 14px;
    color: var(--color-muted);
}

/* ===== Этапы ===== */
.stages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 56px;
}

.stage__num {
    font-family: var(--font-head);
    font-size: 32px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 6px;
}

.stage__title {
    font-size: 19px;
    margin-bottom: 6px;
}

.stage__text {
    font-size: 15px;
    color: var(--color-muted);
}

/* ===== Портфолио ===== */
.grid-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.project:hover .project__img {
    transform: scale(1.07);
}

.project__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 20px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(15, 25, 18, .9));
}

.project__info h3 {
    color: #fff;
    font-size: 19px;
}

.project__type {
    font-size: 13px;
    color: var(--color-accent);
}

/* ===== Форма (CTA) ===== */
.section--cta {
    background: var(--color-primary-2);
}

.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta__text h2 {
    color: #fff;
}

.cta__text p {
    color: rgba(255, 255, 255, .8);
    margin-top: 12px;
}

.cta__form {
    display: grid;
    gap: 12px;
}

.cta__form input,
.cta__form textarea {
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: inherit;
}

.cta__form input::placeholder,
.cta__form textarea::placeholder {
    color: rgba(255, 255, 255, .45);
}

.cta__form .btn {
    justify-self: start;
    margin-top: 6px;
}

.form-ok {
    color: #A6E3B5;
    font-weight: 700;
}

.form-err {
    color: #F1A0A0;
    font-weight: 700;
}

/* ===== Контакты ===== */
.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 44px;
}

.contacts__list {
    display: grid;
    gap: 18px;
    margin: 20px 0 28px;
}

.contacts__label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-muted);
}

.contacts__item a {
    color: var(--color-primary);
    font-weight: 700;
}

.contacts__item a:hover {
    color: var(--color-primary-2);
}

.map {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.map iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
}

/* ===== Команда ===== */
.team {
    margin-top: 52px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
}

.team-card {
    background: #fff;
    border: 1px solid #EAE8E2;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-card__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.team-card__photo--empty {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2) 60%, #3a6b45);
}

.team-card__photo--empty::after {
    content: '🌿';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    opacity: .25;
}

.team-card__body {
    padding: 20px 22px 24px;
}

.team-card__name {
    font-size: 19px;
}

.team-card__role {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-accent);
}

.team-card__bio {
    margin-top: 12px;
    font-size: 14.5px;
    color: var(--color-muted);
}

.team-card__bio > * + * {
    margin-top: 12px;
}

/* ===== Адаптив секций ===== */
@media (max-width: 900px) {

    .cards,
    .bento,
    .grid-projects {
        grid-template-columns: repeat(2, 1fr);
    }

    .stages {
        grid-template-columns: 1fr;
    }

    .cta {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contacts {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__slider {
        height: 66vh;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 560px) {

    .cards,
    .grid-projects {
        grid-template-columns: 1fr;
    }

    .bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 170px;
    }

    .bento__item {
        grid-column: auto;
        grid-row: auto;
    }

    .bento--6 .bento__item:nth-child(1),
    .bento--10 .bento__item:nth-child(1),
    .bento--10 .bento__item:nth-child(5) {
        grid-row: span 2;
    }

    .hero__arrow {
        display: none;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .brand-logo {
        font-size: 24px;
    }
}

/* ===== Хлебные крошки ===== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--color-muted);
}

.breadcrumbs a {
    color: var(--color-muted);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs__sep {
    color: var(--color-accent);
}

.breadcrumbs [aria-current="page"] {
    color: var(--color-text);
    font-weight: 700;
}

/* ===== Записи и страницы ===== */
.single-post__content,
.page-content__body {
    max-width: 760px;
}

.single-post__content > * + *,
.page-content__body > * + * {
    margin-top: 18px;
}

.page-content__body + .cards,
.page-content__body + .bento,
.page-content__body + .grid-projects {
    margin-top: 44px;
}

.single-post__thumb {
    margin: 28px 0;
}

.single-post__thumb img {
    width: 100%;
    border-radius: var(--radius);
}

.single-post__head,
.page-content__head {
    margin-bottom: 24px;
}

.pagination {
    margin-top: 44px;
    text-align: center;
}

/* ===== Иконки ===== */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
}

/* ===== Преимущества ===== */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.advantage {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #EAE8E2;
    border-radius: var(--radius);
}

.advantage__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(45, 74, 51, .08);
    color: var(--color-primary);
}

.advantage__icon .icon {
    width: 26px;
    height: 26px;
}

.advantage__title {
    margin-bottom: 8px;
    font-size: 18px;
}

.advantage__text {
    font-size: 14.5px;
    color: var(--color-muted);
}

/* ===== Цифры ===== */
.section--stats {
    background: var(--color-primary-2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat__num {
    display: block;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1;
    color: #fff;
}

.stat__label {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
}

/* ===== Отзывы ===== */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.review {
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: #fff;
    border: 1px solid #EAE8E2;
    border-radius: var(--radius);
}

.review__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    color: var(--color-accent);
}

.review__star {
    width: 18px;
    height: 18px;
    opacity: .25;
}

.review__star.is-on {
    opacity: 1;
}

.review__text {
    flex: 1;
    font-size: 15px;
}

.review__text > * + * {
    margin-top: 10px;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.review__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review__name {
    display: block;
    font-weight: 700;
}

.review__role {
    display: block;
    font-size: 13px;
    color: var(--color-muted);
}

/* ===== FAQ ===== */
.faq {
    max-width: 820px;
}

.faq__item {
    border-bottom: 1px solid #EAE8E2;
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__chevron {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform .25s;
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
}

.faq__a {
    padding: 0 0 18px;
    font-size: 15px;
    color: var(--color-muted);
}

.faq__a > * + * {
    margin-top: 10px;
}

/* ===== До/После ===== */
.ba-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.ba {
    margin: 0;
}

.ba__stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    cursor: ew-resize;
    touch-action: none;
}

.ba__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba__after .ba__img {
    clip-path: inset(0 50% 0 0);
}

.ba__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: #fff;
    pointer-events: none;
}

.ba__handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.ba__caption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-muted);
}

/* ===== Плавающие мессенджеры ===== */
.messengers {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.messengers__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    transition: transform .2s;
}

.messengers__btn:hover {
    transform: translateY(-3px);
}

.messengers__btn .icon {
    width: 26px;
    height: 26px;
}

.messengers__btn--wa {
    background: #25D366;
}

.messengers__btn--tg {
    background: #229ED9;
}

.messengers__btn--phone {
    background: var(--color-primary);
}

/* ===== Записи блога ===== */
.card__date {
    display: block;
    margin-bottom: 8px;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-accent);
}

.post-meta {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-muted);
}

.post-meta a {
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .messengers {
        right: 14px;
        bottom: 14px;
    }

    .messengers__btn {
        width: 46px;
        height: 46px;
    }
}
