/* ==========================================================================
   Dastarhan — солнечный лендинг чайханы с 3D-дастарханом
   Стили: переменные → база → кнопки → шапка → hero → бегущая строка →
   меню → ритуал → история → день → гости → визит и форма → FAQ → подвал →
   появление при скролле → адаптив → reduced motion
   ========================================================================== */

:root {
  --bg: #fff8ec;
  --bg-2: #fdf2dd;
  --bg-3: #fffdf7;
  --card: #fffdf7;
  --ink: #33231a;
  --ink-soft: #6b5245;
  --ink-dim: #94796a;
  --sun: #f5b02c;
  --sun-deep: #d98b0d;
  --sun-soft: #ffe4ae;
  --pomegranate: #cf3a2f;
  --turquoise: #0f9384;
  --turquoise-soft: #ddf2ee;
  --line: rgba(51, 35, 26, 0.12);
  --line-strong: rgba(51, 35, 26, 0.22);
  --shadow-sm: 0 2px 10px rgba(120, 74, 30, 0.08);
  --shadow-md: 0 18px 40px rgba(120, 74, 30, 0.13);
  --shadow-lg: 0 30px 70px rgba(120, 74, 30, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--sun-deep);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

blockquote,
figure {
  margin: 0;
}

::selection {
  background: var(--sun);
  color: #3b2410;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

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

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section__head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.section__lede {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #ffcd5c, #f0a41c);
  color: #3a230d;
  box-shadow: 0 14px 30px rgba(217, 139, 13, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 18px 38px rgba(217, 139, 13, 0.38);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--sun-deep);
  background: rgba(245, 176, 44, 0.12);
}

.btn--small {
  padding: 11px 20px;
  font-size: 0.93rem;
}

.btn--wide {
  width: 100%;
}

/* ---------- Переключатель языка ---------- */

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.7);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang:hover {
  border-color: var(--sun-deep);
}

.lang:focus-visible {
  outline: 2px solid var(--sun-deep);
  outline-offset: 2px;
}

.lang__opt {
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--ink-dim);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang__opt.is-active {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- Логотип ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo__mark {
  color: var(--pomegranate);
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.logo__text small {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 14px;
  background: rgba(255, 248, 236, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 249, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(120, 74, 30, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  margin-inline: auto;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding-block: 4px;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__phone {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.header__phone:hover {
  color: var(--pomegranate);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.8);
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(30px, 4.5vw, 64px) clamp(50px, 6vw, 88px);
  background: linear-gradient(180deg, #fff9ee 0%, #fff5e0 62%, var(--bg) 100%);
}

.hero__sun {
  position: absolute;
  top: -26vw;
  right: -12vw;
  width: min(72vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 214, 118, 0.95) 0%,
    rgba(255, 205, 92, 0.55) 38%,
    rgba(255, 205, 92, 0) 68%
  );
  pointer-events: none;
}

.hero__rays {
  position: absolute;
  top: -30vw;
  right: -16vw;
  width: min(88vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(245, 176, 44, 0.16) 0deg 2.4deg,
    rgba(245, 176, 44, 0) 2.4deg 12deg
  );
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  animation: rays-spin 140s linear infinite;
  pointer-events: none;
}

@keyframes rays-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero__content {
  max-width: 620px;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.04;
}

.hero__lead {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stats li + li {
  padding-left: clamp(18px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--pomegranate);
}

.hero__stats span {
  max-width: 15ch;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-dim);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero__plate {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 74%;
  height: 15%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(120, 74, 30, 0.28), rgba(120, 74, 30, 0) 72%);
  filter: blur(6px);
  pointer-events: none;
}

.hero__canvas {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  cursor: grab;
  border-radius: 50%;
  touch-action: pan-y;
}

.hero__canvas:active,
.hero__canvas.is-grabbing {
  cursor: grabbing;
}

.hero__canvas:focus-visible {
  outline: 2.5px solid var(--sun-deep);
  outline-offset: 6px;
}

.hero__fallback {
  width: 100%;
  height: auto;
}

.hero__hint {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  pointer-events: none;
}

.hero__hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pomegranate);
  animation: hint-pulse 2.4s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

/* ---------- Бегущая строка ---------- */

.marquee {
  overflow: hidden;
  padding-block: 13px;
  background: linear-gradient(90deg, #ffd36b, #f5b02c 55%, #ffd36b);
  border-block: 1px solid rgba(51, 35, 26, 0.16);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #43280f;
  animation: marquee-run 34s linear infinite;
}

.marquee__dot {
  color: var(--pomegranate);
  font-size: 0.62rem;
}

@keyframes marquee-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Меню ---------- */

.menu {
  background: var(--bg);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.chip {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--sun-deep);
  color: var(--ink);
  transform: translateY(-1px);
}

.chip:focus-visible {
  outline: 2px solid var(--sun-deep);
  outline-offset: 2px;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--sun), var(--pomegranate));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 176, 44, 0.6);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.card__head h3 {
  font-size: 1.32rem;
}

.card__price {
  flex: none;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--sun-soft);
  font-size: 0.9rem;
  font-weight: 700;
  color: #6a4408;
  white-space: nowrap;
}

.card__desc {
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card__meta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.card[hidden] {
  display: none;
}

.menu__empty {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-soft);
}

.menu__empty[hidden] {
  display: none;
}

/* ---------- Ритуал дастархана ---------- */

.dastarkhan {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  border-block: 1px solid var(--line);
}

.ritual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.ritual__item {
  padding-top: 22px;
  border-top: 2px solid var(--sun);
}

.ritual__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--turquoise-soft);
  color: var(--turquoise);
}

.ritual__icon svg {
  width: 24px;
  height: 24px;
}

.ritual__item h3 {
  font-size: 1.2rem;
}

.ritual__item p {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--ink-soft);
}

