/* «Своё Коми» — витрина. Стилистика: северный узор коми (ромбы, зигзаги, солярные знаки),
   цвета — ночная синь Севера, красная нить вышивки, золото хлеба, зелень тайги, цвет бумаги. */

:root {
  --night: #0b2136;
  --night-2: #0f2b45;
  --night-soft: #17405f;
  --ink: #17232f;
  --ink-2: #4d5c69;
  --paper: #f8f2e6;
  --paper-2: #efe4d0;
  --line: #ddd0b8;
  --red: #bd3c2a;
  --red-2: #a2311f;
  --gold: #e0a32e;
  --green: #2f6b4a;
  --river: #3c7cb1;
  --white: #fffdf8;
  --shadow: 0 18px 40px -24px rgba(11, 33, 54, .45);
  --r: 4px;
  --wrap: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Manrope, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display { font-family: Unbounded, Manrope, sans-serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 66px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 42px); }
h3 { font-size: clamp(19px, 2vw, 24px); }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(var(--wrap), 100% - 32px); } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 99; }

/* ─── узоры ──────────────────────────────────────────────────────────────── */
.band {
  height: 26px;
  background-repeat: repeat-x;
  background-size: auto 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='26' viewBox='0 0 104 26'%3E%3Cg fill='none' stroke='%23bd3c2a' stroke-width='2'%3E%3Cpath d='M13 1 25 13 13 25 1 13z'/%3E%3Cpath d='M13 7 19 13 13 19 7 13z'/%3E%3Cpath d='M39 1 51 13 39 25 27 13z'/%3E%3Cpath d='M65 13 71 7 77 13 71 19z'/%3E%3Cpath d='M91 1 103 13 91 25 79 13z'/%3E%3Cpath d='M91 7 97 13 91 19 85 13z'/%3E%3Cpath d='M53 13h12M77 13h2'/%3E%3C/g%3E%3C/svg%3E");
}
.band--gold { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='26' viewBox='0 0 104 26'%3E%3Cg fill='none' stroke='%23e0a32e' stroke-width='2'%3E%3Cpath d='M13 1 25 13 13 25 1 13z'/%3E%3Cpath d='M13 7 19 13 13 19 7 13z'/%3E%3Cpath d='M39 1 51 13 39 25 27 13z'/%3E%3Cpath d='M65 13 71 7 77 13 71 19z'/%3E%3Cpath d='M91 1 103 13 91 25 79 13z'/%3E%3Cpath d='M91 7 97 13 91 19 85 13z'/%3E%3Cpath d='M53 13h12M77 13h2'/%3E%3C/g%3E%3C/svg%3E"); }

/* ─── шапка ──────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 242, 230, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night); }
.brand__mark { width: 34px; height: 34px; color: var(--red); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { font-family: Unbounded, sans-serif; font-size: 19px; letter-spacing: -.01em; }
.brand__text b { font-weight: 800; }
.brand__text i { font-style: normal; font-weight: 400; color: var(--red); margin-left: 5px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover { border-color: var(--red); }
.nav a.is-active { border-color: var(--red); }
.nav__cta {
  border: 1.5px solid var(--night) !important; border-radius: 999px;
  padding: 9px 20px !important; background: var(--night); color: var(--paper);
}
.nav__cta:hover { background: var(--red); border-color: var(--red) !important; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--night); margin: 6px 8px; transition: .25s; }
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    transform: translateY(-120%); transition: transform .3s; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 14px; }
  .burger { display: block; }
  .burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ─── первый экран ───────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--night); color: var(--paper); overflow: hidden; }
.hero__sky { position: absolute; inset: 0; opacity: .85; }
.hero__sky i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(60px); mix-blend-mode: screen; animation: drift 24s ease-in-out infinite;
}
.hero__sky i:nth-child(1) { width: 60vw; height: 40vw; left: -10vw; top: -18vw; background: #1c6f6a; }
.hero__sky i:nth-child(2) { width: 46vw; height: 30vw; right: -6vw; top: -6vw; background: #2b4f8a; animation-delay: -8s; }
.hero__sky i:nth-child(3) { width: 40vw; height: 26vw; left: 30vw; bottom: -14vw; background: #6b3f7a; animation-delay: -15s; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vw, 0) scale(1.18); }
}
.hero__grid {
  position: absolute; inset: 0; opacity: .16;
  background-size: 76px 76px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cg fill='none' stroke='%23f8f2e6' stroke-width='1.2'%3E%3Cpath d='M38 2 74 38 38 74 2 38z'/%3E%3Cpath d='M38 22 54 38 38 54 22 38z'/%3E%3C/g%3E%3C/svg%3E");
  animation: slide 60s linear infinite;
}
@keyframes slide { to { background-position: 76px 76px; } }

.hero__in { position: relative; padding: clamp(50px, 8vw, 104px) 0 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; color: var(--gold);
}
.kicker::before { content: ""; width: 34px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10' viewBox='0 0 34 10'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M5 1 9 5 5 9 1 5zM17 1 21 5 17 9 13 5zM29 1 33 5 29 9 25 5z'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10' viewBox='0 0 34 10'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M5 1 9 5 5 9 1 5zM17 1 21 5 17 9 13 5zM29 1 33 5 29 9 25 5z'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.hero h1 { margin: 22px 0 18px; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__text { font-size: clamp(17px, 1.5vw, 21px); max-width: 52ch; color: #d9cfbc; }

.search { position: relative; max-width: 620px; margin: 30px 0 0; }
.search input {
  width: 100%; padding: 19px 56px 19px 22px; border: 0; border-radius: 2px;
  background: var(--white); color: var(--ink); font-size: 17px;
}
.search input::placeholder { color: #94a0aa; }
.search button {
  position: absolute; right: 8px; top: 8px; bottom: 8px; width: 44px; border: 0; border-radius: 2px;
  background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.search__out {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); border-radius: 2px; overflow: hidden; z-index: 20;
  max-height: 60vh; overflow-y: auto;
}
.search__out a { display: flex; gap: 12px; align-items: center; padding: 12px 18px; text-decoration: none; border-bottom: 1px solid var(--paper-2); }
.search__out a:hover { background: var(--paper); }
.search__out b { font-weight: 600; }
.search__out small { color: var(--ink-2); margin-left: auto; font-size: 13px; white-space: nowrap; }
.search__empty { padding: 16px 18px; color: var(--ink-2); }

.stats { display: flex; flex-wrap: wrap; gap: 14px 46px; margin: 46px 0 0; padding: 0 0 clamp(40px, 5vw, 64px); }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: Unbounded, sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; line-height: 1; }
.stats span { font-size: 14px; color: #a9b6c2; margin-top: 8px; letter-spacing: .02em; }

/* ─── секции ─────────────────────────────────────────────────────────────── */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec--paper2 { background: var(--paper-2); }
.sec--night { background: var(--night); color: var(--paper); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec__head p { max-width: 58ch; color: var(--ink-2); margin: 12px 0 0; }
.sec--night .sec__head p { color: #a9b6c2; }
.sec__title { display: flex; align-items: center; gap: 14px; }
.sec__title::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.more { font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.more:hover { color: var(--red); }

/* ─── категории ──────────────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--night); }
.cat__ico { width: 40px; height: 40px; }
.cat__ico svg { width: 100%; height: 100%; }
.cat b { font-weight: 600; font-size: 17px; }
.cat span { font-size: 14px; color: var(--ink-2); }
.cat::after {
  content: ""; position: absolute; right: -24px; bottom: -24px; width: 84px; height: 84px; opacity: .1;
  background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ─── карта районов ──────────────────────────────────────────────────────── */
.map { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .map { grid-template-columns: 1fr; gap: 26px; } }
.map__field { position: relative; aspect-ratio: 8 / 9; }
.map__tile {
  /* Квадрат через отступ снизу: проценты считаются от ширины поля, поэтому ромб всегда ровный. */
  position: absolute; width: 9%; height: 0; padding-bottom: 9%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #1b4160; border: 1.5px solid #2f6e98; cursor: pointer; transition: .22s; padding-top: 0;
}
.map__tile i {
  position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(-45deg);
  font-style: normal; font-family: Unbounded, sans-serif; font-size: clamp(9px, 1vw, 15px);
  font-weight: 600; color: #fff;
}
.map__tile.has { background: var(--red); border-color: #e0715c; }
.map__tile.has:hover, .map__tile.has.is-on {
  background: var(--gold); border-color: #ffd98a; transform: translate(-50%, -50%) rotate(45deg) scale(1.18); z-index: 4;
}
.map__tile:hover { background: #2a597e; z-index: 3; }
.map__tile.empty i { color: #7e9cb3; }
@media (max-width: 760px) { .map__tile i { display: none; } }
.map__label {
  position: absolute; transform: translate(-50%, 34%); white-space: nowrap; font-size: 12px; color: #93a6b6;
  pointer-events: none; text-align: center;
}
.map__panel { background: #0f2b45; border: 1px solid #1f4c6e; padding: 26px; border-radius: var(--r); }
.map__panel h3 { margin-bottom: 6px; }
.map__panel .muted { color: #93a6b6; font-size: 15px; }
.map__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; }
.map__list a { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #1f4c6e; text-decoration: none; }
.map__list a:hover { color: var(--gold); }
.map__list small { color: #93a6b6; }
.map__legend { display: flex; gap: 18px; margin-top: 18px; font-size: 13px; color: #93a6b6; flex-wrap: wrap; }
.map__legend i { width: 12px; height: 12px; display: inline-block; transform: rotate(45deg); margin-right: 7px; }

/* ─── карточки хозяйств ──────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__cover { aspect-ratio: 16 / 10; background: var(--night); background-size: cover; background-position: center; position: relative; }
.card__cover span {
  position: absolute; left: 14px; bottom: 14px; background: rgba(11, 33, 54, .82); color: var(--paper);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; font-weight: 600;
}
.card__flag { position: absolute; right: 0; top: 14px; background: var(--gold); color: var(--night); font-size: 12px; font-weight: 700; padding: 6px 14px; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 20px; }
.card__where { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.card__where::before { content: ""; width: 9px; height: 9px; background: var(--green); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); flex: none; }
.card__sum { font-size: 15px; color: var(--ink-2); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip { font-size: 12.5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--paper); }
.chip--solid { background: var(--night); color: var(--paper); border-color: var(--night); }

/* ─── продукция ──────────────────────────────────────────────────────────── */
.goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.good {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; transition: .25s;
}
.good:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.good__pic { aspect-ratio: 4 / 3; background-size: cover; background-position: center; position: relative; }
.good__badge { position: absolute; left: 10px; top: 10px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 10px; letter-spacing: .04em; text-transform: uppercase; }
.good__b { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.good__name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.good__farm { font-size: 13px; color: var(--ink-2); }
.good__price { margin-top: auto; padding-top: 8px; font-family: Unbounded, sans-serif; font-size: 19px; font-weight: 600; }
.good__price small { font-family: Manrope, sans-serif; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.good__season { font-size: 12.5px; color: var(--green); }

/* ─── шаги ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--red); }
.step b { font-family: Unbounded, sans-serif; font-size: 42px; font-weight: 500; color: var(--red); display: block; line-height: 1; }
.step h3 { margin: 12px 0 8px; font-size: 20px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.sec--night .step p { color: #a9b6c2; }

/* ─── каталог: фильтры ───────────────────────────────────────────────────── */
.page-head { background: var(--night); color: var(--paper); padding: clamp(34px, 5vw, 60px) 0 clamp(30px, 4vw, 48px); position: relative; overflow: hidden; }
.page-head__grid { position: absolute; inset: 0; opacity: .12; background-size: 76px 76px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cg fill='none' stroke='%23f8f2e6' stroke-width='1.2'%3E%3Cpath d='M38 2 74 38 38 74 2 38z'/%3E%3Cpath d='M38 22 54 38 38 54 22 38z'/%3E%3C/g%3E%3C/svg%3E"); }
.page-head__in { position: relative; }
.page-head p { color: #a9b6c2; max-width: 60ch; margin: 14px 0 0; }
.crumbs { font-size: 14px; color: #8fa2b2; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

.layout { display: grid; grid-template-columns: 262px 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) {
  .filters { position: static; display: none; background: var(--white); border: 1px solid var(--line); padding: 20px; }
  .filters.is-open { display: flex; }
}
.filters__group h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; font-family: Manrope, sans-serif; font-weight: 700; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15.5px; }
.opt input { appearance: none; width: 17px; height: 17px; border: 1.5px solid var(--line); background: var(--white); flex: none; cursor: pointer; transition: .15s; }
.opt input:checked { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 3px var(--white); }
.opt span { flex: 1; }
.opt small { color: var(--ink-2); font-size: 13px; }
.filters__reset { background: none; border: 0; color: var(--red); cursor: pointer; text-align: left; padding: 0; font-weight: 600; text-decoration: underline; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.toolbar__count { font-size: 15px; color: var(--ink-2); }
.toolbar select, .toolbar input {
  border: 1px solid var(--line); background: var(--white); padding: 10px 14px; border-radius: var(--r);
}
.toolbar input { flex: 1; min-width: 200px; }
.btn-filter { display: none; }
@media (max-width: 900px) { .btn-filter { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--night); background: var(--white); padding: 10px 16px; cursor: pointer; border-radius: var(--r); } }

/* ─── страница хозяйства ─────────────────────────────────────────────────── */
.ph { position: relative; color: var(--paper); background: var(--night); overflow: hidden; }
.ph__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.ph__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,33,54,.55), rgba(11,33,54,.94)); }
.ph__in { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(34px, 4vw, 56px); }
.ph h1 { max-width: 20ch; margin: 10px 0 16px; }
.ph__sum { font-size: clamp(16px, 1.5vw, 20px); color: #d9cfbc; max-width: 62ch; }
.ph__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ph__meta span { border: 1px solid rgba(248,242,230,.35); padding: 7px 14px; font-size: 14px; border-radius: 999px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 42px; }
.fact { background: var(--white); padding: 22px; }
.fact b { display: block; font-family: Unbounded, sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.fact span { font-size: 13.5px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }

.cols { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
@media (max-width: 980px) { .cols { grid-template-columns: 1fr; gap: 30px; } }
.prose { font-size: 17.5px; line-height: 1.75; }
.prose p { margin: 0 0 1.1em; }
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 980px) { .side { position: static; } }
.box { background: var(--white); border: 1px solid var(--line); padding: 24px; border-radius: var(--r); }
.box h3 { font-size: 18px; margin-bottom: 14px; }
.box--night { background: var(--night); color: var(--paper); border-color: var(--night); }
.contact { display: flex; flex-direction: column; gap: 12px; }
.contact a, .contact div { display: flex; gap: 11px; align-items: flex-start; text-decoration: none; font-size: 15.5px; line-height: 1.45; }
.contact svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--red); }
.box--night .contact svg { color: var(--gold); }
.contact a:hover { color: var(--red); }
.box--night .contact a:hover { color: var(--gold); }
.note { font-size: 13.5px; color: var(--ink-2); border-left: 2px solid var(--gold); padding-left: 12px; margin-top: 6px; }
.box--night .note { color: #a9b6c2; }

.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gal img, .gal div { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background-size: cover; background-position: center; cursor: zoom-in; border-radius: var(--r); }

.shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.shop { background: var(--white); border: 1px solid var(--line); padding: 18px; border-radius: var(--r); }
.shop b { display: block; margin-bottom: 4px; }
.shop span { font-size: 14.5px; color: var(--ink-2); display: block; }

.lightbox { position: fixed; inset: 0; background: rgba(8, 20, 32, .93); z-index: 90; display: grid; place-items: center; padding: 30px; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 2px; }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ─── формы ──────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -9999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px;
  background: var(--red); color: #fff; border: 0; border-radius: 2px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: .2s; font-size: 16px;
}
.btn:hover { background: var(--red-2); }
.btn--ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--light { background: var(--paper); color: var(--night); }
.btn--light:hover { background: #fff; }
.msg { padding: 14px 18px; border-radius: var(--r); font-size: 15px; }
.msg--ok { background: #e6f2ea; border: 1px solid var(--green); color: #1d4a33; }
.msg--err { background: #fdecea; border: 1px solid var(--red); color: var(--red-2); }

/* ─── подвал ─────────────────────────────────────────────────────────────── */
.foot { background: var(--night); color: #b9c6d2; padding: 56px 0 30px; margin-top: 0; }
.foot__in { display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
@media (max-width: 800px) { .foot__in { grid-template-columns: 1fr; } }
.foot__brand .brand__mark { width: 38px; height: 38px; color: var(--gold); }
.foot__name { font-family: Unbounded, sans-serif; font-size: 22px; color: var(--paper); margin: 12px 0 6px; font-weight: 600; }
.foot__tag { font-size: 14.5px; max-width: 30ch; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 26px; }
.foot__cols a, .foot__cols span { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; }
.foot__cols a:hover { color: var(--gold); }
.foot__h { color: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.foot__note { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1f4c6e; font-size: 13.5px; color: #8fa2b2; }

/* ─── появление при прокрутке ────────────────────────────────────────────── */
.rev { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rev { opacity: 1; transform: none; transition: none; }
  .hero__sky i, .hero__grid { animation: none; }
  html { scroll-behavior: auto; }
}

.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty b { display: block; font-size: 20px; color: var(--ink); margin-bottom: 8px; font-family: Unbounded, sans-serif; }
.loader { padding: 80px 0; text-align: center; color: var(--ink-2); }
