/* KLEN Agro — design system (industrial B2B agro) */
:root {
    --color-primary: #14532d;
    --color-primary-dark: #0f3d22;
    --color-primary-light: #166534;
    /* Акцент — красный с логотипа (logo.svg #E31E24) */
    --color-accent: #e31e24;
    --color-accent-dark: #a81418;
    --color-accent-hover: #c41a1f;
    --color-accent-hover-top: #ff4d55;
    --color-accent-soft: rgba(227, 30, 36, 0.12);
    --color-text: #1c1917;
    --color-text-muted: #57534e;
    --color-bg: #fafaf9;
    --color-bg-card: #ffffff;
    --color-border: #e7e5e4;
    --font-display: "Montserrat", system-ui, sans-serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 12px 40px rgba(20, 83, 45, 0.12);
    --header-h: 72px;
    --max: 1280px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
    min-width: auto;
}

#main {
    overflow-x: hidden;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary-light);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-accent);
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.legal-page h2 {
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
    color: var(--color-text);
}

.legal-page h2:first-of-type {
    margin-top: 0;
}

.legal-page p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
    max-width: 65ch;
}

.legal-page a {
    color: var(--color-primary);
    font-weight: 600;
}

.container {
    width: min(100% - 2.5rem, var(--max));
    max-width: 100%;
    margin-inline: auto;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    overflow: visible;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

/* Главная: шапка на белом фоне поверх hero */
.site-header--hero {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    width: min(100% - 2rem, var(--max));
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    color: inherit;
}

.logo--svg {
    gap: 0;
    flex-shrink: 1;
    min-width: 0;
}

.logo__img {
    height: 44px;
    width: auto;
    max-width: min(220px, 48vw);
    display: block;
    object-fit: contain;
    object-position: left center;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-desktop__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.125rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-desktop__item {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-desktop__item--catalog {
    position: relative;
    margin-right: 0.35rem;
}

.nav-desktop__item--has-sub.nav-desktop__item--catalog > a::after {
    display: none;
}

.nav-desktop__link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-desktop__link:hover {
    background: var(--color-accent-soft);
    color: var(--color-primary-dark);
}

.nav-desktop__link[aria-current="page"] {
    background: var(--color-accent-soft);
    color: var(--color-primary-dark);
}

.nav-desktop__catalog-btn[aria-current="page"] {
    border-color: var(--color-primary-light);
    background: var(--color-bg);
}

/* «Каталог» — пилюля + круг со шевроном (как salut-rossii-clone) */
.nav-desktop__catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem 0.45rem 1rem;
    margin: 0;
    white-space: nowrap;
    border: 1.5px solid var(--color-primary);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(28, 25, 23, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
    box-sizing: border-box;
}

.nav-desktop__catalog-btn:hover,
.nav-desktop__item--catalog:hover .nav-desktop__catalog-btn,
.nav-desktop__item--catalog:focus-within .nav-desktop__catalog-btn {
    border-color: var(--color-primary-light);
    box-shadow: 0 2px 12px rgba(20, 83, 45, 0.12);
    color: var(--color-primary-dark);
}

.nav-desktop__catalog-btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center 55%;
    background-size: 14px;
    transition: transform 0.25s ease, background-color 0.2s;
}

.nav-desktop__item--catalog:hover .nav-desktop__catalog-btn-icon,
.nav-desktop__item--catalog:focus-within .nav-desktop__catalog-btn-icon {
    transform: rotate(180deg);
    background-color: var(--color-primary-light);
}

/* Мега-меню каталога — привязка к пункту «Каталог», не ко всей шапке */
.nav-mega {
    position: absolute;
    left: 0;
    top: 100%;
    width: min(300px, calc(100vw - 2rem));
    padding-top: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1002;
    pointer-events: none;
    overflow: visible;
}

.nav-mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 12px;
    background: transparent;
}

.nav-desktop__item--catalog:hover .nav-mega,
.nav-desktop__item--catalog:focus-within .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-mega__inner {
    margin: 0;
    padding: 0;
    overflow: visible;
}

.nav-mega__tier1 {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.nav-mega__item {
    position: relative;
    margin: 0;
}

.nav-mega__item:last-child .nav-mega__row {
    border-bottom: none;
}

.nav-mega__tier1 > .nav-mega__item:first-child .nav-mega__row {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.nav-mega__tier1 > .nav-mega__item:last-child .nav-mega__row {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.nav-mega__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 14px 20px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nav-mega__row:hover {
    background: var(--color-bg);
    color: var(--color-primary-dark);
}

.nav-mega__row--leaf {
    justify-content: flex-start;
}

.nav-mega__row-label {
    flex: 1;
    min-width: 0;
}

.nav-mega__row-chevron {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #e7e5e4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    position: relative;
}

.nav-mega__row-chevron::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #57534e;
    border-bottom: 2px solid #57534e;
    transform: rotate(-45deg);
    margin-left: -3px;
    transition: border-color 0.2s, transform 0.2s, margin 0.2s;
}

.nav-mega__item--has-sub:hover .nav-mega__row-chevron,
.nav-mega__item--has-sub:focus-within .nav-mega__row-chevron {
    background: var(--color-primary);
}

.nav-mega__item--has-sub:hover .nav-mega__row-chevron::after,
.nav-mega__item--has-sub:focus-within .nav-mega__row-chevron::after {
    border-color: #fff;
    transform: rotate(135deg);
    margin-left: 3px;
}

.nav-mega__flyout {
    position: absolute;
    left: calc(100% + 12px);
    top: 0;
    width: min(280px, 85vw);
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s, visibility 0.18s;
    z-index: 2;
    overflow: visible;
}

.nav-mega__item--has-sub::before {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 16px;
    height: 100%;
    z-index: 3;
}

.nav-mega__item--has-sub:hover,
.nav-mega__item--has-sub:focus-within {
    z-index: 6;
}

.nav-mega__item--has-sub:hover > .nav-mega__flyout,
.nav-mega__item--has-sub:focus-within > .nav-mega__flyout {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-mega__flyout-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mega__flyout-list > li {
    border-bottom: 1px solid var(--color-border);
}

.nav-mega__flyout-list > li:last-child {
    border-bottom: none;
}

.nav-mega__flyout:not(.nav-mega__flyout--tier3) .nav-mega__flyout-list > li:first-child > a {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.nav-mega__flyout:not(.nav-mega__flyout--tier3) .nav-mega__flyout-list > li:last-child > a {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.nav-mega__flyout-list a {
    display: block;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nav-mega__flyout-list a:hover {
    background: var(--color-bg);
    color: var(--color-primary-dark);
}

.nav-mega__flyout-list a.nav-mega__flyout-label {
    display: block;
    padding: 14px 20px 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a8a29e;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.15s, color 0.15s;
}

.nav-mega__flyout--wide {
    width: min(440px, 92vw);
    max-height: min(72vh, 580px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mega__flyout-list > li.nav-mega__flyout-item--label {
    border-bottom: none;
}

.nav-mega__flyout-item--label {
    padding: 0;
    margin: 0;
    line-height: 1.3;
}

.nav-mega__flyout-item--label:first-child .nav-mega__flyout-label {
    padding-top: 12px;
}

.nav-mega__flyout-list a.nav-mega__flyout-label:hover {
    color: var(--color-primary-dark);
    background: var(--color-bg);
}

.nav-mobile__group-title {
    display: block;
    margin: 0.85rem 0 0.35rem;
    padding: 0 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a8a29e;
    text-decoration: none;
    border-bottom: none !important;
}

a.nav-mobile__group-title:hover {
    color: var(--color-primary);
}

.nav-mobile__group-title:first-child {
    margin-top: 0.25rem;
}

.nav-mobile a.nav-mobile__flyout-label {
    display: block;
    padding: 0.75rem 0 0.2rem 0.75rem !important;
    margin-top: 0.2rem;
    font-size: 0.6875rem !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a8a29e !important;
    border-bottom: none !important;
}

.nav-mobile a.nav-mobile__flyout-label:hover {
    color: var(--color-primary) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    text-align: right;
}

.header-address {
    margin: 0;
    font-style: normal;
    max-width: 14rem;
    line-height: 1.15;
}

.header-address__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    line-height: 1.15;
}

.header-address__link:hover {
    color: var(--color-primary);
}

.header-phone {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.15;
    white-space: nowrap;
    color: var(--color-text);
    text-decoration: none;
}

.header-phone:hover {
    color: var(--color-accent);
}

/* Мобильный телефон в шапке: иконка + номер (текст скрыт на десктопе) */
.header-mobile-phone {
    display: none;
    min-height: 38px;
    padding: 0 0.65rem 0 0.5rem;
    gap: 0.45rem;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    max-width: 100%;
}

.header-mobile-phone:hover {
    color: var(--color-primary-dark);
}

.header-mobile-phone__icon {
    flex-shrink: 0;
    display: block;
}

.header-mobile-phone__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Главная: слот под иконку телефона между логотипом и меню */
.header-phone-slot {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(180deg, var(--color-accent-hover-top) 0%, var(--color-accent-hover) 100%);
    color: #fff;
    box-shadow: 0 6px 22px rgba(227, 30, 36, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn--dark-outline {
    background: #fff;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn--dark-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Бургер — как domvpole: без заливки, иконка ↔ крест при открытии */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--color-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 0 0 auto;
     -webkit-appearance: none;
    appearance: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
    color: var(--color-primary);
    background: rgba(20, 83, 45, 0.08);
}

.nav-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 100%;
    display: block;
}

.nav-toggle__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.nav-toggle__icon--close {
    display: none;
}

body.mobile-panel-open .nav-toggle__icon--menu {
    display: none;
}

body.mobile-panel-open .nav-toggle__icon--close {
    display: inline-flex;
}

body.mobile-panel-open {
    overflow: hidden;
}

/* Мобильная панель — паттерн domvpole (backdrop + drawer) */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.35s ease;
}

.nav-mobile.is-open {
    pointer-events: auto;
    visibility: visible;
}

.nav-mobile__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 29, 36, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mobile.is-open .nav-mobile__backdrop {
    opacity: 1;
}

.nav-mobile__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    max-width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f6faf8 50%, #f0f5f3 100%);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.12);
    border-left: 3px solid var(--color-primary);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.nav-mobile__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.15rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    background: #fff;
}

.nav-mobile__logo .logo__img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 130px;
}

.nav-mobile__panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.15rem 1.15rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.nav-mobile__close {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile__close:hover {
    background: rgba(20, 83, 45, 0.12);
    color: var(--color-primary);
}

.nav-mobile__close:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.nav-mobile__mega-title {
    margin: 0 0 0.5rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.nav-mobile__catalog-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1.5rem;
}

.nav-mobile__sublink {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.95rem !important;
    font-weight: 500;
    color: var(--color-text) !important;
    text-decoration: none;
    border-radius: 10px;
    border-bottom: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile__sublink:hover {
    background: rgba(20, 83, 45, 0.08);
    color: var(--color-primary) !important;
}

.nav-mobile__quick {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1.5rem;
}

.nav-mobile__quick a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    border-bottom: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile__quick a:hover {
    background: rgba(20, 83, 45, 0.08);
    color: var(--color-primary);
}

.nav-mobile__contacts {
    padding-top: 1.35rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mobile__contacts-title {
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

.nav-mobile__phone {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 0.65rem;
    padding: 0.65rem 0.85rem;
    background: rgba(20, 83, 45, 0.08);
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile__phone:hover {
    background: rgba(20, 83, 45, 0.14);
    color: var(--color-primary);
}

.nav-mobile__phone-icon {
    display: flex;
    color: var(--color-primary);
    flex-shrink: 0;
}

.nav-mobile__address-link {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 1.45;
    padding: 0.65rem 0.85rem;
    background: var(--color-bg);
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-mobile__address-link:hover {
    color: var(--color-primary);
    background: rgba(20, 83, 45, 0.06);
}

.nav-mobile__address-icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.nav-mobile__address-link:hover .nav-mobile__address-icon {
    color: var(--color-primary);
}

/* Старые страницы: ссылки без обёртки panel-body */
/* Страницы без panel-body: отступы и прокрутка на всей панели */
.nav-mobile__panel:not(:has(.nav-mobile__panel-body)) {
    padding: 1.15rem 1.15rem 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile__panel:not(:has(.nav-mobile__panel-body)) .nav-mobile__catalog-block {
    margin-bottom: 1.25rem;
}

.nav-mobile__panel > a:not([class]) {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 2px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile__panel > a:not([class]):hover {
    background: rgba(20, 83, 45, 0.08);
    color: var(--color-primary);
}

.nav-mobile__panel > a[href^="tel:"] {
    font-weight: 600;
    background: rgba(20, 83, 45, 0.08);
}

.nav-mobile__address {
    margin: 0.75rem 0 0;
    padding: 0;
    border: none;
}

.nav-mobile__address a {
    display: inline;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
}

.nav-mobile__address a:hover {
    color: var(--color-primary);
}

/* Hero — карточка на ширину контейнера с закруглением (как в референсе) */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 1.25rem) 0 1.25rem;
    background: #fff;
}

.hero__inner {
    width: min(100% - 2.5rem, var(--max));
    max-width: 100%;
    margin-inline: auto;
    position: relative;
    border-radius: clamp(1.25rem, 4vw, 2.75rem);
    overflow: visible;
    min-height: min(56vh, 580px);
    display: flex;
    align-items: center;
    border: none;
    box-shadow: none;
}

/* Линия под первым блоком после hero — убираем; меньше верхний отступ, чем у обычных .section */
.hero + .section--alt {
    box-shadow: none;
}

.hero + .section {
    padding-top: clamp(2rem, 4vw, 3rem);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            115deg,
            rgba(15, 61, 34, 0.92) 0%,
            rgba(20, 83, 45, 0.75) 45%,
            rgba(28, 25, 23, 0.55) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem);
    box-sizing: border-box;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: center;
}

@media (min-width: 960px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, min(480px, 42vw));
        gap: 2rem 2.5rem;
        align-items: center;
    }
}

.hero__text {
    min-width: 0;
}

@media (min-width: 960px) {
    .hero h1 {
        max-width: 22ch;
    }
}

/* Форма в hero (референс: карточка + бейдж) */
.hero__form-col {
    min-width: 0;
}

.hero-form {
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.75rem) 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #f5f5f4 100%);
    border-radius: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.hero-form__head {
    margin-bottom: 1.1rem;
}

.hero-form__title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.8vw, 1.55rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    text-align: center;
}

.hero-form__sub {
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    max-width: none;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.hero-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

@media (max-width: 520px) {
    .hero-form__fields {
        grid-template-columns: 1fr;
    }
}

.hero-form__input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form__input::placeholder {
    color: #a8a29e;
}

.hero-form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.12);
}

.hero-form__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(90deg, #ff8f4c 0%, var(--color-accent) 40%, var(--color-accent-dark) 100%);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
    transition: transform 0.15s var(--ease), box-shadow 0.2s;
}

.hero-form__submit:hover {
    box-shadow: 0 8px 26px rgba(227, 30, 36, 0.45);
}

.hero-form__submit:active {
    transform: scale(0.99);
}

.hero-form__submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #fff;
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #57534e;
    cursor: pointer;
}

.hero-form__consent input {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--color-accent);
}

.hero-form__consent a {
    color: #b45309;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-form__consent a:hover {
    color: var(--color-accent);
}

.hero-form__success {
    display: none;
    margin: 0.75rem 0 0;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #065f46;
    background: #ecfdf5;
    border-radius: var(--radius-sm);
}

.hero-form.is-sent .hero-form__success {
    display: block;
}

.hero-form.is-sent .hero-form__fields,
.hero-form.is-sent .hero-form__submit,
.hero-form.is-sent .hero-form__consent,
.hero-form.is-sent .hero-form__head {
    display: none;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #e7e5e4;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1.12;
    color: #fff;
    margin: 0 0 1.25rem;
    max-width: 16ch;
    letter-spacing: -0.02em;
}

.hero__lead {
    font-size: 1.2rem;
    color: #d6d3d1;
    max-width: 59ch;
    margin: 0 0 2rem;
    line-height: 1.55;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 0;
}

/* Sections */
.section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--alt {
    background: #fff;
    box-shadow: inset 0 1px 0 var(--color-border);
}

.section__head {
    text-align: center;
    max-width: min(52rem, 92vw);
    margin: 0 auto 2.75rem;
}

.section__head--left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: none;
}

.section__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a8a29e;
    margin: 0 0 0.5rem;
}

.section__eyebrow--left {
    text-align: left;
}

.section__head h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--color-text);
}

.section__title-accent {
    color: var(--color-accent);
}

.section__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #78716c;
    max-width: 59ch;
    margin-inline: auto;
}

