/* =====================================================================
   ТИХАЯ КУХНЯ — премиальный журнальный минимализм
   Палитра: крем #F7F4EB · песок #EFECE2 · графит #1C1C1C
            лесной зелёный #2A442E · золото #B89F5D
   ===================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
  --cream: #F7F4EB;
  --sand: #EFECE2;
  --white: #FFFFFF;
  --ink: #1C1C1C;
  --muted: #5A5852;
  --muted-soft: #8A877F;
  --green: #2A442E;
  --green-deep: #1E3324;
  --green-soft: #3A5940;
  --gold: #B89F5D;
  --gold-light: #D6C08B;
  --gold-pale: #E8DCC0;
  --gold-ink: #8A7133;

  --line: rgba(28, 28, 28, 0.09);
  --line-strong: rgba(28, 28, 28, 0.15);
  --cream-line: rgba(247, 244, 235, 0.16);
  --cream-muted: rgba(247, 244, 235, 0.68);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --header-h: 64px;

  --shadow-soft: 0 24px 60px -38px rgba(38, 32, 20, 0.45);
  --shadow-card: 0 18px 40px -30px rgba(38, 32, 20, 0.4);
}

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.modal-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--white); }

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

@media (min-width: 768px) {
  :root { --header-h: 76px; }
}

/* --------------------------- Base helpers --------------------------- */
.shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .shell { padding-inline: 40px; }
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  pointer-events: none;
}
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 14px; height: 14px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--green);
  color: var(--cream);
  font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }

.desktop-only { display: none; }
@media (min-width: 768px) {
  .desktop-only { display: inline; }
  br.desktop-only { display: inline; }
}

/* ------------------------------ Eyebrow ----------------------------- */
.eyebrow {
  margin: 0;
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ------------------------------ Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--green {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 16px 34px -18px rgba(32, 53, 38, 0.7);
}
.btn--green:hover { background: var(--green-deep); box-shadow: 0 18px 38px -18px rgba(32, 53, 38, 0.8); }

.btn--light {
  background: var(--cream);
  color: var(--green);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.5);
}
.btn--light:hover { background: var(--white); }

.btn--outline {
  border-color: rgba(247, 244, 235, 0.32);
  background: transparent;
  color: var(--cream);
}
.btn--outline:hover { border-color: rgba(247, 244, 235, 0.65); background: rgba(247, 244, 235, 0.06); }

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

.btn--sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 13px;
}
.btn--lg {
  min-height: 56px;
  padding: 16px 30px;
  font-size: 15.5px;
}
.btn--block { width: 100%; }

.btn[disabled],
.btn.is-loading {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(247, 244, 235, 0.3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: 0.8; }

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

@media (max-width: 639px) {
  .btn--mobile-full { width: 100%; }
}

/* ------------------------------ Header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 235, 0.84);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 16px 36px -34px rgba(28, 28, 28, 0.55);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--header-h);
}

.brand {
  display: inline-block;
  max-width: 58vw;
  overflow: hidden;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.header__hint {
  display: none;
  color: var(--muted-soft);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .brand { max-width: none; font-size: 1.42rem; }
  .header__hint { display: inline; }
  .header__actions { gap: 22px; }
  .site-header .btn--sm { min-height: 44px; padding: 11px 22px; font-size: 13.5px; }
}

/* ------------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  padding: 38px 0 58px;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero__glow--one {
  top: -220px;
  right: -240px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(239, 236, 226, 0.95) 0%, rgba(239, 236, 226, 0) 68%);
}
.hero__glow--two {
  top: 300px;
  left: -200px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(184, 159, 93, 0.13) 0%, rgba(184, 159, 93, 0) 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}

.hero__title {
  margin: 16px 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7.6vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.045;
}
.hero__title em {
  display: inline;
  color: var(--green);
  font-style: italic;
  background-image: linear-gradient(transparent 88%, rgba(184, 159, 93, 0.2) 88%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.5vw, 1.06rem);
  font-weight: 400;
  line-height: 1.72;
}

.hero__cta {
  margin-top: 28px;
  max-width: 440px;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 15px;
  color: var(--muted-soft);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.hero__note span { position: relative; }
.hero__note span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

@media (min-width: 640px) {
  .hero { padding: 56px 0 76px; }
  .hero__note { font-size: 12px; gap: 5px 18px; }
  .hero__note span + span::before { left: -11px; }
  .hero__cta .btn { width: auto; }
}

@media (min-width: 1024px) {
  .hero { padding: 42px 0 92px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    min-height: min(calc(100vh - var(--header-h) - 130px), 820px);
  }
  .hero__content { padding-bottom: 10px; }
}

/* ----------------------------- Book 3D ------------------------------ */
.book-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 468px;
  padding: 26px 0 38px;
  perspective: 1600px;
  isolation: isolate;
}

