/* ============================================================
   СНТ «Восход» — Кисловодск
   Палитра и шрифты взяты с прежнего сайта: Oswald + Rubik,
   оранжевый #ff8b00, зелёный #71bc42, тёмный #212529.
   ============================================================ */

:root {
  --green-950: #01280a;
  --green-900: #023608;
  --green-800: #0d4a11;
  --green-700: #185e13;
  --green-600: #23761c;
  --green-500: #2f8f24;
  --leaf: #71bc42;
  --orange: #ff8b00;
  --orange-600: #e07a00;
  --purple: #7a5e86;
  --ink: #212529;
  --ink-soft: #343a40;
  --muted: #6c757d;
  --line: #e6e9ec;
  --paper: #ffffff;
  --paper-2: #f7f8f6;
  --paper-3: #f1f4ef;
  --shadow-sm: 0 2px 10px rgba(15, 40, 15, .06);
  --shadow-md: 0 14px 40px -18px rgba(10, 45, 12, .35);
  --shadow-lg: 0 40px 80px -40px rgba(6, 35, 8, .55);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --head-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-body: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Oswald", "Rubik", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15.5px, .55vw + 14px, 17px);
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-600); }

h1, h2, h3, h4, .h1, .h2 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

p { margin: 0 0 1.1em; }

.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--green-800); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 10px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- прогресс прокрутки ---------- */
.scroll-progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--leaf), var(--orange));
  z-index: 120; transition: width .1s linear;
}

/* ---------- верхняя строка ---------- */
.topbar {
  /* Градиент по заданию: тёмно-синий → зелёный → оранжевый. */
  background: #004763;
  background: linear-gradient(90deg, rgba(0, 71, 99, 1) 0%, rgba(3, 94, 41, 1) 80%, rgba(255, 157, 0, 1) 100%);
  color: #f2faf6;
  /* Шрифт: Rubik — тот же, что во всём сайте, у него крупный «икс-высота»:
     мелкий текст читается лучше, чем у узкого Oswald. 500 — чтобы не «худел» на цветном фоне. */
  font-family: var(--font-body);
  font-size: .875rem;            /* 14px — минимальный комфортный кегль для служебной строки */
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .005em;        /* без разрежённости: она мешает читать мелкий текст */
  font-feature-settings: "kern" 1;
  font-variant-numeric: tabular-nums;   /* цифры телефона одной ширины — ровная строка */
  text-shadow: 0 1px 2px rgba(0, 24, 32, .45);  /* подложка под буквы на светлом краю */
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.topbar .container { display: flex; align-items: center; gap: 26px; min-height: 46px; flex-wrap: wrap; }
.topbar a { color: #ffffff; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar .spacer { flex: 1; }
.topbar svg { width: 16px; height: 16px; opacity: .95; }
.topbar .max-link img { width: 16px; height: 16px; }
/* Правая ссылка стоит на оранжевом конце: белый текст там плохо читается,
   поэтому под ним полупрозрачная тёмная плашка — контраст выше 4,5:1. */
.topbar .topbar-account {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 26, 34, .42);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s var(--ease);
}
.topbar .topbar-account:hover { background: rgba(0, 26, 34, .58); text-decoration: none; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(33, 37, 41, .07);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(2, 54, 8, .55); background: rgba(255, 255, 255, .95); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem;
  letter-spacing: .06em; color: var(--green-800); text-transform: uppercase;
}
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .06em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; color: var(--ink-soft); font-size: .95rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); border-radius: 2px;
}
.nav a:hover { color: var(--green-800); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green-800); }

.header-cta {
  margin-left: 10px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 500; font-size: .92rem;
  color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-600));
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.header-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.burger {
  display: none; width: 46px; height: 46px; margin-left: auto;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 110;
  background: #fff; padding: 88px 28px 32px; transform: translateX(102%);
  transition: transform .4s var(--ease); box-shadow: -30px 0 60px -40px rgba(0, 0, 0, .4);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); color: var(--ink); }