.dastarkhan__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 40px);
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.dastarkhan__note span {
  color: var(--pomegranate);
  font-size: 1.1rem;
}

/* ---------- История ---------- */

.story {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.story::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -22vw;
  width: min(60vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(207, 58, 47, 0.14);
  box-shadow: inset 0 0 0 40px rgba(245, 176, 44, 0.06),
    inset 0 0 0 92px rgba(15, 147, 132, 0.05);
  pointer-events: none;
}

.story__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}

.story__text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.story__text p {
  margin-top: 20px;
  max-width: 54ch;
  color: var(--ink-soft);
}

.story__quote {
  margin-top: 32px;
  padding: 24px 26px;
  border-left: 3px solid var(--sun);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-2);
}

.story__quote .icon--quote {
  width: 28px;
  height: 28px;
  color: var(--pomegranate);
  opacity: 0.55;
}

.story__quote p {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.story__quote footer {
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.story__figures {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.story__figures li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.story__figures strong {
  flex: none;
  min-width: 92px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--pomegranate);
}

.story__figures span {
  font-size: 0.9rem;
  line-height: 1.42;
  color: var(--ink-soft);
}

/* ---------- День ---------- */

.day {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 0 0 clamp(26px, 3vw, 38px) clamp(20px, 3vw, 34px);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6.5px;
  top: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg-2);
  border-radius: 50%;
  background: var(--pomegranate);
  box-shadow: 0 0 0 1px var(--pomegranate);
}

.timeline__time {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--sun-deep);
  line-height: 1;
}

.timeline h3 {
  font-size: 1.2rem;
}

.timeline p {
  margin-top: 6px;
  max-width: 58ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Гости ---------- */

.guests {
  background: var(--bg);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.review {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.review__stars {
  color: var(--sun);
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.review blockquote {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 20px;
}

.review figcaption strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.review figcaption span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Визит и форма ---------- */

.visit {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--line);
}

.visit__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: start;
  gap: clamp(26px, 4vw, 60px);
}

.visit__info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.visit__lede {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--ink-soft);
}

.visit__list {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.visit__list li {
  display: flex;
  gap: 16px;
}

.visit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--pomegranate);
}

.visit__icon svg {
  width: 21px;
  height: 21px;
}

.visit__list strong {
  display: block;
  font-weight: 650;
  font-size: 1rem;
}

.visit__list div span {
  display: block;
  margin-top: 4px;
  max-width: 44ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.visit__list a {
  border-bottom: 1px solid rgba(207, 58, 47, 0.4);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.visit__list a:hover {
  color: var(--pomegranate);
  border-bottom-color: var(--pomegranate);
}

.visit__aside {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--turquoise-soft);
  font-size: 0.9rem;
  color: #0a665c;
}

.visit__aside .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--turquoise);
}

.visit__panel {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.form__title {
  font-size: 1.6rem;
}

.form__lede {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.field__hint {
  font-weight: 400;
  color: var(--ink-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 62px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b3a094;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun-deep);
  background: #fffdf7;
  box-shadow: 0 0 0 3px rgba(245, 176, 44, 0.24);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--pomegranate);
  box-shadow: 0 0 0 3px rgba(207, 58, 47, 0.14);
}

.field__error {
  min-height: 1.1em;
  margin-top: 5px;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--pomegranate);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--sun-deep);
}

.form .btn--wide {
  margin-top: 18px;
}

.form__status {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--turquoise);
}

.success {
  padding: clamp(18px, 3vw, 30px) 0 6px;
  text-align: center;
}

.success[hidden] {
  display: none;
}

.success__mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  color: var(--turquoise);
}

.success h3 {
  font-size: 1.5rem;
}

