/* ============================================================
   Храним память — вариант 6 «Тихая роща»
   Палитра: мох #4d7154 · шалфей #7d9b76 · песок #f8f4ea ·
   небо #e9f1ee · мёд #c2833f · земля/текст #333d2e
   Шрифты: Alegreya (заголовки) + Rubik (текст)
   ============================================================ */

:root {
  --sand:       #f8f4ea;
  --sand-deep:  #efe7d5;
  --sage-bg:    #e9efdd;
  --sky-bg:     #e7f0ea;
  --moss:       #4d7154;
  --moss-dark:  #3c5a43;
  --moss-deep:  #33493a;
  --sage:       #7d9b76;
  --amber:      #c2833f;
  --amber-dark: #a96e2f;
  --amber-soft: #e8b96a;
  --ink:        #333d2e;
  --ink-soft:   #5b6653;
  --white:      #fffdf8;
  --line:       #dcd8c6;
  --r-lg: 30px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 10px 30px rgba(61, 82, 58, .12);
  --shadow-soft: 0 6px 18px rgba(61, 82, 58, .08);
  --font-head: 'Alegreya', Georgia, serif;
  --font-body: 'Rubik', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--moss-deep);
}

h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
h3 { font-size: 21px; }

a { color: var(--moss); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}
.container--narrow { max-width: 820px; }
.container--mid { max-width: 940px; }

.section { padding: 72px 0 0; position: relative; }
.section > .container { padding-bottom: 72px; }
.section--sage { background: var(--sage-bg); }
.section--sky { background: var(--sky-bg); }

.section__sub {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 34px;
  font-size: 18px;
}

/* ---------- волнистые разделители-«холмы» ---------- */
.wave { line-height: 0; }
.wave svg { width: 100%; height: 64px; }
.wave--hero      { color: var(--moss-deep); margin-top: -8px; }
.wave--to-sage   { color: var(--sage-bg); }
.wave--to-sand   { color: var(--sand); }
.wave--to-sky    { color: var(--sky-bg); }
.wave--footer    { color: var(--sand); transform: scaleY(-1) scaleX(-1); }
.wave--footer svg { height: 56px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--green {
  background: var(--moss);
  color: #fff;
  box-shadow: 0 8px 20px rgba(77, 113, 84, .32);
}
.btn--green:hover { background: var(--moss-dark); }

.btn--amber {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 8px 20px rgba(194, 131, 63, .32);
}
.btn--amber:hover { background: var(--amber-dark); }

.btn--outline {
  background: transparent;
  color: var(--moss);
  border: 2px solid var(--moss);
}
.btn--outline:hover { background: var(--moss); color: #fff; }

.btn--lg { min-height: 56px; padding: 15px 36px; font-size: 18px; }

/* ---------- шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 244, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--moss-deep);
}
.logo__mark { width: 36px; height: 36px; color: var(--moss); flex: 0 0 auto; }
.logo__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .01em;
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--moss); border-color: var(--sage); }
.header__cta { flex: 0 0 auto; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--sage-bg);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--moss-deep);
  transition: transform .2s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- герой ---------- */
.hero {
  position: relative;
  background: linear-gradient(175deg, var(--sky-bg) 0%, #f2f1e2 55%, var(--sand) 100%);
  overflow: clip;
}
.hero__branch {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  color: var(--sage);
  opacity: .35;
  pointer-events: none;
}
.hero__in {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 40px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--moss-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.hero__eyebrow svg { width: 18px; height: 18px; color: var(--sage); }
.hero__sub {
  margin: 18px 0 22px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
}
.hero__list {
  list-style: none;
  margin-bottom: 30px;
}
.hero__list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
.hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  background: var(--moss) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="white" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/14px no-repeat;
  border-radius: 50% 50% 50% 4px;
}
.hero__list b { color: var(--moss-dark); }
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__seclink {
  color: var(--moss);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* --- белая панель (вариант 11) --- */
.candle-panel {
  position: relative;
  margin: 0 auto;
  padding: 34px 26px 30px;
  max-width: 400px;
  background:
    radial-gradient(320px 260px at 50% 30%, rgba(201, 163, 92, .10), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f4f1e9 100%);
  border: 1px solid rgba(60, 60, 50, .10);
  border-radius: 26px;
  box-shadow: 0 20px 44px rgba(80, 80, 70, .14);
  overflow: hidden;
}

.candle-scene {
  position: relative;
  width: 300px;
  height: 400px;
  margin: 0 auto;
}

.candle-scene__halo {
  position: absolute;
  left: 50%; top: 52px;
  width: 300px; height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(244, 196, 106, .30) 0%,
    rgba(244, 196, 106, .10) 40%,
    transparent 70%);
  animation: halo 3.2s ease-in-out infinite;
}
@keyframes halo {
  0%, 100% { opacity: .8; transform: translateX(-50%) scale(1); }
  40%      { opacity: 1;  transform: translateX(-50%) scale(1.06); }
  70%      { opacity: .88; transform: translateX(-50%) scale(.98); }
}

/* живое пламя: 4 слоя с независимыми периодами */
.candle-scene__heat {
  position: absolute;
  left: 50%; top: 96px;
  width: 60px; height: 60px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 178, .16), transparent 65%);
  filter: blur(6px);
  animation: heat 1.9s ease-in-out infinite;
}
@keyframes heat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: .7; }
  30%      { transform: translateX(-52%) translateY(-6px) scale(1.12); opacity: 1; }
  60%      { transform: translateX(-48%) translateY(-3px) scale(.94); opacity: .8; }
}