body.menu-open .mobile-nav { transform: none; }
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(1, 30, 4, .45); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease); z-index: 105;
}
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* ---------- герой ---------- */
.hero {
  position: relative; min-height: min(92vh, 780px); display: flex; align-items: center;
  isolation: isolate; overflow: hidden; color: #fff;
  background: var(--green-950);
}
.hero-media {
  position: absolute; inset: -12% 0 -12%; z-index: -3;
  background: url("/assets/img/hero-elbrus.webp") center 42% / cover no-repeat;
  will-change: transform;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 520px at 15% 10%, rgba(113, 188, 66, .28), transparent 60%),
    linear-gradient(180deg, rgba(1, 26, 6, .72) 0%, rgba(1, 30, 7, .55) 40%, rgba(1, 24, 5, .86) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .12) 60%, var(--paper));
}
.hero .container { position: relative; z-index: 2; padding: clamp(70px, 12vh, 130px) 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px; border-radius: 999px; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: #eaf6e2;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(113, 188, 66, .25); }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.hero-lead { font-size: clamp(1rem, 1.25vw, 1.2rem); color: #e6efdf; max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 500; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #241300; background: linear-gradient(135deg, #ffa62b, var(--orange));
  box-shadow: 0 18px 34px -18px rgba(255, 139, 0, .85);
}
.btn-primary:hover { color: #241300; transform: translateY(-3px); box-shadow: 0 24px 44px -18px rgba(255, 139, 0, .95); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-3px); }
.btn-outline { color: var(--green-800); border-color: rgba(24, 94, 19, .35); background: transparent; }
.btn-outline:hover { color: var(--green-900); background: rgba(113, 188, 66, .12); transform: translateY(-3px); }

.hero-cards {
  position: absolute; right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 72px;
  display: flex; gap: 14px; z-index: 3;
}
.glass-card {
  width: 190px; padding: 16px 18px; border-radius: 16px;
  background: rgba(12, 40, 12, .38); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); box-shadow: 0 20px 40px -30px #000;
  color: #eef7e8; font-size: .82rem; line-height: 1.5;
  transform-style: preserve-3d;
}
.glass-card b { display: block; font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .04em; color: #fff; margin-bottom: 2px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255, 255, 255, .78); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
}
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255, 255, 255, .8), transparent); animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.55); opacity: .5; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* ---------- секции ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--paper-2), #fff); }
.section--paper { background: var(--paper-3); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-600); font-weight: 500; margin-bottom: 12px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.section-head.center .eyebrow::before { margin-right: 10px; }

