/* ════════════════════════════════════════════════════════════════
   АГРООФИС — Главный стиль темы WordPress
   Цвета: тёмный #333 | зелёный #2cb742 | белый #fff
════════════════════════════════════════════════════════════════ */

/* ─── CSS ПЕРЕМЕННЫЕ ─────────────────────────────────────────── */
:root {
    --dark-bg:          #333333;
    --accent-green:     #28a745;
    --accent-blue:      #3aa0df;
    --text-color:       #ffffff;
    --text-muted:       #aaaaaa;
    --accent-primary:   #2cb742;
    --accent-light:     #32CD32;
    --body-color:       #1a1a1a;
    --body-bg:          #f8f9fa;
    --card-bg:          #ffffff;
    --border-color:     #e5e7eb;
    --shadow-sm:        0 1px 3px rgba(0,0,0,.08);
    --shadow-md:        0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:        0 8px 32px rgba(0,0,0,.18);
    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        20px;
    --transition:       0.3s ease;
    --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:         cubic-bezier(0.22, 1,    0.36, 1);
    --ease-in-out:      cubic-bezier(0.65, 0,    0.35, 1);
    --font-body:        -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading:     -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-max:    1280px;
    --container-pad:    clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body-color);
    background: var(--body-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

/* ─── КОНТЕЙНЕР ──────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ─── КНОПКИ ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}
.btn--primary:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44,183,66,.35);
}

.btn--outline {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}
.btn--outline:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--body-color);
    border-color: var(--border-color);
}
.btn--ghost:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.btn--whatsapp:hover { background: #1db954; border-color: #1db954; }

.btn--telegram {
    background: #229ED9;
    color: #fff;
    border-color: #229ED9;
}
.btn--telegram:hover { background: #1a8bbf; border-color: #1a8bbf; }

.btn--lg  { padding: 16px 36px; font-size: 16px; }
.btn--sm  { padding: 8px 18px;  font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

/* ─── СЕКЦИОННЫЕ ЗАГОЛОВКИ ───────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header__label {
    display: inline-block;
    background: rgba(44,183,66,.12);
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.section-header__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--body-color);
}
.section-header--spaced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-top: 60px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════════════ */
.top-bar {
    background: linear-gradient(135deg, var(--dark-bg) 70%, var(--accent-primary) 70.1%);
    height: 50px;
    display: flex;
    align-items: center;
}
.top-bar__container {
    max-width: var(--container-max);
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar__contacts {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff;
}
.top-bar__contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}
.top-bar__contact-link:hover { color: var(--accent-light); }
.top-bar__social { display: flex; gap: 10px; }
.top-bar__social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 16px;
    transition: all var(--transition);
}
.top-bar__social-link:hover { transform: translateY(-2px); }
.top-bar__social-link--whatsapp:hover  { background: #25D366; }
.top-bar__social-link--telegram:hover  { background: #229ED9; }
.top-bar__social-link--viber:hover     { background: #7360f2; }

/* ═══════════════════════════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.site-header__bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-header__logo img,
.site-header__logo svg {
    height: 64px;
    width: auto;
}

/* Навигация */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-menu li a {
    position: relative;
    display: block;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--body-color);
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-menu li a:hover { color: var(--accent-primary); }
.nav-menu li a:hover::after { transform: scaleX(1); }
.nav-menu li.current-menu-item > a { color: var(--accent-primary); }
.nav-menu li.current-menu-item > a::after { transform: scaleX(1); }

/* Actions в хедере */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-shop-link,
.header-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--body-color);
    border: 2px solid var(--border-color);
    transition: all var(--transition);
}
.header-shop-link:hover,
.header-cart-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Бургер */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger-btn__line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--body-color);
    border-radius: 3px;
    transition: all var(--transition);
}
.burger-btn.is-open .burger-btn__line:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.burger-btn.is-open .burger-btn__line:nth-child(2) { opacity: 0; }
.burger-btn.is-open .burger-btn__line:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 999;
    padding: 16px 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.mobile-menu.is-open {
    display: block;
    max-height: 500px;
}
.mobile-menu__list { list-style: none; }
.mobile-menu__list li a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--body-color);
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition);
}
.mobile-menu__list li a:hover { color: var(--accent-primary); }

