/* ============================================================
   Банный комплекс «Ниагара» — новый вид, 05.11.2026
   Тёплое дерево, крафтовая бумага, золото — как на прайсе.
   ============================================================ */

:root {
  --wood-1: #22140a;
  --wood-2: #38200f;
  --wood-3: #5a3820;
  --wood-4: #7a5230;
  --kraft: #f2e3c6;
  --kraft-2: #e8d3ad;
  --paper: #fbf4e4;
  --paper-2: #f6ecd8;
  --gold: #d9a94c;
  --gold-d: #b07f26;
  --ink: #23150a;
  --ink-soft: #5b4433;
  --leaf: #5b6a3c;
  --line: #cdb389;
  --line-soft: #ddc9a4;
  --shadow: 0 10px 30px rgba(58, 33, 15, .14);
  --radius: 4px;
  --max: 1180px;
  --header: 74px;
  /* веточка с листьями — лёгкий узор на бумаге, как на прайсе */
  --listya: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%235a3820' stroke-width='1.6' opacity='.1'%3E%3Cpath d='M24 196c34-52 78-82 138-96'/%3E%3Cpath d='M58 158c-10-20-4-38 16-46 8 20 2 38-16 46z'/%3E%3Cpath d='M96 132c-8-19 0-35 19-42 6 19-2 35-19 42z'/%3E%3Cpath d='M136 110c-6-18 2-32 20-38 4 18-4 32-20 38z'/%3E%3C/g%3E%3C/svg%3E");
}

* , *::before, *::after { box-sizing: border-box; }

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

/* Якоря не заезжают под липкую шапку. */
[id] { scroll-margin-top: calc(var(--header) + 18px); }

body {
  margin: 0;
  font-family: "PT Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url(/img/tkan-paper.webp);
  background-size: 700px 700px;
  padding-top: var(--header);
}

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

a { color: var(--wood-3); text-decoration-color: rgba(90, 56, 32, .35); text-underline-offset: 3px; }
a:hover { color: var(--gold-d); }

h1, h2, h3, h4 {
  font-family: "Prata", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 .6em;
  color: var(--ink);
}

h1 { font-size: clamp(28px, 5.2vw, 52px); letter-spacing: .03em; }
h2 { font-size: clamp(23px, 3.4vw, 36px); letter-spacing: .05em; text-transform: uppercase; }
h3 { font-size: clamp(19px, 2.2vw, 24px); letter-spacing: .02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto;
  margin: 0; padding: 12px 18px; clip: auto; clip-path: none; white-space: normal;
  background: var(--paper); color: var(--ink); border-radius: 3px; box-shadow: var(--shadow);
}

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

/* ---------- Шапка ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header);
  background: linear-gradient(180deg, rgba(34, 20, 10, .97), rgba(34, 20, 10, .93));
  border-bottom: 1px solid rgba(217, 169, 76, .28);
  backdrop-filter: saturate(120%) blur(6px);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px; height: 100%;
  display: flex; align-items: center; gap: 22px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand__mark {
  width: 40px; height: 40px; flex: none; color: var(--gold);
}
.brand__text { line-height: 1.05; }
.brand__name {
  display: block; font-family: "Prata", serif; font-size: 21px; letter-spacing: .16em;
  text-transform: uppercase; color: #f6e7c8;
}
.brand__sub {
  display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(246, 231, 200, .62); margin-top: 3px;
}

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: #efe0c6; text-decoration: none; font-size: 14px; letter-spacing: .13em;
  text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.header__phone {
  display: flex; flex-direction: column; text-decoration: none; color: #f6e7c8;
  font-family: "Prata", serif; font-size: 17px; letter-spacing: .04em; white-space: nowrap;
}
.header__phone span {
  font-family: "PT Sans", sans-serif; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(246, 231, 200, .55);
}
.header__phone:hover { color: var(--gold); }

.burger {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid rgba(217, 169, 76, .5); border-radius: 3px;
  color: var(--gold); cursor: pointer;
}
.burger svg { margin: auto; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 3px;
  font: 700 15px/1 "PT Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: linear-gradient(180deg, #e0b45b, var(--gold-d));
  color: #2a1708; box-shadow: 0 2px 0 rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover { background: linear-gradient(180deg, #ecc477, #bd8b2d); color: #22140a; }

.btn--wood {
  background: linear-gradient(180deg, var(--wood-3), var(--wood-1));
  color: #f6e7c8; border-color: #6d4526; box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.btn--wood:hover { color: #fff; background: linear-gradient(180deg, #6a4426, var(--wood-2)); }

.btn--ghost { background: transparent; color: #f6e7c8; border-color: rgba(246, 231, 200, .55); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--sm { padding: 11px 18px; font-size: 13px; }

/* ---------- Обложка ---------- */

