:root {
  --bg: #f5f1ea;
  --bg-soft: #fbf8f1;
  --card: rgba(255, 255, 255, 0.94);
  --text: #312f29;
  --muted: #6d685f;
  --line: rgba(66, 54, 43, 0.12);
  --accent: #7f8a54;
  --accent-deep: #586239;
  --accent-soft: rgba(127, 138, 84, 0.14);
  --plum: #79507d;
  --cream: #fffaf0;
  --danger: #ad4b42;
  --success: #4f693d;
  --shadow: 0 24px 64px rgba(68, 54, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(180deg, #f8f4ec 0%, #f1ece2 42%, #f7f3ec 100%);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

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

.hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-media {
  position: relative;
  margin: 0 12px;
  min-height: 620px;
  overflow: hidden;
  border-radius: 34px;
  background: #ece7dc;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.64);
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28, 27, 22, 0.10) 0%, rgba(28, 27, 22, 0.04) 44%, rgba(28, 27, 22, 0.64) 100%),
    radial-gradient(circle at 78% 15%, rgba(255, 250, 232, 0.35), transparent 32%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 45%;
}
.hero-title-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px 18px 20px;
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(42, 34, 27, 0.20);
}
.hero-title-card span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(127, 138, 84, 0.13);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-title-card h1 {
  margin: 12px 0 0;
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: #2a2924;
}
.hero-body {
  margin: 0 14px;
  padding: 2px 6px 0;
}
.lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.68;
  color: #504d45;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.price-old {
  font-weight: 700;
  color: #a9a195;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-weight: 800;
  color: #2b2924;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fffaf2;
  background: linear-gradient(180deg, #8a648e 0%, #6c476f 100%);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(108, 71, 111, 0.22);
}
.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 .18s ease, box-shadow .18s ease, opacity .18s ease;
  font-weight: 800;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #838f58 0%, #5b663a 100%);
  color: #fffdf7;
  box-shadow: 0 16px 28px rgba(91, 102, 58, 0.25);
}
.meta-note {
  margin: 10px 0 0;
  text-align: center;
  color: #7b766d;
  font-size: 13px;
  line-height: 1.45;
}

.section,
.order-section { padding: 0; }
.section-intro {
  margin: 0 14px 14px;
}
.section-intro h2,
.order-card h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: #2e2b25;
}
.story-card,
.order-card {
  margin: 0 14px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 238, 0.98));
  box-shadow: 0 18px 44px rgba(70, 56, 43, 0.07);
}
.story-photo {
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  object-position: center 39%;
}
.story-copy,
.order-card { padding: 22px; }
.story-copy p,
.order-card > p {
  margin: 0;
  color: #514d45;
  font-size: 15px;
  line-height: 1.72;
}
.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: linear-gradient(180deg, rgba(247, 244, 236, 0.95), rgba(239, 234, 224, 0.95));
  border: 1px solid rgba(88, 98, 57, 0.10);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #302e27;
  font-size: 14px;
}
.fact-item p {
  color: #615d52;
  font-size: 14px;
  line-height: 1.56;
}
.care-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(245, 240, 230, 0.98));
  border: 1px solid rgba(121, 80, 125, 0.13);
}
.care-note h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.care-note p {
  font-size: 14px;
  line-height: 1.62;
  color: #5d584f;
}

.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: 220px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,244,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(127, 138, 84, 0.15);
  color: var(--accent-deep);
  font-weight: 900;
}
.review-meta h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.review-meta span {
  color: #7a746b;
  font-size: 13px;
}
.review-card p {
  margin: 0;
  color: #514d45;
  font-size: 15px;
  line-height: 1.7;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(88, 98, 57, 0.14);
  background: rgba(255, 252, 246, 0.94);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(64, 50, 39, 0.10);
}
.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: 15px 0 3px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(88, 98, 57, 0.23);
  cursor: pointer;
}
.carousel-dots button.is-active { background: var(--accent-deep); }

.order-card .section-kicker { margin-bottom: 12px; }
.order-card h2 { margin-bottom: 10px; }
.order-form { margin-top: 18px; }
.field-group { margin-bottom: 16px; }
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #36332c;
  font-size: 14px;
  font-weight: 700;
}
.field-group input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(88, 98, 57, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0 16px;
  color: var(--text);
  outline: none;
}
.field-group input:focus {
  border-color: rgba(88, 98, 57, 0.45);
  box-shadow: 0 0 0 4px rgba(127, 138, 84, 0.11);
}
.field-group input::placeholder { color: #a09a90; }
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255, 247, 245, 0.98);
  box-shadow: 0 0 0 4px rgba(173, 75, 66, 0.08);
}
.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;
  color: #7a746b;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer {
  margin-top: 18px;
  padding: 0 16px 22px;
  color: #615d54;
  text-align: center;
}
.footer-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  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 {
  color: #4f5a34;
  font-size: 13px;
  text-decoration: none;
}
.registry-note { color: #817b71; }

.legal-body {
  min-height: 100vh;
  padding: 18px;
  background: linear-gradient(180deg, #f8f4ec 0%, #f1ece2 100%);
}
.legal-page {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 24px 22px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow);
}
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.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;
  color: #514d45;
  font-size: 15px;
  line-height: 1.7;
}
.legal-page p + p,
.legal-page h2 + p { margin-top: 10px; }

@media (max-width: 380px) {
  .hero-media { min-height: 570px; }
  .hero-media img { height: 570px; }
  .hero-title-card h1 { font-size: 38px; }
  .price-old,
  .price-current { font-size: 25px; }
  .section-intro h2,
  .order-card h2 { font-size: 28px; }
}

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