/* ═══════════════════════════════════════════════════════════════
   PAGE CONTENT WRAPPER
═══════════════════════════════════════════════════════════════ */
.page-content { min-height: 60vh; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION (scroll-animated)
═══════════════════════════════════════════════════════════════ */
.hero-section {
    height: calc(100vh + 4000px);
    position: relative;
}
.hero-section__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
}
.scroll-anim-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: contents;
    transform: translateZ(0);
}
.hero-section__static-img {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-section__overlay {
    position: absolute;
    inset: 0;
    /* Cinematic vignette: radial dark edges + vertical gradient */
    background:
        radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(0,0,0,.55) 100%),
        linear-gradient(
            to bottom,
            rgba(0,0,0,.35) 0%,
            rgba(0,0,0,.08) 45%,
            rgba(0,0,0,.08) 55%,
            rgba(0,0,0,.45) 100%
        );
    z-index: 1;
}
.hero-section__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-section__title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-section__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,.9);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════════ */
.services-section {
    padding: 100px 0;
    background: #fff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #fff;
    text-align: center;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(44,183,66,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-primary);
    transition: all var(--transition);
}
.service-card:hover .service-card__icon {
    background: var(--accent-primary);
    color: #fff;
}
.service-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--body-color);
}
.service-card__desc { font-size: 14px; color: #555; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════ */
.about-section {
    padding: 100px 0;
    background: var(--body-bg);
}
.about-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-section__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 12px 0 20px;
}
.about-section__content p { margin-bottom: 16px; color: #444; }
.about-section__list-group { margin: 24px 0; }
.about-section__list-item { margin-bottom: 18px; }
.about-section__list-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--body-color);
    font-weight: 700;
}
.about-section__list-item ul { padding-left: 20px; }
.about-section__list-item ul li {
    list-style: disc;
    color: #555;
    margin-bottom: 4px;
    font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   STATS SECTION
═══════════════════════════════════════════════════════════════ */
.stats-section {
    padding: 80px 0;
    background: var(--dark-bg);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-card {
    text-align: center;
    padding: 32px 20px;
}
.stat-card__icon {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}
.stat-card__number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card__label { color: var(--text-muted); font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   CATALOG PREVIEW (ГЛАВНАЯ)
═══════════════════════════════════════════════════════════════ */
.catalog-preview-section { padding: 100px 0; background: #fff; }

.catalog-cats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 820px;
    margin: 0 auto;
}
.catalog-cat-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    display: flex;
    text-decoration: none;
    isolation: isolate;
    cursor: pointer;
}

/* Glassmorphism background */
.catalog-cat-card__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #141414 0%, #1c1c1c 40%, #1a2a1f 100%);
    border: 1px solid rgba(44,183,66,.12);
    border-radius: 20px;
    transition: border-color .4s ease;
}
.catalog-cat-card:hover .catalog-cat-card__bg {
    border-color: rgba(44,183,66,.4);
}

/* Animated glow on hover */
.catalog-cat-card__glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44,183,66,.25) 0%, transparent 70%);
    top: -60px;
    right: -60px;
    opacity: 0;
    filter: blur(40px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
    z-index: 1;
}
.catalog-cat-card:hover .catalog-cat-card__glow {
    opacity: 1;
    transform: scale(1.3);
}

/* Inner layout */
.catalog-cat-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 32px 24px;
    text-align: center;
    gap: 14px;
}

/* Icon ring with pulse */
.catalog-cat-card__icon-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(44,183,66,.08), rgba(44,183,66,.18));
    border: 2px solid rgba(44,183,66,.25);
    position: relative;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), border-color .4s ease, background .4s ease;
}
.catalog-cat-card:hover .catalog-cat-card__icon-ring {
    transform: scale(1.1) translateY(-4px);
    border-color: rgba(44,183,66,.6);
    background: linear-gradient(145deg, rgba(44,183,66,.15), rgba(44,183,66,.3));
}
.catalog-cat-card__icon-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(44,183,66,.1);
    transition: border-color .4s ease, inset .4s ease;
}
.catalog-cat-card:hover .catalog-cat-card__icon-ring::before {
    border-color: rgba(44,183,66,.25);
    inset: -10px;
}
.catalog-cat-card__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 0 6px rgba(44,183,66,.3));
    transition: filter .4s ease;
}
.catalog-cat-card:hover .catalog-cat-card__icon {
    filter: brightness(1.3) drop-shadow(0 0 12px rgba(44,183,66,.5));
}