.hero {
  position: relative; min-height: min(78vh, 720px); display: flex; align-items: center;
  color: #f7ebd5; isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: heroSlow 32s ease-out both; }
}
@keyframes heroSlow { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 13, 6, .72) 0%, rgba(24, 13, 6, .38) 40%, rgba(24, 13, 6, .82) 100%),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0), rgba(24, 13, 6, .35) 100%);
}
.hero__inner { padding-top: 70px; padding-bottom: 56px; width: 100%; }

.hero__kicker {
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(247, 235, 213, .72); margin-bottom: 18px;
}

/* Вывеска, как на прайсе */
.plaque {
  display: inline-block; max-width: 560px; padding: 26px 40px 22px; margin: 0 0 24px;
  background:
    linear-gradient(180deg, rgba(255, 236, 200, .16), rgba(0, 0, 0, .28)),
    url(/img/tkan-wood.webp),
    linear-gradient(180deg, #6b4527, #3a2313);
  background-size: auto, 400px 200px, auto;
  border: 2px solid #8a5c33;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), inset 0 0 0 4px rgba(0, 0, 0, .22), inset 0 2px 0 rgba(255, 232, 190, .22);
  text-align: center;
}
.plaque__kicker {
  display: block; font-family: "Prata", serif; font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: .42em; text-transform: uppercase; color: #f0dcb4; margin-bottom: 8px;
}
.plaque h1 {
  margin: 0; color: #f3cf82; font-size: clamp(34px, 6.4vw, 62px); letter-spacing: .14em;
  text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 24px rgba(243, 207, 130, .25);
}
.plaque__plate {
  display: inline-block; margin-top: 12px; padding: 5px 18px;
  background: linear-gradient(180deg, #4a2b16, #2a1608); border: 1px solid #7d5130; border-radius: 2px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #ecd6ad;
}
.hero__lead { font-size: clamp(16px, 1.6vw, 20px); max-width: 640px; color: rgba(247, 235, 213, .9); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Знак «Хорошее место» */
.hm {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  padding: 9px 20px 9px 14px; border-radius: 40px;
  border: 1px solid rgba(217, 169, 76, .55);
  background: linear-gradient(180deg, rgba(74, 43, 22, .92), rgba(42, 23, 9, .92));
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 236, 190, .16);
  color: #f3e2c1;
}
.hm__mark { width: 30px; height: 30px; color: var(--gold); flex: none; }
.hm__text b {
  display: block; font-family: "Prata", serif; font-weight: 400; font-size: 14.5px;
  letter-spacing: .1em; text-transform: uppercase; color: #f8ebd0;
}
.hm__text span {
  display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(243, 226, 193, .62); margin-top: 1px;
}

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 26px; background: rgba(246, 231, 200, .22);
  border: 1px solid rgba(246, 231, 200, .22);
}
.facts div { padding: 14px 16px; background: rgba(24, 13, 6, .45); }
.facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 15px; color: #f4e6cc; }

/* ---------- Секции ---------- */

.section { padding: clamp(48px, 7vw, 86px) 0; position: relative; }
.section--paper {
  background-color: var(--paper);
  background-image:
    var(--listya),
    url(/img/tkan-paper.webp);
  background-size: 260px 260px, 700px 700px;
  background-repeat: repeat, repeat;
}
.section--kraft {
  background-color: var(--kraft);
  background-image:
    var(--listya),
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .5), transparent 42%),
    url(/img/tkan-kraft.webp);
  background-size: 260px 260px, auto, 700px 700px;
  background-repeat: repeat, no-repeat, repeat;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.section--wood {
  background-color: #1d1006;
  background-image:
    linear-gradient(180deg, rgba(24, 13, 6, .9), rgba(34, 20, 10, .95)),
    url(/img/tkan-wood.webp);
  background-size: auto, 800px 400px;
  color: #ecdcc0;
}
.section--wood h2, .section--wood h3 { color: #f8eedb; }
.section--wood a { color: var(--gold); }

.section__head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head p { color: var(--ink-soft); font-size: 17.5px; }

/* Лента-заголовок, как на прайсе */
.ribbon {
  display: inline-flex; align-items: center; gap: 14px; position: relative;
  padding: 12px 34px; margin: 0 0 18px;
  background: linear-gradient(180deg, #4a2b16, #2a1608);
  color: #f3e2c1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.ribbon h2 { margin: 0; font-size: clamp(18px, 2.4vw, 26px); color: #f6e7c8; letter-spacing: .1em; }
.ribbon .leaf { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ---------- Прайс ---------- */

.menu {
  background-color: var(--paper); background-image: url(/img/tkan-paper.webp); background-size: 700px 700px;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.menu__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; background: linear-gradient(180deg, #f6ead2, #efdfc0); border-bottom: 1px dashed var(--line);
}
.menu__title { display: flex; align-items: center; gap: 12px; margin: 0; }
.menu__title svg { width: 30px; height: 30px; color: var(--wood-3); flex: none; }
.menu__title span { font-family: "Prata", serif; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: .08em; text-transform: uppercase; }
.menu__note { font-size: 14px; color: var(--ink-soft); }

.menu__body { padding: 8px 24px 18px; }

.mi { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px dotted rgba(91, 68, 51, .28); }
.mi:last-child { border-bottom: 0; }
.mi__name { max-width: 62%; }
.mi__name b { font-weight: 700; }
.mi__name small { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 3px; }
.mi__dots { flex: 1 1 auto; border-bottom: 2px dotted rgba(91, 68, 51, .4); transform: translateY(-4px); min-width: 16px; }
.mi__price {
  flex: none; white-space: nowrap;
  font-family: "Prata", serif; font-size: 18px; letter-spacing: .02em;
  color: #f7e7c6; padding: 6px 18px 6px 20px; border-radius: 3px 6px 6px 3px;
  background: linear-gradient(180deg, #4b2c17, #2b1709);
  border-left: 3px solid var(--gold-d);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .09);
}
.mi__price small { font-family: "PT Sans", sans-serif; font-size: 13px; letter-spacing: .02em; }

.menu__foot {
  padding: 14px 24px 18px; font-size: 14px; color: var(--ink-soft);
  border-top: 1px dashed var(--line); background: rgba(205, 179, 137, .1);
}
.menu__foot em { font-family: "Marck Script", cursive; font-size: 19px; color: var(--wood-3); font-style: normal; }

/* ---------- Карточки ---------- */

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background-color: var(--paper); background-image: url(/img/tkan-paper.webp); background-size: 700px 700px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 18px rgba(58, 33, 15, .08);
  display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(58, 33, 15, .2); }
.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--kraft-2); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .3, 1); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--ink-soft); font-size: 15.5px; }
.card__body .btn { margin-top: auto; align-self: flex-start; }

