/* =========================================================
   ВОЛОГОДСКИЕ ОЗЁРА — концепт редизайна
   Дизайн-система: «Светлая вода»
   ========================================================= */

/* ---------- 1. Токены ---------- */
:root {
  --ink: #082a38;
  --ink-2: #234b5b;
  --muted: #5b7a88;
  --muted-2: #7d97a2;

  --bg: #f3f9fb;
  --bg-2: #eaf5f9;
  --surface: #ffffff;
  --surface-2: #f7fbfd;

  --line: rgba(8, 56, 74, 0.1);
  --line-2: rgba(8, 56, 74, 0.18);

  --water-900: #053b50;
  --water-800: #07536e;
  --water-700: #0a6b8a;
  --water-600: #0e86a8;
  --water-500: #1fa3c4;
  --water-400: #47bcd6;
  --water-300: #8ad3e5;
  --water-200: #bde8f2;
  --water-100: #dcf0f7;
  --water-50: #eff8fb;

  --sun: #eeb15c;
  --sun-soft: #fbeed9;

  --grad: linear-gradient(120deg, #07536e 0%, #0e86a8 55%, #2bb3ce 100%);
  --grad-soft: linear-gradient(160deg, #eff8fb 0%, #dcf0f7 100%);

  --shadow-xs: 0 1px 2px rgba(8, 42, 56, 0.05);
  --shadow-sm: 0 6px 18px -10px rgba(8, 42, 56, 0.25);
  --shadow: 0 20px 45px -28px rgba(8, 42, 56, 0.4);
  --shadow-lg: 0 45px 90px -45px rgba(8, 42, 56, 0.5);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Сброс ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
figure, blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); }

::selection { background: var(--water-200); color: var(--water-900); }

:focus-visible {
  outline: 3px solid var(--water-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--water-800); color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Раскладка ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(52px, 6.2vw, 92px); }
.section--tight { padding-block: clamp(36px, 4.4vw, 64px); }
.section--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.section-head__text { max-width: 620px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.section-head p { margin-top: 12px; color: var(--muted); max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--water-600);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--light { color: var(--water-200); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--water-700);
  transition: gap 0.25s var(--ease), color 0.2s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--water-500); }

/* ---------- 4. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.25s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--water-700);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(10, 107, 138, 0.9);
}
.btn--primary:hover {
  background: var(--water-600);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -18px rgba(10, 107, 138, 0.9);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--water-500); color: var(--water-700); background: var(--water-50); }
.btn--light { background: #fff; color: var(--water-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }

/* ---------- 5. Иконки ---------- */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 6. Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s, height 0.3s var(--ease), border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
.site-header > .container { position: relative; z-index: 1; }