.split { display: grid; grid-template-columns: 1.35fr .95fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.split.rev { grid-template-columns: .95fr 1.35fr; }

.media-frame {
  position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md);
  transform-style: preserve-3d; will-change: transform;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

/* ---------- карточки «жителям» ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.info-card {
  position: relative; padding: 26px 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.info-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--orange)); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(113, 188, 66, .4); }
.info-card:hover::before { transform: scaleX(1); }
.info-card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(113, 188, 66, .14); color: var(--green-700);
}
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h3 { margin-bottom: .35em; font-size: 1.12rem; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- новости ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.news-card {
  position: relative;
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit;
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.news-card:hover { color: inherit; box-shadow: var(--shadow-lg); border-color: rgba(255, 139, 0, .35); }
.news-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s var(--ease); }
.news-card:hover .thumb img { transform: scale(1.07); filter: saturate(1.08); }
.news-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 32, 6, .35));
  opacity: 0; transition: opacity .4s var(--ease);
}
.news-card:hover .thumb::after { opacity: 1; }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.news-card h3 { font-size: 1.16rem; line-height: 1.3; margin-bottom: .5em; }
.news-card .excerpt { color: var(--muted); font-size: .93rem; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Кликабельны только заголовок и ссылка «Читать» (по слову председателя 26.10.2026). */
.news-card .card-title { color: inherit; }
.news-card .card-title:hover { color: var(--orange-600); }
.news-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--orange-600); font-weight: 500; font-size: .92rem; }
.news-card .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-card:hover .more svg { transform: translateX(5px); }
.news-card .card-title:focus-visible, .news-card .more:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- внутренняя страница / статья ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: var(--green-900); min-height: 330px; display: flex; align-items: flex-end;
}
.page-hero .hero-media { inset: -10% 0; filter: saturate(.9) brightness(.72); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(1, 26, 6, .55), rgba(1, 30, 7, .82));
}
.page-hero .container { padding: clamp(48px, 8vw, 90px) 0 clamp(34px, 5vw, 56px); position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 26ch; }
.page-hero .meta { color: #dbe9d4; font-size: .85rem; letter-spacing: .04em; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.page-hero .meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0 0 22px; padding: 0; font-size: .82rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; color: #cfdcccb0; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.crumbs a { color: #e7f1e1; }
.crumbs a:hover { color: #fff; }
.crumbs .active { color: #fff; }

.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.article {
  font-size: clamp(15.5px, .5vw + 14.4px, 17px);
  color: #2c3237; text-align: justify; hyphens: auto;
}
.article > * { max-width: 72ch; }
.article .art-img { border-radius: 16px; margin: 6px 0 26px; box-shadow: var(--shadow-md); transition: transform .6s var(--ease); }
.article .art-img:hover { transform: scale(1.012); }
.article h2 { margin-top: 1.9em; color: var(--green-900); text-align: left; }
.article h3 { margin-top: 1.5em; color: var(--ink); text-align: left; }
.article a { text-decoration: underline; text-decoration-color: rgba(255, 139, 0, .45); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--orange); }
.article ul, .article ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article b, .article strong { color: var(--ink); }
.article blockquote {
  margin: 28px 0; padding: 20px 24px 20px 26px; border-left: 4px solid var(--orange);
  background: linear-gradient(90deg, rgba(255, 139, 0, .08), rgba(255, 139, 0, .02));
  border-radius: 0 14px 14px 0; color: var(--ink-soft);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .92rem; text-align: left; }
.article th, .article td { border: 1px solid var(--line); padding: 11px 14px; vertical-align: top; }
.article th { background: var(--paper-3); font-family: var(--font-head); font-weight: 500; letter-spacing: .03em; }
.article tr:hover td { background: rgba(113, 188, 66, .05); }
.article img { border-radius: 14px; }

.article-foot { max-width: 72ch; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }

.side { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side-list a { display: block; font-size: .93rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.side-list a:hover { color: var(--orange-600); }
.side-list span { display: block; font-size: .76rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
.side-card--cta { background: linear-gradient(160deg, var(--green-800), var(--green-950)); color: #e8f3e2; border: 0; }
.side-card--cta h3 { color: #fff; }
.side-card--cta p { font-size: .9rem; color: #d6e6cf; }
.side-card--cta .btn { width: 100%; margin-top: 6px; }

/* ---------- контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(113, 188, 66, .14); color: var(--green-700); }
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row b { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-row a, .contact-row span.val { color: var(--ink); font-size: 1rem; }
.contact-row a:hover { color: var(--orange-600); }
.req-card { margin-top: 20px; background: var(--paper-3); border-radius: var(--radius); padding: 22px 24px; font-size: .93rem; }
.req-card h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-800); margin-bottom: 12px; }
.req-card p { margin: 0 0 .4em; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-3); min-height: 420px; }
/* Левая колонка короче правой: держим контакты на виду, пока заполняют форму. */
@media (min-width: 1025px) {
  .contact-grid > .contact-col { position: sticky; top: calc(var(--head-h) + 18px); }
}
/* Колонка справа: карта, сразу под ней — форма связи в той же ширине. */
.contact-side { display: grid; gap: clamp(18px, 2.4vw, 26px); align-content: start; }
.contact-side .map-card { min-height: 420px; }
.map-form .form-section { padding: 0; }
.map-form .form-card { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--radius); }
.map-form .form-head { margin-bottom: 18px; }
.map-form .form-head h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.map-form .form-grid { grid-template-columns: 1fr; gap: 14px; }   /* в узкой колонке поля в один столбец */
.map-form .form-note { font-size: .78rem; }
.map-form .form-actions .btn { width: 100%; justify-content: center; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.95); }

/* ---------- правовые страницы ---------- */
.legal-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 8vw, 92px); align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 20px); font-size: .9rem; }
.toc h3 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; color: var(--ink-soft); border-left: 2px solid var(--line); padding-left: 14px; }
.toc a:hover, .toc a.active { color: var(--green-800); border-color: var(--orange); }

/* ---------- подвал ---------- */
/* Подвал: тот же ряд цветов, что у верхней строки (синий → зелёный → оранжевый),
   но в тёмном ключе и без резких стыков. Три слоя: оранжевое тепло у правого края,
   синяя глубина слева внизу, между ними ровный зелёный. */
.site-footer {
  position: relative; color: #dbe9d5;
  background:
    radial-gradient(1100px 460px at 88% -12%, rgba(255, 157, 0, .16), transparent 62%),
    radial-gradient(900px 500px at 4% 112%, rgba(0, 71, 99, .55), transparent 68%),
    linear-gradient(168deg, #07432e 0%, #06492a 48%, #04301a 100%);
  padding: clamp(46px, 6vw, 74px) 0 0; overflow: hidden;
  isolation: isolate;
  /* Скошенный верхний край вместо «отрезанной плашки»: подвал мягко выходит из белого. */
  border-radius: clamp(20px, 3vw, 34px) clamp(20px, 3vw, 34px) 0 0;
  margin-top: clamp(-34px, -2.4vw, -20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 -22px 44px -30px rgba(2, 42, 12, .45);
}
/* Мягкая световая кромка сверху: убирает «отрезанную плашку» на стыке с контентом. */
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 96px; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .04) 45%, transparent 100%);
  pointer-events: none;
}
/* Тёплый отблеск под копирайтом — перекликается с оранжевым в верхней строке. */
.site-footer::after {
  content: ""; position: absolute; inset: auto -6% -46% auto; width: 62%; height: 300px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 157, 0, .10), transparent 72%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 56px); position: relative; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #a9c6a0; }