.book-scene__backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -3;
  width: min(94vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 44%, #F2EEE3 0%, #EDE8DA 48%, rgba(247, 244, 235, 0) 72%);
  transform: translate(-50%, -50%);
}

.book-scene__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: min(80vw, 388px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 159, 93, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -52%);
}

.hero__botanical {
  position: absolute;
  bottom: 6%;
  left: -4%;
  z-index: -1;
  width: 190px;
  color: rgba(184, 159, 93, 0.5);
  pointer-events: none;
}

.book-scene__spark {
  position: absolute;
  z-index: 4;
  color: var(--gold);
  opacity: 0.7;
  animation: twinkle 5s ease-in-out infinite;
}
.book-scene__spark svg { width: 100%; height: 100%; }
.book-scene__spark--a { top: 13%; right: 7%; width: 17px; height: 17px; }
.book-scene__spark--b { bottom: 26%; left: 4%; width: 10px; height: 10px; animation-delay: 1.6s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9) rotate(0deg); }
  50% { opacity: 0.85; transform: scale(1.08) rotate(12deg); }
}

.book-float {
  position: relative;
  z-index: 2;
  animation: bookFloat 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes bookFloat {
  0%, 100% { transform: translateY(0) rotate(-0.15deg); }
  50% { transform: translateY(-11px) rotate(0.15deg); }
}

.book-3d {
  --bw: clamp(232px, 64vw, 300px);
  position: relative;
  width: var(--bw);
  height: calc(var(--bw) * 1.425);
  transform: rotateY(-20deg) rotateX(4deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
}

.book-3d__pages {
  position: absolute;
  inset: 7px -13px 4px 9px;
  z-index: 0;
  border-radius: 3px 9px 9px 3px;
  background:
    repeating-linear-gradient(0deg, #FCF8EE 0 2px, #E7DFCD 2px 3px);
  box-shadow:
    10px 16px 32px -12px rgba(44, 35, 22, 0.42),
    inset -4px 0 7px rgba(74, 60, 38, 0.12);
  transform: translateZ(-6px);
}
.book-3d__pages::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.5);
}

.book-3d__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 4px 12px 12px 4px;
  background:
    radial-gradient(120% 90% at 72% 0%, rgba(184, 159, 93, 0.19) 0%, rgba(184, 159, 93, 0) 55%),
    radial-gradient(90% 70% at 18% 100%, rgba(9, 20, 13, 0.55) 0%, rgba(9, 20, 13, 0) 62%),
    linear-gradient(145deg, #36563E 0%, #2A442E 43%, #1B2D21 100%);
  box-shadow:
    -17px 28px 46px -17px rgba(18, 31, 22, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset -9px 0 18px rgba(0, 0, 0, 0.24);
  transform: translateZ(10px);
}

.book-3d__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(112deg, transparent 24%, rgba(255, 255, 255, 0.085) 43%, transparent 58%);
  pointer-events: none;
}

.book-3d__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  width: 21px;
  border-radius: 4px 0 0 2px;
  background:
    linear-gradient(90deg, #142319 0%, #213729 48%, #2E4A34 100%);
  box-shadow:
    inset -1px 0 0 rgba(184, 159, 93, 0.3),
    2px 0 7px rgba(0, 0, 0, 0.3);
}

.book-cover__frame {
  position: absolute;
  inset: 13px 13px 13px 31px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 18px;
  border: 1px solid rgba(184, 159, 93, 0.55);
  border-radius: 2px 8px 8px 2px;
  text-align: center;
}
.book-cover__frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(184, 159, 93, 0.24);
  border-radius: 1px 6px 6px 1px;
  pointer-events: none;
}