/* Typography */
.catalog-cat-card__title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: color .3s ease;
}
.catalog-cat-card:hover .catalog-cat-card__title {
    color: #2cb742;
}
.catalog-cat-card__count {
    color: rgba(255,255,255,.45);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .3s ease;
}
.catalog-cat-card:hover .catalog-cat-card__count {
    color: rgba(44,183,66,.7);
}

/* Arrow CTA */
.catalog-cat-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(44,183,66,.1);
    color: rgba(44,183,66,.5);
    font-size: 18px;
    transition: all .4s cubic-bezier(.34,1.56,.64,1);
    opacity: 0;
    transform: translateY(8px);
}
.catalog-cat-card:hover .catalog-cat-card__arrow {
    opacity: 1;
    transform: translateY(0);
    background: rgba(44,183,66,.2);
    color: #2cb742;
}

/* Subtle noise texture overlay */
.catalog-cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: overlay;
}

/* Card lift shadow */
.catalog-cat-card { box-shadow: 0 4px 20px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.03) inset; transition: box-shadow .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1); }
.catalog-cat-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 30px rgba(44,183,66,.08), 0 0 0 1px rgba(44,183,66,.15) inset; transform: translateY(-6px); }

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS GRID (везде)
═══════════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.products-grid--home { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.products-grid--related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.products-grid.is-list { grid-template-columns: 1fr; }
.products-grid.is-list .product-card { flex-direction: row; }
.products-grid.is-list .product-card__image-link { flex: 0 0 220px; }

/* ─── КАРТОЧКА ТОВАРА ────────────────────────────────────────── */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--accent-primary); }

.product-card__image-link { display: block; }
.product-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}
.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__overlay-btn {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 50px;
}

.product-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
    display: inline-block;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.product-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    flex: 1;
}
.product-card__title a { color: var(--body-color); }
.product-card__title a:hover { color: var(--accent-primary); }
.product-card__desc { font-size: 13px; color: #666; margin-bottom: 16px; line-height: 1.5; }
.product-card__footer { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   PARTNERS SECTION
═══════════════════════════════════════════════════════════════ */
.partners-section { padding: 80px 0; background: var(--body-bg); }
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
}
.partner-logo {
    padding: 20px 32px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    filter: grayscale(1);
    opacity: 0.7;
    transition: all var(--transition);
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; box-shadow: var(--shadow-md); }
.partner-logo img { height: 60px; width: auto; }

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    text-align: center;
}
.cta-section__title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.cta-section__desc { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; max-width: 560px; margin-inline: auto; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   MAP SECTION
═══════════════════════════════════════════════════════════════ */
.map-section { display: grid; grid-template-columns: 360px 1fr; }
.map-section__info {
    background: var(--dark-bg);
    padding: 48px 36px;
    display: flex;
    align-items: center;
}
.map-section__address h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.map-section__address p { color: var(--text-muted); margin-bottom: 10px; }
.map-section__address a { color: var(--accent-primary); }
.map-section__map iframe { display: block; width: 100%; height: 400px; }

/* ═══════════════════════════════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ
═══════════════════════════════════════════════════════════════ */
.breadcrumbs-bar {
    background: #f0f0f0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.breadcrumbs-bar .breadcrumbs,
.breadcrumbs-bar .woocommerce-breadcrumb {
    font-size: 13px;
    color: #666;
}
.breadcrumbs-bar .breadcrumbs a,
.breadcrumbs-bar .woocommerce-breadcrumb a { color: var(--accent-primary); }

/* ═══════════════════════════════════════════════════════════════
   SHOP HERO
═══════════════════════════════════════════════════════════════ */
.shop-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a2a1a 100%);
    padding: 60px 0;
    text-align: center;
}
.shop-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 12px; }
.shop-hero__desc { color: var(--text-muted); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   SHOP LAYOUT (каталог)
═══════════════════════════════════════════════════════════════ */
.shop-layout { padding: 60px 0 80px; }
.shop-layout__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ─── БОКОВАЯ ПАНЕЛЬ ─────────────────────────────────────────── */
.shop-sidebar { position: sticky; top: 100px; }
.shop-sidebar__inner { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-color); overflow: hidden; }
.shop-sidebar__close { display: none; }

/* Блок фильтра */
.filter-block { padding: 24px; border-bottom: 1px solid var(--border-color); }
.filter-block:last-child { border-bottom: none; }
.filter-block__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--body-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-block__title i { color: var(--accent-primary); }

