@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ─── 1. GOOGLE FONTS IMPORT ─────────────────────────── */
/* Google Fonts imported above */

/* ─── 2. CSS CUSTOM PROPERTIES ───────────────────────── */
:root {
  --color-primary: #2f5d50;
  --color-primary-hover: #264c41;
  --color-secondary: #c08a4d;
  --color-accent: #d9a35f;

  --color-bg: #f7f4ef;
  --color-surface: #fffdf9;
  --color-surface-rgb: 255, 253, 249;
  --color-surface-alt: #efe8dd;
  --color-border: #d9cfc0;
  --color-text: #2a241f;
  --color-text-secondary: #5a5046;
  --color-text-muted: #8a7c6d;

  --color-success: #3f7a4a;
  --color-warning: #b07a22;
  --color-error: #a34b4b;
  --color-info: #3d6f8e;

  --color-primary-rgb: 47, 93, 80;
  --color-accent-rgb: 217, 163, 95;
  --color-text-rgb: 42, 36, 31;
  --color-success-rgb: 63, 122, 74;
  --color-error-rgb: 163, 75, 75;

  --color-star: #e3b341;
  --gradient-hero: linear-gradient(135deg, #f7f4ef 0%, #efe8dd 55%, #e6dccf 100%);

  --color-footer-bg: #1f1a16;
  --color-footer-text: #c9bba9;
  --color-footer-link: #e3d8ca;
  --color-footer-border: #3a312a;
  --color-header-bg-rgb: 247, 244, 239;

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Inter", sans-serif;
  --font-label: "Inter", sans-serif;

  --text-h1: clamp(2.6rem, 5vw, 4rem);
  --text-h2: clamp(2rem, 3.4vw, 3rem);
  --text-h3: clamp(1.35rem, 2.1vw, 1.8rem);
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.8rem;

  --lh-heading: 1.15;
  --lh-body: 1.65;

  --container-max: 1280px;
  --container-padding-desktop: 64px;
  --container-padding-tablet: 36px;
  --container-padding-mobile: 20px;
  --grid-gap: 24px;
  --section-gap-desktop: 96px;
  --section-gap-mobile: 64px;
  --section-inner-desktop: 56px;
  --section-inner-mobile: 32px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-9: 72px;
  --space-10: 80px;
  --space-11: 88px;
  --space-12: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(47, 34, 22, 0.08);
  --shadow-md: 0 10px 28px rgba(47, 34, 22, 0.12);
  --shadow-lg: 0 22px 48px rgba(31, 22, 16, 0.18);

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: var(--lh-body);
  min-height: 100vh;
}

:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.3); }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--color-secondary); color: #ffffff; }

/* ─── 4. ТИПОГРАФИКА ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-text);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
p { font-size: var(--text-body); line-height: var(--lh-body); color: var(--color-text); }
p + p { margin-top: var(--space-2); }
.text-lg { font-size: var(--text-body-lg); }
.text-sm { font-size: var(--text-small); }
.text-label { font-family: var(--font-label); font-size: var(--text-label); letter-spacing: 0.02em; }
strong, b { font-weight: 600; }
em { font-style: italic; }
small { font-size: var(--text-small); }

/* ─── 5. СЕТКА И КОНТЕЙНЕР ──────────────────────────── */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-padding-desktop);
}
.grid { display: grid; gap: var(--grid-gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

/* ─── 6. КНОПКИ ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-fast), border-color var(--transition-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--secondary:hover { background: rgba(var(--color-primary-rgb), 0.08); }
.btn--ghost { background: transparent; color: var(--color-primary); }
.btn--ghost:hover { background: rgba(var(--color-primary-rgb), 0.08); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ─── 7. ССЫЛКИ ──────────────────────────────────────── */
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-hover); }
a:visited { color: var(--color-primary); }
.link-clean { text-decoration: none; }
.link-clean:hover { text-decoration: underline; }

/* ─── 8. СПИСКИ ──────────────────────────────────────── */
ul, ol { padding-left: var(--space-3); }
li { margin-bottom: var(--space-1); line-height: var(--lh-body); }
.list-none { list-style: none; padding-left: 0; }
.list-none li { margin-bottom: 0; }
.list-check { list-style: none; padding-left: 0; }
.list-check li { padding-left: var(--space-4); position: relative; margin-bottom: var(--space-2); }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.list-numbered { list-style: none; padding-left: 0; counter-reset: list-counter; }
.list-numbered li { counter-increment: list-counter; padding-left: var(--space-5); position: relative; margin-bottom: var(--space-3); }
.list-numbered li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* ─── 9. КАРТОЧКИ ────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(var(--color-primary-rgb), 0.3); }
.card--glass {
  background: rgba(var(--color-surface-rgb), 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--color-surface-rgb), 0.4);
}
.card--flat { box-shadow: none; }
.card--bordered { border-width: 2px; }
.card__icon { font-size: 32px; margin-bottom: var(--space-2); }
.card__title { font-size: var(--text-h3); font-weight: 600; margin-bottom: var(--space-2); }
.card__text { font-size: var(--text-body); color: var(--color-text-secondary); }