.book-cover__kicker {
  position: relative;
  z-index: 2;
  color: rgba(214, 192, 139, 0.86);
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
}

.book-cover__title {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 14px 0 10px;
  color: #F7F0DE;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.9vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.book-cover__rule {
  position: relative;
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.book-cover__rule::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: var(--gold-light);
  transform: translate(-50%, -50%) rotate(45deg);
}

.book-cover__count {
  position: relative;
  z-index: 2;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.book-cover__sub {
  position: relative;
  z-index: 2;
  max-width: 150px;
  color: rgba(247, 244, 235, 0.46);
  font-family: var(--sans);
  font-size: 6px;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.book-cover__author {
  position: relative;
  z-index: 2;
  color: rgba(247, 244, 235, 0.86);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.book-cover__art {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 66%;
  height: auto;
  color: var(--gold);
  opacity: 0.3;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.book-cover__seal {
  position: absolute;
  right: 23px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(184, 159, 93, 0.55);
  border-radius: 50%;
  color: rgba(214, 192, 139, 0.85);
  font-family: var(--sans);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.06em;
  place-items: center;
}

.book-scene__badge {
  position: absolute;
  right: 0;
  bottom: 62px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(28, 28, 28, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px -24px rgba(38, 30, 18, 0.5);
}

.book-scene__badge-num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 0.9;
}

.book-scene__badge-text {
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.book-scene__caption {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  color: var(--muted-soft);
  font-size: 9.5px;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .book-scene { min-height: 520px; }
  .hero__botanical { left: 0; width: 215px; }
  .book-scene__badge { right: 4%; bottom: 72px; padding: 12px 16px; }
  .book-scene__badge-num { font-size: 2rem; }
  .book-cover__count { font-size: 8.5px; }
  .book-cover__kicker { font-size: 7.5px; }
  .book-cover__author { font-size: 13px; }
}

@media (min-width: 1024px) {
  .book-scene { min-height: 570px; padding-top: 10px; }
  .book-3d { --bw: 306px; }
  .book-scene__badge { right: 2%; bottom: 84px; }
  .hero__botanical { left: -4%; bottom: 8%; }
}

/* ------------------------------ Sections ---------------------------- */
.section { position: relative; padding: 64px 0; }
.section--sand { background: var(--sand); }

.section__head {
  max-width: 760px;
  margin-bottom: 32px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.section-title em { color: var(--green); font-style: italic; }

.section-lead {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.75;
}
.section__head--center .section-lead { margin-inline: auto; }

@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .section__head { margin-bottom: 46px; }
}

/* ----------------------------- Benefits ----------------------------- */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 21px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.benefit:hover {
  border-color: rgba(184, 159, 93, 0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.benefit__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 159, 93, 0.14);
  color: var(--gold);
  place-items: center;
}
.benefit__icon .icon { width: 17px; height: 17px; }

.benefit h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.benefit p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

@media (min-width: 640px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: 16px; }
  .benefit { padding: 25px 22px; }
}
@media (min-width: 1024px) {
  .benefits { gap: 18px; }
  .benefit { padding: 28px 26px; gap: 16px; }
  .benefit h3 { font-size: 15.5px; }
  .benefit p { font-size: 13.5px; }
}

/* ------------------------------ Recipes ----------------------------- */
.recipes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(28, 28, 28, 0.07);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px -28px rgba(38, 30, 18, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px -30px rgba(38, 30, 18, 0.45);
}

.recipe-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.recipe-card:hover .recipe-card__media img { transform: scale(1.045); }

.recipe-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0) 55%, rgba(20, 28, 18, 0.26) 100%),
    linear-gradient(180deg, rgba(184, 159, 93, 0.06) 0%, rgba(184, 159, 93, 0) 45%);
  pointer-events: none;
}

.recipe-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.recipe-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 17px 15px;
}

