@font-face {
    font-family: 'Lineyka';
    src: url('../fonts/Lineyka.woff') format('woff'),
         url('../fonts/Lineyka.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-dark-green:    #005a4c;
    --color-header-bottom: #009868;
    --color-green-mid:     #2db682;
    --color-green-bright:  #46c22e;
    --color-green-hover:   rgba(0, 152, 104, 0.55);
    --color-beige:         #f4f3ed;
    --color-white:         #ffffff;
    --color-text:          #242424;
    --font-heading:        'Lineyka', 'Open Sans', 'Inter', sans-serif;
    --font-body:           'Open Sans', sans-serif;
    --font-display:        'Lineyka', 'Open Sans', 'Inter', sans-serif;
    --header-height:       112px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    background: var(--color-beige);
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Default: opaque hero-top green (inner pages). Homepage overrides with shared hero gradient. */
    background-color: #003c3e;
    border: none;
    box-shadow: none;
    height: var(--header-height);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo img {
    height: 98px;
    width: auto;
    display: block;
}

/* Навигация — пузырь */
.header-nav {
    background: rgba(255, 255, 255, 0.10);
    border: none;
    border-radius: 50px;
    padding: 9px 22px;
}

.header-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav ul li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav ul li::before {
    content: '•';
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
}

.header-nav ul li:first-child::before {
    display: none;
}

.header-nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    padding: 2px 6px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.header-nav ul li a:hover { opacity: 1; }

/* Правый блок хедера */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.header-whatsapp:hover { opacity: 1; }

/* ============================================
   КНОПКА-ПОЛЗУНОК (общие стили)
   ============================================ */
.header-cta,
.footer-cta {
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    transition: background 0.35s, border-color 0.35s;
}

.header-cta {
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 5px 18px 5px 5px;
    color: var(--color-white);
    font-size: 13px;
    min-width: 175px;
}

.header-cta:hover {
    background: var(--color-green-hover);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-knob {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-white);
    flex-shrink: 0;
    margin-right: 10px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-text {
    flex: 1;
    text-align: left;
    color: var(--color-white);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ============================================
   MOBILE HEADER
   ============================================ */
@media (max-width: 768px) {
    .header-nav,
    .header-actions {
        display: none;
    }

    .header-inner {
        padding: 0 20px;
    }

    .header-logo img {
        height: 58px;
    }

    .header-mobile-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Mobile: no header strip — stay clear over hero/content */
    .site-header,
    .site-header.is-scrolled,
    .site-header.site-header--solid,
    body.home .site-header,
    body.front-page .site-header,
    body:not(.home):not(.front-page) .site-header {
        background: transparent !important;
        background-image: none !important;
        box-shadow: none;
    }
}

@media (min-width: 769px) {
    .header-mobile-actions {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/* WhatsApp мобилка */
.header-whatsapp-mobile {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Бургер — светлый круглешок как у логотипа, чтобы не сливался с hero */
.burger-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
.burger-btn svg rect {
    fill: #003c3e;
}
/* Пузыри по ширине контента, не на всю строку */
.mobile-nav {
    align-items: center;
}

.mobile-nav-item {
    width: auto;
    min-width: 160px;
    padding: 10px 28px;
}

.mobile-nav-services {
    width: auto;
    min-width: 200px;
    padding: 10px 28px 14px;
    text-align: center;
}

/* WhatsApp и бургер — иконки побольше */
.header-whatsapp-mobile svg {
    width: 32px;
    height: 32px;
}

.burger-btn svg {
    width: 28px;
    height: 20px;
}

.burger-btn svg rect {
    height: 2.5px;
}
.mobile-nav-services-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Убираем старые стили блока услуг */
.mobile-nav-services {
    background: none;
    border-radius: 0;
    padding: 0;
}

.mobile-nav-services-title {
    /* наследует .mobile-nav-item — пузырь только вокруг слова */
}

.mobile-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.mobile-services-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.mobile-services-list li a:hover {
    color: var(--color-white);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: linear-gradient(180deg, #005a4c 0%, #009868 55%, #2db682 100%);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px 24px 40px;
}

/* Крестик закрытия */
.mobile-menu-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* ============================================
   MOBILE NAV ITEMS
   ============================================ */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Обычный пункт меню — пузырь */
.mobile-nav-item {
    display: block;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 10px 20px;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s;
}

.mobile-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Блок Услуги — пузырь с раскрытым списком */
.mobile-nav-services {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 10px 20px 14px;
    cursor: default;
}

.mobile-nav-services > span {
    display: block;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 10px;
}

.mobile-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-services-list li a {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.mobile-services-list li a:hover {
    color: var(--color-white);
}

/* ============================================
   MOBILE MENU FOOTER
   ============================================ */
.mobile-menu-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Соцсети с подписями */
.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s;
}

.mobile-social-link:hover {
    color: var(--color-white);
}

/* ============================================
   КНОПКА "ОСТАВИТЬ ЗАЯВКУ" В МОБИЛЬНОМ МЕНЮ
   Серый фон по умолчанию, зелёный при нажатии
   ============================================ */
.mobile-cta {
    display: inline-flex;
    align-items: center;
    width: 100%;
    background: rgba(150, 150, 150, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 13px 18px 13px 9px;
    cursor: pointer;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    transition: background 0.35s, border-color 0.35s;
}

.mobile-cta .cta-knob {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-white);
    flex-shrink: 0;
    margin-right: 12px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cta .cta-text {
    flex: 1;
    text-align: left;
    color: var(--color-white);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cta:hover,
.mobile-cta:active {
    background: rgba(0, 140, 100, 0.65);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(160deg, #005a4c 0%, #009868 55%, #2db682 100%);
    border-radius: 32px 32px 0 0;
    /* margin-top: 80px; */
    color: var(--color-white);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 40px 32px;
}

/* ПК: лого + 3 колонки */
.footer-top {
    display: grid;
    grid-template-columns: 180px 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 32px;
}

.footer-logo img,
.footer-logo img.footer-logo-mark {
    /* v_2 dump footer logo Group 1: 98×99 — was overridden by height:40px */
    height: 98px;
    width: 98px;
    max-width: none;
    display: block;
    object-fit: contain;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer-links li a:hover { color: var(--color-white); }

.footer-contact-link {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-contact-link:hover { color: var(--color-white); }

/* Соцсети под контактами на ПК */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.footer-social:hover { background: rgba(255, 255, 255, 0.28); }

.footer-address {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 24px;
}
a.footer-col-title {
    text-decoration: none;
    color: inherit;
}

a.footer-col-title:hover {
    text-decoration: underline;
}

/* Кнопка-ползунок футер */
.footer-cta {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 10px 15px 10px 10px;
    cursor: pointer;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    transition: background 0.35s, border-color 0.35s;
    width: 100%;
}

.footer-cta .cta-knob {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-white);
    flex-shrink: 0;
    margin-right: 10px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-cta .cta-text {
    flex: 1;
    text-align: left;
    color: var(--color-white);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Мобильный блок с кнопкой и соцсетями — скрыт на ПК */
.footer-mobile-bottom {
    display: none;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    text-align: center;
}

.footer-privacy {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-privacy:hover { color: var(--color-white); }

/* ============================================
   FOOTER MOBILE — строго по макету
   ============================================ */
@media (max-width: 768px) {

    .site-footer {
        border-radius: 24px 24px 0 0;
        /* margin-top: 48px; */
    }

    .footer-inner {
        padding: 36px 20px 24px;
    }

    /* Лого на всю ширину, потом 2 колонки */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
        padding-bottom: 20px;
    }

    /* Лого — строка 1, оба столбца */
    .footer-logo-col {
        grid-column: 1 / -1;
    }

    .footer-logo img,
    .footer-logo img.footer-logo-mark {
        height: 72px;
        width: 72px;
    }

    /* Услуги — строка 2, столбец 1 */
    .footer-col-services {
        grid-column: 1;
    }

    /* Контакты — строка 2, столбец 2 */
    .footer-col-contacts {
        grid-column: 2;
    }

    /* Адрес под контактами — строка 3, столбец 2 */
    .footer-col-address {
        grid-column: 2;
        grid-row: 3;
    }

    /* Услуги растягиваются на строки 2–3 */
    .footer-col-services {
        grid-row: 2 / 4;
    }

    .footer-col-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-links li a,
    .footer-contact-link,
    .footer-address {
        font-size: 14px;
    }

    /* Скрываем кнопку и соцсети внутри колонок на мобиле */
    .footer-col-address .footer-cta,
    .footer-col-contacts .footer-socials {
        display: none;
    }

    /* Мобильный блок кнопка + соцсети показываем */
    .footer-mobile-bottom {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px 0;
    }

    .footer-cta-mobile {
        width: 100%;
        font-size: 15px;
        padding: 9px 16px 9px 9px;
    }

    .footer-cta-mobile .cta-knob {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }

    /* Соцсети по центру, иконки крупнее */
    .footer-socials-mobile {
        justify-content: center;
        gap: 16px;
        margin-top: 0;
    }

    .footer-socials-mobile .footer-social {
        width: 52px;
        height: 52px;
    }

    .footer-socials-mobile .footer-social svg {
        width: 24px;
        height: 24px;
    }

    .footer-bottom {
        padding-top: 16px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 32px 16px 20px;
    }
}
/* ============================================
   HERO
   ============================================ */

/* One continuous green field under transparent header (v_2 cover). */
.hero {
    background: linear-gradient(180deg,
    #003c3e 0%,
    #005a4c 22%,
    #007a5f 48%,
    #1a9e6e 72%,
    #2db682 90%,
    #3dd688 100%
    );
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    text-align: center;
    padding-top: 64px;
    padding-bottom: 0;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    /* Фиксируем высоту зоны контента */
    margin-bottom: 0;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.15;
    letter-spacing: 0;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Кнопка-ползунок героя — серый фон */
.hero-cta {
    display: inline-flex;
    align-items: center;
    background: rgba(150, 150, 150, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 24px 8px 8px;
    cursor: pointer;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    transition: background 0.35s, border-color 0.35s;
    margin-top: 8px;
    min-width: 200px;
}

.hero-cta .cta-knob {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-white);
    flex-shrink: 0;
    margin-right: 12px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta .cta-text {
    flex: 1;
    text-align: left;
    color: var(--color-white);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta:hover {
    background: rgba(0, 140, 100, 0.55);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Девушка по центру */
.hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    /* Начинается не раньше чем через 260px сверху (высота контента) */
    top: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image img {
    width: auto;
    height: 100%;
    max-height: 620px;
    object-fit: contain;
    object-position: bottom;
    display: block;
}


/* Услуги — левый нижний угол */
.hero-services {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.hero-services-items {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}
.hero-services-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.hero-services-all:hover {
    opacity: 0.75;
}
/* No circle — plain white arrow like hero social links */
.hero-services-all-dot {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-services-all-dot svg {
    display: block;
    color: #fff;
}
.hero-services-all-dot svg path {
    stroke: #fff;
}

.hero-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-white);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    max-width: 64px;
    transition: opacity 0.2s;
}

.hero-service-item:hover {
    opacity: 0.8;
}

.hero-service-thumb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.hero-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-service-thumb--empty {
    background: rgba(255, 255, 255, 0.15);
}

/* Соцсети — правый нижний угол */
.hero-socials {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.hero-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

.hero-social-link:hover {
    color: var(--color-white);
}

/* ============================================
   HERO MOBILE
   ============================================ */
@media (max-width: 768px) {

    .hero {
        /* Only svh — dvh grows when Safari chrome hides and jerks the page on scroll */
        min-height: 100svh;
        position: relative;
        overflow: hidden;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .hero-inner {
        padding: 0 20px;
        min-height: 100svh;
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .hero-content {
        padding-top: calc(var(--header-height) + 8px + env(safe-area-inset-top, 0px));
        gap: 10px;
        margin-bottom: 16px;
        position: relative;
        z-index: 3;
        /* Soft veil so mascot never kills title readability on iOS Safari */
        isolation: isolate;
    }

    .hero-content::before {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -8px;
        bottom: -12px;
        width: min(100vw, 520px);
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(0, 60, 62, 0.55) 0%,
            rgba(0, 90, 76, 0.35) 55%,
            rgba(0, 90, 76, 0) 100%
        );
    }

    .hero-image {
        position: absolute;
        /* Never climb into the title/CTA zone (iOS bottom chrome shrinks visual area) */
        top: max(240px, calc(var(--header-height) + 168px + env(safe-area-inset-top, 0px)));
        bottom: env(safe-area-inset-bottom, 0px);
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        z-index: 1;
        pointer-events: none;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-height: calc(
            100svh
            - var(--header-height)
            - 200px
            - env(safe-area-inset-top, 0px)
            - env(safe-area-inset-bottom, 0px)
        );
        object-fit: contain;
        object-position: bottom center;
        display: block;
    }

    .hero-socials {
        display: none;
    }

    /* Keep «Смотреть все» on mobile; hide the 4 pills (mockup has 4 desktop-only) */
    .hero-services {
        display: flex;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.14);
        z-index: 2;
    }
    .hero-services-items {
        display: none;
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-image {
        top: max(220px, calc(var(--header-height) + 150px + env(safe-area-inset-top, 0px)));
    }

    .hero-image img {
        max-height: calc(
            100svh
            - var(--header-height)
            - 220px
            - env(safe-area-inset-top, 0px)
            - env(safe-area-inset-bottom, 0px)
        );
    }
}
/* ============================================
   О BIRTY
   ============================================ */
.about {
    padding: 80px 0;
    background: #f0ede6;
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.about-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.about-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.section-label {
    display: block;
    font-family: var(--font-heading);
    color: #46C22E;
    font-size: 22px;
    font-weight: 400;
    flex-shrink: 0;
    width: 140px;
    padding-top: 4px;
}

.about-content {
    display: grid;
    grid-template-columns: 584px 1fr;
    grid-template-rows: auto auto;
    gap: 32px 48px;
    flex: 1;
    align-items: start;
}

.about-big-text {
    grid-column: 1 / -1;
    /* Open Sans lead (not Lineyka). Dump lead is Lineyka 36/45; PDF glyph ≈24px Open Sans.
       Use SemiBold 22 / 1.45 so it reads as a strong lead without display font. */
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    color: #242424;
    margin: 0;
}

.about-image {
    width: 100%;
    max-width: 584px;
    height: 350px;
    border-radius: 40px;
    overflow: hidden;
    align-self: start;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-advantages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-adv-item {
    border-bottom: none;
    padding: 0;
}

.about-adv-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.about-adv-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}

.about-adv-title {
    font-family: var(--font-body);
    /* dump node = Open Sans Bold 20/27; PDF crop more compact → 18/24 */
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #242424;
}

.about-adv-desc {
    font-family: var(--font-body);
    /* dump = Regular 16/21; PDF crop more compact → 14/19 */
    font-size: 14px;
    font-weight: 400;
    color: #626262;
    line-height: 19px;
    margin: 0;
    padding-left: 0;
}

/* ============================================
   НАШИ УСЛУГИ
   ============================================ */
.services-list {
    padding: 40px 0 80px;
    background: #f0ede6; /* same beige as form / gallery / reviews below */
}

.services-list-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.services-list-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.services-list-items {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 46, 43, 0.15);
    text-decoration: none;
    color: var(--color-dark-green);
    cursor: pointer;
}

.services-list-item:last-child {
    border-bottom: 1px solid rgba(0, 46, 43, 0.15);
}

.services-list-item-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.services-list-thumb {
    width: 64px;
    height: 64px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 4px;
    transition: width 0.25s ease, height 0.25s ease;
}

.services-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-list-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.services-list-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-dark-green);
    transition: font-size 0.25s ease, color 0.25s ease;
}

.services-list-desc {
    font-size: 0px;
    line-height: 1.5;
    color: var(--color-dark-green);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: font-size 0.25s ease, opacity 0.25s ease, max-height 0.3s ease;
}

.services-list-more {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-dark-green);
    white-space: nowrap;
    opacity: 0;
    align-self: center;
    padding-left: 40px;
    flex-shrink: 0;
    transition: opacity 0.25s ease;
}

.services-list-more-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-dark-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.services-list-more-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg);
    display: block;
    margin-left: -1px;
}

/* HOVER */
.services-list-item:hover .services-list-title {
    font-size: 48px;
    color: #46C22E;
}

.services-list-item:hover .services-list-desc {
    font-size: 15px;
    opacity: 0.7;
    max-height: 80px;
}

.services-list-item:hover .services-list-more {
    opacity: 1;
}

.services-list-item:hover .services-list-thumb {
    width: 76px;
    height: 76px;
}
/* ============================================
   МОБИЛКА — О BIRTY и НАШИ УСЛУГИ
   ============================================ */
@media (max-width: 768px) {

    /* --- О BIRTY --- */
    .about {
        padding: 48px 0;
    }

    .about-inner {
        padding: 0 20px;
    }

    .about-row {
        flex-direction: column;
        gap: 20px;
    }

    .section-label {
        width: auto;
        font-size: 18px;
        margin-bottom: 0;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-big-text {
        font-family: var(--font-body);
        font-size: 17px;
        font-weight: 600;
        line-height: 1.45;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
        height: 220px;
        border-radius: 12px;
    }

    .about-advantages {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .about-adv-item {
        padding: 12px 0;
    }

    .about-adv-title {
        font-size: 15px;
    }

    .about-adv-desc {
        font-size: 13px;
        padding-left: 37px;
    }

    /* --- НАШИ УСЛУГИ --- */
    .services-list {
        padding: 32px 0 48px;
    }

    .services-list-inner {
        padding: 0 20px;
    }

    .services-list-row {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    /* Сетка 2 колонки */
    .services-list-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Карточка — по центру ячейки на мобилке */
    .services-list-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        border-top: none;
        border-bottom: none;
        gap: 10px;
    }

    .services-list-item:last-child {
        border-bottom: none;
    }

    .services-list-item-left {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    /* Circular icons — keep 1:1, do not stretch into ovals */
    .services-list-thumb {
        width: 96px;
        height: 96px;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        margin-top: 0;
        overflow: hidden;
        align-self: center;
    }

    .services-list-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .services-list-item:hover .services-list-thumb {
        width: 96px;
        height: 96px;
        aspect-ratio: 1 / 1;
    }

    /* Текст под иконкой */
    .services-list-text {
        gap: 6px;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .services-list-title {
        font-size: 16px;
        font-weight: 600;
        color: #46C22E;
        line-height: 1.2;
        text-align: center;
    }

    /* Кнопка «Подробнее» — всегда видна на мобилке */
    .services-list-more {
        opacity: 1;
        padding-left: 0;
        font-size: 13px;
        color: var(--color-dark-green);
        justify-content: center;
        width: 100%;
    }

    .services-list-more-dot {
        width: 18px;
        height: 18px;
    }

    .services-list-more-dot::before {
        width: 7px;
        height: 7px;
        border-top: 1.5px solid #fff;
        border-right: 1.5px solid #fff;
    }

    /* Описание и hover-эффекты на мобилке отключаем */
    .services-list-desc {
        display: none;
    }

    .services-list-item:hover .services-list-title {
        font-size: 16px;
        color: #46C22E;
    }

    .services-list-item:hover .services-list-thumb {
        width: 96px;
        height: 96px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
    }
}
@media (max-width: 768px) {
    .services-list-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        width: 100%;
        flex: unset;
    }
}
/* ============================================
   ФОРМА ОБРАТНОЙ СВЯЗИ
   ============================================ */
.cform-section {
    padding: 60px 0;
    background: #f0ede6;
}

.cform-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.cform-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #004440 0%, #00a86b 100%);
    border-radius: 32px;
    overflow: hidden;
    min-height: 340px;
    position: relative;
}

/* Левая часть */
.cform-left {
    flex: 1;
    padding: 40px 0 40px 72px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Внутренний пузырь */
.cform-bubble {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 36px 48px;
    max-width: 460px;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cform-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 12px;
}

.cform-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0 0 24px;
}

.cform-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    width: 100%;
    max-width: 320px;
    align-items: stretch;
}

.cform-field input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding: 10px 0;
    font-size: 15px;
    color: #fff;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}

.cform-field input::placeholder {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.cform-field input:focus {
    border-bottom-color: #fff;
}

/* чекбокс */
.cform-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    cursor: pointer;
}

.cform-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
    appearance: auto;
    background: transparent;
    accent-color: #46C22E;
}

.cform-checkbox span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* honeypot */
.cform-bot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Кнопка-ползунок — используем hero-cta */
.cform-submit.hero-cta {
    align-self: center;
    max-width: 220px;
}

/* Правая часть — изображение */
.cform-right {
    width: 360px;
    flex-shrink: 0;
    position: relative;
}

.cform-image {
    position: absolute;
    right: 60px;
    bottom: 0;
    height: 120%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
}

/* Состояние «Спасибо» */
.cform-bubble--success {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    /* наследует все стили .cform-bubble */
}

.cform-success-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
}

.cform-success-text {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   ФОРМА — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .cform-section {
        padding: 40px 0;
    }

    .cform-inner {
        padding: 0 16px;
    }

    .cform-card {
        flex-direction: column;
        border-radius: 20px;
        min-height: auto;
    }

    .cform-left {
        padding: 28px 20px 24px;
        justify-content: center;
    }

    .cform-bubble {
        padding: 24px 20px 28px;
        max-width: 100%;
    }

    .cform-title {
        font-size: 20px;
        max-width: 100%;
    }

    .cform-subtitle {
        max-width: 100%;
    }

    .cform-fields {
        max-width: 100%;
    }

    .cform-submit.hero-cta {
        width: 100%;
        justify-content: center;
    }

    .cform-right {
        width: 100%;
        height: 260px;
    }

    .cform-image {
        position: relative;
        right: auto;
        bottom: auto;
        height: 260px;
        width: 100%;
        object-fit: contain;
        object-position: bottom center;
        display: block;
        margin-top: auto;
    }
}
@media (min-width: 769px) {
    .cform-card {
        position: relative;
        overflow: hidden;
    }

    .cform-image {
        right: 0px;
        bottom: 0;
        height: 100%;
    }
}
/* ============================================
   GALLERY BLOCK
   ============================================ */
.gallery-block {
    background: #f0ede6;
    padding: 64px 0 56px;
}

.gallery-block-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.gallery-block-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.gallery-block-content {
    flex: 1;
    min-width: 0;
}

.gallery-slider-shell {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 20px;
}

.gallery-slider-outer {
    overflow: hidden;
}

.gallery-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: grab;
    user-select: none;
}

.gallery-slider.is-dragging {
    cursor: grabbing;
}

.gallery-slide {
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    display: none;
    transition: width 0.4s ease, height 0.4s ease;
    background: transparent;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-slide.is-active {
    width: 440px;
    height: 268px;
}

.gallery-slide.is-prev,
.gallery-slide.is-next {
    width: 170px;
    height: 228px;
}

.gallery-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 46, 43, 0.25);
    background: #fff;
    color: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.gallery-arrow:hover {
    background: var(--color-dark-green);
    border-color: var(--color-dark-green);
    color: #fff;
}

.gallery-block-footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.gallery-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark-green);
    text-decoration: none;
    transition: opacity 0.2s;
}

.gallery-view-all:hover {
    opacity: 0.7;
}

.gallery-view-all-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* ============================================
   GALLERY BLOCK — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .gallery-block {
        padding: 40px 0 36px;
    }

    .gallery-block-row {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-block-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .gallery-slider-shell {
        display: block;
        width: 100%;
    }

    .gallery-arrow {
        display: none;
    }

    .gallery-slider-outer {
        width: 100%;
        overflow: hidden;
    }

    .gallery-slider {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        gap: 12px;
        cursor: default;
        scrollbar-width: none;
    }

    .gallery-slider::-webkit-scrollbar {
        display: none;
    }

    .gallery-slide {
        display: block !important;
        flex-shrink: 0 !important;
        width: 78vw !important;
        height: calc(78vw * 305 / 272) !important;
        scroll-snap-align: start;
    }

    /* Сбрасываем разные размеры is-active/is-prev/is-next на мобилке */
    .gallery-slide.is-active,
    .gallery-slide.is-prev,
    .gallery-slide.is-next {
        width: 78vw !important;
        height: calc(78vw * 305 / 272) !important;
    }

    .gallery-block-footer {
        margin-top: 28px;
    }
}

@media (max-width: 480px) {
    .gallery-slide,
    .gallery-slide.is-active,
    .gallery-slide.is-prev,
    .gallery-slide.is-next {
        width: 84vw !important;
        height: calc(84vw * 305 / 272) !important;
    }
}
/* ============================================
   FIX: GALLERY MOBILE OVERFLOW
   ============================================ */
@media (max-width: 768px) {
    .gallery-block,
    .gallery-block-row,
    .gallery-block-content,
    .gallery-slider-shell,
    .gallery-slider-outer {
        min-width: 0;
    }

    .gallery-block-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .gallery-slider-shell {
        overflow: hidden;
    }

    .gallery-slider-outer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .gallery-slider {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        box-sizing: border-box;
    }
}


/* ============================================
   REVIEWS BLOCK
   ============================================ */
.reviews-block {
    background: #f0ede6;
    padding: 64px 0 56px;
}

.reviews-block-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.reviews-block-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.reviews-block-content {
    flex: 1;
    min-width: 0;
}

.reviews-slider-shell {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 28px;
}

.reviews-block .gallery-slider-outer {
    overflow: hidden;
}

.reviews-block-footer {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* ============================================
   REVIEWS THUMBS
   ============================================ */
.reviews-video-slide .reviews-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
}

.reviews-video-slide .reviews-thumb img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    border-radius: 20px;
}

.reviews-thumb-empty {
    width: 100%;
    height: 100%;
    background: #c5c0b8;
    border-radius: 20px;
}

.reviews-play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 56px !important;
    height: 56px !important;
    pointer-events: none;
    border-radius: 0 !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
}

.reviews-video-slide:hover .reviews-play-icon {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.reviews-video-slide.is-prev .reviews-play-icon,
.reviews-video-slide.is-next .reviews-play-icon {
    width: 40px !important;
    height: 40px !important;
}

/* размеры как у галереи */
.reviews-slider .gallery-slide.is-active {
    width: 440px;
    height: 268px;
}

.reviews-slider .gallery-slide.is-prev,
.reviews-slider .gallery-slide.is-next {
    width: 170px;
    height: 228px;
}

/* ============================================
   REVIEWS BLOCK — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .reviews-block {
        padding: 40px 0 36px;
    }

    .reviews-block-row {
        flex-direction: column;
        gap: 20px;
    }

    .reviews-block-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .reviews-slider-shell {
        display: block;
        width: 100%;
    }

    .reviews-block .gallery-arrow {
        display: none;
    }

    .reviews-block .gallery-slider-outer {
        width: 100%;
        overflow: hidden;
    }

    .reviews-slider {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        gap: 12px;
        cursor: default;
        scrollbar-width: none;
    }

    .reviews-slider::-webkit-scrollbar {
        display: none;
    }

    .reviews-slider .gallery-slide,
    .reviews-slider .gallery-slide.is-active,
    .reviews-slider .gallery-slide.is-prev,
    .reviews-slider .gallery-slide.is-next {
        display: block !important;
        width: min(78vw, 320px) !important;
        height: calc(min(78vw, 320px) * 305 / 272) !important;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .reviews-block-footer {
        margin-top: 28px;
    }
}

@media (max-width: 480px) {
    .reviews-slider .gallery-slide,
    .reviews-slider .gallery-slide.is-active,
    .reviews-slider .gallery-slide.is-prev,
    .reviews-slider .gallery-slide.is-next {
        width: min(84vw, 300px) !important;
        height: calc(min(84vw, 300px) * 305 / 272) !important;
    }
}
/* ============================================
   FIX: REVIEWS MOBILE OVERFLOW
   ============================================ */
@media (max-width: 768px) {
    .reviews-block,
    .reviews-block-row,
    .reviews-block-content,
    .reviews-slider-shell,
    .reviews-block .gallery-slider-outer {
        min-width: 0;
    }

    .reviews-block-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .reviews-slider-shell {
        overflow: hidden;
    }

    .reviews-block .gallery-slider-outer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .reviews-slider {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        box-sizing: border-box;
    }
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal-wrap {
    position: relative;
    z-index: 2;
    width: 90vw;
    max-width: 960px;
}

.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.video-modal-content {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 90vh;
}

/* iframe (embed) — фиксированное соотношение сторон */
.video-modal-content.is-embed {
    padding-top: 56.25%;
}

.video-modal-content.is-embed.is-shorts {
    padding-top: 0;
    width: 360px;
    height: 640px;
    max-height: 90vh;
    margin: 0 auto;
}

.video-modal-content iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* video файл — естественный размер, ограничен viewport */
.video-modal-content video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-wrap { width: 95vw; }
}
/* ============================================
   ARTICLES BLOCK
   ============================================ */
.articles-block {
    background: #f0ede6;
    padding: 64px 0 56px;
}

.articles-block-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.articles-block-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.articles-block-content {
    flex: 1;
    min-width: 0;
}

.articles-slider-outer {
    position: relative;
    padding: 0 60px;
}

.articles-slider {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    cursor: grab;
    user-select: none;
}

.articles-slider.is-dragging {
    cursor: grabbing;
}

.articles-slide {
    flex-shrink: 0;
    width: calc(50% - 12px);
    text-decoration: none;
    color: var(--color-dark-green);
    display: none;
    flex-direction: column;
    gap: 14px;
    transition: opacity 0.2s;
}

.articles-slide.is-visible {
    display: flex;
}

.articles-slide:hover {
    opacity: 0.8;
}

.articles-slide-img {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.articles-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.articles-slide-nothumb {
    width: 100%;
    height: 100%;
    background: #c5c0b8;
}

.articles-slide-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.articles-slide-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: var(--color-dark-green);
}

.articles-slide-excerpt {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articles-slide-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark-green);
    margin-top: 4px;
}

.articles-slider-outer .articles-arrow--prev,
.articles-slider-outer .articles-arrow--next {
    position: absolute;
    top: 110px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 2;
}

.articles-slider-outer .articles-arrow--prev {
    left: 0;
}

.articles-slider-outer .articles-arrow--next {
    right: 0;
}

/* ============================================
   ARTICLES BLOCK — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .articles-block {
        padding: 40px 0 36px;
    }

    .articles-block-row {
        flex-direction: column;
        gap: 20px;
    }

    .articles-block-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .articles-block-content {
        width: 100%;
        min-width: 0;
    }

    .articles-slider-outer {
        padding: 0;
        width: 100%;
    }

    .articles-slider {
        display: flex;
        flex-direction: column;
        gap: 24px;
        cursor: default;
    }

    .articles-slide {
        width: 100%;
        display: none !important;
    }

    .articles-slide:nth-child(1),
    .articles-slide:nth-child(2) {
        display: flex !important;
    }

    .articles-slide-img {
        height: 200px;
    }

    .articles-slider-outer .articles-arrow--prev,
    .articles-slider-outer .articles-arrow--next {
        display: none;
    }

    .articles-block .gallery-block-footer {
        margin-top: 28px !important;
    }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.svc-page {
    background: #f4f3ed;
    padding: 32px 0 64px;
}

.svc-page .breadcrumb {
    margin-bottom: 32px;
}

.svc-page-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.svc-page-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.svc-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    text-decoration: none;
    color: var(--color-dark-green);
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.svc-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 40px;
    overflow: hidden;
    background: var(--color-dark-green);
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-card-nothumb {
    width: 100%;
    height: 100%;
    background: #c5c0b8;
}

.svc-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svc-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark-green);
    line-height: 1.3;
    transition: color 0.25s ease, transform 0.25s ease;
}

.svc-card-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
    will-change: max-height, opacity, transform;
}

.svc-card-more {
    display: none;
}

@media (hover: hover) {
    .svc-card:hover {
        transform: translateY(-4px);
    }

    .svc-card:hover .svc-card-title {
        color: #46C22E;
        transform: translateY(-1px);
    }

    .svc-card:hover .svc-card-desc {
        max-height: 72px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICES PAGE — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .svc-page {
        padding: 24px 0 40px;
    }

    .svc-page .breadcrumb {
        margin-bottom: 20px;
    }

    .svc-page-row {
        flex-direction: column;
        gap: 20px;
    }

    .svc-page-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .svc-card-title {
        color: #46C22E;
    }

    .svc-card-desc {
        display: none !important;
    }

    .svc-card-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 500;
        color: var(--color-dark-green);
        margin-top: 2px;
    }
}

.breadcrumb a {
    color: var(--color-dark-green);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   БЛОК «ЧТО ТАКОЕ [УСЛУГА]»
   ============================================ */
.svc-single {
    overflow-x: hidden;
}
.svc-what {
    padding: 32px 0 64px;
    background: #f0ede6;
}

.svc-what .breadcrumb {
    margin-bottom: 28px;
}

/* Двухколоночный лейаут: label + контент */
.svc-what-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.svc-what-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

/* Правая колонка — весь контент */
.svc-what-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Краткое описание — крупный жирный текст */
.svc-what-lead {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-dark-green);
    margin: 0;
}

/* Строка: фото слева + подробный текст справа */
.svc-what-media {
    display: flex;
    gap: 32px;
    align-items: center;
}

.svc-what-photo {
    flex-shrink: 0;
    width: 380px;
    border-radius: 20px;
    overflow: hidden;
}

.svc-what-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-what-desc {
    flex: 1;
}

.svc-what-desc-inner {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.svc-what-desc-inner p { margin: 0 0 10px; }
.svc-what-desc-inner p:last-child { margin-bottom: 0; }

/* Кнопка «Читать далее» — на ПК скрыта всегда */
.svc-what-more {
    display: none;
}

@media (max-width: 768px) {
    .svc-what {
        padding: 20px 0 40px;
    }

    .svc-what .breadcrumb {
        margin-bottom: 20px;
    }

    .svc-what-layout {
        flex-direction: column;
        gap: 16px;
    }

    .svc-what-label {
        width: auto;
    }

    .svc-what-right {
        gap: 16px;
    }

    .svc-what-lead {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.6;
    }

    .svc-what-media {
        flex-direction: column;
        gap: 16px;
    }

    /* Фото — сбрасываем фиксированную ширину */
    .svc-what-photo {
        width: 100% !important;
        flex-shrink: unset;
        border-radius: 16px;
    }

    .svc-what-desc-inner.is-clamped {
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Кнопка скрыта по умолчанию — JS покажет если нужно */
    .svc-what-more {
        display: none;
        align-items: center;
        gap: 8px;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 500;
        color: var(--color-dark-green);
        background: none;
        border: none;
        padding: 0;
        margin-top: 10px;
        cursor: pointer;
    }
    /* Краткое описание сверху — тёмный цвет (как на ПК) */
    .svc-what-lead {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.6;
        color: var(--color-dark-green);
    }

    /* Подробное описание снизу — серый */
    .svc-what-desc-inner {
        color: #777;
        font-size: 14px;
    }

}
.svc-what-more.is-visible {
    display: inline-flex;
}
/* ============================================
   БЛОК «ОТРАСЛИ»
   ============================================ */
.svc-ind {
    padding: 0 0 64px;
    background: #f0ede6;
}

.svc-ind-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.svc-ind-inner > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.svc-ind-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-ind-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.svc-ind-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #005a54 0%, #46C22E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.svc-ind-card-img img {
    width: 103%;
    height: 103%;
    object-fit: contain;
    display: block;
}

.svc-ind-card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.svc-ind-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-green);
    transition: color 0.25s ease, transform 0.25s ease;
}

.svc-ind-card-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
    will-change: max-height, opacity, transform;
}

@media (hover: hover) {
    .svc-ind-card:hover {
        transform: translateY(-4px);
    }

    .svc-ind-card:hover .svc-ind-card-img {
        transform: translateY(-2px);
    }

    .svc-ind-card:hover .svc-ind-card-title {
        color: #46C22E;
        transform: translateY(-1px);
    }

    .svc-ind-card:hover .svc-ind-card-desc {
        max-height: 72px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ОТРАСЛИ — мобилка
   ============================================ */
@media (max-width: 768px) {
    .svc-ind {
        padding: 0 0 40px;
    }

    .svc-ind-inner {
        flex-direction: column;
        gap: 16px;
    }

    .svc-ind-inner > .section-label {
        width: auto;
        padding-top: 0;
    }

    .svc-ind-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .svc-ind-card-desc {
        display: none !important;
    }
}

/* ============================================
   WORKERS BLOCK
   ============================================ */
.workers-block {
    background: #f0ede6;
    padding: 0 0 64px;
}

.workers-block-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.workers-block-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

/* Внешняя обёртка: позиционирование стрелок */
.workers-slider-outer {
    flex: 1;
    position: relative;
}

/* Трек слайдера */
.workers-slider {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    cursor: grab;
    user-select: none;
    min-height: 320px;
}

.workers-slider.is-dragging {
    cursor: grabbing;
}

/* Слайды — скрыты по умолчанию, JS управляет */
.workers-slide {
    flex-shrink: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.workers-slide-img {
    border-radius: 20px;
    overflow: hidden;
    background: #c5c0b8;
    transition: width 0.3s, height 0.3s;
}

.workers-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.workers-slide-nophoto {
    width: 100%;
    height: 100%;
    background: #c5c0b8;
}

/* Активный — крупный */
.workers-slide.is-active {
    display: flex;
}
/* Активный — 16:9 */
.workers-slide.is-active .workers-slide-img {
    width: 440px;
    height: 248px;
}

/* Соседние — меньше и прозрачнее */
.workers-slide.is-prev,
.workers-slide.is-next {
    display: flex;
    opacity: 0.6;
}
.workers-slide.is-prev .workers-slide-img,
.workers-slide.is-next .workers-slide-img {
    width: 175px;
    height: 220px;
}

.workers-slide-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.workers-slide-position {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark-green);
}

.workers-slide-rate {
    font-family: var(--font-body);
    font-size: 13px;
    color: #777;
}

/* Стрелки — абсолютно по центру трека */
.workers-arrow--prev,
.workers-arrow--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.workers-arrow--prev { left: -60px; }
.workers-arrow--next { right: -60px; }

/* ============================================
   WORKERS BLOCK — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .workers-block {
        padding: 40px 0 40px;
    }

    .workers-block-row {
        flex-direction: column;
        gap: 16px;
    }

    .workers-block-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .workers-slider-outer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    .workers-arrow--prev,
    .workers-arrow--next {
        display: none;
    }

    .workers-slider {
        display: flex !important;
        align-items: flex-end;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px 8px;
        gap: 16px;
        cursor: default;
        min-height: unset;
        scrollbar-width: none;
    }

    .workers-slider::-webkit-scrollbar { display: none; }

    .workers-slide,
    .workers-slide.is-active,
    .workers-slide.is-prev,
    .workers-slide.is-next {
        display: flex !important;
        opacity: 1 !important;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .workers-slide .workers-slide-img,
    .workers-slide.is-active .workers-slide-img,
    .workers-slide.is-prev .workers-slide-img,
    .workers-slide.is-next .workers-slide-img {
        width: 65vw !important;
        height: calc(65vw * 305 / 242) !important;
    }
}

/* ============================================
   БЛОК «ПЛЮСЫ УСЛУГИ»
   ============================================ */
.svc-plus {
    background: #f0ede6;
    padding: 0 0 64px;
}

/* Двухколоночный лейаут — как в svc-what */
.svc-plus-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.svc-plus-layout > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

/* Правая колонка */
.svc-plus-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Лид-текст */
.svc-plus-lead {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-dark-green);
    margin: 0;
}

/* Фото + список рядом */
.svc-plus-media {
    display: flex;
    gap: 32px;
    align-items: center;
}

.svc-plus-photo {
    flex-shrink: 0;
    width: 380px;
    border-radius: 20px;
    overflow: hidden;
}

.svc-plus-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.svc-plus-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.svc-plus-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.svc-plus-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    object-fit: contain;
}

.svc-plus-item-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-green);
    display: block;
    margin-bottom: 4px;
}

.svc-plus-item-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: #777;
    margin: 0;
}

/* Мобилка */
@media (max-width: 768px) {
    .svc-plus { padding: 0 0 40px; }
    .svc-plus-layout { flex-direction: column; gap: 16px; }
    .svc-plus-layout > .section-label { width: auto; }
    .svc-plus-right { gap: 16px; }
    .svc-plus-lead { font-size: 18px; }
    .svc-plus-media { flex-direction: column; gap: 20px; }
    .svc-plus-photo { width: 100%; }
}
/* ============================================
   БЛОК «ЭТАПЫ РАБОТЫ»
   ============================================ */
.svc-steps {
    background: #f0ede6;
    padding: 0 0 64px;
}

/* Двухколоночный лейаут — label + список */
.svc-steps-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Двухколоночный лейаут — label + список */
.svc-steps-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.svc-steps-layout > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 16px;
}

/* Список этапов */
.svc-steps-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Каждый этап */
.svc-steps-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 46, 43, 0.12);
}

