:root {
  --bg: #f4f7ef;
  --bg-soft: #fafcf7;
  --card: rgba(255,255,255,0.9);
  --text: #263324;
  --muted: #62715d;
  --line: rgba(70, 102, 60, 0.12);
  --accent: #73985d;
  --accent-deep: #527541;
  --accent-soft: rgba(115, 152, 93, 0.14);
  --danger: #b8564f;
  --success: #4f6c44;
  --shadow: 0 20px 44px rgba(80, 109, 70, 0.10);
}

* { 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 left, rgba(255,255,255,0.85), transparent 28%),
    linear-gradient(180deg, #f8fbf3 0%, #eef4e8 46%, #edf2e6 100%);
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a { color: inherit; }
button, input { font: inherit; }

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

.hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-media {
  position: relative;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--card);
}
.hero-media img {
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 41, 18, 0.06) 0%, rgba(22, 41, 18, 0.10) 100%);
}
.hero-copy {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.44);
  background: rgba(255,255,255,0.64);
  backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 230px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  color: #2d3a2b;
  font-size: 31px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero-body {
  margin: 0 12px;
  padding: 0 4px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.64;
  color: #455342;
}
.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 {
  color: #9fb296;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  color: #2b3928;
  font-weight: 800;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled {
  opacity: .75;
  cursor: default;
}
.button-primary {
  color: #f8fff4;
  background: linear-gradient(180deg, #7ea86a 0%, #587d47 100%);
  box-shadow: 0 12px 24px rgba(88, 125, 71, 0.24);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #72856b;
  text-align: center;
}

.section,
.order-section {
  padding: 0;
}
.section-head {
  margin: 0 12px 12px;
}
.section-head h2 {
  margin: 12px 0 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.story-block,
.order-card {
  margin: 0 12px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.93), rgba(247,250,243,0.98));
  box-shadow: var(--shadow);
}
.story-main-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.story-copy,
.order-card {
  padding: 20px;
}
.story-copy p,
.order-card > p,
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: #4a5945;
}
.story-copy p + p {
  margin-top: 14px;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.feature-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}
.info-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.info-item {
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(82, 117, 65, 0.10);
  background: rgba(255,255,255,0.68);
}
.info-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #2f3c2d;
}
.info-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #586855;
}
.story-note {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(244,250,239,0.95), rgba(250,252,247,0.96));
  border: 1px solid rgba(82, 117, 65, 0.10);
}
.story-note img {
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  border-radius: 18px;
}
.story-note h3,
.order-card h2,
.review-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.story-note p {
  font-size: 14px;
  line-height: 1.62;
  color: #5a6855;
}

.reviews-head {
  margin-bottom: 10px;
}
.review-photo-wrap {
  margin: 0 12px 12px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(80, 109, 70, 0.08);
}
.review-photo-wrap img {
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}
.reviews-carousel {
  position: relative;
  margin: 0 12px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}
.carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 182px;
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,249,241,0.98));
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.review-city {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(115, 152, 93, 0.16);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.review-card h3 {
  font-size: 18px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(82, 117, 65, 0.12);
  background: rgba(255,255,255,0.88);
  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: 14px 0 2px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(82, 117, 65, 0.24);
}
.carousel-dots button.is-active {
  background: var(--accent-deep);
}

.order-card {
  padding: 20px;
}
.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;
  padding: 0 15px;
  border-radius: 18px;
  border: 1px solid rgba(82, 117, 65, 0.14);
  background: rgba(255,255,255,0.97);
  color: var(--text);
}
.field-group input::placeholder {
  color: #98a98f;
}
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,247,246,0.98);
}
.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 18px;
  text-align: center;
  color: #5c6a57;
}
.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: #7b8a75;
}

.legal-body {
  min-height: 100vh;
  padding: 16px;
}
.legal-page {
  width: min(100%, 392px);
  margin: 0 auto;
  padding: 22px 20px 26px;
  background: rgba(255,255,255,0.95);
  border-radius: 26px;
  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: 28px;
  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: #495745;
}

@media (min-width: 700px) {
  .page-shell {
    padding: 18px 0 24px;
  }
}