.tag {
  position: absolute; left: 0; top: 14px; padding: 6px 14px 6px 12px;
  background: rgba(34, 20, 10, .82); color: #f4e5c8; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; border-left: 3px solid var(--gold);
}

/* ---------- Полоса-перемычка ---------- */

.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 26px 0; border-top: 1px solid rgba(217, 169, 76, .3); border-bottom: 1px solid rgba(217, 169, 76, .3);
  margin-top: 40px;
}
.strip > div { display: flex; gap: 14px; align-items: flex-start; }
.strip svg { width: 34px; height: 34px; color: var(--gold); flex: none; }
.strip b { display: block; font-family: "Prata", serif; font-size: 17px; margin-bottom: 2px; }
.strip span { font-size: 14.5px; color: rgba(236, 220, 192, .78); }

/* ---------- Галерея ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 3px; background: var(--kraft-2); aspect-ratio: 1 / 1; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  font-size: 13px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(24, 13, 6, .78));
}

/* ---------- Отзывы ---------- */

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Отзывы слайдером ---------- */

.slider { position: relative; max-width: 860px; margin: 0 auto; }
.slider__viewport { overflow: hidden; border-radius: var(--radius); }
.slider__track {
  display: flex; margin: 0; padding: 0; list-style: none;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
  will-change: transform;
}
.slider__track > li { flex: 0 0 100%; min-width: 100%; }