.svc-steps-item:first-child {
    border-top: 1px solid rgba(0, 46, 43, 0.12);
}

/* Номер — зелёный, фиксированная ширина */
.svc-steps-num {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #46C22E;
    flex-shrink: 0;
    width: 28px;
    padding-top: 2px;
}

.svc-steps-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.svc-steps-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark-green);
}

.svc-steps-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: #777;
    margin: 0;
}

/* ============================================
   ЭТАПЫ — мобилка
   ============================================ */
@media (max-width: 768px) {
    .svc-steps { padding: 0 0 40px; }
    .svc-steps-layout { flex-direction: column; gap: 0; }
    .svc-steps-layout > .section-label { padding-top: 0; margin-bottom: 8px; }
    .svc-steps-item { gap: 16px; padding: 16px 0; }
}
/* ============================================
   СТРАНИЦА ГАЛЕРЕИ
   ============================================ */
.gallery-page {
    background: #f0ede6;
    min-height: 60vh;
    padding: 32px 0 64px;
}

.gallery-page .breadcrumb {
    margin-bottom: 32px;
}

.gallery-page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.gallery-page-layout > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
    line-height: 1.3;
}

.gallery-page-right {
    flex: 1;
    min-width: 0;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-page-item {
    aspect-ratio: 1 / 1;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.gallery-page-item.is-hidden {
    display: none;
}

.gallery-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

.gallery-page-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.gallery-page-footer {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.gallery-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark-green);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-load-more:hover {
    opacity: 0.7;
}

.gallery-load-more .gallery-view-all-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================
   ПОПАП ГАЛЕРЕИ
   ============================================ */
.gmodal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gmodal.is-open {
    opacity: 1;
    pointer-events: all;
}

.gmodal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 46, 43, 0.72);
    backdrop-filter: blur(4px);
}