.flame {
  position: absolute;
  left: 50%; top: 118px;
  width: 34px; height: 76px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: sway 3.4s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: translateX(-50%) rotate(0deg) scaleY(1); }
  18%      { transform: translateX(-50%) rotate(-2.4deg) scaleY(1.04); }
  34%      { transform: translateX(-50%) rotate(1.6deg)  scaleY(.97); }
  52%      { transform: translateX(-50%) rotate(-1.1deg) scaleY(1.07); }
  71%      { transform: translateX(-50%) rotate(2.2deg)  scaleY(.95); }
  86%      { transform: translateX(-50%) rotate(-1.7deg) scaleY(1.02); }
}
.flame__outer {
  position: absolute;
  left: 50%; bottom: 0;
  width: 34px; height: 76px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  background: linear-gradient(180deg,
    rgba(255, 176, 84, 0) 0%,
    rgba(255, 160, 60, .55) 22%,
    rgba(240, 120, 34, .85) 62%,
    rgba(214, 96, 28, .9) 100%);
  border-radius: 50% 50% 46% 46% / 74% 74% 26% 26%;
  filter: blur(1.6px);
  box-shadow: 0 0 26px rgba(244, 180, 90, .55), 0 0 70px rgba(244, 180, 90, .28);
  animation: shape-outer 2.3s ease-in-out infinite;
}
@keyframes shape-outer {
  0%, 100% { border-radius: 50% 50% 46% 46% / 74% 74% 26% 26%; transform: translateX(-50%) scale(1, 1); }
  25%      { border-radius: 56% 44% 48% 44% / 80% 68% 26% 30%; transform: translateX(-50%) scale(.96, 1.06); }
  50%      { border-radius: 44% 56% 44% 48% / 68% 80% 30% 26%; transform: translateX(-51%) scale(1.05, .95); }
  75%      { border-radius: 52% 48% 46% 46% / 76% 72% 28% 26%; transform: translateX(-49%) scale(.98, 1.03); }
}
.flame__mid {
  position: absolute;
  left: 50%; bottom: 2px;
  width: 22px; height: 56px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  background: linear-gradient(180deg,
    #fff6da 0%,
    #ffdf9a 34%,
    #ffb75c 72%,
    #f09033 100%);
  border-radius: 50% 50% 44% 44% / 72% 72% 28% 28%;
  filter: blur(.5px);
  animation: shape-mid 1.7s ease-in-out infinite;
}
@keyframes shape-mid {
  0%, 100% { transform: translateX(-50%) scale(1, 1) rotate(0deg); }
  30%      { transform: translateX(-51%) scale(.93, 1.1) rotate(-1.4deg); }
  55%      { transform: translateX(-49%) scale(1.07, .93) rotate(1deg); }
  80%      { transform: translateX(-50%) scale(.97, 1.05) rotate(-.6deg); }
}
.flame__core {
  position: absolute;
  left: 50%; bottom: 4px;
  width: 11px; height: 32px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  background: radial-gradient(ellipse at 50% 75%, #ffffff 0%, #fff4cf 55%, rgba(255, 236, 170, 0) 100%);
  border-radius: 50% 50% 44% 44% / 70% 70% 30% 30%;
  animation: core 1.1s ease-in-out infinite;
}
@keyframes core {
  0%, 100% { opacity: 1;   transform: translateX(-50%) scaleY(1); }
  40%      { opacity: .82; transform: translateX(-50%) scaleY(1.14); }
  70%      { opacity: .95; transform: translateX(-50%) scaleY(.9); }
}
.flame__blue {
  position: absolute;
  left: 50%; bottom: -2px;
  width: 14px; height: 12px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 30%, rgba(120, 170, 255, .85), rgba(80, 120, 230, .35) 60%, transparent 100%);
  border-radius: 50%;
  filter: blur(1px);
  animation: blueflick 1.4s ease-in-out infinite;
}
@keyframes blueflick {
  0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); }
  50%      { opacity: .6;  transform: translateX(-50%) scale(.88, 1.1); }
}