.review--big {
  background-color: var(--paper); background-image: url(/img/tkan-paper.webp); background-size: 700px 700px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 46px) clamp(22px, 4vw, 52px) clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow); position: relative; margin: 0;
}
.review--big::before {
  content: "“"; position: absolute; top: -6px; left: 18px;
  font-family: "Prata", serif; font-size: 92px; line-height: 1; color: rgba(176, 127, 38, .22);
}
.review--big p { font-size: clamp(16.5px, 1.6vw, 19.5px); line-height: 1.6; color: #3b2a1c; margin: 0 0 18px; }
.review--big .stars { display: block; color: #c8952c; letter-spacing: .2em; font-size: 16px; margin: 0 0 12px; }
.review--big cite {
  display: flex; align-items: center; gap: 10px; font-style: normal;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
}
.review--big cite b { font-family: "Prata", serif; font-size: 15px; letter-spacing: .1em; color: var(--ink); font-weight: 400; }
.review--big cite span { color: var(--line); }

.slider__nav { display: contents; }

.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  background: linear-gradient(180deg, #4b2c17, #2b1709); color: #f3e2c1;
  border: 1px solid #7d5130; box-shadow: 0 6px 18px rgba(43, 23, 9, .3);
  transition: transform .2s ease, background .2s ease;
}
.slider__btn:hover { background: linear-gradient(180deg, #6a4426, #3a2113); }
.slider__btn:active { transform: translateY(-50%) scale(.96); }
.slider__btn--prev { left: -8px; }
.slider__btn--next { right: -8px; }
.slider__btn svg { width: 20px; height: 20px; }

.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.slider__dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--wood-3); opacity: .45;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}
.slider__dots button[aria-current="true"] { background: var(--gold-d); border-color: var(--gold-d); opacity: 1; transform: scale(1.2); }
.slider__dots button:hover { opacity: .9; }

.reviews-note {
  text-align: center; margin: 22px auto 0; max-width: 640px;
  font-size: 14.5px; color: var(--ink-soft);
}
.reviews-note a { color: var(--wood-3); }
.review {
  background-color: var(--paper); background-image: url(/img/tkan-paper.webp); background-size: 700px 700px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px 24px 20px; position: relative; box-shadow: 0 6px 18px rgba(58, 33, 15, .07);
}
.review::before {
  content: "“"; position: absolute; top: 2px; left: 16px;
  font-family: "Prata", serif; font-size: 58px; line-height: 1; color: rgba(176, 127, 38, .3);
}
.review p { position: relative; font-size: 15.5px; color: #3b2a1c; }
.review cite { display: block; margin-top: 14px; font-style: normal; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Две колонки: текст + фото ---------- */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__text p { color: var(--ink-soft); }

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.checks svg { width: 20px; height: 20px; color: var(--leaf); flex: none; margin-top: 2px; }

/* ---------- Контакты ---------- */

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }

.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; color: var(--wood-3); flex: none; margin-top: 2px; }
.contact-list b { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 17px; }

.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--kraft-2); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Форма ---------- */

.form {
  background-color: var(--paper); background-image: url(/img/tkan-paper.webp); background-size: 700px 700px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 6px; }
.form .form__lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fffdf7; border: 1px solid var(--line); border-radius: 3px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold-d); outline: none; box-shadow: 0 0 0 3px rgba(217, 169, 76, .22); }
.field--inline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 6px 0 18px; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold-d); }
.check a { color: var(--wood-3); }

.form button { width: 100%; }
.form .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
/* ---------- Блок «позвоните» вместо формы ---------- */