.gmodal-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    padding: 0 16px;
    box-sizing: border-box;
}

.gmodal-close {
    position: absolute;
    top: -48px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.gmodal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gmodal-slider {
    display: flex;
    align-items: center;
}

.gmodal-track {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
}

.gmodal-slide {
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.gmodal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gmodal-slide--active {
    width: 460px;
    height: 460px;
    cursor: zoom-in;
}

.gmodal-slide--prev,
.gmodal-slide--next {
    width: 160px;
    height: 160px;
    opacity: 0.55;
    cursor: pointer;
}

.gmodal-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

.gmodal-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ============================================
   ГАЛЕРЕЯ — мобилка
   ============================================ */
@media (max-width: 768px) {
    .gallery-page {
        padding: 24px 0 40px;
    }

    .gallery-page .breadcrumb {
        margin-bottom: 20px;
    }

    .gallery-page-layout {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-page-layout > .section-label {
        width: auto;
        padding-top: 0;
    }

    .gallery-page-right {
        width: 100%;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-page-item {
        border-radius: 20px;
    }

    .gallery-page-item:hover {
        transform: none;
        box-shadow: none;
    }

    .gallery-page-footer {
        margin-top: 28px;
    }

    .gmodal-wrap {
        padding: 0 12px;
    }

    .gmodal-close {
        top: -44px;
        right: 12px;
    }

    .gmodal-slide--prev,
    .gmodal-slide--next {
        display: none;
    }

    .gmodal-slide--active {
        width: calc(100vw - 100px);
        height: calc(100vw - 100px);
        border-radius: 20px;
    }

    .gmodal-arrow {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
}

/* ============================================
   СТРАНИЦА ОТЗЫВОВ (видео)
   ============================================ */
.reviews-page {
    background: #f0ede6;
    min-height: 60vh;
    padding: 32px 0 64px;
}

.reviews-page .breadcrumb {
    margin-bottom: 32px;
}

.reviews-page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.reviews-page-layout > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
    line-height: 1.3;
}

.reviews-page-right {
    flex: 1;
    min-width: 0;
}

.reviews-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.reviews-page-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviews-page-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reviews-page-item:hover .reviews-page-thumb {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.reviews-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reviews-page-pos {
    font-family: var(--font-body);
    font-size: 13px;
    color: #777;
    text-align: center;
    margin: 0;
}

.reviews-page-footer {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

/* ============================================
   ОТЗЫВЫ — мобилка
   ============================================ */
@media (max-width: 768px) {
    .reviews-page {
        padding: 24px 0 40px;
    }

    .reviews-page .breadcrumb {
        margin-bottom: 20px;
    }

    .reviews-page-layout {
        flex-direction: column;
        gap: 20px;
    }

    .reviews-page-layout > .section-label {
        width: auto;
        padding-top: 0;
    }

    .reviews-page-right {
        width: 100%;
    }

    .reviews-page-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reviews-page-thumb {
        border-radius: 20px;
    }

    .reviews-page-item:hover .reviews-page-thumb {
        transform: none;
        box-shadow: none;
    }

    .reviews-page-footer {
        margin-top: 28px;
    }
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
    background: #f0ede6;
    padding: 32px 0 64px;
}

.blog-page .breadcrumb {
    margin-bottom: 32px;
}

.blog-page-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.blog-page-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.blog-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    padding: 14px 14px 16px;
    background: #f5f3ee;
    transition: box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-card-img img,
.blog-card-nothumb {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-nothumb {
    background: #d9d9d9;
}

.blog-card-body {
    display: block;
}

.blog-card-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.35;
    color: var(--color-dark-green);
    margin-bottom: 8px;
}

.blog-card-desc {
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    color: #6a6a6a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1;
    color: var(--color-dark-green);
}

.blog-page-footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* ============================================
   BLOG PAGE — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .blog-page {
        padding: 24px 0 40px;
    }

    .blog-page .breadcrumb {
        margin-bottom: 20px;
    }

    .blog-page-row {
        flex-direction: column;
        gap: 20px;
    }

    .blog-page-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .blog-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-img img,
    .blog-card-nothumb {
        height: 200px;
    }

    .blog-page-footer {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-page {
    background: #f0ede6;
    padding: 32px 0 64px;
}

.article-page .breadcrumb {
    margin-bottom: 32px;
}

.article-page-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.article-page-layout > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.article-page-right {
    flex: 1;
    min-width: 0;
    max-width: 760px;
}

.article-page-title {
    margin: 0 0 24px;
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-dark-green);
}

.article-page-thumb {
    margin-bottom: 28px;
    border-radius: 20px;
    overflow: hidden;
}

.article-page-thumb img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.article-page-content {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-dark-green);
}

.article-page-content p {
    margin: 0 0 18px;
}

.article-page-content h2 {
    margin: 28px 0 14px;
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.25;
    color: var(--color-dark-green);
}

.article-page-content h3 {
    margin: 22px 0 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-dark-green);
}

.article-page-content ul,
.article-page-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.article-page-content li {
    margin-bottom: 8px;
}

.article-page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 20px 0;
}

.article-page-content a {
    color: var(--color-dark-green);
}

.article-page-content blockquote {
    margin: 24px 0;
    padding-left: 18px;
    border-left: 3px solid #46C22E;
}

/* ============================================
   ARTICLE PAGE — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .article-page {
        padding: 24px 0 40px;
    }

    .article-page .breadcrumb {
        margin-bottom: 20px;
    }

    .article-page-layout {
        flex-direction: column;
        gap: 20px;
    }

    .article-page-layout > .section-label {
        width: auto;
        padding-top: 0;
    }

    .article-page-right {
        max-width: none;
        width: 100%;
    }

    .article-page-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .article-page-thumb {
        margin-bottom: 20px;
    }

    .article-page-thumb img {
        height: 220px;
    }

    .article-page-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .article-page-content h2 {
        font-size: 20px;
    }

    .article-page-content h3 {
        font-size: 17px;
    }
}
/* ============================================
   CONTACTS PAGE
   ============================================ */
.contacts-page {
    background: #f0ede6;
}

.contacts-section {
    padding: 32px 0 64px;
}

.contacts-section .breadcrumb {
    margin-bottom: 32px;
}

.contacts-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contacts-row > .section-label {
    flex-shrink: 0;
    width: 160px;
    padding-top: 4px;
}

.contacts-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Карта */
.contacts-map {
    width: 100%;
}

.contacts-map-inner {
    border-radius: 32px;
    overflow: hidden;
    background: #c5c0b8;
    height: 260px;
}

.contacts-map-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Контакты + адрес */
.contacts-columns {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contacts-col {
    flex: 1;
    min-width: 0;
}

.contacts-col-title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark-green);
}

.contacts-link {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-dark-green);
    text-decoration: none;
    margin-bottom: 4px;
}

.contacts-link:hover {
    text-decoration: underline;
}

.contacts-address {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-dark-green);
}