.section__head--left .section__lead {
    margin-inline: 0;
}

.split-about__content .section__lead {
    margin: 0 0 1.5rem;
    margin-inline: 0;
    max-width: 56ch;
}

.section__lead a {
    color: var(--color-primary-light);
    font-weight: 600;
}

.section__lead a:hover {
    color: var(--color-accent);
}

/* Feature cards */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.feature-card:hover {
    border-color: rgba(20, 83, 45, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Фиксированная высота — иначе разная геометрия SVG сдвигает заголовки вверх/вниз */
.feature-card__icon {
    width: 100%;
    max-width: 5.75rem;
    height: 6.25rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card__icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.feature-card h3:last-child {
    margin-bottom: 0;
}

.feature-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Catalog grid */
.grid-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.catalog-card {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.catalog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.catalog-card__media {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
}

.catalog-card__img {
    position: absolute;
    inset: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    object-fit: contain;
    object-position: center;
    display: block;
}

.catalog-card__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.catalog-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.catalog-card__body > p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    flex: 1;
}

.catalog-card__footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: 10px;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.catalog-card__price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
    line-height: 1.25;
}

/* Текстовые ссылки с классом на других страницах (напр. catalog.html) */
.catalog-card__link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
}

.catalog-card__link:hover {
    color: var(--color-accent);
}

.catalog-card__footer .catalog-card__link,
a.catalog-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--color-primary);
    background: #fff;
    border: 2px solid var(--color-primary);
    transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.catalog-card__footer .catalog-card__link {
    align-self: stretch;
}

/*.catalog-card__footer .catalog-card__link::after,
a.catalog-cta::after {
    content: "→";
    font-weight: 700;
    line-height: 1;
}*/

.catalog-card__footer .catalog-card__link:hover,
a.catalog-cta:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(20, 83, 45, 0.2);
}

.catalog-card__footer .catalog-card__link:focus-visible,
a.catalog-cta:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.catalog-section__more {
    text-align: center;
    margin: 2rem 0 0;
}

a.catalog-cta {
    padding: 0.65rem 1.35rem;
    min-width: min(100%, 16rem);
}

/* Секция «Ассортимент завода» — сетка товарных позиций (по мотивам витрины klen-agro.kz) */
.section--product-showcase {
    background: linear-gradient(180deg, #f5f5f4 0%, #fafaf9 100%);
    border-block: 1px solid var(--color-border);
}

.section--product-showcase .catalog-section__more {
    margin-top: 2.5rem;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ajax-filter-count {
    grid-column: 3 span;
}

.ajax-filter-count:empty {
    display: none;
}

.product-showcase__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.2s;
}

.product-showcase__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(20, 83, 45, 0.22);
}

.product-showcase__card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.product-showcase__media {
    aspect-ratio: 4 / 3;
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.product-showcase__media img {
    position: absolute;
    inset: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    object-fit: contain;
    object-position: center;
}

.product-showcase__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.25rem 1.35rem;
}

.product-showcase__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

.product-showcase__note {
    margin: 0 0 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    background: var(--color-accent-soft);
    width: fit-content;
    max-width: 100%;
}

.product-showcase__cta {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.product-showcase__card:hover .product-showcase__cta {
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .product-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }
}

/* About split */
.split-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    min-width: 0;
}

.split-about__content {
    min-width: 0;
}

.split-about__visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--color-primary);
}

.split-about__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.split-about__content h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.pill-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pill-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.98rem;
}

.pill-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    margin-top: 0.45rem;
    flex-shrink: 0;
}

/* Блок «О заводе» — макет: фото + текст, призрачная кнопка */
.section.section--about {
    padding-block: clamp(4.25rem, 9vw, 6.25rem);
    background: #fff;
}

.section--about .split-about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 5vw, 3.75rem);
    align-items: center;
}

.section--about .split-about__visual {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(28, 25, 23, 0.1);
    background: #f5f5f4;
    aspect-ratio: 4 / 3;
}

.section--about .split-about__visual img {
    opacity: 1;
}

.section--about .split-about__eyebrow {
    color: #9b9b9b;
    letter-spacing: 0.18em;
    margin-bottom: 0.65rem;
}

.section--about .split-about__content h2 {
    color: #000;
    font-weight: 800;
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    line-height: 1.22;
    margin-bottom: 1.1rem;
    overflow-wrap: anywhere;
}