.candle-scene__wick {
  position: absolute;
  left: 50%; top: 180px;
  width: 3.5px; height: 14px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ff9a3c 0%, #7a5a2e 35%, #3c2f1c 100%);
  border-radius: 2px;
  box-shadow: 0 -2px 6px rgba(255, 154, 60, .8);
}

.candle-scene__body {
  position: absolute;
  left: 50%; top: 192px;
  width: 92px; height: 150px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #d9cdb4 0%, #f2e8d2 30%, #efe3c8 55%, #c9bda2 100%);
  border-radius: 10px 10px 6px 6px;
  box-shadow: 0 12px 26px rgba(96, 82, 50, .22);
}
.candle-scene__body::before {
  content: '';
  position: absolute;
  left: 0; top: -7px;
  width: 100%; height: 16px;
  background: linear-gradient(90deg, #e5dabf, #f7eed9 45%, #d5c9ac);
  border-radius: 50% 50% 40% 40% / 90% 90% 30% 30%;
}
.candle-scene__body::after {
  content: '';
  position: absolute;
  left: 22%; top: 8%;
  width: 18%; height: 70%;
  background: linear-gradient(180deg, rgba(255, 226, 160, .55), transparent);
  border-radius: 40%;
}

.candle-scene__base {
  position: absolute;
  left: 50%; top: 340px;
  width: 170px; height: 22px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #c9a35c 0%, #9a7a3c 100%);
  border-radius: 50% / 100% 100% 40% 40%;
  box-shadow: 0 10px 30px rgba(90, 74, 40, .25);
}
.candle-scene__base::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -14px;
  width: 220px; height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(244, 196, 106, .18), transparent 70%);
}

.candle-scene__laurel {
  position: absolute;
  left: 50%; bottom: -12px;
  width: 330px;
  transform: translateX(-50%);
}

/* ---------- полоса фактов ---------- */
.strip {
  background: var(--moss-deep);
  color: #eef2e4;
  padding: 30px 0 40px;
}
.strip__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.strip__item {
  text-align: center;
  padding: 0 8px;
}
.strip__item b {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--amber-soft);
  margin-bottom: 4px;
}
.strip__item span { font-size: 15px; opacity: .85; }