/* Категории в сайдбаре */
.filter-cats { display: flex; flex-direction: column; gap: 2px; }
.filter-cats__item { }
.filter-cats__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    gap: 8px;
    transition: all var(--transition);
}
.filter-cats__link:hover { background: rgba(44,183,66,.08); color: var(--accent-primary); }
.filter-cats__link.is-active { background: rgba(44,183,66,.12); color: var(--accent-primary); font-weight: 700; }
.filter-cats__link--parent { font-weight: 700; }
.filter-cats__arrow { font-size: 14px; transition: transform var(--transition); margin-left: auto; }
.filter-cats__item--parent.is-open .filter-cats__arrow { transform: rotate(180deg); }
.filter-cats__count {
    margin-left: auto;
    background: #f0f0f0;
    color: #666;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
}
.filter-cats__link.is-active .filter-cats__count { background: var(--accent-primary); color: #fff; }

/* Подкатегории */
.filter-cats__sub { padding-left: 20px; margin-top: 4px; display: none; }
.filter-cats__item--parent.is-open .filter-cats__sub { display: block; }
.filter-cats__link--child { font-size: 13px; font-weight: 500; padding: 7px 10px; }

/* Сортировка */
.filter-sort { display: flex; flex-direction: column; gap: 4px; }
.filter-sort__link {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #444;
    transition: all var(--transition);
}
.filter-sort__link:hover { color: var(--accent-primary); background: rgba(44,183,66,.08); }
.filter-sort__link.is-active { color: var(--accent-primary); font-weight: 700; }

/* Сайдбар CTA */
.sidebar-cta {
    padding: 24px;
    background: linear-gradient(135deg, var(--dark-bg), #1a2a1a);
    text-align: center;
}
.sidebar-cta__icon { font-size: 36px; color: var(--accent-primary); margin-bottom: 12px; display: block; }
.sidebar-cta__title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta__text { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; line-height: 1.5; }

/* ─── ПОИСК В КАТАЛОГЕ ───────────────────────────────────────── */
.catalog-search__wrap {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.catalog-search__wrap:focus-within {
    border-color: var(--accent-primary);
}
.catalog-search__input {
    flex: 1;
    padding: 10px 14px;
    background: var(--dark-bg);
    color: var(--body-color);
    border: none;
    outline: none;
    font-size: 14px;
    min-width: 0;
}
.catalog-search__input::placeholder { color: var(--text-muted); }
.catalog-search__btn {
    padding: 0 14px;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}
.catalog-search__btn:hover { background: var(--accent-dark); }
.catalog-search__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.catalog-search__clear:hover { color: var(--accent-primary); }

.shop-toolbar__search-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 8px;
    background: rgba(44,183,66,.12);
    border: 1px solid rgba(44,183,66,.3);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-primary);
    margin-left: 8px;
}
.shop-toolbar__search-tag-clear {
    display: flex;
    align-items: center;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s;
    text-decoration: none;
}
.shop-toolbar__search-tag-clear:hover { opacity: 1; }

/* ─── ТУЛБАР ─────────────────────────────────────────────────── */
.shop-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.shop-toolbar__filter-btn { display: none; }
.shop-toolbar__info { font-size: 14px; color: #666; margin-right: auto; }
.shop-toolbar__view { display: flex; gap: 6px; }
.view-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all var(--transition);
}
.view-btn.is-active, .view-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

/* ─── ПАГИНАЦИЯ ──────────────────────────────────────────────── */
.shop-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.shop-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--body-color);
    transition: all var(--transition);
}
.shop-pagination .page-numbers:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.shop-pagination .page-numbers.current { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; }

/* ─── НЕТ ТОВАРОВ ────────────────────────────────────────────── */
.no-products {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}
.no-products__icon { font-size: 64px; color: #ccc; display: block; margin-bottom: 20px; }
.no-products h3 { font-size: 22px; margin-bottom: 12px; color: var(--body-color); }
.no-products a { color: var(--accent-primary); text-decoration: underline; }

/* ─── ОВЕРЛЕЙ ────────────────────────────────────────────────── */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 900;
}
.sidebar-overlay.is-open { display: block; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE PRODUCT
═══════════════════════════════════════════════════════════════ */
.single-product-wrapper { padding: 60px 0 80px; }
.single-product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

/* Галерея */
.product-gallery { }
.product-gallery__main {
    position: relative;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 12px;
}
.product-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: all var(--transition);
}
.gallery-nav:hover { background: var(--accent-primary); color: #fff; }
.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }

.product-gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f0f0f0;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}
.gallery-thumb.is-active { border-color: var(--accent-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Информация о товаре */
.single-product__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.single-product__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.single-product__short-desc { color: #555; font-size: 16px; line-height: 1.7; margin-bottom: 28px; }

/* CTA блок */
.single-product__cta { background: #f8f9fa; border-radius: var(--radius-md); padding: 28px; margin-bottom: 28px; }
.single-product__price-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 20px;
}
.single-product__actions { display: flex; flex-direction: column; gap: 12px; }
.single-product__note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin-top: 14px;
}

/* Особенности */
.single-product__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.product-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    padding: 12px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}
.product-feature i { color: var(--accent-primary); font-size: 18px; flex-shrink: 0; }

/* Описание и характеристики */
.single-product-tabs { margin-bottom: 60px; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border-color); margin-bottom: 32px; }
.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab-btn.is-active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }
.tab-content { display: none; }
.tab-content.is-active { display: block; }
.product-description { color: #444; line-height: 1.8; font-size: 15px; }
.product-description p { margin-bottom: 16px; }
.product-description ul { padding-left: 20px; margin-bottom: 16px; }
.product-description ul li { list-style: disc; margin-bottom: 6px; }

/* Похожие товары */
.related-products { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--border-color); }

/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--dark-bg); }
.site-footer__main { padding: 80px 0; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}
.site-footer__title { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent-primary); display: inline-block; }
.site-footer__desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.site-footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.site-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}
.site-footer__contact-item i { color: var(--accent-primary); font-size: 18px; flex-shrink: 0; }
.site-footer__contact-item a { color: var(--text-muted); transition: color var(--transition); }
.site-footer__contact-item a:hover { color: var(--accent-primary); }

.site-footer__nav ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-footer__nav ul li a:hover { color: var(--accent-primary); }