.section--about .split-about__lead {
    color: #4a4a4a;
    font-size: 1.0625rem;
    line-height: 1.65;
    max-width: 52ch;
}

.pill-list--about {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.pill-list--about li {
    font-weight: 500;
    color: #4a4a4a;
    line-height: 1.45;
}

.pill-list--about li::before {
    background: #e1251b;
    width: 7px;
    height: 7px;
    margin-top: 0.5rem;
}

.split-about__cta {
    background: transparent;
    color: #213e33;
    border: 2px solid #213e33;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.split-about__cta:hover {
    background: rgba(33, 62, 51, 0.08);
    color: #213e33;
    border-color: #213e33;
}

.split-about__cta:focus-visible {
    outline: 2px solid #213e33;
    outline-offset: 3px;
}

.split-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    align-items: center;
}

/* Страница «О компании» — карточки «дальше по сайту» */
.about-next__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.about-next__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.5rem 2.75rem 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
    position: relative;
}

.about-next__card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 28px rgba(20, 83, 45, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.about-next__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.about-next__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--color-text);
}

.about-next__arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Секция «Как мы работаем» — bento, иконки, без линий и стрелок */
.section--process {
    background-color: #f7f7f5;
    background-image: radial-gradient(rgba(20, 83, 45, 0.045) 1px, transparent 1px);
    background-size: 20px 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 1025px) {
    .process-card:nth-child(1) {
        grid-column: span 4;
    }

    .process-card:nth-child(2) {
        grid-column: span 4;
    }

    .process-card:nth-child(3) {
        grid-column: span 4;
    }

    .process-card:nth-child(4) {
        grid-column: span 6;
    }

    .process-card:nth-child(5) {
        grid-column: span 6;
    }
}

.process-card {
    position: relative;
    margin: 0;
    padding: 1.65rem 1.35rem 1.5rem;
    text-align: left;
    background: #fff;
    border: 1px solid #e5e5e2;
    border-radius: 22px;
    overflow: hidden;
    transition: border-color 0.25s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.process-card:hover {
    border-color: rgba(20, 83, 45, 0.22);
    box-shadow: 0 16px 48px rgba(20, 83, 45, 0.07);
    transform: translateY(-3px);
}

.process-card__index {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(28, 25, 23, 0.06);
    user-select: none;
    pointer-events: none;
}

.process-card__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    color: var(--color-primary);
    background: rgba(20, 83, 45, 0.08);
    background: color-mix(in srgb, var(--color-primary) 9%, #fff);
}

.process-card__icon svg {
    width: 26px;
    height: 26px;
}

.process-card__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

.process-card__text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 40ch;
}

@media (prefers-reduced-motion: reduce) {
    .process-card {
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .process-card:hover {
        transform: none;
    }
}

/* Отзывы — только текст, без фото (оригинальные снимки с площадки подставляются отдельно) */
.section--testimonials {
    background: var(--color-bg);
    border-block: 1px solid var(--color-border);
}

.section__head--testimonials .section__lead {
    max-width: 54ch;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 0.5rem;
    align-items: stretch;
}

.review {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100%;
    padding: 1.65rem 1.45rem 1.5rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
    transition: border-color 0.2s ease,
    box-shadow 0.25s var(--ease);
}

.review:hover {
    border-color: #d6d3d1;
    box-shadow: 0 12px 36px rgba(28, 25, 23, 0.07);
}

.review__quote {
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
}

.review__quote p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: #292524;
}

.review__footer {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0ee;
}

.review__org {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.review__muted {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #78716c;
}

@media (prefers-reduced-motion: reduce) {
    .review {
        transition: border-color 0.2s;
    }
}

/* FAQ — аккордеон-карточки */
.section--faq {
    position: relative;
    padding-block: clamp(3rem, 8vw, 5rem);
}

.faq-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section__head--faq {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0;
    max-width: min(40rem, 100%);
}

.section__lead--faq {
    margin-top: 0.85rem;
    margin-bottom: 0;
    margin-inline: 0;
    max-width: 46ch;
}

.faq-intro__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.15rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(20, 83, 45, 0.14);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 32px rgba(20, 83, 45, 0.07);
}

.faq-intro__badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.faq-intro__badge-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.faq-list {
    width: 100%;
    max-width: none;
    margin: 0;
    counter-reset: faq;
}

.faq-item {
    counter-increment: faq;
    margin-bottom: 0.85rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(231, 229, 228, 0.98);
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04),
    0 10px 40px rgba(20, 83, 45, 0.045);
    transition: border-color 0.35s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.35s var(--ease);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    border-color: rgba(20, 83, 45, 0.16);
    box-shadow: 0 4px 14px rgba(28, 25, 23, 0.06),
    0 18px 50px rgba(20, 83, 45, 0.08);
}

.faq-item.is-open {
    border-color: rgba(20, 83, 45, 0.26);
    box-shadow: 0 6px 20px rgba(28, 25, 23, 0.07),
    0 26px 60px rgba(20, 83, 45, 0.11);
    transform: translateY(-1px);
}

.faq-item.is-open .faq-trigger__num {
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(20, 83, 45, 0.25);
}

.faq-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem 1.1rem;
    padding: 1.15rem 1.2rem 1.1rem 1.1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(0.98rem, 2.1vw, 1.07rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.38;
    color: var(--color-text);
    border-radius: 18px;
}

.faq-trigger:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.faq-trigger__num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--color-primary);
    background: rgba(20, 83, 45, 0.07);
    border: 1px solid rgba(20, 83, 45, 0.11);
    border-radius: 12px;
    transition: background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.faq-trigger__num::before {
    content: counter(faq, decimal-leading-zero);
}

.faq-trigger__text {
    min-width: 0;
}

.faq-trigger__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #f5f5f4 0%, #ebe9e8 100%);
    color: var(--color-accent);
    transition: background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.faq-item.is-open .faq-trigger__icon {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.35);
}

.faq-trigger__svg {
    display: block;
    transition: transform 0.4s var(--ease);
}

.faq-item.is-open .faq-trigger__svg {
    transform: rotate(45deg);
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.42s var(--ease);
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel__inner {
    overflow: hidden;
    min-height: 0;
}

.faq-panel__inner > div {
    padding: 0 1.2rem 1.35rem;
    padding-left: calc(1.1rem + 2.5rem + 1.1rem);
    border-top: 1px solid transparent;
}

.faq-item.is-open .faq-panel__inner > div {
    border-top-color: rgba(231, 229, 228, 0.9);
    padding-top: 0.35rem;
}

.faq-panel p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: none;
}

.faq-panel p + p {
    margin-top: 0.65rem;
}