.recipe-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.recipe-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.recipe-card > .recipe-card__body > p:not(.recipe-card__meta) {
  flex: 1;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.65;
}

.recipe-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--sand);
  color: var(--muted-soft);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

@media (min-width: 560px) {
  .recipes { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .recipes { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .recipe-card__body { padding: 18px 16px 15px; }
  .recipe-card h3 { font-size: 1.14rem; }
  .recipe-card > .recipe-card__body > p:not(.recipe-card__meta) { font-size: 12.4px; }
}

/* ----------------------------- Audience ----------------------------- */
.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.audience__card {
  position: relative;
  padding: 26px 22px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audience__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 38px;
  height: 2px;
  background: var(--gold);
  opacity: 0.75;
}
.audience__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.audience__num {
  margin-bottom: 18px;
  color: rgba(184, 159, 93, 0.55);
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.9;
}

.audience__card h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.audience__card p:last-child {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .audience { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .audience__card { padding: 30px 26px 32px; }
}

/* ------------------------------ Pricing ----------------------------- */
.section--pricing { padding-top: 40px; padding-bottom: 64px; }

.pricing {
  position: relative;
  overflow: hidden;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(184, 159, 93, 0.1) 0%, rgba(184, 159, 93, 0) 55%),
    var(--green);
  color: var(--cream);
  box-shadow: 0 44px 90px -52px rgba(32, 53, 38, 0.85);
  isolation: isolate;
}

.pricing__glow {
  position: absolute;
  top: -240px;
  right: -200px;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 159, 93, 0.24) 0%, rgba(184, 159, 93, 0) 66%);
  pointer-events: none;
}

.pricing__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(184, 159, 93, 0.55);
  border-radius: 999px;
  background: rgba(184, 159, 93, 0.12);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pricing__title {
  margin-top: 16px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.pricing__subtitle {
  margin-top: 8px;
  color: rgba(247, 244, 235, 0.62);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.pricing__list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}
.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(247, 244, 235, 0.86);
  font-size: 13.5px;
  line-height: 1.55;
}
.pricing__list .icon {
  margin-top: 2px;
  color: var(--gold-light);
}

.pricing__quote {
  margin-top: 26px;
  padding-left: 15px;
  border-left: 1px solid rgba(184, 159, 93, 0.55);
  color: rgba(247, 244, 235, 0.62);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
}

.pricing__panel {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--cream-line);
}

.pricing__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pricing__old {
  position: relative;
  color: rgba(247, 244, 235, 0.42);
  font-family: var(--serif);
  font-size: 1.1rem;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.pricing__price {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(184, 159, 93, 0.18);
}

.pricing__price-note {
  margin-top: 7px;
  color: rgba(247, 244, 235, 0.48);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing__panel .btn--light { margin-top: 20px; }

.pricing__delivery {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  color: rgba(247, 244, 235, 0.6);
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}
.pricing__delivery .icon { margin-top: 2px; color: var(--gold-light); }

.pricing__support {
  margin-top: 14px;
  min-height: 46px;
  padding: 11px 16px;
  font-size: 12px;
}

.pricing__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
  color: rgba(247, 244, 235, 0.42);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .pricing { padding: 40px 36px; }
  .pricing__subtitle { font-size: 13px; }
  .pricing__list li { font-size: 14px; }
}

@media (min-width: 1024px) {
  .section--pricing { padding-top: 54px; padding-bottom: 100px; }
  .pricing { padding: 54px 56px; }
  .pricing__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 58px;
    align-items: center;
  }
  .pricing__panel {
    margin-top: 0;
    padding-top: 8px;
    padding-left: 48px;
    border-top: 0;
    border-left: 1px solid var(--cream-line);
  }
  .pricing__quote { max-width: 400px; }
  .pricing__price { font-size: 4.5rem; }
}