.site-footer__bottom {
    background: #000;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
.site-footer__social { display: flex; gap: 16px; }
.footer-social__link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 18px;
    transition: all var(--transition);
}
.footer-social__link:hover { transform: translateY(-4px); }
.footer-social__link--telegram:hover  { background: #229ED9; }
.footer-social__link--whatsapp:hover  { background: #25D366; }
.footer-social__link--viber:hover     { background: #7360f2; }
.site-footer__copy { color: var(--text-muted); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
   АДАПТИВНОСТЬ
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .shop-layout__inner { grid-template-columns: 240px 1fr; gap: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-section__grid { grid-template-columns: 1fr; }
    .about-section__image { display: none; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 910px) {
    .burger-btn { display: flex; }
    .site-header__nav { display: none; }
    .site-header__actions .header-shop-link span,
    .site-header__actions .header-cart-link span { display: none; }

    .shop-layout__inner { grid-template-columns: 1fr; }
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        transition: left var(--transition);
        overflow-y: auto;
    }
    .shop-sidebar.is-open { left: 0; }
    .shop-sidebar__inner { border-radius: 0; height: 100%; }
    .shop-sidebar__close { display: flex; align-items: center; justify-content: flex-end; padding: 16px; background: var(--dark-bg); color: #fff; border: none; cursor: pointer; font-size: 24px; }
    .shop-toolbar__filter-btn { display: flex; }
    .single-product-top { grid-template-columns: 1fr; }
    .map-section { grid-template-columns: 1fr; }
    .map-section__info { padding: 36px 24px; }
}

@media (max-width: 1024px) {
    .hero-section { height: 100vh; }
    .scroll-anim-canvas { display: none; }
    .hero-section__static-img { display: block; }
}

@media (max-width: 768px) {
    .top-bar__contacts { gap: 12px; }
    .top-bar__contact-link span { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-section__sticky { min-height: 70vh; }
    .single-product__features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .catalog-cats-grid { grid-template-columns: 1fr; }
    .hero-section__actions { flex-direction: column; align-items: center; }
    .top-bar { display: none; }
    .services-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА (page.php)
═══════════════════════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, var(--dark-bg), #1a2a1a);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}
.page-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
.page-content-area { padding-bottom: 80px; }
.page-content-area .entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.page-content-area .entry-content h2 { font-size: 1.8rem; margin: 32px 0 16px; }
.page-content-area .entry-content p { margin-bottom: 16px; }
.page-content-area .entry-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content-area .entry-content ul li { list-style: disc; margin-bottom: 6px; }

/* ─── УТИЛИТЫ ────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ═══════════════════════════════════════════════════════════════
   ОБЩИЙ HERO ЗАГОЛОВОК СТРАНИЦ
═══════════════════════════════════════════════════════════════ */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.page-header__title {
    font-size: clamp(1.75rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
}
.page-header__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    font-weight: 500;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА О КОМПАНИИ
═══════════════════════════════════════════════════════════════ */
.about-split-section {
    background: #fff;
    padding: 0;
}
.about-split {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) var(--container-pad);
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}
.about-split__image {
    flex: 1 1 42%;
    min-width: 280px;
}
.about-split__img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-split__img-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.about-split__img-wrap:hover img { transform: scale(1.04); }
.about-split__content {
    flex: 1 1 45%;
    min-width: 280px;
}
.about-split__label {
    display: inline-block;
    background: rgba(44,183,66,.12);
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.about-split__content p {
    color: #444;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
}
.about-mission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}
.about-mission-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-primary);
}
.about-mission-list__icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* Секция услуг О нас */
.about-services-section { padding: 80px 0; background: #f8f9fa; }
.about-services-section__intro {
    max-width: 800px;
    margin: -20px auto 48px;
    text-align: center;
    font-size: 17px;
    color: #555;
    line-height: 1.7;
}
.about-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.about-service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}
.about-service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}
.about-service-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--body-color);
}
.about-service-card__title i { color: var(--accent-primary); font-size: 22px; }
.about-service-card__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.about-service-card__list li {
    font-size: 14px;
    color: #555;
    padding-left: 16px;
    position: relative;
}
.about-service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА ПРЕИМУЩЕСТВА
═══════════════════════════════════════════════════════════════ */
.advantages-section { padding: 80px 0 60px; background: #fff; }
.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}
.advantage-card {
    flex: 1 1 44%;
    max-width: 46%;
    min-width: 280px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    padding: 36px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--dark-bg));
    transition: width 0.4s ease;
}
.advantage-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,.1); border-color: transparent; }
.advantage-card:hover::before { width: 100%; }
.advantage-card__icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: rgba(44,183,66,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent-primary);
    transition: all var(--transition);
}
.advantage-card:hover .advantage-card__icon-wrap { background: var(--accent-primary); color: #fff; }
.advantage-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--body-color);
}
.advantage-card__text { font-size: 15px; color: #555; line-height: 1.65; }
.advantages-cta-text {
    text-align: center;
    font-size: 18px;
    margin-top: 48px;
    color: #444;
}
.advantages-cta-link {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: underline;
    transition: color var(--transition);
}
.advantages-cta-link:hover { color: var(--accent-green); }

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА ПАРТНЁРЫ
═══════════════════════════════════════════════════════════════ */
.partners-intro-section { padding: 80px 0 40px; background: #fff; }
.partners-intro-text {
    max-width: 760px;
    margin: -20px auto 0;
    text-align: center;
    font-size: 17px;
    color: #555;
    line-height: 1.7;
}
.partners-cards-section { padding: 60px 0 80px; background: #f8f9fa; }
.partner-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}
.partner-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--accent-primary); }
.partner-card__logo {
    padding: 36px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}
