/**
 * WellFarm Theme — main.css
 * Шрифти: Cormorant Garamond (заголовки) + Inter (текст)
 */

/* ── WordPress alignment classes ── */
.alignnone  { margin: 0; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignright  { float: right; margin: 0 0 1rem 2rem; }
.alignleft   { float: left;  margin: 0 2rem 1rem 0; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--light); margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 8px; margin: 1.5rem 0; }
.gallery-item img { width: 100%; height: auto; display: block; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

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

:root {
  --cream:       #f5f0e8;
  --warm-white:  #faf8f5;
  --dark:        #1a1a18;
  --mid:         #5a5a55;
  --light:       #8a8a84;
  --accent:      #4a7c59;
  --accent-light:#7aaa8a;
  --border:      rgba(26,26,24,0.12);
  --serif: 'Cormorant Garamond', serif;
  --sans:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body  { font-family: var(--sans); background: var(--warm-white); color: var(--dark); font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── Глобально прибираємо підкреслення ── */
a             { text-decoration: none; color: inherit; }
a:hover       { text-decoration: none; }
.article-content a       { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { text-decoration: none; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 110px !important; max-height: 110px !important; min-height: 110px !important;
  background: rgba(250,248,245,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
  box-sizing: border-box; overflow: hidden;
}
.nav-left { display: flex; align-items: center; gap: 16px; height: 110px; }
.nav-logo  { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--dark); letter-spacing: 0.02em; line-height: 1; }
.nav-logo-text span { color: var(--accent); }
.nav-logo img { max-height: 36px !important; width: auto !important; display: block; }
.custom-logo-link { display: flex; align-items: center; line-height: 0; }
.site-nav img { width: auto !important; }

/* Телефони в nav */
.nav-phones { display: flex; align-items: center; gap: 2px; padding-left: 14px; border-left: 1px solid var(--border); margin-left: 4px; }
.nav-phone-item { display: flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 3px; transition: background 0.2s; }
.nav-phone-item:hover { background: rgba(74,124,89,0.07); }
.nav-phone-item a { font-size: 16px; font-weight: 500; letter-spacing: 0.02em; color: var(--mid); transition: color 0.2s; white-space: nowrap; }
.nav-phone-item:hover a { color: var(--accent); }
.nav-phone-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(74,124,89,0.12); flex-shrink: 0; transition: background 0.2s; }
.nav-phone-item:hover .nav-phone-icon { background: rgba(74,124,89,0.22); }
.nav-phone-icon svg { width: 12px; height: 12px; fill: var(--accent); }
.nav-phone-sep { width: 1px; height: 16px; background: var(--border); margin: 0 4px; }

/* Nav links */
.nav-center .nav-links { display: flex; gap: 28px; list-style: none; }
.nav-item { list-style: none; }
.nav-center .nav-links .nav-link { font-size: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mid); transition: color 0.2s; }
.nav-center .nav-links .nav-link:hover,
.nav-center .nav-links .nav-link.active { color: var(--dark); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 22px; border: 1px solid var(--dark); color: var(--dark); cursor: pointer; transition: all 0.25s; white-space: nowrap; }
.nav-cta:hover { background: var(--dark); color: var(--warm-white); }

/* Burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--dark); transition: all 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; top: 110px; left: 0; right: 0; bottom: 0; background: var(--warm-white); z-index: 190; transform: translateX(100%); transition: transform 0.35s ease; overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu-inner { padding: 40px 28px; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.mobile-nav-links a { display: block; font-size: 20px; font-family: var(--sans); padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--dark); }
.mobile-contacts { display: flex; flex-direction: column; gap: 12px; }
.mobile-contacts a { font-size: 16px; color: var(--mid); }

/* Page wrapper */
#page-wrapper { padding-top: 110px; }
.admin-bar .site-nav { top: 32px; }
.admin-bar #page-wrapper { padding-top: calc(110px + 32px); }
.admin-bar .mobile-menu { top: calc(110px + 32px); }

/* ═══════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════ */
.section-label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mid); margin-bottom: 48px; display: flex; align-items: center; gap: 16px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.btn-primary { display: inline-block; padding: 13px 32px; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; cursor: pointer; border: none; font-family: var(--sans); transition: background 0.25s; }
.btn-primary:hover { background: #3a6548; color: #fff; }
.btn-outline { display: inline-block; padding: 13px 32px; border: 1px solid var(--dark); color: var(--dark); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; cursor: pointer; background: transparent; font-family: var(--sans); transition: all 0.25s; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.text-link { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dark); border-bottom: 1px solid var(--dark); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; cursor: pointer; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Page header (banner) ── */
.page-header { padding-top: 110px; min-height: 320px; background: var(--dark); display: flex; align-items: flex-end; padding-bottom: 56px; padding-left: 48px; padding-right: 48px; position: relative; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-header-bg::after { content: ''; position: absolute; inset: 0; background: rgba(10,18,12,0.62); }
.page-header-content { position: relative; z-index: 2; }
.page-header-eyebrow { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.page-header-eyebrow::before { content:''; width:32px; height:1px; background: var(--accent-light); }
.page-header h1 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; color: #fff; line-height: 1.15; }
.page-header h1 em { font-style: normal; color: var(--accent-light); font-weight: 300; }
.page-header p { letter-spacing:1px; font-size: 15px; color: rgba(255,255,255,0.5); margin-top: 14px; max-width: 520px; line-height: 1.7; }


/* ── Breadcrumb ── */
.breadcrumb { padding: 12px 48px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--light); flex-wrap: wrap; }
.breadcrumb a { color: var(--light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }

.breadcrumb .sep { color: var(--border); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); }
.footer-top { padding: 72px 48px 64px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-col .footer-brand { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; display: block; }
.footer-tagline { font-size: 13px; line-height: 1.8; margin-bottom: 24px; color: rgba(255,255,255,0.5); }
.footer-contact { font-size: 13px; line-height: 2.1; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent-light); }
.footer-col-title { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; display: block; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-newsletter p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.email-form { display: flex; flex-direction: column; gap: 8px; }
.email-form input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); padding: 11px 14px; font-size: 16px; color: #fff; font-family: var(--sans); outline: none; transition: border-color 0.2s; }
.email-form input:focus { border-color: var(--accent); }
.email-form input::placeholder { color: rgba(255,255,255,0.28); }
.email-form button { background: var(--accent); color: #fff; border: none; padding: 11px 20px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--sans); cursor: pointer; transition: background 0.2s; }
.email-form button:hover { background: #3a6548; }
.footer-bottom { padding: 22px 48px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,0.28); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); transition: background 0.2s, color 0.2s; }
.social-link:hover { background: var(--accent); color: #fff; }
.social-link svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════
   HOME — HERO
═══════════════════════════════════════ */
.hero { min-height: 440px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 0 48px 72px; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #2d4a38 0%, #1a2e22 45%, #0d1a12 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); opacity: 0.6; }
.hero-image-panel { position: absolute; right: 0; top: 0; width: 52%; height: 100%; background: linear-gradient(to right, #1a2e22 0%, rgba(26,46,34,0.4) 35%, transparent 60%), linear-gradient(to top, #0d1a12 0%, transparent 40%), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1400&auto=format') center/cover; opacity: 0.8; }
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-eyebrow { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--accent-light); }
.hero-title { font-family: var(--serif); font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; line-height: 1; color: #fff; margin-bottom: 8px; }
.hero-title em { font-style: normal; color: var(--accent-light); font-weight: 300; }
.hero-sub { font-family: var(--sans); font-size: clamp(14px, 1.8vw, 18px); font-weight: 400; color: rgba(255,255,255,0.55); margin-bottom: 32px; line-height: 1.55; letter-spacing: 0; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.85; max-width: 400px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-ghost { font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); border-bottom: 1px solid rgba(255,255,255,0.28); padding-bottom: 2px; transition: all 0.2s; cursor: pointer; }
.hero-ghost:hover { color: #fff; border-color: #fff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-eyebrow { animation: fadeUp 0.8s ease 0.2s  both; }
.hero-title    { animation: fadeUp 0.8s ease 0.35s both; }
.hero-sub      { animation: fadeUp 0.8s ease 0.5s  both; }
.hero-desc     { animation: fadeUp 0.8s ease 0.6s  both; }
.hero-actions  { animation: fadeUp 0.8s ease 0.72s both; }

/* ── Home intro ── */
.intro { padding: 100px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-text h2 { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.intro-text h2 em { font-style: normal; color: var(--accent); font-weight: 700; }
.intro-text p { font-size: 16px; color: var(--mid); line-height: 1.9; margin-bottom: 28px; }
.intro-visual { position: relative; height: 460px; }
.intro-img { width: 100%; height: 100%; background: url('https://images.unsplash.com/photo-1560493676-04071c5f467b?w=900&auto=format') center/cover; }
.intro-badge { position: absolute; bottom: -20px; left: -20px; background: var(--accent); color: #fff; padding: 24px 28px; font-family: var(--sans); font-size: 11px; line-height: 1.5; letter-spacing: 0.04em; }
.intro-badge strong { display: block; font-size: 36px; font-weight: 700; line-height: 1; margin-bottom: 4px; letter-spacing: 0; }

/* ── Home categories ── */
.home-cats { padding: 0 48px 100px; }
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.cat-item { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.cat-item:first-child { grid-row: span 2; aspect-ratio: auto; }
.cat-item-link { display: block; width: 100%; height: 100%; }
.cat-bg { position: absolute; inset: 0; transition: transform 0.7s ease; background-size: cover; background-position: center; background-color: var(--dark); }
.cat-item:hover .cat-bg { transform: scale(1.05); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,12,0.88) 0%, rgba(10,20,12,0.08) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.cat-num { font-size: 10px; letter-spacing: 0.18em; color: var(--accent-light); margin-bottom: 6px; }
.cat-name { font-family: var(--serif); font-size: 20px; font-weight: 400; color: #fff; line-height: 1.25; }
.cat-arrow { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,0.35); transition: color 0.2s, transform 0.2s; display: inline-block; }
.cat-item:hover .cat-arrow { color: var(--accent-light); transform: translateX(5px); }

/* ── Advantages ── */
.advantages { background: var(--cream); padding: 88px 48px; }


.adv-title { font-family: var(--serif); font-size: clamp(22px,2.5vw,36px); font-weight: 700; max-width: 480px; line-height: 1.2; }
.adv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(26,26,24,0.1); }
.adv-card { background: var(--cream); padding: 44px 36px; }
.adv-icon { width: 44px; height: 44px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; font-size: 28px; color: var(--accent); }
.adv-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.adv-card p { font-size: 16px; color: var(--mid); line-height: 1.85; }


/* ── Full bleed CTA ── */
.full-bleed { height: 55vh; min-height: 360px; position: relative; overflow: hidden; background: url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1800&auto=format') center/cover; }
.full-bleed::before { content: ''; position: absolute; inset: 0; background: rgba(12,22,14,0.55); }
.full-bleed-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px; text-align: center; padding: 0 48px; }
.full-bleed-inner h2 { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 38px); font-weight: 500; color: #fff; max-width: 640px; line-height: 1.15; }
.full-bleed-inner h2 em { font-style: italic; color: var(--accent-light); font-weight: 400; }

/* ── Partners ── */
.partners { padding: 60px 48px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.partners-lbl { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light); min-width: 80px; }
.partner-logo { font-family: var(--sans); font-size: 17px; font-weight: 400; color: var(--mid); opacity: 0.55; transition: opacity 0.25s; }
a.partner-logo:hover { opacity: 1; }

/* ── News section ── */
.news-section { padding: 88px 48px 100px; }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.news-header h2 { font-family: var(--serif); font-size: clamp(22px,2.5vw,36px); font-weight: 700; }
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.news-card { display: flex; flex-direction: column; gap: 14px; }
.news-card-img { aspect-ratio: 16/10; overflow: hidden; display: block; }
.nci { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.55s ease; }
.news-card:hover .nci { transform: scale(1.04); }
.news-date { font-size: 10.5px; letter-spacing: 0.1em; color: var(--light); }
.news-card h3 { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.4; }
.news-card h3 a { color: var(--dark); transition: color 0.2s; }
.news-card h3 a:hover { color: var(--accent); }
.news-card p { font-size: 16px; color: var(--mid); line-height: 1.8; }
.news-card-link { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: auto; }

/* ═══════════════════════════════════════
   CATALOG PAGE
═══════════════════════════════════════ */
.catalog-section { padding: 72px 48px 100px; }
.catalog-intro { max-width: 640px; margin-bottom: 64px; }
.catalog-intro p { font-size: 15px; color: var(--mid); line-height: 1.9; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.cat-card { position: relative; overflow: hidden; background: var(--dark); }
.cat-card-img { height: 260px; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.cat-card:hover .cat-card-img { transform: scale(1.04); }
.cat-card-body { padding: 28px 28px 32px; background: #fff; border-bottom: 2px solid transparent; transition: border-color 0.3s; }
.cat-card:hover .cat-card-body { border-color: var(--accent); }
.cat-card-num { font-size: 10px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 10px; }
.cat-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin-bottom: 12px; line-height: 1.2; }
.cat-card p { font-size: 16px; color: var(--mid); line-height: 1.8; margin-bottom: 20px; }
.cat-card-link { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.cat-card-link::after { content: '→'; transition: transform 0.2s; }
.cat-card:hover .cat-card-link::after { transform: translateX(4px); }

.cat-detail { padding: 72px 48px 100px; }
.cat-detail-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: start; }
.cat-detail-intro p { font-size: 15px; color: var(--mid); line-height: 1.9; margin-bottom: 16px; }
.cat-detail-img { height: 420px; background-size: cover; background-position: center; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }

/* ═══════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════ */
.product-layout { padding: 48px 48px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.product-gallery { display: flex; flex-direction: column; gap: 3px; }
.product-main-img { height: 480px; background-size: cover; background-position: center; background-color: var(--cream); }
.product-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.product-thumb { height: 110px; background-size: cover; background-position: center; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; border: 2px solid transparent; }
.product-thumb:hover, .product-thumb.active { opacity: 1; border-color: var(--accent); }
.product-info { padding-top: 8px; }
.product-category { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.product-category a { color: var(--accent); }
.product-info h1 { font-family: var(--serif); font-size: clamp(30px,3.5vw,50px); font-weight: 500; line-height: 1.1; margin-bottom: 8px; }
.product-brand { font-size: 16px; color: var(--light); margin-bottom: 28px; }
.product-desc { font-size: 14.5px; color: var(--mid); line-height: 1.9; margin-bottom: 32px; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
.product-specs { margin-bottom: 36px; }
.product-specs h4 { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.spec-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.spec-row dt { color: var(--mid); }
.spec-row dd { font-weight: 400; text-align: right; max-width: 55%; }
.product-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.product-cta-note { font-size: 12px; color: var(--light); line-height: 1.5; }

.product-tabs-section { padding: 0 48px 80px; }
.tab-nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.tab-btn { padding: 14px 24px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-family: var(--sans); transition: all 0.2s; margin-bottom: -1px; }
.tab-btn.active, .tab-btn:hover { color: var(--dark); }
.tab-btn.active { border-bottom-color: var(--accent); }
.tab-panel { display: none; max-width: 760px; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 16px; margin-top: 32px; }
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel p { font-size: 14.5px; color: var(--mid); line-height: 1.9; margin-bottom: 16px; }

.docs-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.docs-item { display: flex; }
.docs-link { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--cream); font-size: 14px; color: var(--dark); flex: 1; transition: background 0.2s; }
.docs-link:hover { background: rgba(74,124,89,0.08); color: var(--accent); }
.docs-icon { font-size: 18px; }
.docs-ext { font-size: 10px; letter-spacing: 0.1em; background: var(--accent); color: #fff; padding: 2px 6px; margin-left: auto; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq-q { font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.faq-a { font-size: 14px; color: var(--mid); line-height: 1.8; }

.related-products { padding: 0 48px 80px; }

/* ═══════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════ */
.contacts-layout { padding: 72px 48px 100px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contacts-info h2 { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.2; margin-bottom: 36px; }
.contacts-info h2 em { color: var(--accent); font-weight: 500; }
.contact-blocks { margin-bottom: 32px; }
.contact-block { padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-block h4 { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--light); margin-bottom: 8px; }
.contact-block p { font-size: 14.5px; color: var(--dark); line-height: 1.8; }
.contact-block a { color: var(--dark); transition: color 0.2s; }
.contact-block a:hover { color: var(--accent); }

/* Карта — ВИПРАВЛЕНО */
.contact-map-embed { margin-top: 24px; overflow: hidden; border: 1px solid var(--border); }
.contact-map-embed iframe { display: block; width: 100% !important; height: 300px; border: 0; }
.contact-map-placeholder { margin-top: 24px; display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--cream); border: 1px solid var(--border); font-size: 14px; color: var(--mid); line-height: 1.5; }
.contact-map-placeholder span:first-child { font-size: 22px; flex-shrink: 0; }

/* Contact form */
.contact-form-wrap h3 { font-family: var(--serif); font-size: 32px; font-weight: 300; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 14px; color: var(--mid); margin-bottom: 32px; line-height: 1.7; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); }
.form-group input,
.form-group textarea,
.form-group select { padding: 12px 14px; border: 1px solid var(--border); background: #fff; font-size: 14px; font-family: var(--sans); color: var(--dark); font-weight: 300; outline: none; transition: border-color 0.2s; -webkit-appearance: none; border-radius: 0; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--light); line-height: 1.6; }
.form-response { padding: 14px 18px; font-size: 13.5px; line-height: 1.6; display: none; margin-top: 8px; }
.form-response.success { background: rgba(74,124,89,0.08); border: 1px solid var(--accent); color: var(--accent); display: block; }
.form-response.error   { background: rgba(200,50,50,0.06); border: 1px solid #c83c3c; color: #c83c3c; display: block; }

/* CF7 */
.wpcf7-response-output { margin-top: 16px; padding: 12px 16px; font-size: 16px; border-radius: 0; }
.wpcf7-mail-sent-ok    { background: rgba(74,124,89,0.1); border: 1px solid var(--accent) !important; color: var(--accent); }
.wpcf7-validation-errors { background: rgba(200,60,60,0.05); border: 1px solid #c83c3c !important; color: #c83c3c; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); font-size: 14px; font-family: var(--sans); color: var(--dark); outline: none; transition: border-color 0.2s; border-radius: 0; background: #fff; }
.wpcf7 input:focus,
.wpcf7 textarea:focus { border-color: var(--accent); }
.wpcf7 input[type="submit"] { display: inline-block; padding: 13px 32px; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; cursor: pointer; border: none; font-family: var(--sans); transition: background 0.25s; border-radius: 0; }
.wpcf7 input[type="submit"]:hover { background: #3a6548; }
.wpcf7-not-valid-tip { font-size: 11px; color: #c83c3c; margin-top: 4px; }
.wpcf7 .wpcf7-spinner { display: none; }

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */
.about-section { padding: 72px 48px 100px; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 72px; }
.about-intro-text h2 { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.15; margin-bottom: 18px; }
.about-intro-text h2 em { color: var(--accent); font-weight: 500; }
.about-intro-text p,
.about-content p { font-size: 14.5px; color: var(--mid); line-height: 1.9; margin-bottom: 16px; }
.about-content h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin: 36px 0 14px; }
.about-img { height: 520px; background-size: cover; background-position: center; background-color: var(--cream); }
.about-img--placeholder { background-image: linear-gradient(135deg,#e8e0d4 0%,#d4c9b8 100%); }

.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); margin-bottom: 72px; }
.stat-item { background: var(--warm-white); padding: 40px 32px; }
.stat-num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 12px; color: var(--mid); line-height: 1.5; }

.team-section { margin-bottom: 72px; }
.team-section h2 { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; margin-bottom: 36px; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.team-card { background: var(--cream); overflow: hidden; }
.team-img { height: 300px; background-size: cover; background-position: top center; background-color: var(--cream); }
.team-img--placeholder { background-image: linear-gradient(135deg,#ddd 0%,#ccc 100%); }
.team-info { padding: 22px 22px 26px; }
.team-info h4 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.team-info span { font-size: 11.5px; color: var(--accent); letter-spacing: 0.06em; }
.team-info p { font-size: 16px; color: var(--mid); line-height: 1.7; margin-top: 10px; }

.about-partners { margin-bottom: 0; }
.about-partners h2 { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; margin-bottom: 36px; }
.about-partners-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); }
.about-partner-item { background: var(--warm-white); }
.about-partner-inner { display: flex; align-items: center; justify-content: center; padding: 32px 24px; min-height: 100px; transition: background 0.2s; }
.about-partner-inner:hover { background: var(--cream); }
.about-partner-inner img { max-width: 140px; max-height: 60px; width: auto; height: auto; filter: grayscale(1); opacity: 0.6; transition: all 0.3s; }
.about-partner-inner:hover img { filter: none; opacity: 1; }

/* ═══════════════════════════════════════
   BLOG PAGE
═══════════════════════════════════════ */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 64px 48px 100px; }
.blog-section { padding: 64px 48px 100px; }
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.blog-filter-btn { padding: 8px 20px; border: 1px solid var(--border); font-size: 11.5px; font-weight: 400; letter-spacing: 0.08em; color: var(--mid); transition: all 0.2s; }
.blog-filter-btn:hover,
.blog-filter-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.no-posts { font-size: 15px; color: var(--mid); padding: 40px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-bottom: 48px; }
.blog-card { display: flex; flex-direction: column; gap: 12px; }
.blog-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img-inner { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.55s ease; }
.blog-card:hover .blog-card-img-inner { transform: scale(1.04); }
.blog-tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.blog-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.3; margin: 0; }
.blog-card h3 a { color: var(--dark); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 16px; color: var(--mid); line-height: 1.8; margin: 0; }
.blog-meta { font-size: 11px; color: var(--light); display: flex; gap: 12px; margin-top: auto; padding-top: 4px; }

.blog-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2px; margin-bottom: 60px; }
.blog-feat-img { overflow: hidden; }
.blog-feat-img-inner { width: 100%; height: 460px; background-size: cover; background-position: center; transition: transform 0.6s ease; background-color: var(--cream); }
.blog-featured:hover .blog-feat-img-inner { transform: scale(1.03); }
.blog-feat-body { background: var(--cream); padding: 48px 44px; display: flex; flex-direction: column; }
.blog-feat-tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.blog-feat-body h2 { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 18px; color: var(--dark); }
.blog-feat-body p { font-size: 13.5px; color: var(--mid); line-height: 1.85; flex: 1; margin-bottom: 28px; }
.blog-feat-meta { font-size: 11px; color: var(--light); display: flex; gap: 12px; margin-top: auto; }

/* ═══════════════════════════════════════
   ARTICLE
═══════════════════════════════════════ */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 72px; padding: 64px 48px 100px; align-items: start; }
.article-body { min-width: 0; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.article-tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.article-date, .article-author, .article-reading { font-size: 12px; color: var(--light); }
.article-body h1 { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; line-height: 1.15; margin-bottom: 24px; }
.article-body .lead { font-family: var(--sans); font-size: 18px; font-weight: 400; color: var(--mid); line-height: 1.7; margin-bottom: 28px; }
.article-hero-img { width: 100%; height: 400px; background-size: cover; background-position: center; margin-bottom: 40px; }
.article-content h2 { font-family: var(--serif); font-size: 21px; font-weight: 700; margin: 40px 0 14px; }
.article-content h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.article-content p  { font-size: 15px; color: var(--mid); line-height: 1.95; margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 20px 1.4em; }
.article-content li { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 6px; }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 20px 28px; margin: 32px 0; background: var(--cream); }
.article-content blockquote p { font-family: var(--sans); font-size: 18px; font-weight: 400; color: var(--dark); margin: 0; line-height: 1.6; }
.article-content img { max-width: 100%; height: auto; display: block; margin: 24px 0; }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { text-decoration: none; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tag-link { font-size: 11px; letter-spacing: 0.08em; color: var(--mid); padding: 5px 12px; border: 1px solid var(--border); transition: all 0.2s; }
.article-tag-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.article-share { display: flex; align-items: center; gap: 12px; margin: 24px 0 40px; }
.article-share-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light); }
.share-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; transition: transform 0.2s, opacity 0.2s; }
.share-btn:hover { transform: scale(1.12); opacity: 0.85; }
.share-btn svg { width: 16px; height: 16px; }
.share-btn--fb { background: #1877f2; }
.share-btn--tg { background: #2aabee; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 40px 0 0; border-top: 1px solid var(--border); padding-top: 32px; }
.article-nav-item { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--cream); transition: background 0.2s; }
.article-nav-item:hover { background: var(--accent); }
.article-nav-item:hover .article-nav-direction,
.article-nav-item:hover .article-nav-title { color: #fff; }
.article-nav-direction { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); transition: color 0.2s; }
.article-nav-title { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--dark); line-height: 1.3; transition: color 0.2s; }
.article-nav-item--next { text-align: right; }
.related-articles { padding: 0 48px 80px; }

.article-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-cta { background: var(--accent); padding: 28px; color: #fff; }
.sidebar-cta h4 { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.sidebar-cta p { font-size: 16px; line-height: 1.7; opacity: 0.88; margin-bottom: 20px; }
.sidebar-cta .btn-primary { background: #fff; color: var(--accent); }
.sidebar-cta .btn-primary:hover { background: var(--cream); color: var(--accent); }
.sidebar-block { background: var(--cream); padding: 24px; }
.sidebar-block h4 { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.sidebar-related { display: flex; flex-direction: column; gap: 14px; }
.sidebar-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-item:hover h5 { color: var(--accent); }
.sidebar-item-img { width: 60px; height: 60px; background-size: cover; background-position: center; flex-shrink: 0; }
.sidebar-item h5 { font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--dark); margin-bottom: 4px; transition: color 0.2s; }
.sidebar-item span { font-size: 11px; color: var(--light); }

.blog-sidebar { padding-top: 8px; }
.widget { margin-bottom: 32px; }
.widget-title { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.widget ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.widget ul a { font-size: 13.5px; color: var(--mid); transition: color 0.2s; }
.widget ul a:hover { color: var(--accent); }

.pagination { display: flex; gap: 6px; justify-content: center; padding: 48px 0; flex-wrap: wrap; }
.pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); font-size: 16px; color: var(--mid); transition: all 0.2s; }
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.pagination .page-numbers.dots { border: none; }

.page-content { padding: 72px 48px 100px; }
.page-content-inner { max-width: 800px; }
.page-content-inner h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin: 36px 0 14px; }
.page-content-inner p  { font-size: 15px; color: var(--mid); line-height: 1.9; margin-bottom: 18px; }
.page-content-inner ul { margin: 0 0 20px 1.4em; }
.page-content-inner li { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 6px; }

/* ═══════════════════════════════════════
   MODAL
═══════════════════════════════════════ */
.wf-modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(10,18,12,0.72); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.wf-modal-overlay.open { opacity: 1; pointer-events: all; }
.wf-modal { background: var(--warm-white); width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(24px); transition: transform 0.35s ease; padding: 52px 48px 48px; }
.wf-modal-overlay.open .wf-modal { transform: none; }
.wf-modal-close { position: absolute; top: 18px; right: 20px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--mid); transition: color 0.2s; font-size: 22px; line-height: 1; }
.wf-modal-close:hover { color: var(--dark); }
.wf-modal-title { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 6px; line-height: 1.15; }
.wf-modal-subtitle { font-size: 14px; color: var(--mid); line-height: 1.7; margin-bottom: 28px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1200px) {
  .site-nav { padding: 0 32px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
  .blog-layout { gap: 40px; }
  .about-partners-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1024px) {
  .site-nav { padding: 0 28px; }
  .nav-phones { display: none; }
  .nav-center .nav-links { gap: 20px; }
  .nav-burger { display: flex; }
  .intro { padding: 72px 40px; }
  .home-cats { padding: 0 40px 80px; }
  .advantages { padding: 64px 40px; }
  .news-section { padding: 64px 40px 80px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .blog-feat-img-inner { height: 340px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 360px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .about-partners-grid { grid-template-columns: repeat(3,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .site-nav { padding: 0 20px; }
  .nav-center { display: none; }
  #page-wrapper { padding-top: 110px; }
  .hero { padding: 72px 20px 48px; min-height: 480px; }
  .hero-image-panel { width: 100%; opacity: 0.22; }
  .hero-title { font-size: clamp(36px,10vw,64px); }
  .intro { grid-template-columns: 1fr; padding: 56px 20px; gap: 36px; }
  .intro-visual { height: 280px; }
  .intro-badge { bottom: -14px; left: -8px; }
  .home-cats { padding: 0 20px 60px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-item:first-child { grid-row: span 1; grid-column: span 2; height: 260px; aspect-ratio: auto; }
  .advantages { padding: 56px 20px; }
  .adv-grid { grid-template-columns: 1fr; }
  .full-bleed-inner h2 { font-size: clamp(24px,6vw,40px); }
  .partners { padding: 40px 20px; }
  .news-section { padding: 56px 20px 72px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-section { padding: 40px 20px 64px; }
  .blog-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-feat-img-inner { height: 240px; }
  .blog-feat-body { padding: 28px 24px; }
  .article-layout { grid-template-columns: 1fr; padding: 32px 20px 64px; gap: 40px; }
  .article-hero-img { height: 240px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-item--next { text-align: left; }
  .related-articles { padding: 0 20px 60px; }
  .about-section { padding: 48px 20px 72px; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-img { height: 300px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 440px; }
  .about-partners-grid { grid-template-columns: repeat(2,1fr); }
  .product-layout { grid-template-columns: 1fr; padding: 32px 20px 0; gap: 36px; }
  .product-tabs-section { padding: 0 20px 60px; }
  .product-main-img { height: 300px; }
  .tab-nav { overflow-x: auto; }
  .related-products { padding: 0 20px 60px; }
  .cat-detail { padding: 40px 20px 72px; }
  .cat-detail-intro { grid-template-columns: 1fr; gap: 32px; }
  .cat-detail-img { height: 260px; }
  .catalog-section { padding: 40px 20px 72px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contacts-layout { grid-template-columns: 1fr; padding: 40px 20px 72px; gap: 40px; }
  .page-content { padding: 40px 20px 64px; }
  .page-header { padding: 72px 20px 36px; min-height: 240px; }
  .breadcrumb { padding: 12px 20px; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 6px; text-align: center; }
  .wf-modal { padding: 44px 24px 32px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-item:first-child { grid-column: span 1; height: 240px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 38px; }
  .about-partners-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-thumbs { grid-template-columns: repeat(3,1fr); }
  .article-nav { grid-template-columns: 1fr; }
  .wf-modal { padding: 40px 20px 28px; }
}
@media print {
  .site-nav, .mobile-menu, .article-sidebar, .site-footer, .related-articles { display: none !important; }
  .article-layout { grid-template-columns: 1fr; }
  #page-wrapper { padding-top: 0; }
}

/* CF7 форма в контактах */
#wpcf7-f13-p36-o1 .wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
#wpcf7-f13-p36-o1 .wpcf7-form > p { font-size: 14px; color: var(--mid); margin: 0; line-height: 1.7; }
#wpcf7-f13-p36-o1 .wpcf7-form > p > label { display: flex; flex-direction: column; gap: 7px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); }
#wpcf7-f13-p36-o1 .wpcf7-form input.wpcf7-form-control:not(.wpcf7-submit),
#wpcf7-f13-p36-o1 .wpcf7-form textarea.wpcf7-form-control,
#wpcf7-f13-p36-o1 .wpcf7-form select.wpcf7-form-control { padding: 12px 14px; border: 1px solid var(--border); background: #fff; font-size: 14px; font-family: var(--sans); color: var(--dark); font-weight: 300; outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
#wpcf7-f13-p36-o1 .wpcf7-form input.wpcf7-form-control:not(.wpcf7-submit):focus,
#wpcf7-f13-p36-o1 .wpcf7-form textarea.wpcf7-form-control:focus { border-color: var(--accent); }
#wpcf7-f13-p36-o1 .wpcf7-form textarea.wpcf7-textarea { resize: vertical; min-height: 120px; }