/* Соцсети */
.contacts-socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.contacts-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Кнопка */
.contacts-cta {
    margin-top: 8px;
}

/* ============================================
   CONTACTS PAGE — МОБИЛКА
   ============================================ */
@media (max-width: 768px) {
    .contacts-section {
        padding: 24px 0 40px;
    }

    .contacts-section .breadcrumb {
        margin-bottom: 20px;
    }

    .contacts-row {
        flex-direction: column;
        gap: 20px;
    }

    .contacts-row > .section-label {
        width: auto;
        padding-top: 0;
    }

    .contacts-right {
        width: 100%;
        min-width: 0;
        gap: 20px;
    }

    .contacts-map {
        width: 100%;
    }

    .contacts-map-inner {
        width: 100%;
        height: 220px;
        border-radius: 20px;
    }

    .contacts-columns {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .contacts-col {
        width: 100%;
    }

    .contacts-cta {
        width: 100%;
        justify-content: center;
    }
}
.cform-error {
    margin-top: 4px;
    font-size: 12px;
    color: #c00;
    min-height: 14px;
}

.cform-field-error {
    outline: 1px solid #c00;
}

.cform-checkbox-error span {
    color: #c00;
}
/* ============================================
   CONTACT FORM MODAL
   ============================================ */

.cform-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cform-modal.is-open {
    display: flex;
}

.cform-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.cform-modal-dialog {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    padding: 0 16px;
}

/* секция в модалке: убираем внешний фон, но НЕ трогаем внутренние паддинги */
.cform-section--modal {
    margin: 0;
    background: transparent;
}

/* карточке в модалке даём тень */
.cform-modal .cform-card {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    min-height: 380px;
}

/* Крестик */
.cform-modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cform-modal-close span {
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.cform-modal-close span:first-child {
    transform: rotate(45deg);
}

.cform-modal-close span:last-child {
    transform: rotate(-45deg);
}

/* Блокировка скролла при открытом модале */
body.cform-modal-open {
    overflow: hidden;
}

/* Мобилка */
@media (max-width: 768px) {
    .cform-modal-dialog {
        padding: 0 12px;
    }

    .cform-modal .cform-card {
        border-radius: 20px;
    }

    .cform-modal-close {
        top: 10px;
        right: 14px;
    }
}
/* ============================================
   POPUP FORM IMAGE (DESKTOP)
   ============================================ */
@media (min-width: 769px) {
    #headerModal .cform-left {
        z-index: 2;
        position: relative;
    }

    #headerModal .cform-right {
        width: 360px;
        flex-shrink: 0;
        align-self: stretch;
        position: relative;
        z-index: 1;
    }

    #headerModal .cform-image {
        position: absolute;
        right: -40px;
        bottom: 0;
        height: 100%;
        width: auto;
        object-fit: contain;
        display: block;
        pointer-events: none;
    }
}
/* ============================================
   DIRECTOR MODAL
   ============================================ */