.partner-card__logo img { max-height: 80px; max-width: 200px; object-fit: contain; filter: grayscale(0.3); transition: filter var(--transition); }
.partner-card:hover .partner-card__logo img { filter: grayscale(0); }
.partner-card__body { padding: 28px 32px; flex: 1; }
.partner-card__name { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--body-color); }
.partner-card__desc { font-size: 15px; color: #555; line-height: 1.65; margin-bottom: 20px; }
.partner-card__products { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.partner-card__products li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #444; }
.partner-card__products li i { color: var(--accent-primary); font-size: 16px; flex-shrink: 0; }

/* Блок преимуществ партнёрства */
.partner-benefits-section { padding: 80px 0; background: var(--dark-bg); }
.partner-benefits-section .section-header__label { background: rgba(44,183,66,.2); }
.partner-benefits-section .section-header__title { color: #fff; }
.partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}
.partner-benefit {
    text-align: center;
    padding: 32px 20px;
}
.partner-benefit__icon {
    display: block;
    font-size: 44px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}
.partner-benefit h4 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.partner-benefit p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА КОНТАКТЫ
═══════════════════════════════════════════════════════════════ */
.contacts-section {
    background-color: #FFFCF9;
    padding: 80px var(--container-pad);
}
.contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Блок контактной информации */
.contacts-info {
    flex: 1 1 300px;
    min-width: 280px;
}
.contacts-info__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
}
.contacts-info__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contacts-info__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #444;
}
.contacts-info__icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(44,183,66,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent-primary);
}
.contacts-info__item a { color: #444; transition: color var(--transition); }
.contacts-info__item a:hover { color: var(--accent-primary); }
.contacts-info__socials { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.contacts-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.contacts-social-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.contacts-social-btn--whatsapp { background: #2cb742; }
.contacts-social-btn--telegram { background: #24A1DE; }
.contacts-social-btn--viber    { background: #7360f2; }

/* Блок формы */
.contacts-form-wrap {
    flex: 2 1 480px;
    min-width: 280px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.contacts-form-wrap__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-primary);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__group { display: flex; flex-direction: column; gap: 6px; }
.contact-form__label { font-size: 14px; font-weight: 600; color: var(--dark-bg); }
.req { color: #e74c3c; }
.contact-form__input {
    padding: 13px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    background: #f9f9f9;
    color: var(--body-color);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    box-sizing: border-box;
}
.contact-form__input:focus { outline: none; border-color: var(--accent-primary); background: #fff; box-shadow: 0 0 0 3px rgba(44,183,66,.1); }
.contact-form__input--textarea { min-height: 140px; resize: vertical; }
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #32CD32 0%, #2cb742 100%);
    color: #fff;
    padding: 15px 36px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 6px 20px rgba(44,183,66,.35);
    align-self: flex-start;
}
.contact-form__submit:hover { background: linear-gradient(135deg, #2cb742 0%, #1e8c2e 100%); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(44,183,66,.45); }

/* Уведомления формы */
.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
}
.form-notice i { font-size: 20px; flex-shrink: 0; }
.form-notice--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-notice--error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Карта */
.contacts-map-section {
    display: grid;
    grid-template-columns: 320px 1fr;
}
.contacts-map-label {
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    padding: 0 32px;
}
.contacts-map-label__inner { color: #fff; }
.contacts-map-label__inner h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.contacts-map-label__inner h3 i { color: var(--accent-primary); }
.contacts-map-label__inner p { color: var(--text-muted); margin-bottom: 8px; font-size: 14px; }
.contacts-map-label__inner a { color: var(--accent-primary); font-size: 15px; font-weight: 600; }
.contacts-map-frame iframe { display: block; width: 100%; height: 450px; }

/* ─── Адаптивность страниц ───────────────────────────────────── */
@media (max-width: 992px) {
    .advantage-card { flex: 1 1 100%; max-width: 100%; }
    .contacts-map-section { grid-template-columns: 1fr; }
    .contacts-map-label { padding: 28px 24px; }
    .contacts-map-frame iframe { height: 300px; }
    .about-split { flex-direction: column; }
    .about-split__image { flex: 0 0 auto; width: 100%; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .partner-cards-grid { grid-template-columns: 1fr; }
    .partner-benefits-grid { grid-template-columns: 1fr 1fr; }
    .contacts-form-wrap { padding: 24px 20px; }
    .contact-form__submit { width: 100%; }
}
@media (max-width: 480px) {
    .partner-benefits-grid { grid-template-columns: 1fr; }
    .contacts-section { padding: 48px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   СИСТЕМА АНИМАЦИЙ
═══════════════════════════════════════════════════════════════ */

/* ── Page-load: header slides down ─────────────────────────── */
@keyframes ag-slide-down  { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:none; } }
@keyframes ag-fade-in-up  { from { opacity:0; transform:translateY(10px);  } to { opacity:1; transform:none; } }

.top-bar       { animation: ag-slide-down 0.55s var(--ease-out) both; }
.site-header   { animation: ag-slide-down 0.6s  var(--ease-out) 0.06s both; }

.nav-menu > li { animation: ag-fade-in-up 0.45s var(--ease-out) both; opacity: 0; }
.nav-menu > li:nth-child(1) { animation-delay: 0.18s; }
.nav-menu > li:nth-child(2) { animation-delay: 0.23s; }
.nav-menu > li:nth-child(3) { animation-delay: 0.28s; }
.nav-menu > li:nth-child(4) { animation-delay: 0.33s; }
.nav-menu > li:nth-child(5) { animation-delay: 0.38s; }
.nav-menu > li:nth-child(6) { animation-delay: 0.43s; }

.site-header__actions { animation: ag-fade-in-up 0.45s var(--ease-out) 0.45s both; }

/* ── Scroll-reveal base ─────────────────────────────────────── */
[data-anim] {
    will-change: transform, opacity;
    transition-property: opacity, transform;
    transition-duration: 0.65s;
    transition-timing-function: var(--ease-out);
}
[data-anim].is-visible {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
}

/* ── Animation types ────────────────────────────────────────── */
[data-anim="fade-up"]    { opacity: 0; transform: translateY(38px); }
[data-anim="fade-down"]  { opacity: 0; transform: translateY(-24px); }
[data-anim="fade-left"]  { opacity: 0; transform: translateX(-52px); }
[data-anim="fade-right"] { opacity: 0; transform: translateX(52px); }
[data-anim="fade-in"]    { opacity: 0; }

[data-anim="scale-up"] {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
}
[data-anim="spring-up"] {
    opacity: 0;
    transform: translateY(44px) scale(0.95);
    transition-timing-function: var(--ease-spring);
    transition-duration: 0.72s;
}

/* ── Section label + title combo ────────────────────────────── */
.section-header__label[data-anim]  { transition-duration: 0.5s; }
.section-header__title[data-anim]  { transition-duration: 0.65s; }

/* ── Stat card number ───────────────────────────────────────── */
.stat-card__number {
    transition: color 0.4s var(--ease-out);
}

/* ── CTA section ────────────────────────────────────────────── */
.cta-section__title[data-anim]  { transition-duration: 0.6s; }
.cta-section__desc[data-anim]   { transition-duration: 0.6s; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer__col[data-anim]    { transition-duration: 0.7s; }
.site-footer__bottom[data-anim] { transition-duration: 0.55s; }

/* ── Hero content: page-load keyframe animations ────────────── */
.hero-section__title {
    animation: ag-fade-in-up 0.8s var(--ease-out) 0.2s both;
}
.hero-section__subtitle {
    animation: ag-fade-in-up 0.8s var(--ease-out) 0.38s both;
}
.hero-section__actions {
    animation: ag-fade-in-up 0.8s var(--ease-out) 0.55s both;
}

/* ── Button spring hover ─────────────────────────────────────── */
.btn {
    transition: transform 0.35s var(--ease-spring),
                background-color 0.25s ease,
                box-shadow 0.25s ease,
                color 0.25s ease;
}
.btn:hover  { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0)    scale(0.97); transition-duration: 0.15s; }

/* ── Service card spring hover ───────────────────────────────── */
.service-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px) scale(1.02); }

/* ── Stat card spring hover ──────────────────────────────────── */
.stat-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px) scale(1.03); }

/* ── Partner logo hover ──────────────────────────────────────── */
.partner-logo {
    transition: transform 0.4s var(--ease-spring), filter 0.3s ease;
}
.partner-logo:hover { transform: scale(1.08); }

/* ── Catalog cat card ────────────────────────────────────────── */
.catalog-cat-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.catalog-cat-card:hover { transform: translateY(-6px) scale(1.02); }

/* ── Product card ────────────────────────────────────────────── */
.product-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-5px); }

/* ── Reduced motion: skip all ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    [data-anim], .top-bar, .site-header, .nav-menu > li, .site-header__actions {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ═══ Секция «Нам доверяют» ═══ */
.trust-section {
    padding: 60px 0;
    background: #f3f4f6;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.trust-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    transition: all .3s ease;
    min-height: 100px;
}
.trust-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.trust-card img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: all .4s ease;
}
.trust-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ═══ Партнёр Big Dutchman (отдельный блок) ═══ */
.partner-logo--featured {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.partner-logo--featured img {
    width: 160px;
    height: auto;
    flex-shrink: 0;
}
.partner-logo__desc strong {
    font-size: 1.1rem;
    color: var(--body-color);
    display: block;
    margin-bottom: 6px;
}
.partner-logo__desc p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .trust-grid { grid-template-columns: 1fr; }
    .partner-logo--featured { flex-direction: column; text-align: center; }
}