/* прозрачная шапка поверх героя */
.site-header--over { color: #fff; }
.site-header--over .brand__sub { color: rgba(255, 255, 255, 0.72); }
.site-header--over .nav-link { color: rgba(255, 255, 255, 0.88); }
.site-header--over .nav-link:hover { color: #fff; }
.site-header--over .icon-btn { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.site-header--over .icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.site-header--over .burger { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.site-header--over .header-link { color: #fff; }
.site-header--over .brand__mark { box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5); }

.site-header.is-solid { color: var(--ink); height: 68px; }
.site-header.is-solid::before { opacity: 1; border-bottom-color: var(--line); }
.site-header.is-solid .brand__sub { color: var(--muted); }
.site-header.is-solid .nav-link { color: var(--ink-2); }
.site-header.is-solid .icon-btn { border-color: var(--line-2); color: var(--ink); }
.site-header.is-solid .burger { color: var(--ink); border-color: var(--line-2); }
.site-header.is-solid .header-link { color: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  flex: none;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.brand__sub {
  margin-top: 5px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 18px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--water-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--water-700); }
.site-header--over .nav-link[aria-current="page"] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { background: var(--water-50); border-color: var(--water-300); }
.icon-btn:active { transform: scale(0.96); }

.header-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 2px;
  transition: color 0.2s;
}
.header-link:hover { color: var(--water-600); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.burger span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Мобильное меню ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: linear-gradient(170deg, #f7fbfd 0%, #e7f4f9 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mobile-menu__nav a svg { width: 20px; height: 20px; color: var(--water-600); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__meta { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.mobile-menu__meta a { color: var(--water-700); font-weight: 600; }

/* ---------- 8. Герой ---------- */
.hero { position: relative; padding: 10px clamp(8px, 1vw, 14px) 0; }
.hero__frame {
  position: relative;
  min-height: min(90svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: clamp(22px, 3vw, 40px);
  overflow: hidden;
  background: var(--water-900);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 33, 45, 0.5) 0%, rgba(4, 33, 45, 0.02) 38%, rgba(4, 33, 45, 0.78) 100%),
    linear-gradient(90deg, rgba(4, 33, 45, 0.55) 0%, rgba(4, 33, 45, 0.12) 55%, rgba(4, 33, 45, 0.25) 100%);
}
.hero__inner {
  position: relative;
  padding-top: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(26px, 3.5vw, 52px);
  padding-inline: clamp(16px, calc((100vw - 1320px) / 2 + var(--gutter) - 10px), 140px);
  color: #fff;
  width: 100%;
}
.hero__inner > * { max-width: 900px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero__eyebrow svg { width: 16px; height: 16px; color: var(--water-300); }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero h1 em {
  display: block;
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.9);
}
.hero__lead {
  max-width: 560px;
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 620px);
  margin-top: clamp(22px, 3vw, 34px);
  padding: 6px 6px 6px 20px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.65);
}
.hero-search > svg { width: 21px; height: 21px; color: var(--water-600); flex: none; }
.hero-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search .btn { min-height: 48px; }

.hero__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}
.hero__quick a {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
.hero__quick a:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }

.hero__scroll {
  position: absolute;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(24px, 3.4vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ---------- 9. Полоса статистики ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -34px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -40px rgba(8, 42, 56, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: clamp(8px, 1.6vw, 26px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--water-800);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat__num small { font-size: 0.6em; font-weight: 600; color: var(--water-500); margin-left: 2px; }
.stat__label { font-size: 0.86rem; color: var(--muted); }

/* ---------- 10. Табы / фильтры ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab, .chip-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover, .chip-filter:hover { border-color: var(--water-400); color: var(--water-700); }
.tab.is-active, .chip-filter.is-active {
  background: var(--water-800);
  border-color: var(--water-800);
  color: #fff;
}
.tab__count { font-size: 0.76rem; opacity: 0.7; }

/* ---------- 11. Карточка водоёма ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }

.card-water {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.card-water:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--water-200); }
.card-water:focus-visible { outline-offset: 3px; }
.card-water__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--water-100);
}
.card-water--wide .card-water__media { aspect-ratio: 16 / 10; }
.card-water__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card-water:hover .card-water__media img { transform: scale(1.05); }
.card-water__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 33, 45, 0.18) 0%, transparent 36%);
  pointer-events: none;
}
.badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--water-800);
}
.badge--river { color: #0b6b5b; }
.badge--vdhr { color: #0a5a8a; }
.card-water__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
  flex: 1;
}
.card-water__title { font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -0.025em; }
.card-water__title a::after { content: ""; position: absolute; inset: 0; }
.card-water__place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}
.card-water__place .icon { width: 14px; height: 14px; color: var(--water-500); }
.card-water__desc { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.card-water__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
}
.card-water__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-water__meta .icon { width: 15px; height: 15px; color: var(--water-500); }

/* ---------- 12. Рыбалка ---------- */
.fishing-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #edf7fb 0%, #dceff6 60%, #d3eaf3 100%);
  border: 1px solid rgba(10, 107, 138, 0.1);
}
.fishing-panel::before {
  content: "";
  position: absolute;
  right: -10%; top: -40%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 65%);
  pointer-events: none;
}
.fishing-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 4.5vw, 64px);
}
.fishing-panel h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.fishing-panel__text { margin-top: 16px; color: var(--ink-2); max-width: 460px; }
.fish-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fish-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.12);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--water-900);
  box-shadow: 0 4px 12px -8px rgba(8, 42, 56, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.fish-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.fish-chip span { font-size: 0.72rem; color: var(--muted); }

.article-rows { display: grid; gap: 10px; align-content: start; }
.article-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.article-row:hover { background: #fff; transform: translateX(4px); box-shadow: var(--shadow-sm); }
.article-row__img { width: 96px; height: 76px; border-radius: 10px; object-fit: cover; }
.article-row__body { min-width: 0; display: block; }
.article-row__cat { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--water-600); }
.article-row__title { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: -0.015em; }
.article-row__meta { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--muted); }