/* Тема обращения — в одну строку */
.cform-topic-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 12px;
    justify-content: center;
}

.cform-topic-tab input[type="radio"] {
    display: none;
}

.cform-topic-tab span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.cform-topic-tab input[type="radio"]:checked + span {
    background: #46C22E;
    border-color: #46C22E;
    color: #fff;
}

.cform-topic-tab span:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

/* Textarea */
.cform-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding: 7px 0;
    font-size: 13px;
    color: #fff;
    outline: none;
    font-family: var(--font-body);
    resize: none;
    max-height: 60px;
    transition: border-color 0.2s;
}

.cform-textarea::placeholder {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.cform-textarea:focus {
    border-bottom-color: #fff;
}

/* Поля директора — компактнее */
#directorModal .cform-field input {
    font-size: 13px;
    padding: 7px 0;
}

#directorModal .cform-field input::placeholder {
    font-size: 13px;
}

/* Чекбокс — в одну строку */
#directorModal .cform-checkbox {
    flex-wrap: nowrap;
    align-items: flex-start;
}

#directorModal .cform-checkbox span {
    font-size: 11px;
    line-height: 1.3;
}

/* ===== ДЕСКТОП ===== */
@media (min-width: 769px) {
    #directorModal .cform-modal-dialog {
        max-width: 1280px;
    }

    #directorModal .cform-card {
        min-height: 340px;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    #directorModal .cform-left {
        flex: 1;
        padding: 28px 0 28px 60px;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
    }

    #directorModal .cform-bubble {
        max-width: 460px;
        padding: 24px 32px;
    }

    #directorModal .cform-right {
        width: 260px;
        flex-shrink: 0;
        align-self: stretch;
        position: relative;
        z-index: 1;
    }

    #directorModal .cform-image {
        position: absolute;
        right: -60px;
        bottom: 0;
        height: 95%;
        width: auto;
        object-fit: contain;
        display: block;
        pointer-events: none;
    }
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
    #directorModal .cform-modal-dialog {
        padding: 0 12px;
        max-width: 100%;
        box-sizing: border-box;
    }

    #directorModal .cform-card {
        border-radius: 20px;
        flex-direction: column;
        min-height: auto;
    }

    #directorModal .cform-left {
        padding: 24px 16px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    #directorModal .cform-bubble {
        padding: 20px 16px 24px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    #directorModal .cform-fields {
        max-width: 100%;
        width: 100%;
    }

    /* Картинка снизу формы */
    #directorModal .cform-right {
        display: block;
        width: 100%;
        height: 220px;
    }

    #directorModal .cform-image {
        position: relative;
        right: auto;
        bottom: 25px;
        height: 265px;
        width: 100%;
        object-fit: contain;
        object-position: bottom center;
        display: block;
    }

    /* Тема в строку — мелко */
    #directorModal .cform-topic-tabs {
        gap: 4px;
    }

    #directorModal .cform-topic-tab span {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* Крестик фиксируем на экране */
    #directorModal .cform-modal-close {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 1001;
    }
}
/* ===== ДИР — состояние УСПЕХ ===== */
@media (min-width: 769px) {
    #directorModal .cform-card:has(.cform-bubble--success:not([style*="display:none"]):not([style*="display: none"])) {
        min-height: auto;
        max-width: 560px;
        margin: 0 auto;
    }

    #directorModal .cform-card:has(.cform-bubble--success:not([style*="display:none"]):not([style*="display: none"])) .cform-right {
        display: none;
    }
}
/* Политика конфиденциальности */

