:root {
  --bg: #eef2ea;
  --bg-warm: #f6f1e9;
  --card: rgba(255, 255, 255, 0.94);
  --text: #272a24;
  --muted: #646b5d;
  --line: rgba(43, 51, 35, 0.10);
  --accent: #6c854b;
  --accent-deep: #425b2e;
  --accent-soft: rgba(108, 133, 75, 0.14);
  --stone: #90897e;
  --danger: #a94d42;
  --success: #476b3b;
  --shadow: 0 24px 60px rgba(54, 63, 42, 0.11);
}

* { 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 50% 0%, rgba(255,255,255,0.92), transparent 34%),
    linear-gradient(180deg, #f6f8f1 0%, var(--bg) 42%, var(--bg-warm) 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: 20px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-photo {
  position: relative;
  margin: 0 14px;
  aspect-ratio: 0.86 / 1;
  overflow: hidden;
  border-radius: 34px;
  background: #dfe8d9;
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 12, 0.22) 0%, rgba(16, 24, 12, 0.02) 42%, rgba(16, 24, 12, 0.16) 100%),
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.22), transparent 34%);
  pointer-events: none;
}
.hero-title {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-title span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.48);
  backdrop-filter: blur(12px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-title h1 {
  margin: 0;
  max-width: 285px;
  padding: 15px 17px 16px;
  border-radius: 25px;
  background: rgba(23, 31, 18, 0.48);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fbfbf5;
  font-size: 39px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  box-shadow: 0 18px 34px rgba(17, 25, 12, 0.16);
}
.hero-body {
  margin: 0 14px;
  padding: 0 6px;
}
.lead {
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 1.68;
  color: #4e5548;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 28px;
  letter-spacing: -0.045em;
}
.price-old {
  font-weight: 700;
  color: #a1a69b;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-weight: 800;
  color: #242820;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(108, 133, 75, 0.13);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
}
.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;
  font-weight: 800;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #789257 0%, #536f39 100%);
  color: #fbfcf8;
  box-shadow: 0 14px 26px rgba(83, 111, 57, 0.26);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #7a8172;
  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.045em;
}
.section-intro p {
  margin: 8px 0 0;
  color: #70776b;
  font-size: 14px;
}
.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(248,245,239,0.98));
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(74, 85, 54, 0.07);
}
.story-photo {
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  object-position: 50% 50%;
}
.story-copy,
.order-card { padding: 22px; }
.story-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f564a;
}
.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(239, 243, 235, 0.94);
  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 {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #626a5c;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(238,232,222,0.82));
  border: 1px solid rgba(61, 67, 52, 0.08);
}
.mini-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.mini-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(61, 67, 52, 0.08);
}

.reviews-carousel {
  position: relative;
  margin: 0 14px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 34px rgba(74, 85, 54, 0.06);
}
.carousel-track {
  display: flex;
  transition: transform .38s ease;
  will-change: transform;
}
.review-card {
  flex: 0 0 100%;
  min-height: 208px;
  padding: 23px 24px 25px;
  background:
    radial-gradient(circle at top right, rgba(108,133,75,0.11), transparent 36%),
    rgba(255,255,255,0.94);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 {
  margin: 0;
  font-size: 16px;
}
.review-meta span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #7b8176;
}
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: #4d5448;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  border: 1px solid rgba(55, 63, 45, 0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 24px rgba(37, 43, 31, 0.08);
}
.carousel-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-top: 2px solid #56614b;
  border-left: 2px solid #56614b;
}
.carousel-arrow-prev { left: -5px; }
.carousel-arrow-next { right: -5px; }
.carousel-arrow-prev::before { transform: translateX(2px) rotate(-45deg); }
.carousel-arrow-next::before { transform: translateX(-2px) rotate(135deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(76, 86, 65, 0.22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active {
  width: 22px;
  background: rgba(76, 103, 52, 0.72);
}

.order-section { scroll-margin-top: 18px; }
.order-card h2 {
  margin: 12px 0 10px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.order-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.field-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #434b3d;
}
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border-radius: 18px;
  border: 1px solid rgba(63, 72, 51, 0.14);
  background: rgba(255,255,255,0.86);
  color: var(--text);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}
.field-group input:focus {
  border-color: rgba(83, 111, 57, 0.44);
  box-shadow: 0 0 0 4px rgba(83, 111, 57, 0.10);
  background: #fff;
}
.field-error {
  min-height: 18px;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--danger);
}
.field-group.has-error input {
  border-color: rgba(169, 77, 66, 0.55);
  box-shadow: 0 0 0 4px rgba(169, 77, 66, 0.08);
}
.privacy-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #7b8176;
  text-align: center;
}
.form-success {
  margin: 0;
  min-height: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--success);
}
.form-success.is-error { color: var(--danger); }

.site-footer {
  margin-top: 22px;
  padding: 22px 28px 4px;
  color: #6d7368;
  font-size: 12px;
  line-height: 1.62;
}
.footer-title {
  margin-bottom: 8px;
  color: #3b4236;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.site-footer p { margin: 0 0 11px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 12px;
}
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(109, 115, 104, 0.32);
}
.registry-note { color: #7d8278; }

@media (max-width: 374px) {
  .hero-title h1 { font-size: 34px; }
  .section-intro h2,
  .order-card h2 { font-size: 27px; }
  .price-old,
  .price-current { font-size: 25px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