/* ---------- 13. Отдых ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(16px, 2vw, 26px);
}
.feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 44vw, 520px);
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.feature:hover img { transform: scale(1.04); }
.feature::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 33, 45, 0.05) 30%, rgba(4, 33, 45, 0.82) 100%);
}
.feature__body { max-width: 480px; }
.feature__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feature h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.15; }
.feature p { margin-top: 10px; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; max-width: 420px; }
.feature__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 0.92rem; }
.feature__link svg { width: 18px; height: 18px; transition: transform 0.3s; }
.feature:hover .feature__link svg { transform: translateX(4px); }

.mini-stack { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.mini-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--r-md);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.mini-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.mini-card:hover img { transform: scale(1.05); }
.mini-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 33, 45, 0) 20%, rgba(4, 33, 45, 0.8) 100%); }
.mini-card__cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--water-200); }
.mini-card h3 { margin-top: 6px; font-size: 1.12rem; line-height: 1.25; }

.base-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(24px, 3vw, 36px); }
.base-card {
  display: flex;
  gap: 16px;
  padding: 14px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.base-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--water-200); }
.base-card__img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; }
.base-card__body { min-width: 0; }
.base-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; letter-spacing: -0.015em; }
.base-card__loc { margin-top: 4px; font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.base-card__loc .icon { width: 13px; height: 13px; color: var(--water-500); }
.base-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.base-card__tags span { font-size: 0.7rem; padding: 3px 8px; border-radius: var(--r-pill); background: var(--water-50); color: var(--water-700); }

/* ---------- 14. Форум ---------- */
.forum-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.thread-list { display: grid; gap: 2px; }
.thread {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 16px;
  border-radius: var(--r);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.thread:hover { background: #fff; }
.thread__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}
.thread__avatar--alt { background: linear-gradient(135deg, #0a5a8a, #47bcd6); }
.thread__avatar--warm { background: linear-gradient(135deg, #b57a2e, #eeb15c); }
.thread__title { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; }
.thread__body { display: block; min-width: 0; }
.thread__excerpt { display: block; margin-top: 4px; color: var(--muted); font-size: 0.87rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.thread__meta { display: flex; margin-top: 8px; flex-wrap: wrap; gap: 12px; font-size: 0.76rem; color: var(--muted-2); }
.thread__meta span { display: inline-flex; align-items: center; gap: 5px; }
.thread__meta .icon { width: 13px; height: 13px; }
.thread__replies {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 46px;
  padding: 6px 10px;
  border-radius: 12px;
  background: var(--water-50);
  color: var(--water-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}
.thread__replies small { font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }

.side-card {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.side-card + .side-card { margin-top: 16px; }
.side-card h3 { font-size: 1.08rem; }
.side-card p { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.side-card .btn { margin-top: 18px; }
.side-card--deep { background: var(--grad); border: 0; color: #fff; }
.side-card--deep p { color: rgba(255, 255, 255, 0.8); }

/* ---------- 15. CTA-полоса ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(115deg, #06374a 0%, #0a6b8a 58%, #1389ab 100%);
  color: #fff;
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -8%; bottom: -60%;
  width: 55%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 205, 227, 0.34), transparent 62%);
  z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 20 Q15 8 30 20 T60 20 T90 20 T120 20' fill='none' stroke='rgba(255,255,255,.06)' stroke-width='1.5'/%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0.9;
}
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 560px; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.8); max-width: 480px; }

/* ---------- 16. Подвал ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(48px, 6vw, 84px);
  background: #062b3b;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background:
    radial-gradient(60% 120px at 20% 0%, rgba(52, 160, 190, 0.25), transparent 70%),
    radial-gradient(50% 100px at 80% 0%, rgba(34, 163, 196, 0.18), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
}
.footer-brand .brand__name { color: #fff; font-size: 1.3rem; }
.footer-brand .brand__sub { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 0.9rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-socials a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.footer-socials .icon { width: 17px; height: 17px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-size: 0.92rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.82); }
.footer-contact .icon { width: 16px; height: 16px; color: var(--water-300); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); }

/* ---------- 17. Хлебные крошки и заголовок страницы ---------- */
.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
  padding-bottom: clamp(26px, 3.4vw, 44px);
  background:
    radial-gradient(70% 260px at 12% 0%, rgba(71, 188, 214, 0.18), transparent 70%),
    linear-gradient(180deg, #eaf5f9 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(10, 107, 138, 0.07);
}
.page-head--article { background: linear-gradient(180deg, #f7fbfd 0%, var(--bg) 100%); }
.page-head__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 860px; text-wrap: balance; }
.page-head p { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 1.05rem; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 0.82rem; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color 0.2s; }
.crumbs a:hover { color: var(--water-700); }
.crumbs svg { width: 13px; height: 13px; opacity: 0.5; }
.crumbs span[aria-current] { color: var(--ink-2); }

/* ---------- 18. Каталог ---------- */
.filterbar {
  position: sticky;
  top: 68px;
  z-index: 40;
  padding: 14px 0;
  background: rgba(243, 249, 251, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.filterbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; }
.filterbar .tabs { flex: 1 1 auto; }
.filterbar__right { display: flex; align-items: center; gap: 10px; }
.result-count { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.result-count b { color: var(--ink); font-weight: 700; }
.select {
  appearance: none;
  padding: 9px 38px 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b7a88' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-size: 0.88rem;
  color: var(--ink-2);
  cursor: pointer;
}
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(24px, 3vw, 36px); }
.empty-state {
  display: none;
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-state.is-visible { display: block; }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--water-300); }

/* ---------- 19. Статья ---------- */
.article-hero {
  position: relative;
  margin-top: clamp(18px, 2.4vw, 30px);
  border-radius: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 540px;
  background: var(--water-100);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero figcaption {
  position: absolute;
  left: 18px; bottom: 16px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(4, 33, 45, 0.55);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--water-500); }
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--water-100);
  color: var(--water-800);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 330px;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(32px, 4vw, 56px);
}

.article-body { font-size: 1.075rem; line-height: 1.78; color: var(--ink-2); max-width: 720px; }
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  color: var(--ink);
  line-height: 1.25;
  scroll-margin-top: 110px;
}
.article-body h2 + p { margin-top: 0.9em; }
.article-body h3 {
  margin-top: 1.9em;
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
  color: var(--ink);
  scroll-margin-top: 110px;
}
.article-body h4 {
  margin-top: 1.6em;
  font-size: 1.02rem;
  color: var(--water-800);
  letter-spacing: 0;
}
.article-body p { margin-top: 1.1em; }
.article-body a { color: var(--water-700); text-decoration: underline; text-decoration-color: rgba(14, 134, 168, 0.35); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--water-500); }
.article-body ul, .article-body ol { margin-top: 1.1em; padding-left: 1.2em; }
.article-body ul li { position: relative; margin-top: 0.5em; padding-left: 1.1em; list-style: none; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--water-400);
}
.article-body ol { list-style: decimal; }
.article-body ol li { margin-top: 0.5em; padding-left: 0.3em; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body img { border-radius: var(--r); margin-block: 1.6em; width: 100%; }
.article-body figure { margin-block: 1.6em; }
.article-body figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.article-body blockquote {
  margin-block: 1.8em;
  padding: 22px 26px;
  border-left: 3px solid var(--water-400);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--water-50);
  color: var(--ink);
  font-size: 1.05rem;
  font-style: italic;
}
.article-body code { font-size: 0.9em; }

.fact-callout {
  position: relative;
  margin-block: 1.8em;
  padding: 22px 24px 22px 62px;
  border-radius: var(--r);
  background: linear-gradient(120deg, #eef8fb, #e0f2f8);
  border: 1px solid rgba(31, 163, 196, 0.18);
  color: var(--water-900);
  font-size: 0.98rem;
  line-height: 1.6;
}
.fact-callout::before {
  content: "";
  position: absolute;
  left: 22px; top: 22px;
  width: 26px; height: 26px;
  background: var(--water-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.9 5.3L19 10l-5.1 1.8L12 17l-1.9-5.2L5 10l5.1-1.7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.9 5.3L19 10l-5.1 1.8L12 17l-1.9-5.2L5 10l5.1-1.7z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fact-callout strong { color: var(--water-800); }

.article-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.facts-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.facts-card h3 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts-list { margin-top: 16px; display: grid; gap: 14px; }
.facts-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.facts-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-list dt { font-size: 0.83rem; color: var(--muted); }
.facts-list dd { margin: 0; font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--ink); text-align: right; }
.toc { padding: 22px 24px; border-radius: var(--r-md); background: var(--water-50); border: 1px solid rgba(31, 163, 196, 0.14); }
.toc h3 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--water-700); font-weight: 700; }
.toc ol { margin-top: 14px; display: grid; gap: 9px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; font-size: 0.875rem; line-height: 1.4; color: var(--ink-2); transition: color 0.2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--water-500); padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--water-700); }
.toc a.is-active { font-weight: 600; }

.weather-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-block: 2em;
  padding: 24px 26px;
  border-radius: var(--r-md);
  background: linear-gradient(120deg, #eef8fb 0%, #ddf1f7 100%);
  border: 1px solid rgba(31, 163, 196, 0.2);
}
.weather-card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #fff;
  color: var(--water-600);
  box-shadow: var(--shadow-xs);
  flex: none;
}
.weather-card__icon .icon { width: 28px; height: 28px; }
.weather-card__body { flex: 1 1 260px; }
.weather-card__body .eyebrow { margin-bottom: 6px; }
.weather-card__body h3 { font-size: 1.15rem; color: var(--ink); }
.weather-card__body p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.weather-card .btn { flex: none; }

.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: var(--grad);
  transition: width 0.1s linear;
}

.share-row { display: flex; gap: 8px; margin-top: 18px; }
.share-row button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--water-700);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.share-row button:hover { background: var(--water-50); border-color: var(--water-300); }

/* ---------- 20. Комментарии ---------- */
.comments { margin-top: clamp(40px, 5vw, 64px); }
.comments__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.comments__head h2 { font-size: 1.4rem; }
.comments__count { font-size: 0.9rem; color: var(--muted); }
.comment {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.comment__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #0a6b8a, #47bcd6);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.comment:nth-child(3n) .comment__avatar { background: linear-gradient(140deg, #0b5e7d, #2bb3ce); }
.comment:nth-child(4n) .comment__avatar { background: linear-gradient(140deg, #a9772f, #eeb15c); }
.comment__name { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.comment__date { font-size: 0.78rem; color: var(--muted-2); font-weight: 400; }
.comment__text { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }
.comment__actions { display: flex; gap: 16px; margin-top: 8px; }
.comment__actions button { border: 0; background: none; padding: 0; font-size: 0.8rem; font-weight: 600; color: var(--water-700); cursor: pointer; }
.comment__actions button:hover { text-decoration: underline; }
.comment--reply { margin-left: 60px; padding-left: 0; }

/* Вложенные комментарии: список должен занимать всю ширину, а не колонку аватара. */
.comment > .children {
  grid-column: 1 / -1;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.comment > .children > .comment { padding-bottom: 0; }
.comment__name { flex-wrap: wrap; }
.comment__date { white-space: nowrap; }
.comment__text { overflow-wrap: anywhere; }

.comment-form { margin-top: 26px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-md); background: var(--water-50); border: 1px solid rgba(31, 163, 196, 0.16); }
.comment-form h3 { font-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--water-400); box-shadow: 0 0 0 3px rgba(31, 163, 196, 0.12); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { margin-top: 10px; font-size: 0.76rem; color: var(--muted); }

/* ---------- 21. Похожие материалы ---------- */
.related { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }

/* ---------- 22. Рыбы ---------- */
.fish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fish-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.fish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--water-200); }
.fish-card__img { height: 74px; display: grid; place-items: center; }
.fish-card__img img { max-height: 74px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.fish-card__name { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.fish-card__season { margin-top: 3px; font-size: 0.76rem; color: var(--muted); }
.fish-card--more { background: var(--water-50); border-style: dashed; border-color: rgba(31, 163, 196, 0.35); }
.fish-card--more .fish-card__img { color: var(--water-500); }
.fish-card--more .fish-card__img .icon { width: 44px; height: 44px; stroke-width: 1.2; }
.article-rows--wide { grid-template-columns: 1fr 1fr; max-width: none; }
.article-rows--wide .article-row { background: #fff; border-color: var(--line); }
@media (max-width: 760px) { .article-rows--wide { grid-template-columns: 1fr; } }

.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(24px, 3vw, 36px); }
.season-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.season-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--grad);
  opacity: 0.8;
}
.season-card h3 { font-size: 1.05rem; }
.season-card p { margin-top: 8px; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.season-card__month { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--water-600); margin-bottom: 8px; }

/* ---------- 23. О проекте ---------- */
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 2.2vw, 1.85rem); color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; color: var(--ink); }
.prose a { color: var(--water-700); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--water-400); }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.info-card { padding: 26px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.info-card .icon { width: 26px; height: 26px; color: var(--water-600); }
.info-card h3 { margin-top: 16px; font-size: 1.05rem; }
.info-card p { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon-box {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--water-100);
  color: var(--water-700);
  flex: none;
}
.contact-item h4 { font-family: var(--font-display); font-size: 0.95rem; }
.contact-item a, .contact-item p { font-size: 0.92rem; color: var(--muted); }
.contact-item a:hover { color: var(--water-700); }

/* ---------- 24. Дизайн-система (styleguide) ---------- */
.sg-section { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.sg-section h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.sg-section > p { margin-top: 8px; color: var(--muted); max-width: 640px; }
.sg-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }
.swatch { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch__color { height: 84px; }
.swatch__meta { padding: 10px 12px; }
.swatch__name { font-size: 0.78rem; font-weight: 700; }
.swatch__hex { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.type-scale { display: grid; gap: 18px; margin-top: 24px; }
.type-row { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.type-row span { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.sg-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.sg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--sun-soft);
  border: 1px solid rgba(238, 177, 92, 0.3);
  font-size: 0.88rem;
  color: #6b4a15;
}
.note .icon { width: 18px; height: 18px; margin-top: 1px; color: #b57a2e; flex: none; }

/* ---------- 25. Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html.no-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.no-reveal .hero__frame { min-height: 760px; }

/* ---------- 25b. Поиск ---------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh var(--gutter) 24px;
  background: rgba(4, 33, 45, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-modal__panel {
  width: min(100%, 620px);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-10px) scale(0.99);
  transition: transform 0.3s var(--ease);
}
.search-modal.is-open .search-modal__panel { transform: none; }
.search-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.search-modal__head .icon { color: var(--water-600); width: 22px; height: 22px; }
.search-modal__head input {
  flex: 1; min-width: 0;
  border: 0; outline: none;
  font-size: 1.05rem;
  background: transparent;
}
.search-modal__close {
  border: 0; background: var(--water-50);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer; color: var(--muted);
}
.search-modal__close:hover { background: var(--water-100); color: var(--water-800); }
.search-modal__list { max-height: 46vh; overflow-y: auto; padding: 8px; }
.search-modal__list a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 0.94rem;
  transition: background 0.15s;
}
.search-modal__list a:hover, .search-modal__list a:focus-visible { background: var(--water-50); }
.search-modal__list .icon { width: 16px; height: 16px; color: var(--water-400); }
.search-modal__list small { margin-left: auto; color: var(--muted-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.search-modal__empty { padding: 24px 18px; color: var(--muted); font-size: 0.9rem; }
.search-modal__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted-2); }
.search-modal__foot kbd { padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 5px; font-family: inherit; font-size: 0.7rem; }

/* ---------- 25c. Мелкие утилиты ---------- */
.section-note { margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.page-head__aside { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--water-50); border: 1px solid rgba(31, 163, 196, 0.16);
  font-size: 0.78rem; color: var(--water-800);
}
.article-lead { margin-top: 18px; font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.6; color: var(--ink-2); max-width: 760px; }
.source-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* ---------- 26. Адаптив ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 4px; }
  .nav-link { font-size: 0.88rem; }
  .header-link { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand__sub { font-size: 0.6rem; }
  .grid-3, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .fish-grid { grid-template-columns: repeat(4, 1fr); }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .fishing-panel__inner { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .mini-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .base-cards { grid-template-columns: 1fr 1fr; }
  .forum-split { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
  .toc { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .sg-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .hero__frame { min-height: 86svh; }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 33, 45, 0.5) 0%, rgba(4, 33, 45, 0.16) 18%, rgba(4, 33, 45, 0.74) 52%, rgba(4, 33, 45, 0.96) 100%),
      linear-gradient(95deg, rgba(4, 33, 45, 0.55) 0%, rgba(4, 33, 45, 0.22) 55%, rgba(4, 33, 45, 0.1) 100%);
  }
  .hero__media { object-position: 62% 58%; }
  .hero__inner { padding-bottom: 46px; }
  .hero__eyebrow { font-size: 0.68rem; letter-spacing: 0.08em; }
  .stats-wrap { margin-top: -14px; }
  .hero__inner { max-width: none; }
  .hero__scroll { display: none; }
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.7rem); text-shadow: 0 2px 30px rgba(4, 33, 45, 0.45); }
  .hero__lead { text-shadow: 0 1px 18px rgba(4, 33, 45, 0.4); }
  .hero-search { flex-wrap: wrap; padding: 10px; border-radius: var(--r-lg); gap: 10px; }
  .hero-search > svg { margin-left: 8px; }
  .hero-search input { height: 40px; flex-basis: calc(100% - 50px); }
  .hero-search .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .stat { border-left: 0; padding-inline: 0; }
  .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .grid-3, .catalog-grid, .grid-2 { grid-template-columns: 1fr; }
  .fish-grid { grid-template-columns: repeat(2, 1fr); }
  .season-grid { grid-template-columns: 1fr; }
  .mini-stack { grid-template-columns: 1fr; }
  .base-cards { grid-template-columns: 1fr; }
  .comment--reply { margin-left: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .article-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-head { padding-top: calc(var(--header-h) + 20px); }
  .cta-band { padding: 28px 22px; border-radius: var(--r-lg); }
  .article-hero { aspect-ratio: 4 / 3; }
  .thread { grid-template-columns: 40px 1fr; }
  .thread__replies { display: none; }
  .filterbar { top: 0; }
  .filterbar .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; width: 100%; }
  .filterbar .tabs::-webkit-scrollbar { display: none; }
  .result-count { display: none; }
  .toc ol { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .type-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 420px) {
  .brand__sub { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .article-row { grid-template-columns: 76px 1fr; gap: 12px; }
  .article-row__img { width: 76px; height: 66px; }
}

/* ---------- 27. Доступность движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 28. Печать ---------- */
@media print {
  .site-header, .site-footer, .article-side, .comments, .cta-band { display: none; }
  body { background: #fff; }
  .article-layout { grid-template-columns: 1fr; }
}

/* =========================================================
   WordPress: интеграция шаблонов, меню, комментариев, блоков
   ========================================================= */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto; width: auto; height: auto;
  padding: 12px 18px; margin: 0;
  background: #fff; color: var(--water-800);
  border-radius: 8px; z-index: 100000;
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.brand__logo { max-height: 46px; width: auto; border-radius: 10px; }

.nav__list li { position: relative; }
.nav__list .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  padding: 10px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 10;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ink-2);
}
.nav__list .sub-menu a:hover { background: var(--water-50); color: var(--water-700); }
.site-header--over .nav__list .sub-menu a { color: var(--ink-2); }

.pagination { margin-top: 38px; }
.pagination__list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.pagination__list li { list-style: none; }
.pagination__list a,
.pagination__list span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: .9rem;
  color: var(--ink-2);
}
.pagination__list a:hover { border-color: var(--water-400); color: var(--water-700); }
.pagination__list .current {
  background: var(--water-800);
  border-color: var(--water-800);
  color: #fff;
}
.pagination__list .icon { width: 16px; height: 16px; }
.pagination__list .dots { border: 0; background: transparent; }

.share-row__btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--water-700);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.share-row__btn:hover { background: var(--water-50); border-color: var(--water-300); }