.page-section--beige {
    background-color: #f0ede6;
    padding: 60px 0 80px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-green);
    margin: 24px 0 32px;
}

.policy-content {
    max-width: 800px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.policy-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--color-dark-green);
}

.policy-content p {
    margin: 0 0 14px;
}

.policy-content ul {
    margin: 0 0 16px 18px;
    padding: 0;
}

.policy-content li {
    margin-bottom: 6px;
}

/* Мобилка */

@media (max-width: 768px) {
    .page-section--beige {
        padding: 40px 0 60px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .policy-content {
        font-size: 14px;
    }
}
.cform-checkbox span a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.cform-checkbox span a:hover {
    text-decoration: none;
}













/* ===== Rabotnichek v2 overrides ===== */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-logo-mark {
    /* v_2 dump Group 1 / Ellipse 9: 98 × 99.38 */
    height: 98px;
    width: 98px;
    max-width: none;
    object-fit: contain;
}
.header-phone {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-right: 4px;
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .header-phone { display: none; }
}
.header-whatsapp {
    display: none; /* header restored to phone+CTA; WA lives in footer/hero */
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.footer-logo-mark,
.footer-logo img.footer-logo-mark {
    /* v_2 dump footer Group 1: 98 × 99.38 — must beat .footer-logo img */
    height: 98px !important;
    width: 98px !important;
    max-width: none !important;
    object-fit: contain;
}
.footer-social-icon--wa {
    width: 22px;
    height: 22px;
    display: block;
    /* dump SVG is light fill for dark footer */
    filter: none;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
}
.footer-legal-sep {
    opacity: 0.55;
    color: #fff;
}
.hero-services {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    max-width: none;
}
.hero-services-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
}
.hero-service-item {
    flex: 0 0 auto;
}
.hero-service-thumb {
    width: 72px;
    height: 72px;
    background: transparent;
}
.hero-service-thumb img {
    object-fit: cover;
}
.hero-service-item span {
    font-family: var(--font-body);
    font-size: 12px;
    white-space: nowrap;
    max-width: none;
}
.services-list-thumb {
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 1 / 1;
}
.services-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.contacts-yandex-map,
.contacts-map-inner {
    width: 100%;
    min-height: 400px;
}
.contacts-yandex-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    border: 0;
}
.cform-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #46c22e;
}
.cform-checkbox a {
    color: inherit;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .header-logo-mark {
        height: 64px;
        width: 64px;
        max-width: none;
    }
    .footer-logo-mark {
        height: 72px;
        width: 72px;
    }
    .about-big-text {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.45;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        max-width: 100%;
        height: auto;
        aspect-ratio: 584 / 350;
    }
}