.faq-answer-list {
    margin: 0.5rem 0 0;
    padding-left: 1.35rem;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.faq-answer-list li + li {
    margin-top: 0.35rem;
}

.faq-answer-list--numbered {
    list-style: decimal;
    padding-left: 1.5rem;
}

@media (max-width: 540px) {
    .faq-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-trigger {
        padding: 1rem 0.95rem;
        gap: 0.65rem 0.75rem;
    }

    .faq-trigger__num {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.75rem;
        border-radius: 10px;
    }

    .faq-trigger__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .faq-panel__inner > div {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-trigger__num,
    .faq-trigger__icon,
    .faq-trigger__svg {
        transition-duration: 0.01ms;
    }

    .faq-item.is-open {
        transform: none;
    }

    .faq-panel {
        transition-duration: 0.01ms;
    }
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #166534 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.cta-band h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    margin: 0 0 0.5rem;
}

.cta-band p {
    margin: 0;
    color: #d6d3d1;
    max-width: 42ch;
}

.cta-band__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 200px;
}

.cta-band .btn--primary {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.cta-band .btn--dark-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.cta-band .btn--dark-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* Form */
.lead-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-width: 520px;
    margin: 0 auto;
}

.lead-form h3 {
    font-family: var(--font-display);
    font-weight: 800;
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.lead-form > p {
    margin: 0 0 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.15);
}

.form-row textarea {
    min-height: 110px;
    resize: vertical;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
}

.form-note a {
    color: var(--color-primary);
    font-weight: 600;
}

.form-success {
    display: none;
    padding: 1rem;
    background: #ecfdf5;
    border-radius: var(--radius-sm);
    color: #065f46;
    font-weight: 600;
    margin-top: 1rem;
}

.lead-form.is-sent .form-success {
    display: block;
}

/* Модальное окно «Заявка на прайс-лист» */
/* Важно: не задавать display для закрытого <dialog> без [open] — иначе правило
   перебивает UA (dialog:not([open]) { display: none }) и форма остаётся в потоке под футером. */
.modal-dialog {
    border: none;
    padding: 1rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    box-sizing: border-box;
    background: transparent;
    display: none;
}

.modal-dialog[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog::backdrop {
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(5px);
}

.modal-dialog__panel {
    position: relative;
    width: min(480px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: var(--radius);
    /*padding: 2rem 1.75rem 1.75rem;*/
    border: 1px solid var(--color-border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.modal-dialog .lead-form {
    margin: 0;
    max-width: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.modal-dialog__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #f5f5f4;
    color: var(--color-text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s, color 0.2s;
}

.modal-dialog__close:hover {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
}

.modal-dialog__submit {
    width: 100%;
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    .modal-dialog::backdrop {
        backdrop-filter: none;
    }
}

/* Footer */
.site-footer {
    --footer-bg: #1a1614;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-text: #a8a29e;
    --footer-link: #d6d3d1;
    --footer-link-hover: #fafaf9;
    background: var(--footer-bg);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 32%);
    color: var(--footer-text);
    padding: clamp(3rem, 6vw, 4.25rem) 0 0;
    margin-top: 0;
    border-top: 1px solid var(--footer-border);
}

.site-footer a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.site-footer a:hover {
    color: var(--footer-link-hover);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: start;
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 0.25rem;
}

.footer-brand .logo__img {
    height: 46px;
    width: auto;
    max-width: min(220px, 70vw);
}

.footer-brand p {
    margin: 1.1rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 22rem;
    color: #9ca3a0;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fafaf9;
    margin: 0 0 1.15rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--footer-text);
}

.footer-col li:last-child {
    margin-bottom: 0;
}

.footer-col li a {
    font-size: inherit;
    display: inline-block;
}

.footer-bottom {
    padding: 1.35rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #78716c;
}

.footer-bottom a {
    color: #a8a29e;
}

.footer-bottom a:hover {
    color: #e7e5e4;
}

.footer-bottom__copy {
    max-width: 42ch;
}

.footer-bottom__links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.footer-bottom__sep {
    color: #57534e;
    user-select: none;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-bottom: 2rem;
    }

    .footer-bottom__copy {
        max-width: none;
    }

    .footer-bottom__links {
        justify-content: center;
    }

    .footer-brand .logo__img {
        height: 40px;
    }
}

/* Page hero (inner pages) */
.page-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
    background: linear-gradient(180deg, #ecfdf5 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.page-hero p {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 52ch;
}

.breadcrumbs {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
}


.breadcrumbs--hero {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumbs--hero a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumbs--hero a:hover {
    color: #fff;
}

.breadcrumbs--hero span {
    color: rgba(255, 255, 255, 0.55);
}

/* Catalog page cards smaller grid */
.grid-catalog-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.cat-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: box-shadow 0.25s;
}

.cat-row:hover {
    box-shadow: var(--shadow-md);
}

.cat-row__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    display: grid;
    place-items: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.cat-row h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.cat-row p {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.cat-row ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.cat-row ul li {
    margin-bottom: 0.25rem;
}

/* Contact page */
.page-hero--contacts {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 40%, #fafaf9 100%);
    position: relative;
    overflow: hidden;
}

.page-hero--contacts::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 83, 45, 0.045) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.page-hero--contacts .page-hero__subtitle {
    max-width: 38rem;
}

/* Quick-contact strip */
.cq-strip {
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.cq-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cq-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

a.cq-card:hover {
    border-color: rgba(20, 83, 45, 0.3);
    box-shadow: 0 8px 24px rgba(20, 83, 45, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.cq-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(20, 83, 45, 0.08);
    color: var(--color-primary);
}

.cq-card__icon--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.cq-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cq-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.cq-card__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact details list inside cards */
.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-details__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.45;
}

.contact-details__icon {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 1px;
}

.contact-details__item a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.contact-details__item a:hover {
    color: var(--color-accent);
}

/* Delivery features checklist */
.delivery-features {
    list-style: none;
    margin: 0.75rem 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.delivery-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
}

.delivery-features svg {
    flex-shrink: 0;
}

/* Lead form on contacts page — remove max-width constraint */
.lead-form--contacts {
    max-width: none;
}

@media (max-width: 1024px) {
    .cq-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .cq-strip__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .about-next__grid {
        grid-template-columns: 1fr;
    }
}

.contacts-offices {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.offices-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.office-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    border-radius: var(--radius);
}

.contact-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    isolation: isolate;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.contact-card--featured {
    border-left: 4px solid var(--color-primary);
}

.contact-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    background: var(--color-primary);
    color: #fff;
    margin-bottom: 0.75rem;
}

.contact-card__badge--alt {
    background: #0e7490;
}

.contact-card__icon {
    vertical-align: -3px;
    margin-right: 0.35rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
}

.contact-card dl {
    margin: 0;
}

.contact-card dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.contact-card dt:first-child {
    margin-top: 0;
}

.contact-card dd {
    margin: 0.25rem 0 0;
    font-weight: 600;
}

.contact-card dd a {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.contact-card--delivery {
    display: flex;
    flex-direction: column;
}

.contact-card--delivery h3 {
    font-size: 1.15rem;
}

.contact-card--delivery p {
    margin: 0 0 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.contact-card--delivery .btn {
    margin-top: auto;
    align-self: flex-start;
}

.btn--outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.contacts-bottom {
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.contacts-bottom__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    min-height: 280px;
    background: #e7e5e4;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.map-embed__iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
    clip-path: inset(0);
}

.map-embed--placeholder {
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-align: center;
    padding: 2rem;
}

/* Блок консультации перед подвалом (двухколоночный CTA) */
.section--consult-cta {
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.consult-cta {
    position: relative;
    border-radius: clamp(1.25rem, 3vw, 1.75rem);
    overflow: hidden;
    background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 50%, #eef2ef 100%);
    box-shadow: var(--shadow-md);
}

.consult-cta__bg {
    position: absolute;
    inset: 0;
    background-image: image-set(url("../images/consult-bg.webp") type("image/webp"), url("../images/consult-bg.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    filter: blur(14px) saturate(0.85);
    opacity: 0.22;
    transform: scale(1.08);
    pointer-events: none;
}

.consult-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: clamp(1.5rem, 4vw, 2.75rem);
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.consult-cta__content {
    flex: 1 1 min(100%, 26rem);
    min-width: 0;
}

.consult-cta__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.consult-cta__title-accent {
    display: block;
    color: var(--color-accent);
}

.consult-cta__title-rest {
    display: block;
    color: var(--color-text);
    font-weight: 700;
}

.consult-cta__lead {
    margin: 0 0 1.25rem;
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    max-width: 52ch;
}

.consult-cta__lead strong {
    color: var(--color-text);
    font-weight: 700;
}

.consult-form {
    margin: 0;
}

.consult-form__row {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.consult-form__row--duo {
    grid-template-columns: 1fr 1fr;
}

.consult-form__row--actions {
    margin-bottom: 0.85rem;
}

.consult-form__input {
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: 1px solid #d6d3d1;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.consult-form__input::placeholder {
    color: #a8a29e;
}

.consult-form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.12);
}

.consult-form__file {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 2.85rem;
    padding: 0.45rem 1rem;
    border: 1px dashed #c4c0bc;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    transition: border-color 0.2s, background 0.2s;
}

.consult-form__file:hover {
    border-color: var(--color-primary-light);
    background: #fff;
}

.consult-form__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.consult-form__file:focus-within {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.consult-form__file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.consult-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    background: linear-gradient(90deg, #ff8f4c 0%, var(--color-accent) 40%, var(--color-accent-dark) 100%);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.35);
    transition: transform 0.15s var(--ease), box-shadow 0.2s;
}

.consult-form__submit:hover {
    box-shadow: 0 8px 26px rgba(227, 30, 36, 0.45);
}

.consult-form__submit:active {
    transform: scale(0.99);
}

.consult-form__submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #fff;
    color: var(--color-accent);
    flex-shrink: 0;
}

.consult-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--color-accent);
    cursor: pointer;
}

.consult-form__consent input {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--color-accent);
}

.consult-form__consent a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consult-form__consent a:hover {
    color: var(--color-accent-dark);
}

.consult-form__success {
    display: none;
    margin: 0.75rem 0 0;
    padding: 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #065f46;
    background: #ecfdf5;
    border-radius: var(--radius-sm);
}

.consult-form.is-sent .consult-form__success {
    display: block;
}

.consult-form.is-sent .consult-form__row,
.consult-form.is-sent .consult-form__consent,
.consult-form.is-sent .consult-cta__lead {
    display: none;
}

.consult-form.is-sent .consult-cta__title {
    display: none;
}

.consult-cta__visual {
    flex: 1 1 min(100%, 16rem);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consult-cta__visual img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: clamp(1rem, 2vw, 1.35rem);
    object-fit: cover;
    aspect-ratio: 5 / 4;
    box-shadow: 0 16px 40px rgba(20, 83, 45, 0.15);
}

@media (max-width: 720px) {
    .consult-form__row--duo {
        grid-template-columns: 1fr;
    }

    .consult-cta__inner {
        flex-direction: column;
    }

    .consult-cta__visual {
        order: -1;
        max-height: min(42vw, 220px);
    }

    .consult-cta__visual img {
        max-height: min(42vw, 220px);
        width: 100%;
        object-fit: cover;
    }
}

/* Floating mobile CTA */
.fab-phone {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 8px 28px rgba(227, 30, 36, 0.45);
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.fab-phone:hover {
    color: #fff;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-catalog {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-about {
        grid-template-columns: 1fr;
    }

    .split-about__visual {
        order: -1;
        max-height: 280px;
    }

    .section--about .split-about__visual {
        max-height: min(48vw, 380px);
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-card:nth-child(n) {
        grid-column: span 1;
    }

    .reviews-list {
        grid-template-columns: 1fr;
    }

    .cta-band {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-band p {
        margin-inline: auto;
    }

    .cta-band__actions {
        margin-inline: auto;
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 36rem;
    }

    .offices-row {
        grid-template-columns: 1fr;
    }

    .contacts-bottom__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .nav-desktop,
    .header-contact {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-mobile {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .header-mobile-phone {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .site-header__inner {
        gap: 0.4rem;
        width: min(100% - 1rem, var(--max));
        padding-inline: 0;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .section__head h2 {
        overflow-wrap: anywhere;
    }

    .hero h1 {
        overflow-wrap: anywhere;
    }

    .header-phone-slot {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
        justify-content: center;
    }

    .hero__inner {
        min-height: 460px;
        width: 100%;
        border-radius: 0;
    }

    .hero__grid--product {
        display: flex;
        flex-direction: column;
    }

    .grid-features {
        grid-template-columns: 1fr;
    }

    .grid-catalog,
    .grid-catalog-page {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .fab-phone {
        display: flex;
    }

    .logo__img {
        height: 36px;
        max-width: min(118px, 36vw);
    }
}

@media (max-width: 380px) {
    .header-mobile-phone {
        padding-inline: 0.45rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.35rem;
    }

    .header-mobile-phone__icon {
        width: 16px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.article-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-hub-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.article-hub-item__time {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.article-hub-item__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.65rem;
}

.article-hub-item__title a {
    color: var(--color-text);
    text-decoration: none;
}

.article-hub-item__title a:hover {
    color: var(--color-accent);
}

.article-hub-item__excerpt {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.article-hub-item__more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.article-hub-item__more:hover {
    color: var(--color-accent);
}

.related-links {
    margin: 32px 0;
}

.related-links__list {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.related-links__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-link {
    display: list-item;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: start;
}

.product-layout__media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.product-layout__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.product-article-section .seo-text h2 {
    margin-top: 0;
}

.product-article-section .seo-text h2 + p {
    margin-top: 0;
}

/* See-also grid */
.see-also-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.see-also-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.see-also-card:hover {
    border-color: rgba(20, 83, 45, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.see-also-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--color-text);
}

.see-also-card:hover .see-also-card__title {
    color: var(--color-primary);
}

.see-also-card__arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform 0.2s var(--ease);
}

.see-also-card:hover .see-also-card__arrow {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .see-also-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .see-also-grid {
        grid-template-columns: 1fr;
    }
}

.hero--product .hero__badge {
    color: #e7e5e4;
    border-color: rgba(255, 255, 255, 0.22);
}

.hero__image {
    padding: 24px;
    background-color: white;
    border-radius: 20px;
    width: 100%;
}

.product__slider .swiper-pagination {
    position: static;
}

.product__slider .swiper-pagination-bullet {
    background: none;
    border: 1px solid;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product__slider .swiper-pagination-bullet::after {
    content: '';
    width: 6px;
    height: 6px;
    display: block;
    background: currentColor;
    border-radius: 50%;
    opacity: 0;
}

.product__slider .swiper-pagination-bullet-active::after {
    opacity: 1;
}

.product__slider .gallery__elem img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.product__slider .gallery__elem {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 100%;
}

.product__slider .gallery__elem .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 50px;
    display: flex;
    align-items: center;
    color: white;
    background: red;
    justify-content: center;
    border-radius: 6px;
}

.gallery-thumbs {
    margin-top: 10px
}

.gallery-thumbs .swiper-slide {
    opacity: 0.5;
    filter: saturate(0);
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    filter: saturate(1);
}

.gallery-thumbs .swiper-slide picture {
    padding-bottom: 100%;
    width: 100%;
    display: block;
    position: relative;
}

.gallery-thumbs .swiper-slide picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hero__price-tag {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    color: #fef08a;
    letter-spacing: -0.02em;
}

.hero__grid--product {
    align-items: start;
}

.product-back-wrap {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.product-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-primary);
    text-decoration: none;
}

.product-back:hover {
    color: var(--color-accent);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: start;
}

.product-layout__media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.product-layout__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.product-article-section .seo-text h2 {
    margin-top: 0;
}

.product-article-section .seo-text h2 + p {
    margin-top: 0;
}

.product-ordered-list {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.product-ordered-list li + li {
    margin-top: 0.5rem;
}

.product-cta-inline {
    margin: 1.25rem 0 0;
}

.section__lead--left {
    text-align: left;
    margin-inline: 0;
    max-width: 62ch;
}

.spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.spec-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.spec-table-wrap thead th {
    text-align: left;
    padding: 0.85rem 1rem;
    background: var(--color-bg);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.spec-table-wrap tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    padding: 0.75rem 1rem;
    width: 42%;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border);
}

.spec-table-wrap tbody td {
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.spec-table-wrap tbody tr:last-child th,
.spec-table-wrap tbody tr:last-child td {
    border-bottom: none;
}

.page-product .consult-form__row--product-submit {
    margin-bottom: 0.85rem;
}

.page-product .consult-form__row--product-submit .consult-form__submit {
    width: 100%;
    justify-content: center;
}

.socials-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
}

.cookie-warning {
    position: fixed;
    bottom: 8px;
    transform: translateX(-50%);
    left: 50%;
    display: none;
    justify-content: space-between;
    width: 100%;
    padding: 32px;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: white;
    color: rgb(0, 0, 0);
    max-width: 836px;
    box-shadow: 0 0 16px 0 rgb(0, 0, 0, 0.2);
}

.cookie-warning--active {
    display: flex;
    align-items: center;
    z-index: 1000;
}

.cookie-warning__text {
    font-size: 16px;
    line-height: 160%;
    margin-right: 30px;
    max-width: 630px;
}

.cookie-warning__text a {
    color: inherit;
}

.cookie-warning__read {
    display: block;
    margin-left: 15px;
    color: white;
    text-decoration: underline;
}

.cookie-warning__apply {
    padding: 8px 18px;
    background: linear-gradient(90deg, #ff8f4c 0%, var(--color-accent) 40%, var(--color-accent-dark) 100%);
    border: none;
    border-radius: 4px;
    color: #fff;
}

@media (max-width: 767px) {
    .cookie-warning--active {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 8px;
        bottom: 0;
        padding: 16px 12px 12px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .cookie-warning__text {
        margin-right: 0;
        font-size: 14px;
    }

    .cookie-warning__apply {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-layout__media {
        max-width: 28rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}



/* ---- Телефоны в шапке: планшет и мобильный ---- */
.header-phones { display: none; }

@media (max-width: 991px) {
    .header-phones {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        min-width: 0;
    }
    .header-phones__item {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        color: var(--color-primary);
        text-decoration: none;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.8125rem;
        letter-spacing: 0.01em;
        white-space: nowrap;
        transition: color 0.2s ease;
    }
    .header-phones__item svg { flex-shrink: 0; }
    .header-phones__item:hover { color: var(--color-primary-dark); }
}

/* Узкие экраны: всё в один ряд. Телефоны по центру, в две строки —
   логотип, Telegram и бургер ужимаются, чтобы поместилось. */
@media (max-width: 575px) {
    :root { --header-h: 64px; }

    .site-header__inner {
        flex-wrap: nowrap;
        column-gap: 0.4rem;
    }

    .site-header .logo__img {
        height: 32px;
        max-width: 84px;
    }

    .header-phones {
        flex: 1 1 auto;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.05rem;
    }
    .header-phones__item {
        font-size: 0.75rem;
        gap: 0.22rem;
        line-height: 1.3;
    }
    .header-phones__item svg { width: 13px; height: 13px; }

    .header-actions { gap: 0.4rem; }
    .site-header .socials-list { gap: 0.25rem; }
    .site-header .social-item { width: 26px; }
    .site-header .nav-toggle { width: 32px; height: 32px; }
    .site-header .nav-toggle svg { width: 22px; height: 22px; }
}

@media (max-width: 360px) {
    .site-header .logo__img { max-width: 74px; }
    .header-phones__item { font-size: 0.7rem; }
    .header-phones__item svg { width: 12px; height: 12px; }
}

/* Второй телефон на десктопе — мельче основного */
.header-phone--second {
    font-size: 0.9em;
    opacity: 0.85;
}


/* ---- Карта проезда на странице контактов ---- */
.office-block--map {
    align-self: stretch;
    overflow: visible;
}

.contacts-map {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 380px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: #eaf0ea;
}

.contacts-map__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contacts-map__route {
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .contacts-map { min-height: 340px; }
}

@media (max-width: 575px) {
    .contacts-map { min-height: 300px; }
}


/* =========================================================
   Страница услуги «Лазерная резка металла» (/uslugi/)
   Дизайн-система блоков: lc-*
   ========================================================= */

:root {
    --lc-ink: #101b14;
    --lc-line: #e6e4e1;
    --lc-line-strong: #d6d3d0;
    --lc-soft: rgba(20, 83, 45, 0.055);
    --lc-soft-2: rgba(20, 83, 45, 0.1);
    --lc-accent-soft: rgba(227, 30, 36, 0.08);
    --lc-shadow-1: 0 1px 2px rgba(16, 27, 20, 0.05), 0 8px 24px -12px rgba(16, 27, 20, 0.14);
    --lc-shadow-2: 0 2px 6px rgba(16, 27, 20, 0.06), 0 24px 48px -20px rgba(16, 27, 20, 0.22);
    --lc-r: 16px;
    --lc-r-lg: 22px;
    --lc-r-sm: 10px;
}

/* Якоря не уезжают под фиксированную шапку */
.lc-section[id],
.lc-section [id] {
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.lc-section {
    position: relative;
}

/* Тонкая линия-разделитель между светлыми секциями подряд */
.lc-section + .lc-section:not(.section--alt):not(.section--faq)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100% - 2.5rem, var(--max));
    height: 1px;
    background: var(--lc-line);
}

/* ---------------------------------------------------------
   Шапка секции с номером
   --------------------------------------------------------- */
.lc-head {
    max-width: 62rem;
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}

.lc-head__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.lc-head__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--lc-line-strong);
    background: #fff;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-primary);
}

.lc-head__eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a8580;
}

.lc-head__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
    color: var(--lc-ink);
    margin: 0 0 0.9rem;
    max-width: 22ch;
    text-wrap: balance;
}

.lc-head__title--wide {
    max-width: 30ch;
}

.lc-head__accent {
    color: var(--color-accent);
}

.lc-head__lead {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.62;
    color: var(--color-text-muted);
    max-width: 62ch;
}

/* ---------------------------------------------------------
   Текст
   --------------------------------------------------------- */
.lc-prose {
    max-width: 68ch;
    font-size: 1.03rem;
}

.lc-prose--wide {
    max-width: none;
}

.lc-prose p {
    margin: 0 0 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.lc-prose p strong,
.lc-prose li strong {
    color: var(--lc-ink);
    font-weight: 700;
}

.lc-prose h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--lc-ink);
    margin: 2rem 0 0.75rem;
}

.lc-prose h3:first-child {
    margin-top: 0;
}

.lc-prose > :last-child {
    margin-bottom: 0;
}

.lc-prose a:not(.btn) {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(20, 83, 45, 0.32);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.lc-prose a:not(.btn):hover {
    color: var(--color-accent);
    text-decoration-color: currentColor;
}

/* Врезка-лид: первый абзац блока крупнее */
.lc-lede {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--lc-ink);
    max-width: 60ch;
    margin: 0 0 1.5rem;
}

/* ---------------------------------------------------------
   Цифры
   --------------------------------------------------------- */
.lc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 1px;
    background: var(--lc-line);
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-r);
    overflow: hidden;
}

.lc-stat {
    background: #fff;
    padding: 1.35rem 1.35rem 1.25rem;
}

.lc-stat__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.65rem, 3.4vw, 2.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.lc-stat__unit {
    font-size: 0.55em;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-left: 0.22em;
    color: var(--color-accent);
}

.lc-stat__label {
    display: block;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--color-text-muted);
}

/* Цифры на тёмном (первый экран) */
.lc-stats--on-dark {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.16);
}

.lc-stats--on-dark .lc-stat {
    background: rgba(12, 32, 20, 0.42);
}

.lc-stats--on-dark .lc-stat__value {
    color: #fff;
}

.lc-stats--on-dark .lc-stat__unit {
    color: #fbbf24;
}

.lc-stats--on-dark .lc-stat__label {
    color: rgba(255, 255, 255, 0.82);
}

/* ---------------------------------------------------------
   Плитки
   --------------------------------------------------------- */
.lc-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.15rem;
}

.lc-tiles--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lc-tiles--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem 1.65rem;
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-r);
    box-shadow: var(--lc-shadow-1);
    transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.lc-tile:hover {
    border-color: rgba(20, 83, 45, 0.28);
    box-shadow: var(--lc-shadow-2);
    transform: translateY(-3px);
}

.lc-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.1rem;
    border-radius: 13px;
    background: var(--lc-soft);
    color: var(--color-primary);
    flex-shrink: 0;
}

.lc-tile__icon svg {
    width: 24px;
    height: 24px;
}

.lc-tile__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--lc-ink);
    margin: 0 0 0.6rem;
}

.lc-tile__text {
    margin: 0 0 1rem;
    font-size: 0.965rem;
    line-height: 1.62;
    color: var(--color-text-muted);
}

.lc-tile__text:last-child {
    margin-bottom: 0;
}

.lc-tile > .lc-chips {
    margin-top: auto;
}

.lc-tile__note {
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--lc-line-strong);
    font-size: 0.875rem;
    line-height: 1.55;
    color: #8a8580;
}

/* Акцентная плитка */
.lc-tile--accent {
    background: linear-gradient(155deg, var(--color-primary-dark) 0%, var(--color-primary) 62%, #17663a 100%);
    border-color: transparent;
    color: #fff;
}

.lc-tile--accent .lc-tile__title,
.lc-tile--accent .lc-tile__text {
    color: #fff;
}

.lc-tile--accent .lc-tile__text {
    color: rgba(255, 255, 255, 0.86);
}

.lc-tile--accent .lc-tile__icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.lc-tile--accent .lc-chips li {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ---------------------------------------------------------
   Чипы
   --------------------------------------------------------- */
.lc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-chips li {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--lc-line);
    background: #fbfbfa;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-muted);
}

.lc-chips--primary li {
    border-color: rgba(20, 83, 45, 0.2);
    background: var(--lc-soft);
    color: var(--color-primary);
}

.lc-chips--lg li {
    padding: 0.5rem 0.95rem;
    font-size: 0.9375rem;
    border-radius: 10px;
}

/* ---------------------------------------------------------
   Чеклист
   --------------------------------------------------------- */
.lc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.lc-checklist li {
    position: relative;
    padding-left: 2.1rem;
    font-size: 0.98rem;
    line-height: 1.62;
    color: var(--color-text-muted);
}

.lc-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--lc-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314532d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.lc-checklist li strong {
    color: var(--lc-ink);
    font-weight: 700;
}

/* Нумерованный список-инструкция */
.lc-numlist {
    list-style: none;
    counter-reset: lcnum;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.lc-numlist li {
    counter-increment: lcnum;
    position: relative;
    padding-left: 2.6rem;
    font-size: 0.98rem;
    line-height: 1.62;
    color: var(--color-text-muted);
}

.lc-numlist li::before {
    content: counter(lcnum, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    background: var(--lc-soft);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
}

.lc-numlist li strong {
    color: var(--lc-ink);
}

/* ---------------------------------------------------------
   Врезка
   --------------------------------------------------------- */
.lc-callout {
    display: flex;
    gap: 1.1rem;
    padding: 1.4rem 1.5rem;
    border-radius: var(--lc-r);
    background: #fff;
    border: 1px solid var(--lc-line);
    box-shadow: var(--lc-shadow-1);
}

.lc-callout__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--lc-soft);
    color: var(--color-primary);
}

.lc-callout__icon svg {
    width: 21px;
    height: 21px;
}

.lc-callout__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--lc-ink);
    margin: 0 0 0.4rem;
    line-height: 1.32;
}