/* -------------------------------- FAQ -------------------------------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line-strong);
}

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

.faq__heading { margin: 0; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 21px 2px 21px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: left;
  transition: color 0.25s ease;
}
.faq__q:hover { color: var(--green); }

.faq__icon {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(42, 68, 46, 0.25);
  border-radius: 50%;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item.is-open .faq__icon {
  border-color: var(--green);
  background: var(--green);
  transform: rotate(180deg);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: var(--cream); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq__a-inner {
  max-width: 700px;
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.faq__a-inner a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .faq__q { padding: 24px 2px 24px 0; }
  .faq__a-inner { padding-bottom: 24px; font-size: 14px; }
}

/* ----------------------------- Final CTA ---------------------------- */
.section--final { padding-top: 8px; padding-bottom: 72px; }

.final-cta {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: 40px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(184, 159, 93, 0.12) 0%, rgba(184, 159, 93, 0) 62%),
    var(--sand);
  text-align: center;
}
.final-cta .section-title { margin-top: 10px; }
.final-cta .section-lead { margin: 14px auto 0; }
.final-cta .btn { margin-top: 24px; }
.final-cta__note {
  margin-top: 12px;
  color: var(--muted-soft);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .final-cta { padding: 54px 48px; }
  .section--final { padding-bottom: 100px; }
}

/* ------------------------------ Footer ------------------------------ */
.site-footer {
  padding: 40px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.footer__tagline {
  margin-top: 5px;
  color: var(--muted-soft);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__link {
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(90, 88, 82, 0.28);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer__link:hover { color: var(--green); text-decoration-color: var(--gold); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 10.5px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .site-footer { padding: 52px 0 34px; }
  .footer__top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .footer__nav { justify-content: flex-end; }
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
  }
}

/* --------------------------- Simple pages --------------------------- */
.simple-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 235, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.simple-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.simple-header__link {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.simple-header__link:hover { color: var(--green); }

.simple-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.simple-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--muted-soft);
  font-size: 10.5px;
  line-height: 1.6;
}
.simple-footer__inner a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.simple-footer__inner a:hover { color: var(--green); }

/* ---------------------------- Status pages -------------------------- */
.status-page {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 70px);
  padding: 36px 0 52px;
  overflow: hidden;
  isolation: isolate;
}
.status-page__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  z-index: -1;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 236, 226, 0.95) 0%, rgba(247, 244, 235, 0) 68%);
  transform: translateX(-50%);
  pointer-events: none;
}
.status-page__glow--soft { background: radial-gradient(circle, rgba(184, 159, 93, 0.1) 0%, rgba(247, 244, 235, 0) 68%); }

.status-card {
  max-width: 660px;
  margin-inline: auto;
  padding: 34px 22px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 34px 80px -56px rgba(38, 30, 18, 0.45);
  text-align: center;
}