/* ---------- карточки услуг ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; padding-right: 8px; }
.card__price {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: 14px;
}
.card__price span { font-size: 16px; color: var(--ink-soft); font-family: var(--font-body); font-weight: 400; }
.card ul {
  list-style: none;
  margin-bottom: 22px;
  flex: 1;
}
.card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--ink-soft);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--sage);
  border-radius: 50% 50% 50% 3px;
  transform: rotate(-45deg);
  opacity: .8;
}
.card ul li b { color: var(--moss-dark); }
.card .btn { width: 100%; }

.card--accent {
  border: 2px solid var(--sage);
  background: linear-gradient(180deg, #fbfff4 0%, var(--white) 60%);
}
.card__badge {
  position: absolute;
  top: -15px;
  left: 24px;
  background: var(--amber);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(194, 131, 63, .35);
}

/* ---------- шаги ---------- */
.steps {
  list-style: none;
  position: relative;
  max-width: 760px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  border-left: 3px dotted var(--sage);
  opacity: .6;
}
.step {
  position: relative;
  display: flex;
  gap: 22px;
  margin-bottom: 26px;
}
.step__num {
  position: relative;
  z-index: 1;
  flex: 0 0 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--moss);
  color: #fff;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50% 50% 50% 12px;
  box-shadow: 0 6px 14px rgba(77, 113, 84, .3);
}
.step__body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
  flex: 1;
  min-width: 0;
}
.step__body h3 { margin-bottom: 6px; font-size: 20px; }
.step__body p { color: var(--ink-soft); font-size: 16px; }

.candle-note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin-top: 36px;
  background: var(--white);
  border: 1px dashed var(--sage);
  border-radius: var(--r-md);
  padding: 20px 24px;
  color: var(--moss-dark);
}
.candle-note svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--amber); }
.candle-note p { font-style: italic; }

/* ---------- отчёт ---------- */
.report {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.report__list {
  list-style: none;
  margin-bottom: 22px;
}
.report__list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
.report__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  background: var(--sage) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="white" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/14px no-repeat;
  border-radius: 50% 50% 50% 4px;
}
.report__list b { color: var(--moss-dark); }
.report__note {
  background: var(--sage-bg);
  border-radius: var(--r-md);
  padding: 16px 20px;
  color: var(--moss-dark);
  font-style: italic;
}

.report__sheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.report__sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--moss-deep);
  margin-bottom: 18px;
}
.report__sheet-head svg { width: 30px; height: 30px; color: var(--moss); }
.report__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  background:
    linear-gradient(160deg, #cfd6bd 0%, #a8b491 60%, #8fa07b 100%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.ph--after {
  background:
    linear-gradient(160deg, #dcebd2 0%, #a9c79a 55%, #7ba06c 100%);
}
.ph span {
  background: rgba(51, 61, 46, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 999px;
}
.report__row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 9px 0;
  border-top: 1px dashed var(--line);
}
.report__row i { font-style: normal; flex: 0 0 auto; }

/* ---------- кому / cta ---------- */
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0 42px;
}
.who__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
  font-size: 17px;
}
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--moss) 0%, var(--moss-dark) 100%);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  overflow: clip;
}
.cta-band__leaf {
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: 150px;
  height: 150px;
  color: #fff;
  opacity: .08;
  pointer-events: none;
}
.cta-band p {
  flex: 1 1 340px;
  color: #f2f5e8;
  font-size: 19px;
  font-family: var(--font-head);
}
.cta-band .btn { flex: 0 0 auto; }