.lc-callout p {
    margin: 0 0 0.6rem;
    font-size: 0.965rem;
    line-height: 1.62;
    color: var(--color-text-muted);
}

.lc-callout p:last-child {
    margin-bottom: 0;
}

.lc-callout--accent {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.06), rgba(227, 30, 36, 0.02));
    border-color: rgba(227, 30, 36, 0.22);
}

.lc-callout--accent .lc-callout__icon {
    background: var(--lc-accent-soft);
    color: var(--color-accent);
}

.lc-callout--dark {
    background: linear-gradient(150deg, var(--color-primary-dark) 0%, var(--color-primary) 70%, #17663a 100%);
    border-color: transparent;
    box-shadow: var(--lc-shadow-2);
}

.lc-callout--dark .lc-callout__title {
    color: #fff;
}

.lc-callout--dark p {
    color: rgba(255, 255, 255, 0.88);
}

.lc-callout--dark .lc-callout__icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.lc-callout--dark a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------------------
   Таблицы
   --------------------------------------------------------- */
.lc-table-wrap {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-r);
    background: #fff;
    box-shadow: var(--lc-shadow-1);
}

.lc-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.lc-table thead th {
    position: sticky;
    top: 0;
    text-align: left;
    padding: 0.9rem 1.15rem;
    background: #f7f7f5;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7d7873;
    border-bottom: 1px solid var(--lc-line);
    white-space: nowrap;
}