.status-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  place-items: center;
}
.status-icon--success {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 0 0 6px rgba(184, 159, 93, 0.16), 0 18px 34px -18px rgba(32, 53, 38, 0.6);
}
.status-icon--success .icon { width: 30px; height: 30px; }
.status-icon--fail {
  border: 1px solid rgba(184, 159, 93, 0.5);
  background: var(--sand);
  color: var(--green);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.status-card h1 {
  margin: 12px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.status-card__lead {
  max-width: 500px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}
.status-card__lead b { color: var(--ink); font-weight: 600; }

.status-steps {
  margin: 26px 0;
  padding: 4px 18px;
  border-radius: var(--radius);
  background: var(--sand);
  text-align: left;
}
.status-steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.65;
}
.status-steps li + li { border-top: 1px solid rgba(28, 28, 28, 0.07); }
.status-steps b { color: var(--ink); font-weight: 600; }

.status-steps__num {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  place-items: center;
}

.status-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 159, 93, 0.28);
  border-radius: 14px;
  background: rgba(184, 159, 93, 0.07);
  text-align: left;
}
.status-note--neutral {
  border-color: var(--line);
  background: var(--cream);
}
.status-note .icon { margin-top: 2px; color: var(--gold); }
.status-note p {
  color: var(--muted);
  font-size: 11.8px;
  line-height: 1.65;
}
.status-note b { color: var(--ink); font-weight: 600; }
.status-note a {
  color: var(--green);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.status-actions .btn { width: 100%; }

.status-fineprint {
  margin-top: 18px;
  color: var(--muted-soft);
  font-size: 10px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .status-page { padding: 52px 0 72px; }
  .status-card { padding: 44px 40px 38px; }
  .status-card__lead { font-size: 15px; }
  .status-steps li { font-size: 13.5px; padding: 15px 0; }
  .status-actions { flex-direction: row; justify-content: center; }
  .status-actions .btn { width: auto; min-width: 190px; }
  .status-note p { font-size: 12.2px; }
}

/* ------------------------------- Modals ----------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal.is-open { display: flex; }

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 27, 21, 0.56);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.modal.is-open .modal__overlay { opacity: 1; }

.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 0 50px 120px -40px rgba(10, 16, 11, 0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.05);
  color: var(--muted);
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.modal__close:hover { background: rgba(28, 28, 28, 0.09); color: var(--ink); }
.modal__close .icon { width: 18px; height: 18px; }

/* Payment modal */
.payment__head { padding-right: 34px; }
.payment__title {
  margin: 7px 0 7px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.payment__lead {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.pay-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 18px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.pay-summary__cover {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 50px;
  border: 1px solid rgba(184, 159, 93, 0.55);
  border-radius: 2px 5px 5px 2px;
  background: linear-gradient(145deg, #36563e, #1e3324);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 11px;
  place-items: center;
  box-shadow: inset 3px 0 0 rgba(0, 0, 0, 0.25);
}
.pay-summary__info { min-width: 0; flex: 1; }
.pay-summary__title {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pay-summary__meta {
  margin-top: 2px;
  color: var(--muted-soft);
  font-size: 9.5px;
  line-height: 1.4;
}
.pay-summary__price {
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
  white-space: nowrap;
}

.field { margin-bottom: 14px; }

.field__label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field__input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(28, 28, 28, 0.16);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field__input::placeholder { color: #A6A29A; }
.field__input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(42, 68, 46, 0.08);
}
.field__input.is-invalid {
  border-color: #A9442F;
  box-shadow: 0 0 0 4px rgba(169, 68, 47, 0.08);
  animation: fieldShake 0.32s ease;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  65% { transform: translateX(4px); }
}

.field__hint {
  display: block;
  margin-top: 6px;
  color: var(--muted-soft);
  font-size: 10.5px;
  line-height: 1.5;
}
.field__error {
  display: block;
  margin-top: 5px;
  color: #A9442F;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 14px;
  color: var(--muted);
  font-size: 10.8px;
  line-height: 1.55;
  cursor: pointer;
  user-select: none;
}
.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.check__box {
  position: relative;
  display: grid;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1.5px solid rgba(28, 28, 28, 0.24);
  border-radius: 5px;
  background: var(--white);
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.check__box::after {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-bottom: 1.8px solid var(--white);
  border-left: 1.8px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.16s ease;
}
.check input:checked + .check__box {
  border-color: var(--green);
  background: var(--green);
}
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(42, 68, 46, 0.12); }

.check__text { flex: 1; }

.link-inline {
  padding: 0;
  color: var(--green);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(42, 68, 46, 0.45);
  text-underline-offset: 2px;
}
.link-inline:hover { text-decoration-color: var(--gold); color: var(--green-deep); }

.form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(169, 68, 47, 0.22);
  border-radius: 10px;
  background: rgba(169, 68, 47, 0.06);
  color: #973D29;
  font-size: 11.5px;
  line-height: 1.5;
}

.payment__secure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-top: 11px;
  color: var(--muted-soft);
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
}
.payment__secure .icon { margin-top: 1px; }

/* Legal modals */
.modal--legal .modal__panel {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
}

.legal__head {
  position: relative;
  flex: 0 0 auto;
  padding: 26px 60px 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.legal__head h2 {
  margin: 6px 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.legal__meta {
  color: var(--muted-soft);
  font-size: 10.5px;
  line-height: 1.5;
}
.legal__head .modal__close { top: 18px; right: 18px; }

.legal__body {
  flex: 1 1 auto;
  padding: 20px 24px 30px;
  overflow-y: auto;
  color: var(--muted);
  font-size: 12.6px;
  line-height: 1.75;
  overscroll-behavior: contain;
}
.legal__body h3 {
  margin: 22px 0 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.legal__body h3:first-child { margin-top: 0; }
.legal__body p { margin-bottom: 11px; }
.legal__body .link-inline { font-size: inherit; }
.legal__note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  background: var(--sand);
  color: var(--muted-soft);
  font-size: 11.5px;
}

@media (min-width: 768px) {
  .legal__head { padding: 30px 70px 20px 32px; }
  .legal__body { padding: 24px 32px 36px; font-size: 13.2px; }
}

/* Mobile bottom-sheet modals */
@media (max-width: 639px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }
  .modal__panel {
    max-width: none;
    max-height: 93vh;
    margin: 0;
    padding: 26px 20px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 22px 22px 0 0;
    transform: translateY(30px);
  }
  .modal--legal .modal__panel {
    height: 92vh;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }
  .modal--legal .legal__body {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

/* ---------------------------- Mobile CTA ---------------------------- */
.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(247, 244, 235, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 30px -26px rgba(28, 28, 28, 0.5);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.3s ease, visibility 0.3s;
}
.mobile-cta.is-visible { visibility: visible; transform: none; }
body.modal-open .mobile-cta { visibility: hidden; transform: translateY(110%); }

.mobile-cta__price { min-width: 104px; }
.mobile-cta__price span {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}
.mobile-cta__price small {
  display: block;
  margin-top: 1px;
  color: var(--muted-soft);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.mobile-cta .btn {
  flex: 1;
  max-width: 210px;
  min-height: 45px;
  padding: 10px 16px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .mobile-cta { display: none !important; }
}

/* ------------------------- Reveal animations ------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------- Плавные появления фото ---------------------- */
.js .recipe-card__img {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.7s ease,
    transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .recipe-card__img.is-loaded {
  opacity: 1;
  transform: none;
}
.js .recipe-card:hover .recipe-card__img.is-loaded { transform: scale(1.045); }

/* ------------------------- Прогресс чтения ------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 61;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, var(--green) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

/* --------------------- Каскадное появление героя -------------------- */
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger] > *:nth-child(1) { transition-delay: 0.04s; }
.js [data-stagger] > *:nth-child(2) { transition-delay: 0.12s; }
.js [data-stagger] > *:nth-child(3) { transition-delay: 0.2s; }
.js [data-stagger] > *:nth-child(4) { transition-delay: 0.28s; }
.js [data-stagger] > *:nth-child(5) { transition-delay: 0.36s; }

/* ----------------------- Мягкий наклон книги ------------------------ */
.book-3d { transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }

@media (min-width: 1024px) and (hover: hover) {
  .hero__visual.is-tilting .book-3d {
    transform:
      rotateY(calc(-20deg + var(--tilt-x, 0deg)))
      rotateX(calc(4deg + var(--tilt-y, 0deg)))
      rotateZ(-1.5deg);
  }
  .pricing {
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.6s ease;
  }
  .pricing:hover {
    transform: translateY(-4px);
    box-shadow: 0 54px 110px -52px rgba(32, 53, 38, 0.95);
  }
}

/* Карточки рецептов: чуть более «дорогое» появление */
.js .recipe-card.reveal {
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.js .recipe-card.reveal.is-visible { transform: none; }

.book-scene__badge-num { font-variant-numeric: tabular-nums; }

/* --------------------------- Мобильная версия ----------------------- */
@media (max-width: 639px) {
  .shell { padding-inline: 18px; }

  .hero { padding-top: 24px; padding-bottom: 46px; }
  .hero__grid { gap: 32px; }
  .hero__title { font-size: clamp(1.88rem, 8.4vw, 2.5rem); margin-top: 12px; }
  .hero__lead { font-size: 0.95rem; line-height: 1.68; }
  .hero__cta { margin-top: 22px; max-width: none; }
  .hero__cta .btn { min-height: 54px; }
  .hero__note { gap: 6px 12px; font-size: 10.5px; }

  .book-scene { min-height: 430px; padding-top: 18px; padding-bottom: 30px; }
  .book-3d { --bw: clamp(210px, 62vw, 258px); }
  .book-scene__badge { bottom: 48px; padding: 9px 12px; }
  .book-scene__caption { margin-top: 20px; }

  .section { padding: 52px 0; }
  .section__head { margin-bottom: 26px; }
  .section-title { font-size: clamp(1.72rem, 7.2vw, 2.3rem); }
  .section-lead { margin-top: 12px; font-size: 0.94rem; }

  .recipe-card h3 { font-size: 1.1rem; }
  .recipe-card__body { padding: 15px 15px 14px; }
  .recipe-card > .recipe-card__body > p:not(.recipe-card__meta) { font-size: 12.4px; }

  .pricing { padding: 24px 18px; border-radius: 22px; }
  .pricing__title { font-size: clamp(1.85rem, 7.4vw, 2.4rem); }
  .pricing__price { font-size: clamp(2.9rem, 13vw, 3.7rem); }
  .pricing__list { margin-top: 20px; }
  .pricing__quote { margin-top: 20px; font-size: 0.95rem; }

  .faq__q { gap: 12px; padding: 18px 0; font-size: 1.02rem; }
  .faq__a-inner { padding: 0 6px 18px 0; font-size: 13px; }

  .final-cta { padding: 32px 18px; }
  .final-cta .btn { width: 100%; }

  .site-footer { padding-bottom: calc(34px + 76px); }
  .footer__nav { gap: 10px 16px; }

  .field__input { font-size: 16px; } /* iOS не зумит поле при фокусе */
  .modal__panel { max-height: 92dvh; }
}

/* На тач-экранах убираем «залипающий» hover */
@media (hover: none) {
  .recipe-card:hover,
  .benefit:hover,
  .audience__card:hover { transform: none; }
  .recipe-card:hover .recipe-card__media img.is-loaded { transform: none; }
}

/* Уважение к системной настройке «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js [data-stagger] > *,
  .js .recipe-card__img { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}

/* ----------------------------- Small print --------------------------- */
@media (max-width: 359px) {
  .shell { padding-inline: 16px; }
  .pricing { padding: 24px 16px; }
  .book-3d { --bw: 224px; }
  .header__actions .btn { padding-inline: 13px; font-size: 12px; }
  .hero__note { font-size: 10px; }
  .mobile-cta__price { min-width: 92px; }
  .mobile-cta .btn { font-size: 12px; }
}