.card-water__placeholder {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: var(--grad-soft);
  color: var(--water-400);
}
.card-water__placeholder .icon { width: 56px; height: 56px; }
.article-row__img--empty { display: grid; place-items: center; background: var(--water-50); color: var(--water-400); border-radius: 10px; }
.article-row__img--empty .icon { width: 26px; height: 26px; }

.article-body--wide { max-width: none; }
.article-layout--single { grid-template-columns: minmax(0, 780px); }
.article-layout--single .article-side { display: none; }

/* Блоки Gutenberg */
.article-body > .alignwide { width: min(100%, 1100px); margin-left: 50%; transform: translateX(-50%); }
.article-body > .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.article-body .wp-block-image img { border-radius: var(--r); }
.article-body .wp-block-image figcaption { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 8px; }
.article-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.article-body .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  background: var(--water-700); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-decoration: none;
}
.article-body .wp-block-button__link:hover { background: var(--water-600); }
.article-body .wp-block-group.is-style-ozera-fact {
  padding: 22px 24px 22px 62px;
  border-radius: var(--r);
  background: linear-gradient(120deg, #eef8fb, #e0f2f8);
  border: 1px solid rgba(31, 163, 196, .18);
  position: relative;
}
.article-body .wp-block-group.is-style-ozera-fact::before {
  content: ""; position: absolute; left: 22px; top: 24px;
  width: 26px; height: 26px; background: var(--water-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.9 5.3L19 10l-5.1 1.8L12 17l-1.9-5.2L5 10l5.1-1.7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.9 5.3L19 10l-5.1 1.8L12 17l-1.9-5.2L5 10l5.1-1.7z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.article-body .is-style-ozera-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink); }
.article-body .is-style-ozera-note {
  padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--sun-soft); border: 1px solid rgba(238, 177, 92, .3);
  color: #6b4a15; font-size: .9rem;
}
.article-body .wp-block-quote.is-style-ozera-quote { border-left-color: var(--water-400); background: var(--water-50); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--water-50); font-family: var(--font-display); }