.lc-table tbody td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--lc-line);
    color: var(--color-text-muted);
    line-height: 1.6;
    vertical-align: top;
}

.lc-table tbody tr:last-child td {
    border-bottom: none;
}

.lc-table tbody tr:hover td {
    background: #fcfcfb;
}

.lc-table__mat {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--lc-ink);
    white-space: nowrap;
}

.lc-table__mat small {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    color: #8a8580;
    white-space: normal;
}

.lc-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.7rem;
    border-radius: 8px;
    background: var(--lc-soft-2);
    border: 1px solid rgba(20, 83, 45, 0.18);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    white-space: nowrap;
}

.lc-badge--muted {
    background: #f5f5f4;
    border-color: var(--lc-line-strong);
    color: #7d7873;
    font-weight: 700;
}

.lc-table__note {
    margin: 0.85rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #8a8580;
}

/* Компактная таблица в две колонки */
.lc-table--compact {
    min-width: 320px;
}

.lc-table--compact tbody td {
    padding: 0.75rem 1.1rem;
}

/* ---------------------------------------------------------
   Раскладки
   --------------------------------------------------------- */
.lc-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: start;
}

.lc-split--wide-text {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.lc-split--wide-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.lc-split--center {
    align-items: center;
}

.lc-split__body > :first-child {
    margin-top: 0;
}

.lc-split__body > :last-child {
    margin-bottom: 0;
}

.lc-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.lc-stack {
    display: grid;
    gap: clamp(1.35rem, 3vw, 2rem);
}

.lc-stack--lg {
    gap: clamp(2rem, 4vw, 3rem);
}

/* ---------------------------------------------------------
   Медиа
   --------------------------------------------------------- */
.lc-figure {
    margin: 0;
}

.lc-figure picture,
.lc-figure > img {
    display: block;
}

.lc-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--lc-r);
    border: 1px solid var(--lc-line);
    box-shadow: var(--lc-shadow-1);
}

.lc-figure figcaption,
.lc-caption {
    margin-top: 0.75rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--color-accent);
    font-size: 0.875rem;
    line-height: 1.55;
    color: #8a8580;
}

.lc-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--lc-r);
    border: 1px solid var(--lc-line);
    background: #101b14;
    box-shadow: var(--lc-shadow-1);
}

.lc-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.lc-media-grid > figure {
    margin: 0;
}

/* ---------------------------------------------------------
   Первый экран
   --------------------------------------------------------- */
.lc-hero .hero__inner {
    min-height: min(62vh, 620px);
}

.lc-hero .hero__grid {
    grid-template-columns: minmax(0, 1fr);
}

.lc-hero .hero__bg img {
    filter: brightness(0.42) saturate(1.05);
}

.lc-hero .hero__overlay {
    background: linear-gradient(112deg, rgba(11, 40, 23, 0.95) 0%, rgba(20, 83, 45, 0.78) 46%, rgba(16, 27, 20, 0.5) 100%);
}

.lc-hero h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
}

.lc-hero-copy {
    max-width: 64ch;
    margin: 0 0 1.75rem;
}

.lc-hero-copy p {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.88);
}

.lc-hero-copy p:first-child {
    font-size: 1.16rem;
    color: #fff;
}

.lc-hero-copy p:last-child {
    margin-bottom: 0;
}

.lc-hero-copy strong {
    color: #fff;
}

.lc-hero-copy a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.lc-hero-copy a:hover {
    text-decoration-color: #fff;
}

.lc-hero .lc-stats {
    margin: 0 0 1.9rem;
    max-width: 58rem;
}

.lc-hero .hero__cta {
    gap: 0.9rem;
}

.lc-hero .hero__cta .btn {
    padding: 0.85rem 1.7rem;
    font-size: 0.975rem;
}

.lc-hero-contacts {
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.35rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.78);
}

.lc-hero-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.lc-hero-contacts a:hover {
    color: #fbbf24;
}

.lc-hero-contacts svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* ---------------------------------------------------------
   Форма-заявка
   --------------------------------------------------------- */
.lc-form-band .consult-cta {
    box-shadow: var(--lc-shadow-2);
}

.consult-form__textarea {
    border-radius: 16px;
    min-height: 5.5rem;
    resize: vertical;
    line-height: 1.55;
    font-family: inherit;
    padding-top: 0.85rem;
}

.lc-contact-line {
    margin: 1.1rem 0 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.lc-contact-line a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.lc-contact-line a:hover {
    color: var(--color-accent);
}

/* ---------------------------------------------------------
   Шаги «как заказать»
   --------------------------------------------------------- */
.lc-section .process-card {
    border-radius: var(--lc-r);
    border-color: var(--lc-line);
    box-shadow: var(--lc-shadow-1);
}

.lc-section .process-card:hover {
    border-color: rgba(20, 83, 45, 0.28);
    box-shadow: var(--lc-shadow-2);
}

.lc-section .process-card__index {
    color: rgba(20, 83, 45, 0.09);
}

.lc-section .process-card__text {
    max-width: none;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.lc-section .faq-item {
    border-radius: var(--lc-r);
}

.lc-section .faq-trigger__text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   Карточки услуг (/uslugi/)
   --------------------------------------------------------- */
.lc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.25rem;
    max-width: 920px;
    margin-top: 1.5rem;
}

.lc-service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-r);
    box-shadow: var(--lc-shadow-1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.2s;
}

.lc-service-card:hover {
    box-shadow: var(--lc-shadow-2);
    transform: translateY(-4px);
    border-color: rgba(20, 83, 45, 0.26);
    color: inherit;
}

.lc-service-card__media {
    aspect-ratio: 4 / 3;
    background: #f5f5f4;
    border-bottom: 1px solid var(--lc-line);
    overflow: hidden;
}

.lc-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.lc-service-card:hover .lc-service-card__media img {
    transform: scale(1.04);
}

.lc-service-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.45rem 1.55rem;
}

.lc-service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0 0 0.6rem;
    color: var(--lc-ink);
}