.footer-brand p { margin-top: 16px; font-size: .9rem; color: #bcd5b3; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: #d9e7d3; font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 0; height: 1px; background: var(--orange); transition: width .3s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 14px; }
.footer-contact p { margin: 0 0 10px; font-size: .92rem; color: #d9e7d3; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 4px; color: #b7d2ae; }
.footer-contact a { color: #eaf5e5; }
.footer-contact a:hover { color: #fff; }
.site-footer { padding-bottom: 8px; }
.footer-bottom {
  margin-top: clamp(30px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 20px 0; font-size: .85rem; line-height: 1.55; color: #c9dcc1;
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
}
.footer-bottom a { color: #eaf5e5; text-decoration-color: rgba(255, 255, 255, .35); }
.footer-bottom a:hover { color: #fff; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--green-800);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: #241300; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- cookie ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
  max-width: 720px; margin-inline: auto; padding: 16px 18px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-size: .88rem; color: var(--ink-soft);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie-bar.show { transform: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 9px 18px; font-size: .86rem; }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(.96); }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .hero-cards { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .split, .split.rev, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .media-frame { order: -1; }
  .side { grid-template-columns: 1fr; }
  .topbar .container { gap: 14px; min-height: 40px; font-size: .8125rem; }
  .topbar .hide-sm { display: none; }
  .hero { min-height: 78vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .article { text-align: left; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--wrap)); }
  .news-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .btn { width: 100%; }
  .section-head, .article-foot { text-align: left; }
  .article table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-media { transform: none !important; }
}

/* печать */
@media print {
  .site-header, .topbar, .cookie-bar, .to-top, .scroll-progress, .hero-cards, .side, .scroll-hint { display: none !important; }
  .hero, .page-hero { min-height: 0; color: #000; background: #fff; }
  .hero h1, .page-hero h1 { color: #000; }
  body { font-size: 12pt; }
}

/* ============================================================
   Личный кабинет (копия разделов прежнего сайта)
   ============================================================ */
.page-hero--short { min-height: 240px; }
.page-hero--short .container { padding: clamp(34px,5vw,58px) 0 clamp(26px,3.5vw,40px); }
.page-hero--short h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0; }

.lk-wrap { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: clamp(24px,3.5vw,48px); padding: clamp(34px,5vw,60px) 0 clamp(56px,7vw,92px); align-items: start; }

.lk-side { position: sticky; top: calc(var(--head-h) + 18px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.lk-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.lk-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-500)); }
.lk-user b { display: block; font-size: .98rem; }
.lk-user span { display: block; font-size: .78rem; color: var(--muted); }

.lk-nav { display: grid; gap: 4px; }
.lk-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--ink-soft); font-size: .93rem; transition: background .2s var(--ease), color .2s var(--ease); }
.lk-nav a svg { width: 17px; height: 17px; color: var(--muted); flex: 0 0 17px; }
.lk-nav a:hover { background: var(--paper-3); color: var(--green-800); }
.lk-nav a:hover svg, .lk-nav a.active svg { color: var(--green-600); }
.lk-nav a.active { background: rgba(113,188,66,.14); color: var(--green-800); font-weight: 500; }
.lk-logout { display: block; margin-top: 14px; padding: 10px 12px; font-size: .88rem; color: #b0392f; border-top: 1px solid var(--line); }
.lk-logout:hover { color: #8d2a22; }

.lk-content { min-width: 0; }
.lk-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px,2.6vw,32px); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.lk-block > h2 { font-size: clamp(1.25rem,1.7vw,1.6rem); margin-bottom: .5em; }
.lk-block > h3 { margin-top: 0; font-size: 1.06rem; }
.lk-block .lead { font-weight: 500; color: var(--green-800); margin-bottom: .6em; }
.lk-block .muted { color: var(--muted); }
.lk-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,40px); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.stat { position: relative; padding: 18px 16px; border-radius: 14px; background: linear-gradient(160deg, #f4f8f1, #fff); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--green-800); margin-bottom: 4px; }
.stat span { font-size: .82rem; color: var(--muted); }
.stat-ico { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(113,188,66,.16); color: var(--green-700); }
.stat-ico svg { width: 18px; height: 18px; }

.lk-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.lk-list a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 500; }
.lk-list a span { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.lk-list a:hover { color: var(--orange-600); }
.lk-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lk-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.lk-facts span { color: var(--muted); }

.lk-form { display: grid; gap: 14px; }
.field { display: block; }
.field > span { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 6px; font-weight: 500; }
.field > span i { color: var(--orange); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fcfdfc;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 4px rgba(113,188,66,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.file-field .file-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 16px; background: var(--paper-3); }
.file-field p { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green-600); }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { margin: 0; }
.doc-row { display: flex; align-items: center; gap: 14px; color: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfc; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.doc-row:hover { border-color: rgba(113,188,66,.5); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.doc-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,139,0,.12); color: var(--orange-600); }
.doc-ico svg { width: 19px; height: 19px; }
.doc-name { flex: 1; font-size: .95rem; }
.doc-dl { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--green-700); white-space: nowrap; }
.doc-dl svg { width: 14px; height: 14px; }
.doc-dl:hover { color: var(--orange-600); }

.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.tariff-table { width: 100%; border-collapse: collapse; font-size: .95rem; table-layout: fixed; }
.tariff-table td:first-child { width: 55%; }
.tariff-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tariff-table tr:last-child td { border-bottom: 0; }
.tariff-table tr:nth-child(odd) td { background: #fafbf9; }
.tariff-table td:last-child { color: var(--green-800); overflow-wrap: anywhere; }
.lk-qr { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: clamp(20px,3vw,40px); align-items: center; }
.qr-box { display: block; text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; }
.qr-box img { width: 100%; max-width: 420px; height: auto; image-rendering: auto; }
.qr-hint { font-size: .84rem; max-width: 46ch; }
.qr-box img { border-radius: 10px; margin: 0 auto 10px; display: block; }
.qr-box span { font-size: .8rem; color: var(--muted); }

.lk-rules { padding-left: 1.2em; color: var(--ink-soft); }
.lk-steps { padding-left: 1.2em; color: var(--ink-soft); }
.lk-steps li { margin-bottom: 6px; }

.login-wrap { display: grid; grid-template-columns: minmax(0,420px) 1fr; gap: clamp(24px,4vw,56px); padding: clamp(34px,5vw,64px) 0 clamp(56px,7vw,92px); align-items: start; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-md); }
.login-card h2 { font-size: 1.4rem; margin-bottom: .3em; }
.login-side { padding-top: 8px; }
.login-side h3 { font-size: 1.05rem; }

@media (max-width: 1024px) {
  .lk-wrap { grid-template-columns: 1fr; }
  .lk-side { position: static; }
  .lk-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .login-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lk-two { grid-template-columns: 1fr; }
  .lk-qr { grid-template-columns: 1fr; }
  .lk-nav { grid-template-columns: 1fr; }
  .doc-row { flex-wrap: wrap; }
  .doc-dl { width: 100%; }
}

.lk-nav a.danger { color: #b0392f; }
.lk-nav a.danger svg { color: #cf6a5f; }
.lk-nav a.danger:hover { background: rgba(176,57,47,.08); color: #8d2a22; }

/* ============================================================
   Страница входа в личный кабинет (/l-k/)
   ============================================================ */
.login-page {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.02fr 1fr;
  background: var(--paper);
}

/* левая половина: фото, бренд, короткий рассказ */
.login-brand {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 4vw, 56px); color: #eef6e9;
  background: var(--green-950);
}
.login-brand::before {
  content: ""; position: absolute; inset: -8% 0; z-index: -2;
  background: url("/assets/img/hero-elbrus.webp") center 40% / cover no-repeat;
  transform: scale(1.03);
}
.login-brand::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(113,188,66,.32), transparent 62%),
    linear-gradient(160deg, rgba(1,32,8,.82) 0%, rgba(1,32,8,.66) 45%, rgba(1,26,6,.9) 100%);
}
.login-brand .brand { color: #fff; }
.login-brand .brand-name { color: #fff; }
.login-brand .brand-sub { color: #b9d3ae; }
.login-brand .brand img { width: 48px; height: 48px; }
.login-brand h2 {
  color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 500;
  margin: 0 0 .5em; max-width: 20ch; line-height: 1.14;
}
.login-brand p { color: #d5e6cd; max-width: 38ch; margin: 0 0 26px; font-size: .97rem; }
.login-brand .login-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.login-brand .login-features li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: #e4f1dd; }
.login-brand .login-features .ico {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #d9efcd;
}
.login-brand .login-features .ico svg { width: 17px; height: 17px; }
.login-brand .login-features b { display: block; color: #fff; font-weight: 500; }
.login-brand .login-foot {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: .82rem; color: #b9d3ae; padding-top: 26px;
}
.login-brand .login-foot a { color: #e4f1dd; display: inline-flex; gap: 7px; align-items: center; }
.login-brand .login-foot a:hover { color: #fff; }

/* правая половина: форма */
.login-side-pane {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(26px, 4vw, 64px) clamp(20px, 3vw, 48px);
  background: linear-gradient(180deg, #fff, #f7f9f6);
}
.login-box { width: min(100%, 420px); }
.login-box .eyebrow { margin-bottom: 10px; }
.login-box h1 { font-size: clamp(1.55rem, 2.2vw, 2rem); margin-bottom: .35em; }
.login-box .lead { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }

.login-alert {
  display: none; align-items: flex-start; gap: 10px;
  padding: 13px 15px; margin-bottom: 20px; border-radius: 12px; font-size: .9rem;
  background: rgba(220,53,69,.08); border: 1px solid rgba(220,53,69,.28); color: #8d2a22;
}
.login-alert.show { display: flex; }
.login-alert svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.login-ok {
  display: none; align-items: flex-start; gap: 10px;
  padding: 13px 15px; margin-bottom: 20px; border-radius: 12px; font-size: .9rem;
  background: rgba(113,188,66,.12); border: 1px solid rgba(113,188,66,.35); color: var(--green-800);
}
.login-ok.show { display: flex; }

.login-form { display: grid; gap: 16px; }
.login-field { position: relative; }
.login-field > label {
  display: block; font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--ink-soft); margin-bottom: 7px;
}
.login-field .control { position: relative; }
.login-field .control > svg.lead-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: #9aa7a0; pointer-events: none;
}
.login-field input {
  width: 100%; padding: 14px 16px 14px 44px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.login-field input::placeholder { color: #a9b3ac; }
.login-field input:hover { border-color: #cfd8d2; }
.login-field input:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(113,188,66,.16);
}
.login-field input:user-invalid { border-color: rgba(220,53,69,.6); }
.login-field.has-toggle input { padding-right: 48px; }
.login-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent;
  color: #8b978f; cursor: pointer; display: grid; place-items: center;
}
.login-toggle:hover { background: var(--paper-3); color: var(--green-700); }
.login-toggle svg { width: 19px; height: 19px; }

.login-submit {
  width: 100%; justify-content: center; padding: 15px 22px; font-size: 1rem; margin-top: 4px;
}
.login-submit .spinner { display: none; }
.login-submit.is-busy { pointer-events: none; opacity: .85; }
.login-submit.is-busy .spinner { display: inline-block; }
.login-submit.is-busy .arrow { display: none; }

.login-help {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  margin-top: 18px; font-size: .86rem; color: var(--muted);
}
.login-help a { color: var(--green-700); }
.login-help a { color: #27702a; }
.login-help a:hover { color: var(--orange-600); }
.login-note {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .82rem; color: #5a665f; display: flex; gap: 10px; align-items: flex-start;
}
.login-note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: var(--green-600); }
.login-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .88rem; color: var(--ink-soft); }
.login-back:hover { color: var(--green-800); }
.login-back svg { width: 15px; height: 15px; transform: rotate(180deg); }

@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand { padding: 22px 20px; gap: 14px; flex-direction: column; justify-content: flex-start; }
  .login-brand::before { inset: 0; }
  .login-brand h2 { font-size: 1.35rem; margin: 12px 0 0; max-width: none; }
  .login-brand > div:nth-child(2) { display: none; }   /* текст и список прячем на телефоне */
  .login-brand .login-foot { padding-top: 4px; font-size: .76rem; }
  .login-side-pane { padding: 26px 18px 40px; align-items: flex-start; }
  .login-box { width: 100%; }
}
@media (max-width: 420px) {
  .login-box h1 { font-size: 1.4rem; }
  .login-submit { padding: 14px 18px; }
}

/* ============================================================
   Формы обращений (контакты, кабинет, «Отправлено»)
   ============================================================ */
.form-section { padding: clamp(40px, 6vw, 78px) 0 0; }
.form-section--compact { padding-top: 0; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(22px, 3.2vw, 42px); box-shadow: var(--shadow-md);
}
.form-head { max-width: 62ch; margin-bottom: clamp(18px, 2.6vw, 28px); }
.form-head h2 { margin-bottom: .35em; }
.form-head p { color: var(--muted); margin: 0; }

.site-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--wide { grid-column: 1 / -1; }
.field { display: block; }
.field > span { display: block; font-size: .84rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 7px; }
.field > span i { color: var(--orange); font-style: normal; }
.field > span em { color: var(--muted); font-style: normal; font-weight: 400; font-size: .78rem; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .97rem; color: var(--ink); background: #fcfdfc;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b978f 50%), linear-gradient(135deg, #8b978f 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfd8d2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 4px rgba(113,188,66,.15);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: rgba(220,53,69,.55); }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }
.field input[type=file] { padding: 11px 14px; background: var(--paper-3); border-style: dashed; cursor: pointer; }
.fixed-topic { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(113,188,66,.12); color: var(--green-800); font-weight: 500; font-size: .93rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.site-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); }
.site-form .check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--green-600); }
.site-form .check a { text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.form-actions .btn { min-width: 210px; justify-content: center; }
.form-actions .btn.is-busy { pointer-events: none; opacity: .8; }
.form-status { font-size: .88rem; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #a83226; }
.form-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 0;
  font-size: .82rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line);
}
.form-note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: var(--green-600); }
.form-note b { color: var(--ink-soft); font-weight: 500; }

/* кабинет: форма внутри белого блока */
.site-form--lk { max-width: 720px; }

/* страница «Отправлено» */
.thanks-section { padding: clamp(26px, 3.5vw, 44px) 0 clamp(50px, 6vw, 80px); }
.thanks-card {
  max-width: 620px; margin: 0 auto; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.thanks-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  background: rgba(113,188,66,.14); color: var(--green-700);
}
.thanks-ico svg { width: 32px; height: 32px; }
.thanks-ico.is-error { background: rgba(220,53,69,.1); color: #a83226; }
.thanks-card h2 { margin-bottom: .4em; }
.thanks-card p { color: var(--muted); }
.thanks-num {
  display: inline-block; margin: 6px 0 22px; padding: 10px 18px; border-radius: 999px;
  background: var(--paper-3); color: var(--green-800); font-weight: 500; letter-spacing: .02em;
}
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { min-width: 0; width: 100%; }
  .form-card { border-radius: 18px; }
}

/* Подтверждение отправки на месте формы */
.form-sent {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 20px; border-radius: 16px; border: 1px solid rgba(113,188,66,.45);
  background: linear-gradient(160deg, rgba(113,188,66,.1), #fff);
}
.form-sent-ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-600); color: #fff; font-size: 1.4rem; font-weight: 700;
}
.form-sent b { display: block; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .02em; }
.form-sent span { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: 3px; }
.form-sent > div:nth-child(2) { flex: 1 1 240px; }
.form-sent .btn { padding: 10px 18px; font-size: .88rem; }

/* Своя кнопка выбора файлов (системная подпись английская) */
.file-drop { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border: 2px dashed #d5ded8; border-radius: 12px; background: var(--paper-3);
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.file-drop:hover { border-color: var(--leaf); background: #fff; }
.file-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--green-800); }
.file-name { font-size: .86rem; color: var(--muted); }
.file-drop.has-files .file-name { color: var(--green-700); font-weight: 500; }

/* Компактная шапка страницы подтверждения: карточка с номером видна сразу */
.thanks-band { background: linear-gradient(115deg, var(--green-900), var(--green-700)); color: #fff; padding: clamp(26px,4vw,46px) 0 clamp(22px,3vw,34px); }
.thanks-band h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.thanks-section { padding: clamp(24px, 3vw, 36px) 0 clamp(48px, 6vw, 76px); }

/* Группы документов */
.doc-group { margin: 26px 0 6px; font-size: 1.05rem; }
.doc-group:first-of-type { margin-top: 18px; }
.doc-hint { margin: 0 0 12px; color: var(--muted); font-size: .88rem; }
.doc-name small { display: block; color: var(--muted); font-size: .74rem; margin-top: 2px; }
@media (max-width: 640px) { .lk-qr { grid-template-columns: 1fr; } }

.doc-row .doc-name { color: var(--ink); }
.doc-row:hover .doc-name { color: var(--green-800); }
.doc-row:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 640px) { .doc-row { padding: 14px; } .doc-dl { width: auto; } }

/* Всплывающее подтверждение в кабинете */
.lk-toast {
  position: fixed; right: 18px; top: 86px; z-index: 300; max-width: min(92vw, 420px);
  padding: 14px 18px; border-radius: 14px; font-size: .93rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.lk-toast.show { opacity: 1; transform: none; }
.lk-toast.ok { border-left: 4px solid var(--green-600); color: var(--green-900); }
.lk-toast.err { border-left: 4px solid #c0392b; color: #8d2a22; }
@media (max-width: 640px) { .lk-toast { left: 14px; right: 14px; top: 74px; } }
