:root {
  --bg: #edf1e7;
  --bg-soft: #f8f5ef;
  --card: rgba(255, 255, 255, 0.9);
  --text: #292a24;
  --muted: #65685d;
  --line: rgba(48, 56, 38, 0.10);
  --accent: #6f8f45;
  --accent-deep: #46612a;
  --accent-soft: rgba(111, 143, 69, 0.14);
  --accent-warm: #d8c8b0;
  --danger: #b55245;
  --success: #4d6a41;
  --shadow: 0 22px 50px rgba(54, 63, 42, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.85), transparent 28%),
    linear-gradient(180deg, #f5f7f1 0%, #eef2e8 35%, #f4efe7 100%);
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a { color: inherit; }
button, input { font: inherit; }

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

.hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-card {
  position: relative;
  margin: 0 14px;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
  background:
    radial-gradient(circle at 20% 18%, rgba(223, 243, 183, 0.45), transparent 24%),
    radial-gradient(circle at 85% 86%, rgba(255, 247, 229, 0.55), transparent 30%),
    linear-gradient(165deg, #29311f 0%, #4f6d2e 46%, #e7dcc8 100%);
  box-shadow: var(--shadow);
}
.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.65;
}
.hero-card::before {
  width: 180px;
  height: 180px;
  top: -38px;
  right: -54px;
  background: rgba(210, 237, 155, 0.18);
}
.hero-card::after {
  width: 140px;
  height: 140px;
  bottom: -24px;
  left: -38px;
  background: rgba(255, 240, 216, 0.22);
}
.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,0.68);
  border: 1px solid rgba(255,255,255,0.36);
  backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 250px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(27, 35, 20, 0.46);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f7f7f1;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero-visual {
  position: absolute;
  inset: 120px 16px 16px 16px;
  display: grid;
  place-items: end center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.18));
}
.hero-body {
  margin: 0 14px;
  padding: 0 6px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #4f5348;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.price-old {
  font-weight: 700;
  color: #a7aa9b;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-weight: 800;
  color: #23261f;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled {
  opacity: .75;
  cursor: default;
}
.button-primary {
  background: linear-gradient(180deg, #6c8b45 0%, #4d672f 100%);
  color: #fbfcf8;
  box-shadow: 0 14px 26px rgba(77, 103, 47, 0.26);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #7f8376;
  text-align: center;
}

.section,
.order-section {
  padding: 0;
}
.section-intro {
  margin: 0 14px 14px;
}
.section-intro h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.story-card,
.order-card {
  margin: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,243,236,0.98));
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(74, 85, 54, 0.06);
}
.story-photo {
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
}
.story-copy,
.order-card {
  padding: 22px;
}
.story-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f5348;
}
.story-copy p + p {
  margin-top: 14px;
}
.facts-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.fact-item {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(240, 244, 235, 0.92);
  border: 1px solid rgba(77, 103, 47, 0.08);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #2d3426;
}
.fact-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #596050;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(237,242,231,0.98));
  border: 1px solid rgba(77, 103, 47, 0.09);
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.mini-note p {
  font-size: 14px;
  line-height: 1.62;
  color: #56604c;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(77, 103, 47, 0.10);
  background: #f4f3ee;
}

.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: 228px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(241,245,236,0.98));
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(111, 143, 69, 0.14);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.review-meta span {
  font-size: 13px;
  color: #76806c;
}
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #4e5546;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(77, 103, 47, 0.12);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  z-index: 2;
}
.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;
  border-radius: 50%;
  border: 0;
  background: rgba(77, 103, 47, 0.22);
}
.carousel-dots button.is-active {
  background: var(--accent-deep);
}

.order-card {
  padding: 22px;
}
.field-group {
  margin-bottom: 16px;
}
.field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.field-group input {
  width: 100%;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(77, 103, 47, 0.14);
  background: rgba(255,255,255,0.98);
  padding: 0 16px;
  color: var(--text);
}
.field-group input::placeholder {
  color: #9aa191;
}
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,246,244,0.96);
}
.field-error,
.form-success {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--danger);
}
.form-success {
  color: var(--success);
}
.form-success.is-error {
  color: var(--danger);
}
.privacy-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin-top: 14px;
  padding: 0 16px 20px;
  text-align: center;
  color: #58604f;
}
.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;
}
.registry-note {
  color: #7d8474;
}

.legal-body {
  min-height: 100vh;
  padding: 18px;
}
.legal-page {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 24px 22px 28px;
  background: rgba(255,255,255,0.95);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.legal-page h1 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.legal-page h2 {
  margin: 20px 0 10px;
  font-size: 20px;
}
.legal-page p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4e5546;
}
.legal-page p + p,
.legal-page h2 + p {
  margin-top: 10px;
}

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