:root {
  --bg: #f3f0e8;
  --bg-soft: #fbfaf6;
  --card: rgba(255, 255, 255, 0.94);
  --text: #292a23;
  --muted: #737468;
  --line: rgba(71, 75, 49, 0.12);
  --accent: #9ac94d;
  --accent-deep: #4f6c21;
  --accent-dark: #344616;
  --gold: #b58a33;
  --gold-soft: rgba(181, 138, 51, 0.14);
  --danger: #b55245;
  --success: #4d6a41;
  --shadow: 0 24px 60px rgba(70, 64, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -80px, rgba(255,255,255,.95), transparent 36%),
    linear-gradient(180deg, #f8f7f2 0%, #eef3df 36%, #f5efe3 100%);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.page-shell { min-height: 100vh; padding: 14px 0 26px; }
.page,
.site-footer { width: min(100%, 430px); margin: 0 auto; }
.page { display: flex; flex-direction: column; gap: 20px; }

.hero { display: flex; flex-direction: column; gap: 15px; }
.hero-card {
  position: relative;
  min-height: 540px;
  margin: 0 14px;
  overflow: hidden;
  border-radius: 34px;
  background: #dce8bc;
  box-shadow: var(--shadow);
}
.hero-image { width: 100%; height: 540px; object-fit: cover; object-position: 50% 50%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,28,14,.28) 0%, rgba(23,28,14,.06) 32%, rgba(23,28,14,0) 58%, rgba(24,25,17,.18) 100%);
}
.hero-copy {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.50);
  backdrop-filter: blur(12px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.hero-copy h1 {
  max-width: 315px;
  margin: 0;
  padding: 14px 16px 15px;
  border-radius: 22px;
  background: rgba(39, 45, 24, .60);
  border: 1px solid rgba(255,255,255,.15);
  color: #fffdf6;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-shadow: 0 2px 18px rgba(0,0,0,.16);
}
.hero-body { margin: 0 14px; padding: 0 6px; }
.lead {
  margin: 0 0 15px;
  color: #505246;
  font-size: 15px;
  line-height: 1.68;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 11px;
}
.price-old,
.price-current {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.04em;
}
.price-old {
  color: #a4a698;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: #26281f; font-weight: 800; }
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a641c;
  font-size: 13px;
  font-weight: 800;
}
.promo-note,
.order-offer {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(79,108,33,.10);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(231,244,199,.82), rgba(242,247,228,.92));
  color: #4a542d;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 19px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #789b39 0%, #4f6c21 100%);
  color: #fffef9;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(79,108,33,.24);
}
.meta-note { margin: 10px 0 0; color: #808176; font-size: 13px; line-height: 1.5; text-align: center; }

.section-intro { margin: 0 14px 14px; }
.section-intro h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.07;
  letter-spacing: -.04em;
}
.story-card,
.order-card {
  margin: 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,247,240,.98));
  box-shadow: 0 18px 38px rgba(73,67,42,.07);
}
.story-photo { aspect-ratio: .82 / 1; object-fit: cover; object-position: center; }
.story-copy,
.order-card { padding: 22px; }
.story-copy > p,
.order-lead {
  margin: 0;
  color: #505247;
  font-size: 15px;
  line-height: 1.72;
}
.story-copy > p + p { margin-top: 14px; }
.notes-list { display: grid; gap: 10px; margin-top: 19px; }
.note-row {
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(238,246,218,.9), rgba(249,246,235,.94));
  border: 1px solid rgba(79,108,33,.09);
}
.note-row span {
  display: block;
  margin-bottom: 6px;
  color: #7d806f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.note-row strong { display: block; color: #37401f; font-size: 14px; line-height: 1.48; }
.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.product-facts div {
  min-width: 0;
  padding: 13px 8px;
  border-radius: 17px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(83,79,55,.09);
  text-align: center;
}
.product-facts span { display: block; margin-bottom: 6px; color: #858679; font-size: 11px; }
.product-facts strong { display: block; color: #3f422f; font-size: 12px; line-height: 1.35; }

.reviews-carousel { position: relative; margin: 0 14px; }
.carousel-viewport { overflow: hidden; border-radius: 28px; }
.carousel-track { display: flex; transition: transform .35s ease; }
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 234px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(239,246,220,.96));
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(154,201,77,.19);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 { margin: 0 0 4px; font-size: 18px; }
.review-meta span { color: #797d6e; font-size: 13px; }
.review-card p { margin: 0; color: #4e5343; font-size: 15px; line-height: 1.72; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(79,108,33,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--accent-deep);
  border-right: 2px solid var(--accent-deep);
}
.carousel-arrow-prev { left: 8px; }
.carousel-arrow-next { right: 8px; }
.carousel-arrow-prev::before { transform: rotate(-135deg); }
.carousel-arrow-next::before { transform: rotate(45deg); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 4px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(79,108,33,.22); }
.carousel-dots button.is-active { background: var(--accent-deep); }

.order-card { padding: 22px; }
.order-card h2 { margin: 10px 0 10px; font-size: 29px; line-height: 1.08; letter-spacing: -.04em; }
.order-lead { margin-bottom: 15px; }
.order-offer { margin-bottom: 18px; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(79,108,33,.16);
  border-radius: 17px;
  outline: none;
  background: rgba(255,255,255,.99);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-group input:focus { border-color: rgba(79,108,33,.48); box-shadow: 0 0 0 4px rgba(154,201,77,.12); }
.field-group input::placeholder { color: #a1a394; }
.field-group.has-error input { border-color: var(--danger); background: rgba(255,246,244,.96); box-shadow: none; }
.field-error,
.form-success { min-height: 20px; margin: 8px 0 0; color: var(--danger); font-size: 13px; line-height: 1.4; }
.form-success { color: var(--success); }
.form-success.is-error { color: var(--danger); }
.privacy-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

.site-footer { margin-top: 14px; padding: 0 16px 20px; color: #5b5e50; text-align: center; }
.footer-title { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0 0 12px; font-size: 13px; line-height: 1.62; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; }
.footer-links a { font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(79,108,33,.22); }
.registry-note { color: #828477; }

@media (min-width: 431px) {
  .page-shell { padding-top: 18px; }
}

@media (max-width: 360px) {
  .hero-card { min-height: 500px; }
  .hero-image { height: 500px; }
  .hero-copy h1 { font-size: 31px; }
  .price-old, .price-current { font-size: 24px; }
  .section-intro h2 { font-size: 27px; }
  .product-facts { grid-template-columns: 1fr; }
  .product-facts div { text-align: left; padding: 13px 15px; }
}
