:root {
  --bg: #eef2ed;
  --bg-soft: #f8f6f1;
  --card: rgba(255, 255, 255, 0.92);
  --text: #272d29;
  --muted: #667067;
  --line: rgba(71, 83, 75, 0.12);
  --accent: #9abd44;
  --accent-deep: #5b7137;
  --accent-soft: rgba(154, 189, 68, 0.16);
  --steel: #8d9797;
  --danger: #b55245;
  --success: #526c40;
  --shadow: 0 22px 52px rgba(50, 58, 54, 0.10);
}

* { 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 18% 0%, rgba(255,255,255,0.95), transparent 31%),
    radial-gradient(circle at 90% 20%, rgba(154,189,68,0.18), transparent 28%),
    linear-gradient(180deg, #f5f7f3 0%, #eaf0e7 44%, #f5f2ec 100%);
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.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(255,255,255,0.56), transparent 25%),
    radial-gradient(circle at 86% 86%, rgba(154,189,68,0.28), transparent 30%),
    linear-gradient(156deg, #d9ded9 0%, #f8f8f4 45%, #9abd44 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.75);
}
.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .7;
}
.hero-card::before {
  width: 180px;
  height: 180px;
  top: -42px;
  right: -62px;
  background: rgba(255,255,255,0.5);
}
.hero-card::after {
  width: 150px;
  height: 150px;
  bottom: -40px;
  left: -40px;
  background: rgba(94, 113, 70, .16);
}
.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.74);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 292px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(31, 37, 34, 0.58);
  border: 1px solid rgba(255,255,255,0.16);
  color: #f9fbf7;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.052em;
}
.hero-visual {
  position: absolute;
  inset: 116px 10px 16px 10px;
  display: grid;
  place-items: center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 35px rgba(0, 0, 0, 0.14));
  mix-blend-mode: normal;
}
.hero-body { margin: 0 14px; padding: 0 6px; }
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #515a53;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 28px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.price-old {
  font-weight: 750;
  color: #a5aaa3;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { font-weight: 850; color: #242a26; }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(91, 113, 55, 0.10);
}
.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;
  font-weight: 800;
  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, #94b83f 0%, #66813a 100%);
  color: #fbfcf8;
  box-shadow: 0 14px 26px rgba(102, 129, 58, 0.25);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #7f877e;
  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.043em;
}
.story-card,
.order-card {
  margin: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,248,244,0.98));
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(61, 72, 64, 0.07);
}
.story-photo {
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  object-position: center;
  background: #fff;
}
.story-copy,
.order-card { padding: 22px; }
.story-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f5a51;
}
.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(238, 244, 233, 0.92);
  border: 1px solid rgba(91, 113, 55, 0.09);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #2f382f;
}
.fact-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #596358;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(239,244,236,0.98));
  border: 1px solid rgba(91, 113, 55, 0.10);
}
.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: #566052;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: .92 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(71, 83, 75, 0.10);
  background: #f4f4f0;
}
.gallery-grid img:last-child {
  grid-column: 1 / -1;
  aspect-ratio: 1.65 / 1;
}

.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: 230px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(240,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: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 850;
}
.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: #4e574e;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(71, 83, 75, 0.12);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(50,58,54,.09);
}
.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;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(91, 113, 55, 0.24);
  cursor: pointer;
}
.carousel-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent-deep);
}

.order-card { text-align: left; }
.order-card .section-kicker { margin-bottom: 12px; }
.order-card > p { margin-bottom: 18px; }
.order-form { display: grid; gap: 13px; }
.field-group { display: grid; gap: 7px; }
.field-group label {
  font-size: 13px;
  font-weight: 750;
  color: #404940;
}
.field-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(71, 83, 75, 0.13);
  background: rgba(255,255,255,0.92);
  color: #273029;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input::placeholder { color: #a1aaa1; }
.field-group input:focus {
  border-color: rgba(91, 113, 55, 0.42);
  box-shadow: 0 0 0 4px rgba(154, 189, 68, 0.12);
  background: #fff;
}
.field-group.has-error input {
  border-color: rgba(181, 82, 69, 0.65);
  box-shadow: 0 0 0 4px rgba(181, 82, 69, 0.08);
}
.field-error {
  min-height: 17px;
  margin: 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.35;
}
.privacy-note {
  margin: -2px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #7f877f;
  text-align: center;
}
.form-success {
  min-height: 18px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--success);
}
.form-success.is-error { color: var(--danger); }

.site-footer {
  margin-top: 24px;
  padding: 24px 22px 6px;
  color: #687268;
  text-align: center;
}
.footer-title {
  margin-bottom: 9px;
  color: #333c34;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.site-footer p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.62;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 12px;
  color: #566151;
  text-decoration: none;
  border-bottom: 1px solid rgba(86, 97, 81, 0.25);
}
.registry-note { color: #7f887f; }

@media (max-width: 360px) {
  .hero-card { min-height: 480px; border-radius: 28px; }
  .hero-copy h1 { font-size: 30px; }
  .section-intro h2 { font-size: 27px; }
  .price-old,
  .price-current { font-size: 25px; }
  .story-copy,
  .order-card { padding: 19px; }
}

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