/* ---------- faq ---------- */
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  overflow: clip;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--moss-deep);
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 26px;
  height: 26px;
  background: var(--sage-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" stroke="%234d7154" stroke-width="2.4" stroke-linecap="round"/></svg>') center/14px no-repeat;
  border-radius: 50%;
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

/* ---------- форма ---------- */
.form-sec {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(125, 155, 118, .18), transparent 70%),
    var(--sand);
  padding-bottom: 80px;
}
.form-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px 44px 38px;
  box-shadow: var(--shadow);
}
.form-card__sprout {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  color: var(--moss);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-wide { grid-column: 1 / -1; }
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--moss-dark);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  min-height: 48px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.form-grid textarea { min-height: 90px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(125, 155, 118, .18);
  background: #fff;
}
.form-grid ::placeholder { color: #9aa08d; }

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  cursor: pointer;
}
.agree input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--moss);
  flex: 0 0 auto;
}
.form-submit { width: 100%; }
.form-status {
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
  min-height: 24px;
}
.form-status.ok { color: var(--moss-dark); }
.form-status.err { color: #a3452f; }

/* ---------- футер ---------- */
.footer {
  background: var(--moss-deep);
  color: #d9e0cc;
}
.footer__in {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 22px 44px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 380px;
}
.footer__brand .logo__mark { color: var(--amber-soft); }
.footer__brand b {
  font-family: var(--font-head);
  font-size: 20px;
  color: #f2f5e8;
}
.footer__brand p { font-size: 15px; opacity: .8; margin-top: 4px; }
.footer__note { max-width: 420px; font-size: 15px; }
.footer__note p { opacity: .8; }
.footer__copy { margin-top: 10px; opacity: .55 !important; }

/* ---------- появление при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .flame, .flame__outer, .flame__mid, .flame__core, .flame__blue,
  .candle-scene__heat, .candle-scene__halo { animation: none; }
}

/* ============================================================
   ПЛАНШЕТ 769–1024
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .strip__in { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__in { gap: 32px; }
  .report { gap: 32px; }
  .nav { gap: 16px; }
}

/* ============================================================
   ТЕЛЕФОН ≤768
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding-top: 52px; }
  .section > .container { padding-bottom: 52px; }
  .section__sub { font-size: 16px; margin-bottom: 26px; }

  /* шапка: бургер-меню */
  .header__cta { display: none; }
  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 0;
    font-size: 17px;
  }

  /* герой */
  .hero__in {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 12px;
  }
  .hero__branch { width: 130px; opacity: .25; }
  .hero__sub { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .hero__seclink { margin: 0 auto; }
  .hero__art { order: 2; }
  .candle-panel { max-width: 340px; padding: 24px 14px 20px; }
  .candle-scene { height: 340px; transform: scale(.85); transform-origin: top center; }
  .wave svg { height: 40px; }

  /* полоса */
  .strip { padding: 24px 0 30px; }
  .strip__in { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .strip__item b { font-size: 18px; }
  .strip__item span { font-size: 13px; }

  /* карточки */
  .cards, .cards--3 { grid-template-columns: 1fr; gap: 22px; }
  .card { padding: 26px 20px 22px; }
  .card--accent { margin-top: 8px; }

  /* шаги */
  .steps::before { left: 23px; }
  .step { gap: 14px; margin-bottom: 18px; }
  .step__num { flex: 0 0 48px; height: 48px; font-size: 20px; }
  .step__body { padding: 16px 18px; }
  .candle-note { padding: 16px 18px; }

  /* отчёт */
  .report { grid-template-columns: 1fr; gap: 28px; }
  .report__sheet { transform: none; padding: 20px; }

  /* кому */
  .who { grid-template-columns: 1fr; gap: 14px; }
  .who__item { padding: 18px 20px; }
  .cta-band { padding: 28px 22px; gap: 20px; }
  .cta-band p { font-size: 17px; }
  .cta-band .btn { width: 100%; }

  /* faq */
  .faq summary { font-size: 16px; padding: 16px 18px; }
  .faq p { padding: 0 18px 16px; }

  /* форма */
  .form-card { padding: 36px 20px 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }

  /* футер */
  .footer__in { flex-direction: column; gap: 24px; }
}