/* ─── 10. ФОРМЫ И ПОЛЯ ВВОДА ─────────────────────────── */
.form { display: flex; flex-direction: column; gap: var(--space-3); }
.form-group { display: flex; flex-direction: column; gap: var(--space-1); }
.form-label { font-family: var(--font-label); font-size: var(--text-small); font-weight: 600; color: var(--color-text-secondary); }
.input, .textarea, .select {
  width: 100%;
  height: 50px;
  padding: 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { height: auto; min-height: 120px; padding: var(--space-2) var(--space-3); resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15); }
.input::placeholder, .textarea::placeholder { color: var(--color-text-muted); }
.input--error { border-color: var(--color-error); }
.form-hint { font-size: var(--text-small); color: var(--color-text-muted); }
.form-error { font-size: var(--text-small); color: var(--color-error); }
.range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--color-primary); border-radius: 50%; box-shadow: var(--shadow-sm); }
.range-slider::-moz-range-thumb { width: 20px; height: 20px; background: var(--color-primary); border-radius: 50%; border: none; box-shadow: var(--shadow-sm); }

/* ─── 11. ТАБЛИЦЫ ────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: var(--text-body); }
th, td { padding: var(--space-2) var(--space-3); text-align: left; border-bottom: 1px solid var(--color-border); }
th { font-family: var(--font-label); font-weight: 600; font-size: var(--text-small); color: var(--color-text-secondary); background: var(--color-surface-alt); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--color-surface-alt); }
td.highlight { color: var(--color-primary); font-weight: 600; }

/* ─── 12. ИЗОБРАЖЕНИЯ И МЕДИА ────────────────────────── */
img, video { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-contain { width: 100%; height: 100%; object-fit: contain; }
.img-rounded { border-radius: var(--radius-md); }
.img-circle { border-radius: var(--radius-full); }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-1-1 { aspect-ratio: 1 / 1; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-lg); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── 13. HEADER / НАВИГАЦИЯ ─────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 68px;
  background: rgba(var(--color-header-bg-rgb), 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--color-text); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav a {
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.site-nav a:hover { color: var(--color-primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: var(--space-1); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: var(--radius-full); transition: all var(--transition-base); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 14. FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-block: var(--space-10);
  font-size: var(--text-small);
}
.site-footer a { color: var(--color-footer-link); text-decoration: none; transition: color var(--transition-fast); }
.site-footer a:hover { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-6); }
.footer-heading { font-family: var(--font-label); font-size: var(--text-label); font-weight: 600; color: #ffffff; margin-bottom: var(--space-3); }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-bottom { margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid var(--color-footer-border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }
.social-icons { display: flex; gap: var(--space-2); }
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-footer-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--transition-fast);
}
.social-icons a:hover { background: var(--color-primary); }

/* ─── 15. СЕКЦИИ СТРАНИЦЫ ────────────────────────────── */
.section { padding-block: var(--section-gap-desktop); }
.section--alt { background: var(--color-surface-alt); }
.section--dark { background: var(--color-primary); color: #ffffff; }
.section--dark h2, .section--dark p { color: #ffffff; }
.section--dark .btn--primary { background: #ffffff; color: var(--color-primary); }
.section--dark .btn--primary:hover { background: #f0f0f0; }
.section-header { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: var(--space-8); }
.section-header h2 { margin-bottom: var(--space-3); }
.section-header p { font-size: var(--text-body-lg); color: var(--color-text-secondary); }
.hero { padding-block: var(--space-12); background: var(--gradient-hero); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.hero__label { font-family: var(--font-label); font-size: var(--text-small); font-weight: 600; color: var(--color-accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-2); }
.hero__title { margin-bottom: var(--space-4); }
.hero__subtitle { font-size: var(--text-body-lg); color: var(--color-text-secondary); margin-bottom: var(--space-5); }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: var(--color-secondary); line-height: 1; }
.stat-label { font-size: var(--text-small); color: var(--color-text-secondary); margin-top: var(--space-1); }
.review-card blockquote { font-size: var(--text-body-lg); color: var(--color-text); line-height: 1.6; margin-bottom: var(--space-3); position: relative; padding-left: var(--space-4); }
.review-card blockquote::before { content: "\201C"; position: absolute; left: 0; top: -8px; font-size: 48px; color: var(--color-secondary); font-family: var(--font-heading); line-height: 1; }
.review-meta { display: flex; align-items: center; gap: var(--space-2); }
.review-name { font-weight: 600; font-size: var(--text-small); }
.stars { color: var(--color-star); letter-spacing: 2px; }
.rating-block { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); margin-bottom: var(--space-6); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.fit-col { padding: var(--space-5); border-radius: var(--radius-lg); border: 2px solid; }
.fit-col--yes { background: rgba(var(--color-success-rgb), 0.06); border-color: var(--color-success); }
.fit-col--no { background: rgba(var(--color-error-rgb), 0.06); border-color: var(--color-error); }
.calculator { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.calc-result { background: var(--color-primary); color: #fff; border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); margin-top: var(--space-4); text-align: center; }
.howto-steps { display: flex; flex-direction: column; gap: var(--space-4); }
.howto-step { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-3); align-items: flex-start; }
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.tip-card { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.comparison-table th:first-child { min-width: 160px; }
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--space-2) var(--space-3);
  background: var(--color-primary);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
}

/* ─── 16. УТИЛИТЫ ────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; line-height: 1; }
.badge--primary { background: var(--color-primary); color: #fff; }
.badge--secondary { background: var(--color-secondary); color: var(--color-text); }
.badge--accent { background: var(--color-accent); color: #fff; }
.badge--outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text-secondary); }
.divider { width: 48px; height: 3px; background: var(--color-accent); border-radius: var(--radius-full); margin-block: var(--space-3); }
.list-check, .list-numbered {}

/* ─── 17. АНИМАЦИИ И ПЕРЕХОДЫ ────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* ─── 18. АККОРДЕОН / FAQ ────────────────────────────── */
.accordion { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition-fast);
}
.accordion__trigger:hover { background: var(--color-surface-alt); }
.accordion__trigger[aria-expanded="true"] { border-bottom: 1px solid var(--color-border); }
.accordion__icon { font-size: 20px; flex-shrink: 0; transition: transform var(--transition-base); margin-left: var(--space-3); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion__body.open { max-height: 1000px; }
.accordion__content { padding: var(--space-4) var(--space-5); color: var(--color-text-secondary); }

/* ─── 19. МОДАЛЬНЫЕ ОКНА ─────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.modal {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-6);
  position: relative;
  animation: scaleIn 0.2s ease;
  box-shadow: var(--shadow-lg);
}
.modal__close { position: absolute; top: var(--space-3); right: var(--space-3); background: none; border: none; font-size: 24px; cursor: pointer; color: var(--color-text-muted); }
.modal__title { font-size: var(--text-h3); font-weight: 700; margin-bottom: var(--space-4); }

/* ─── 20. COOKIE BANNER ──────────────────────────────── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  z-index: 1050;
  max-width: 560px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
}
.cookie-banner.visible { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.cookie-actions { display: flex; gap: var(--space-2); }

/* ─── 21. МОБИЛЬНОЕ МЕНЮ ─────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--color-surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}
.mobile-menu.open { display: flex; }

/* ─── 22. MEDIA QUERIES ──────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: var(--container-padding-tablet); }
}
@media (max-width: 767px) {
  :root {
    --section-gap-desktop: var(--section-gap-mobile);
    --section-inner-desktop: var(--section-inner-mobile);
  }
  .grid-2, .grid-3, .grid-4, .hero__grid, .fit-grid, .tips-grid { grid-template-columns: 1fr; }
  .container { padding-inline: var(--container-padding-mobile); }
  .site-header { height: 58px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .sticky-cta { display: block; }
}

/* ─── 23. DARK THEME ─────────────────────────────────── */
[data-theme="dark"] {
  --color-bg: #111318;
  --color-surface: #1a1d24;
  --color-surface-rgb: 26, 29, 36;
  --color-surface-alt: #22262f;
  --color-border: #2e3340;
  --color-text: #e8e8f0;
  --color-text-secondary: #9699a6;
  --color-text-muted: #5c5f6b;
}
[data-theme="dark"] .site-header { background: rgba(17, 19, 24, 0.9); border-bottom-color: var(--color-border); }
[data-theme="dark"] .card,
[data-theme="dark"] .modal { background: var(--color-surface); }

/* ─── 24. PREFERS-REDUCED-MOTION ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}