.success p {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.success .btn {
  margin-top: 20px;
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--bg);
}

.faq__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(26px, 4vw, 64px);
}

.faq__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.faq__note {
  margin-top: 18px;
  max-width: 32ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.faq__note a {
  color: var(--pomegranate);
  border-bottom: 1px solid rgba(207, 58, 47, 0.35);
}

.faq__list {
  border-top: 1px solid var(--line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  text-align: left;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq__q:hover {
  color: var(--pomegranate);
}

.faq__q:focus-visible {
  outline: 2px solid var(--sun-deep);
  outline-offset: 3px;
}

.faq__mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--pomegranate);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq__mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__q[aria-expanded="true"] .faq__mark::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  padding: 0 0 22px;
}

.faq__a[hidden] {
  display: none;
}

.faq__a p {
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Подвал ---------- */

.site-footer {
  padding-block: clamp(44px, 6vw, 72px) 26px;
  background: #2c1d14;
  color: #f3e7d6;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: clamp(24px, 4vw, 52px);
}

.footer__brand .logo__mark {
  color: var(--sun);
}

.footer__brand .logo__text small {
  color: rgba(243, 231, 214, 0.6);
}

.footer__tagline {
  margin-top: 14px;
  max-width: 30ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(243, 231, 214, 0.68);
}

.footer__col h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun);
}

.footer__col a,
.footer__col p {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(243, 231, 214, 0.72);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(243, 231, 214, 0.16);
  font-size: 0.8rem;
  color: rgba(243, 231, 214, 0.55);
}

/* ---------- Страница 404 (cloudflare/404.html) ---------- */

.notfound {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding-block: clamp(40px, 8vw, 90px);
  background: linear-gradient(180deg, #fff9ee, var(--bg) 70%);
}

.notfound__sun {
  position: absolute;
  top: -30vw;
  right: -14vw;
  width: min(70vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 118, 0.9), rgba(255, 205, 92, 0) 68%);
  pointer-events: none;
}

.notfound__inner {
  position: relative;
  max-width: 640px;
  text-align: center;
}

.notfound__logo {
  justify-content: center;
  margin-bottom: 26px;
}

.notfound h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.notfound__lead {
  margin-top: 18px;
  color: var(--ink-soft);
}

.notfound__lead--tk {
  font-size: 0.94rem;
  color: var(--ink-dim);
}

.notfound .btn {
  margin-top: 28px;
}

/* ---------- Появление при скролле ---------- */

.js .reveal {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

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

@media (max-width: 1180px) {
  .header__phone {
    display: none;
  }
}

@media (max-width: 1080px) {
  .ritual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(24px, 3vw, 34px);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }

  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffdf7;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover {
    background: var(--bg-2);
  }

  .header__actions {
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(18px, 3vw, 32px);
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__stage {
    max-width: min(78vw, 460px);
  }

  .hero__stats {
    margin-top: 30px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story__inner,
  .visit__inner,
  .faq__inner {
    grid-template-columns: 1fr;
  }

  .story__figures {
    margin-top: 10px;
  }

  .faq__note {
    max-width: 46ch;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .hero__rays,
  .story::after {
    display: none;
  }

  .hero__stage {
    max-width: min(86vw, 400px);
  }

  .marquee__track {
    gap: 18px;
    font-size: 0.78rem;
  }

  .timeline li {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
  }

  .timeline__time {
    font-size: 1.35rem;
  }

  .ritual {
    grid-template-columns: 1fr;
  }

  .ritual__item {
    padding-top: 18px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: clamp(48px, 9vw, 68px);
  }

  .cards,
  .reviews {
    grid-template-columns: 1fr;
  }

  .review:last-child {
    grid-column: auto;
  }

  .hero__content h1 {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
  }

  .hero__stats {
    gap: 14px 18px;
  }

  .hero__stats li + li {
    padding-left: 18px;
  }

  .hero__stats strong {
    font-size: 1.4rem;
  }

  .hero__hint {
    bottom: 0;
    font-size: 0.74rem;
    padding: 7px 13px;
  }

  .dastarkhan__note {
    align-items: flex-start;
    border-radius: var(--radius);
    font-size: 0.82rem;
  }

  .timeline {
    border-left: 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 0;
    padding-bottom: 22px;
  }

  .timeline li::before {
    display: none;
  }

  .timeline__time {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }

  .story__quote {
    padding: 20px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .header__inner {
    gap: 10px;
  }

  .logo__mark svg {
    width: 34px;
    height: 34px;
  }

  .logo__text strong {
    font-size: 1.18rem;
  }

  .logo__text small {
    display: none;
  }

  .lang__opt {
    min-width: 30px;
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  .burger {
    width: 38px;
    height: 38px;
    padding: 0 8px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__stats li + li {
    padding-left: 14px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }
}