.lc-service-card__text {
    margin: 0 0 1.15rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.lc-service-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.lc-service-card:hover .lc-service-card__cta {
    color: var(--color-accent);
}

/* ---------------------------------------------------------
   Адаптив
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .lc-tiles--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-split,
    .lc-split--wide-text,
    .lc-split--wide-media {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .lc-media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lc-tiles--3,
    .lc-tiles--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-head__title {
        max-width: none;
    }

    .lc-tile {
        padding: 1.35rem 1.25rem 1.4rem;
    }

    .lc-callout {
        flex-direction: column;
        gap: 0.9rem;
        padding: 1.25rem 1.25rem;
    }

    .lc-stat {
        padding: 1.15rem 1.15rem 1.05rem;
    }

    .lc-hero .lc-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-hero-contacts {
        gap: 0.45rem 1rem;
        font-size: 0.875rem;
    }
}

/* ---------------------------------------------------------
   Полировка после первого прогона вёрстки
   --------------------------------------------------------- */

/* Ширина строки: длинные абзацы не должны идти на всю колонку */
.lc-head__lead {
    max-width: 72ch;
}

.lc-table__note {
    max-width: 88ch;
}

.lc-callout__body {
    max-width: 82ch;
}

.lc-callout__body > p:only-child {
    max-width: 80ch;
}

/* Чипы не прижимаем к низу плитки: пустые провалы выглядят хуже, чем разнобой */
.lc-tile > .lc-chips {
    margin-top: 0.35rem;
}

.lc-tile__text + .lc-chips {
    margin-top: 0.85rem;
}

/* Тёмная плитка: примечание и ссылки должны читаться */
.lc-tile--accent .lc-tile__note {
    color: rgba(255, 255, 255, 0.7);
    border-top-color: rgba(255, 255, 255, 0.28);
}

.lc-tile--accent a,
.lc-tile--accent .lc-tile__note a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
}

.lc-tile--accent a:hover {
    color: #fbbf24;
    text-decoration-color: currentColor;
}

.lc-callout--dark a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
}

.lc-callout--dark a:hover {
    color: #fbbf24;
}

/* Подзаголовок уровня h3 вне плиток и врезок */
.lc-section h3:not([class]) {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--lc-ink);
    margin: 2.75rem 0 1.35rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--lc-line);
    max-width: 30ch;
}

.lc-section .lc-split__body h3:not([class]),
.lc-section .lc-cols > div > h3:not([class]) {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.lc-section h3:not([class]):first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Абзацы вне lc-prose тоже держим в читаемой ширине */
.lc-section > .container > p {
    max-width: 74ch;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Цифры внутри раскладки не растягиваем на всю ширину секции */
.lc-split__body > .lc-stats {
    max-width: 34rem;
}

/* Врезки в колонках выравниваем по высоте */
.lc-cols > .lc-callout {
    height: 100%;
}

/* Отступ между разнородными частями блока */
.lc-section .lc-tiles + .lc-callout,
.lc-section .lc-tiles + .lc-cols,
.lc-section .lc-table-wrap + .lc-cols,
.lc-section .lc-split + .lc-tiles,
.lc-section .lc-callout + .lc-callout,
.lc-section .lc-cols + .lc-callout,
.lc-section .lc-chips + .lc-callout,
.lc-section .lc-split + .lc-callout {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.lc-section .lc-head + .lc-tiles,
.lc-section .lc-head + .lc-table-wrap,
.lc-section .lc-head + .lc-split,
.lc-section .lc-head + .lc-cols,
.lc-section .lc-head + .lc-media-grid,
.lc-section .lc-head + .lc-stack {
    margin-top: 0;
}

/* Узкая таблица: заголовки колонок переносим, иначе обрезаются */
.lc-table--compact thead th {
    white-space: normal;
    line-height: 1.35;
}

.lc-table--compact tbody td:first-child {
    white-space: nowrap;
    font-weight: 600;
    color: var(--lc-ink);
}

/* =========================================================
   Второй проход правок: контраст, композиция, блоки с формой
   ========================================================= */

/* ---- Первый экран: фото цеха должно быть видно ---- */
.lc-hero .hero__bg img {
    filter: brightness(0.62) saturate(1.02);
}

.lc-hero .hero__overlay {
    background:
        linear-gradient(96deg,
            rgba(9, 34, 19, 0.96) 0%,
            rgba(11, 43, 24, 0.92) 34%,
            rgba(14, 56, 31, 0.62) 58%,
            rgba(16, 27, 20, 0.28) 100%);
}

.lc-hero .hero__inner {
    min-height: min(68vh, 660px);
}

.lc-hero-copy {
    max-width: 78ch;
}

.lc-hero .lc-stats {
    max-width: none;
}

.lc-hero .hero__badge {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
}

/* ---- Блоки с формой: свой фон вместо стокового снимка ---- */
.lc-form-band .consult-cta,
.section--consult-cta.lc-section .consult-cta {
    background: linear-gradient(122deg, #0d3d22 0%, #14532d 52%, #17663a 100%);
    border-radius: var(--lc-r-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px -32px rgba(9, 34, 19, 0.55);
}

.lc-form-band .consult-cta__bg,
.section--consult-cta.lc-section .consult-cta__bg {
    background-image: none;
    background:
        radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.09), transparent 60%),
        radial-gradient(90% 70% at 100% 100%, rgba(251, 191, 36, 0.1), transparent 62%);
    opacity: 1;
    filter: none;
}

.lc-form-band .consult-cta__inner,
.section--consult-cta.lc-section .consult-cta__inner {
    position: relative;
    z-index: 1;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Сама форма ложится на белую карточку */
.lc-form-band .consult-cta__content,
.section--consult-cta.lc-section .consult-cta__content {
    background: #fff;
    border-radius: var(--lc-r);
    padding: clamp(1.5rem, 3vw, 2.1rem);
    box-shadow: 0 18px 40px -24px rgba(9, 34, 19, 0.5);
}

.lc-form-band .consult-cta__title,
.section--consult-cta.lc-section .consult-cta__title {
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.lc-form-band .consult-cta__title-rest,
.section--consult-cta.lc-section .consult-cta__title-rest {
    color: var(--lc-ink);
}

.lc-form-band .consult-cta__lead,
.section--consult-cta.lc-section .consult-cta__lead {
    font-size: 0.965rem;
    line-height: 1.6;
    max-width: 46ch;
}

/* Согласие: читаемый размер и спокойный цвет */
.lc-form-band .consult-form__consent,
.section--consult-cta.lc-section .consult-form__consent {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    gap: 0.55rem;
}

.lc-form-band .consult-form__consent a,
.section--consult-cta.lc-section .consult-form__consent a {
    color: var(--color-primary);
    font-weight: 700;
}

.lc-form-band .consult-form__consent input,
.section--consult-cta.lc-section .consult-form__consent input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--color-primary);
    margin-top: 0.1rem;
}

/* Правая колонка: картинка кадрируется, а не растягивается */
.lc-form-band .consult-cta__visual,
.section--consult-cta.lc-section .consult-cta__visual {
    display: flex;
    min-height: 100%;
}

.lc-form-band .consult-cta__visual picture,
.section--consult-cta.lc-section .consult-cta__visual picture {
    display: block;
    width: 100%;
}

.lc-form-band .consult-cta__visual img,
.section--consult-cta.lc-section .consult-cta__visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--lc-r);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 900px) {
    .lc-form-band .consult-cta__visual,
    .section--consult-cta.lc-section .consult-cta__visual {
        display: none;
    }
}

/* ---- Иконки в плитках и врезках: были слишком бледные ---- */
.lc-tile__icon,
.lc-callout__icon {
    background: rgba(20, 83, 45, 0.09);
    border: 1px solid rgba(20, 83, 45, 0.14);
    color: var(--color-primary);
}

.lc-tile__icon svg,
.lc-callout__icon svg {
    stroke-width: 1.8;
}

.lc-tile:hover .lc-tile__icon {
    background: rgba(20, 83, 45, 0.14);
    border-color: rgba(20, 83, 45, 0.24);
}

.lc-tile--accent .lc-tile__icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

.lc-callout--accent .lc-callout__icon {
    background: rgba(227, 30, 36, 0.1);
    border-color: rgba(227, 30, 36, 0.2);
}

.lc-callout--dark .lc-callout__icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

/* ---- Подзаголовок: линия на всю ширину, а не обрубок ---- */
.lc-section h3:not([class]) {
    position: relative;
    border-top: none;
    padding-top: 1.7rem;
}

.lc-section h3:not([class])::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1220px;
    height: 1px;
    background: var(--lc-line);
}

.lc-section h3:not([class]):first-child::before,
.lc-section .lc-split__body h3:not([class])::before,
.lc-section .lc-cols > div > h3:not([class])::before {
    display: none;
}

/* ---- «Как заказать»: без точечного фона и равными карточками ---- */
.lc-section.section--process {
    background-image: none;
}

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

.lc-section .process-card:nth-child(n) {
    grid-column: auto;
}