/* ===== Header + hero color continuity (v_2) ===== */
/* Front page: hero under fixed header; header paints the SAME top slice of the hero gradient
   (opaque — content never shows through on scroll; no flat #003c3e bar; no color swap). */
body.home,
body.front-page {
    padding-top: 0;
}
body.home .hero-content,
body.front-page .hero-content {
    padding-top: calc(var(--header-height) + 24px);
}
@media (max-width: 768px) {
    body.home .hero-content,
    body.front-page .hero-content {
        padding-top: calc(var(--header-height) + 8px + env(safe-area-inset-top, 0px));
    }
}
body.home .site-header,
body.front-page .site-header,
body.home .site-header.is-scrolled,
body.front-page .site-header.is-scrolled,
body.home .site-header.site-header--solid,
body.front-page .site-header.site-header--solid {
    /* Exact same stops as .hero — header shows top slice via background-size 100vh */
    background-image: linear-gradient(180deg,
        #003c3e 0%,
        #005a4c 22%,
        #007a5f 48%,
        #1a9e6e 72%,
        #2db682 90%,
        #3dd688 100%);
    background-size: 100% 100vh;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #003c3e; /* fallback only */
}
/* Inner pages: solid hero-top green (no hero behind them) */
body:not(.home):not(.front-page) .site-header {
    background: #003c3e;
    background-image: none;
}
body:not(.home):not(.front-page) .site-header.is-scrolled,
body:not(.home):not(.front-page) .site-header.site-header--solid {
    background: #003c3e;
    background-image: none;
}