/* Комментарии */
.comments .comment-list { list-style: none; }
.comment__body { min-width: 0; }
.comment__text p:last-child { margin-bottom: 0; }
.comment__text a { color: var(--water-700); }
.comment__actions a { font-size: .8rem; font-weight: 600; color: var(--water-700); }
.comments-closed { margin-top: 18px; color: var(--muted); }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-form__title,
.comment-form .form-note,
.comment-form .form-submit,
.comment-form .field--full,
.comment-form .comment-form-cookies-consent,
.comment-form .ozera-hp { grid-column: 1 / -1; }
.comment-form .form-submit { margin: 4px 0 0; }
.comment-form .field { display: grid; gap: 6px; }
.comment-form .field input,
.comment-form .field textarea { width: 100%; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.comment-form .comment-form-cookies-consent input { width: auto; margin-top: 3px; }
.form-submit .btn { margin-top: 4px; }
@media (max-width: 640px) { .comment-form { grid-template-columns: 1fr; } }

/* CF7 */
.contact-form-wrap .wpcf7-form { display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-md); background: var(--water-50); border: 1px solid rgba(31, 163, 196, .16); }
.contact-form-wrap .wpcf7-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form-wrap .wpcf7-form p { margin: 0; }
.contact-form-wrap .wpcf7-form label { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.contact-form-wrap .wpcf7-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: .82rem; color: var(--muted); }
.contact-form-wrap .wpcf7-form .wpcf7-acceptance input { width: auto; margin-top: 3px; }
.contact-form-wrap .wpcf7-list-item { margin: 0; }
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; font: inherit; font-size: .95rem;
}
.contact-form-wrap .wpcf7-form textarea { min-height: 120px; resize: vertical; }
.contact-form-wrap .wpcf7-form input[type="submit"] {
  min-height: 48px; padding: 12px 26px; border: 0; border-radius: 999px;
  background: var(--water-700); color: #fff; font-family: var(--font-display);
  font-weight: 700; cursor: pointer;
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover { background: var(--water-600); }
.contact-form-wrap .wpcf7-not-valid-tip { color: #a12f2f; font-size: .78rem; }
.contact-form-wrap .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: 12px; border: 0; background: #e8f5ec; color: #1e5b33; font-size: .88rem; }
.contact-form-wrap .wpcf7-spinner { display: none; }
@media (max-width: 640px) { .contact-form-wrap .wpcf7-form .form-grid { grid-template-columns: 1fr; } }

/* Мелкие правки под WP */
.ozera-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.comment-form .ozera-hp { grid-column: auto; }
.wp-block-shortcode iframe { max-width: 100%; }
.article-body iframe { max-width: 100%; border-radius: var(--r); }
.article-body .wp-block-image { margin-block: 1.6em; }

/* Уведомления форм */
.form-note { color: var(--muted); }

/* Активная ссылка на светлой шапке */
.site-header.is-solid .nav-link[aria-current="page"] { color: var(--water-700); }
.site-header.is-solid .nav-link[aria-current="page"]::after { background: var(--water-600); }

/* Пользователь в шапке */
.header-user {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px 4px 4px;
	border-radius: 999px;
	transition: background .2s;
}
.header-user:hover { background: rgba(10, 107, 138, .08); }
.header-user__avatar {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--grad);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .82rem;
}
.header-user__name {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .85rem;
	font-weight: 600;
}
.site-header--over .header-user { color: #fff; }
.site-header--over .header-user:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 980px) { .header-user__name { display: none; } }
@media (max-width: 760px) { .header-login { display: none; } }

/* О проекте: контактный блок */
.about-contact { padding-top: 0; }
.about-contact .contact-grid { align-items: start; }
.about-contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-contact .contact-form-wrap { background: #fff; }

/* Баннер на главной */
.home-banner-section { padding: 26px 0; background: var(--water-50); }
.home-banner { position: relative; width: 100%; height: var(--banner-height, 220px); border-radius: var(--r-lg); overflow: hidden; background: var(--water-100); }
.home-banner__link { display: block; width: 100%; height: 100%; }
.home-banner__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-banner--full { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; }
.home-banner__html { width: 100%; height: 100%; overflow: hidden; }
.home-banner__html img { max-width: 100%; height: auto; }
.home-banner__html iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) {
	.home-banner-section { padding: 18px 0; }
	.home-banner { height: min(var(--banner-height, 220px), 240px); }
}