@media (max-width: 1024px) {
    .lc-section .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lc-section .process-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Видео: два ролика в ряд, а не двумя пустыми строками ---- */
.lc-video-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .lc-video-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Картинка в блоке с формой должна занимать всю высоту колонки */
.lc-form-band .consult-cta__visual picture,
.section--consult-cta.lc-section .consult-cta__visual picture {
    display: flex;
    height: 100%;
}

.lc-form-band .consult-cta__inner,
.section--consult-cta.lc-section .consult-cta__inner {
    align-items: stretch;
}

.lc-form-band .consult-cta__visual,
.section--consult-cta.lc-section .consult-cta__visual {
    align-items: stretch;
}

/* Правая колонка блока с формой - flex, картинку тянем на всю ширину и высоту */
.lc-form-band .consult-cta__visual,
.section--consult-cta.lc-section .consult-cta__visual {
    justify-content: stretch;
    flex: 1 1 min(100%, 22rem);
}

.lc-form-band .consult-cta__visual picture,
.section--consult-cta.lc-section .consult-cta__visual picture {
    flex: 1 1 auto;
    width: 100%;
}

.lc-form-band .consult-cta__content,
.section--consult-cta.lc-section .consult-cta__content {
    flex: 1 1 min(100%, 26rem);
}

/* В базовых стилях у картинки блока с формой стоит max-width: 420px - снимаем */
.lc-form-band .consult-cta__visual img,
.section--consult-cta.lc-section .consult-cta__visual img {
    max-width: none;
}

/* ---- Мобильный: капча Яндекса шириной 302px распирала карточку формы ---- */
@media (max-width: 560px) {
    .lc-form-band .consult-cta,
    .section--consult-cta.lc-section .consult-cta {
        border-radius: var(--lc-r);
    }

    .lc-form-band .consult-cta__inner,
    .section--consult-cta.lc-section .consult-cta__inner {
        padding: 0.9rem;
    }

    .lc-form-band .consult-cta__content,
    .section--consult-cta.lc-section .consult-cta__content {
        flex: 1 1 100%;
        min-width: 0;
        padding: 1.35rem 1.1rem 1.4rem;
    }

    .lc-form-band .smart-captcha,
    .section--consult-cta.lc-section .smart-captcha {
        max-width: 100%;
        overflow: hidden;
        height: 86px !important;
    }

    .lc-form-band .smart-captcha > div,
    .section--consult-cta.lc-section .smart-captcha > div,
    .lc-form-band .smart-captcha iframe,
    .section--consult-cta.lc-section .smart-captcha iframe {
        transform: scale(0.86);
        transform-origin: left top;
    }

    .lc-form-band .consult-form__submit,
    .section--consult-cta.lc-section .consult-form__submit {
        width: 100%;
    }

    .lc-form-band .consult-cta__lead,
    .section--consult-cta.lc-section .consult-cta__lead {
        font-size: 0.925rem;
    }
}

/* Карточка формы на мобильном не должна раздуваться под минимальную ширину капчи */
@media (max-width: 560px) {
    .lc-form-band .consult-cta__content,
    .section--consult-cta.lc-section .consult-cta__content {
        overflow: hidden;
    }

    .lc-form-band .consult-form,
    .section--consult-cta.lc-section .consult-form {
        min-width: 0;
    }

    .lc-form-band .smart-captcha,
    .section--consult-cta.lc-section .smart-captcha {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 560px) {
    /* Капче нужно чуть больше высоты, иначе срезается нижняя рамка виджета */
    .lc-form-band .smart-captcha,
    .section--consult-cta.lc-section .smart-captcha {
        height: 94px !important;
    }

    /* Панель формы не должна вылезать за контейнер */
    .lc-form-band .consult-cta,
    .section--consult-cta.lc-section .consult-cta {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Врезки внутри колонок не должны получать вертикальный отступ друг от друга:
   в сетке это сдвигает вторую колонку вниз */
.lc-section .lc-cols > .lc-callout + .lc-callout,
.lc-section .lc-cols .lc-callout + .lc-callout {
    margin-top: 0;
}

.lc-cols {
    align-items: stretch;
}

.lc-cols > .lc-callout,
.lc-cols > .lc-tile {
    height: 100%;
}

/* Строка контактов на первом экране: пункты должны читаться раздельно */
.lc-hero-contacts {
    gap: 0.6rem 1.75rem;
    align-items: center;
}

.lc-hero-contacts a,
.lc-hero-contacts__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.lc-hero-contacts__item {
    color: rgba(255, 255, 255, 0.8);
}

.lc-hero-contacts__item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

@media (max-width: 700px) {
    .lc-hero-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }
}

/* Заголовок h4 внутри плитки и врезки выглядит как h3 */
.lc-tile__title,
.lc-callout__title {
    font-family: var(--font-display);
}

h4.lc-tile__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--lc-ink);
    margin: 0 0 0.5rem;
}

h4.lc-callout__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--lc-ink);
    margin: 0 0 0.4rem;
}

.lc-callout--dark h4.lc-callout__title {
    color: #fff;
}

/* =========================================================
   Выпадающий список «Услуги» в главном меню
   ========================================================= */
.lc-nav-drop {
    position: relative;
}

.lc-nav-drop > .nav-desktop__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lc-nav-drop__chevron {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    opacity: 0.55;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

.lc-nav-drop:hover .lc-nav-drop__chevron,
.lc-nav-drop:focus-within .lc-nav-drop__chevron {
    opacity: 1;
    transform: rotate(225deg) translate(-2px, -2px);
}

.lc-nav-drop__panel {
    position: absolute;
    top: 100%;
    left: -0.9rem;
    transform: translateY(8px);
    z-index: 1200;
    min-width: 310px;
    margin-top: 0.6rem;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--lc-line, #e6e4e1);
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(16, 27, 20, 0.06), 0 28px 56px -22px rgba(16, 27, 20, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.28s var(--ease), visibility 0.22s;
}

/* невидимый мостик, чтобы курсор не терял панель по дороге */
.lc-nav-drop__panel::before {
    content: "";
    position: absolute;
    top: -0.7rem;
    left: 0;
    right: 0;
    height: 0.7rem;
}

.lc-nav-drop:hover .lc-nav-drop__panel,
.lc-nav-drop:focus-within .lc-nav-drop__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lc-nav-drop__link {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 11px;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s var(--ease);
}

.lc-nav-drop__link:hover,
.lc-nav-drop__link:focus-visible {
    background: rgba(20, 83, 45, 0.06);
    color: inherit;
}

.lc-nav-drop__title {
    display: block;
    margin-bottom: 0.15rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.lc-nav-drop__link:hover .lc-nav-drop__title {
    color: var(--color-primary);
}

.lc-nav-drop__note {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--color-text-muted);
}

@media (max-width: 1200px) {
    .lc-nav-drop__panel {
        min-width: 280px;
    }
}

/* Незаполненная ячейка в сетке цифр не должна светиться серым */
.lc-stats {
    background: #fff;
}

/* Подзаголовок: текст короткий, но линия над ним должна идти во всю ширину */
.lc-section h3:not([class]) {
    max-width: none;
}

/* ========= Блок «Состав линии» и встроенное видео (наполнение 02.09.2026) ========= */
.seo-text .line-parts,
.product-article .line-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem;
  padding: 0;
  list-style: none;
}
.seo-text .line-part,
.product-article .line-part {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.seo-text .line-part img,
.product-article .line-part img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
  margin: 0;
  border-radius: 0;
  max-width: none;
}
.seo-text .line-part h3,
.product-article .line-part h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0.95rem 1rem 0.4rem;
}
.seo-text .line-part h3 a,
.product-article .line-part h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}
.seo-text .line-part h3 a:hover,
.product-article .line-part h3 a:hover {
  border-bottom-color: currentColor;
}
.seo-text .line-part p,
.product-article .line-part p {
  margin: 0 1rem 1.1rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #4a4a4a;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .seo-text .line-parts,
  .product-article .line-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .seo-text .line-parts,
  .product-article .line-parts { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .seo-text .line-part h3,
  .product-article .line-part h3 { font-size: 0.92rem; margin: 0.7rem 0.7rem 0.3rem; }
  .seo-text .line-part p,
  .product-article .line-part p { margin: 0 0.7rem 0.8rem; font-size: 0.85rem; }
}

/* ========= Первый экран лазерной страницы: цифры и строка контактов ========= */

/* Цифры на фото: отдельные карточки, а не сетка с зазорами.
   Раньше контейнер заливался белым и зазоры читались как светлые линии. */
.lc-hero .lc-stats--on-dark {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.lc-hero .lc-stats--on-dark .lc-stat {
  background: rgba(9, 26, 17, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lc-hero .lc-stats--on-dark .lc-stat__value {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
}
.lc-hero .lc-stats--on-dark .lc-stat__label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.845rem;
  line-height: 1.4;
}

/* Кнопки не должны лежать на строке контактов */
.lc-hero .lc-hero-contacts {
  margin-bottom: 1.45rem;
}

@media (max-width: 980px) {
  .lc-hero .lc-stats--on-dark { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .lc-hero .lc-stats--on-dark { gap: 0.55rem; }
  .lc-hero .lc-stats--on-dark .lc-stat { padding: 0.85rem 0.9rem; gap: 0.35rem; }
  .lc-hero .lc-hero-contacts { margin-bottom: 1.15rem; }
}

/* ========= Мессенджеры: Telegram, MAX, WhatsApp ========= */
.socials-list {
  gap: 8px;
}
.social-item {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.social-item svg,
.social-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
.social-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.social-item:hover,
.social-item:focus-visible {
  transform: translateY(-2px);
  opacity: 0.9;
}
.social-item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .site-header .socials-list { gap: 6px; }
  .site-header .social-item { width: 28px; height: 28px; }
}

/* Строка контактов на первом экране: мессенджеры фирменными цветами */
.lc-hero-contacts a.is-tg svg { color: #2AABEE; }
.lc-hero-contacts a.is-wa svg { color: #25D366; }
.lc-hero-contacts a.is-max img {
  width: 17px;
  height: 17px;
  display: block;
}

/* ========= Мобильная шапка: три мессенджера вместо одного ========= */
@media (max-width: 575px) {
  :root { --header-h: 56px; }

  .site-header__inner {
    column-gap: 0.5rem;
  }

  /* Иконка трубки рядом с номером ничего не сообщает, а на два номера
     съедает около 40 px ширины. Номер и так читается как номер. */
  .header-phones__item svg { display: none; }
  .header-phones { gap: 0.08rem; }
  .header-phones__item {
    font-size: 0.75rem;
    gap: 0;
    line-height: 1.32;
    white-space: nowrap;
  }

  .site-header .socials-list { gap: 5px; }
  .site-header .social-item { width: 24px; height: 24px; }
  .header-actions { gap: 0.45rem; }

  /* Логотип не сжимаем и чуть приподнимаем: точки над Ё занимают верхнюю
     треть картинки, поэтому сам знак садится ниже оптического центра. */
  .site-header .logo {
    flex: 0 0 auto;
    min-width: 0;
  }
  .site-header .logo__img {
    height: 30px;
    width: auto;
    max-width: 88px;
    transform: translateY(-13%);
  }
}

@media (max-width: 360px) {
  .site-header .logo__img { max-width: 80px; }
  .header-phones__item { font-size: 0.72rem; }
  .site-header .social-item { width: 22px; height: 22px; }
  .site-header .socials-list { gap: 4px; }
}

/* ========= Лазерная страница: сетки после правок 03.09.2026 ========= */
/* Цифр на первом экране стало три вместо четырех */
.lc-hero .lc-stats--on-dark {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .lc-hero .lc-stats--on-dark { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lc-hero .lc-stats--on-dark { grid-template-columns: 1fr; }
}

/* У трубореза остались два показателя: длина заготовки и один установ */
.lc-stats--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .lc-stats--2 { grid-template-columns: 1fr; }
}

/* Врезка про газы осталась одна, растягиваем ее на всю ширину */
.lc-cols--single {
  grid-template-columns: 1fr;
}


/* Знак охраны товарного знака рядом с логотипом (18.09.2026) */
.logo__r,
.nav-mobile__logo .logo__r {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1;
    align-self: flex-start;
    margin: 3px 0 0 3px;
    color: var(--color-accent);
}

.nav-mobile__logo {
    display: inline-flex;
    align-items: center;
}

.footer-brand .logo__r {
    color: #a8a29e;
    margin-top: 5px;
}