.callbox {
  background-color: var(--paper); background-image: url(/img/tkan-paper.webp); background-size: 700px 700px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); text-align: center;
}
.callbox__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.callbox__phone {
  display: inline-block; font-family: "Prata", serif; font-size: clamp(23px, 3.2vw, 33px);
  color: var(--ink); text-decoration: none; letter-spacing: .03em; margin-bottom: 12px;
}
.callbox__phone:hover { color: var(--gold-d); }
.callbox__hint { color: var(--ink-soft); font-size: 15.5px; max-width: 430px; margin: 0 auto 20px; }
.callbox__btn { min-width: 220px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* ---------- Подвал ---------- */

.footer {
  background-color: #1d1006;
  background-image:
    linear-gradient(180deg, rgba(42, 24, 9, .96), rgba(29, 16, 6, .98)),
    url(/img/tkan-wood.webp);
  background-size: auto, 800px 400px;
  color: rgba(240, 227, 204, .72);
  padding: 46px 0 34px; font-size: 15px; border-top: 3px solid var(--gold-d);
}
.footer a { color: rgba(240, 227, 204, .88); }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #f4e6cc; font-family: "Prata", serif; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__brand .brand__name { color: #f6e7c8; }
.footer__brand p { margin-top: 14px; max-width: 380px; }
.footer__bottom {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(217, 169, 76, .22);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}
.footer__requisites { font-size: 13px; color: rgba(240, 227, 204, .55); margin-top: 10px; }

/* ---------- Мобильная панель ---------- */

.bottombar {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 45;
  background: rgba(30, 17, 8, .97); border-top: 1px solid rgba(217, 169, 76, .35);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.bottombar .btn { flex: 1; padding: 13px 10px; font-size: 13px; }
.bottombar svg { width: 18px; height: 18px; flex: none; }

/* ---------- Прочее ---------- */

.note {
  border-left: 4px solid var(--gold); background: rgba(217, 169, 76, .1);
  padding: 14px 18px; font-size: 15px; color: var(--ink-soft); border-radius: 0 3px 3px 0;
}
.legal { max-width: 860px; }
.legal h2 { margin-top: 34px; font-size: clamp(20px, 2.4vw, 26px); }
.legal h3 { margin-top: 24px; font-size: 20px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); font-size: 14px; }

.breadcrumbs { font-size: 13.5px; color: var(--ink-soft); padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { text-decoration: none; }

.page-head { padding: clamp(30px, 5vw, 54px) 0 26px; }
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); max-width: 720px; font-size: 18px; }

.script { font-family: "Marck Script", cursive; font-size: 1.6em; color: var(--wood-3); line-height: 1.1; }

/* ---------- Движение ---------- */

.btn { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; top: -20%; left: -70%; width: 45%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); transition: left .75s ease; pointer-events: none;
}
.btn--gold:hover::after { left: 130%; }

.header { transition: box-shadow .35s ease, background .35s ease; }
.header.is-scrolled { box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }

.mi__price { transition: box-shadow .3s ease, transform .3s ease; }
.mi:hover .mi__price { box-shadow: 0 2px 0 rgba(0, 0, 0, .22), 0 0 0 2px rgba(217, 169, 76, .38); transform: translateX(-2px); }

.gallery figure { transition: transform .5s ease, box-shadow .5s ease; }
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(58, 33, 15, .18); }

.strip > div { transition: transform .4s ease; }
.strip > div:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .3, 1);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .reviews { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr; gap: 14px; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header: 64px; }
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; display: none;
    background: rgba(28, 16, 8, .98); border-bottom: 1px solid rgba(217, 169, 76, .3);
    padding: 10px 20px 18px;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(246, 231, 200, .12); }
  .header__phone { display: none; }
  .burger { display: flex; }
  .header__inner .btn--gold { display: none; }
  .bottombar { display: flex; }
  body { padding-bottom: 72px; }
  .contacts { grid-template-columns: 1fr; }
  .map iframe { height: 320px; }
  .slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
  .slider__btn { position: static; transform: none; width: 44px; height: 44px; }
  .slider__btn:active { transform: scale(.96); }
  .slider__dots { margin-top: 0; }
  .review--big { padding: 34px 22px 26px; }
  .review--big p { font-size: 16.5px; }
  .mi { flex-wrap: nowrap; align-items: baseline; gap: 8px; }
  .mi__name { max-width: none; flex: 1 1 auto; min-width: 0; }
  .mi__dots { display: block; min-width: 6px; }
  .mi__price { margin-left: 4px; font-size: 16px; padding: 5px 16px; }
  .hero { min-height: 0; }
  .hero__inner { padding-top: 46px; padding-bottom: 34px; }
  .facts { margin-top: 26px; }
}

@media (max-width: 620px) {
  .grid--3, .grid--2, .reviews, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .menu__head, .menu__body, .menu__foot { padding-left: 16px; padding-right: 16px; }
  .field--inline { grid-template-columns: 1fr; }
  .ribbon { padding: 10px 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
  .slider__btn { position: static; transform: none; width: 44px; height: 44px; }
  .slider__btn:active { transform: scale(.96); }
  .slider__dots { margin-top: 0; }
  .review--big { padding: 34px 22px 26px; }
  .review--big p { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .header, .bottombar, .hero__bg, .hero::after { display: none; }
  body { padding: 0; background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
