:root {
  --bg: #ececeb;
  --bg-warm: #f4f0e9;
  --panel: #fbfbfa;
  --panel-soft: #f1f2ef;
  --text: #252827;
  --muted: #656b67;
  --soft: #8d918e;
  --line: rgba(35, 42, 39, 0.11);
  --accent: #34705c;
  --accent-deep: #245444;
  --accent-soft: rgba(52, 112, 92, 0.12);
  --steel: #b7bbb9;
  --danger: #b24f45;
  --success: #38694e;
  --shadow: 0 22px 54px rgba(27, 34, 31, 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 50% 0%, rgba(255,255,255,.92), transparent 26%),
    linear-gradient(180deg, #f4f4f3 0%, var(--bg) 46%, var(--bg-warm) 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: 20px; }

.hero { display: flex; flex-direction: column; gap: 14px; }
.hero-media {
  position: relative;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.9);
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-media img { aspect-ratio: 0.96 / 1; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,16,.14) 0%, transparent 38%, rgba(13,17,16,.10) 100%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  right: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.72);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-overlay h1 {
  max-width: 330px;
  margin: 0;
  padding: 14px 16px 15px;
  border-radius: 22px;
  background: rgba(22,27,25,.78);
  border: 1px solid rgba(255,255,255,.14);
  color: #f8faf8;
  font-size: clamp(29px, 8vw, 35px);
  line-height: 1.01;
  letter-spacing: -.045em;
  box-shadow: 0 14px 30px rgba(15,19,17,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-body { margin: 0 14px; padding: 0 4px; }
.lead {
  margin: 0 0 15px;
  color: #505652;
  font-size: 15px;
  line-height: 1.68;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.045em;
}
.price-old {
  color: #9b9f9c;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: #222625; font-weight: 800; }
.discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  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: 19px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; transform: none; }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #3b7a65 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 28px rgba(36,84,68,.24);
}
.meta-note {
  margin: 10px 0 0;
  color: #7a807c;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.section,
.order-section { padding: 0; scroll-margin-top: 12px; }
.section-intro { margin: 0 14px 14px; }
.section-intro h2 {
  margin: 11px 0 0;
  color: #262a28;
  font-size: 30px;
  line-height: 1.07;
  letter-spacing: -.042em;
}
.story-card,
.order-card {
  margin: 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,247,245,.98));
  box-shadow: 0 18px 38px rgba(30,38,34,.07);
}
.story-photo { aspect-ratio: .79 / 1; object-fit: cover; background: #d4d4d3; }
.story-copy,
.order-card { padding: 22px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #505753;
  font-size: 15px;
  line-height: 1.7;
}
.story-copy > p + p { margin-top: 14px; }
.facts-grid { display: grid; gap: 10px; margin-top: 18px; }
.fact-item {
  padding: 15px 16px;
  border: 1px solid rgba(52,112,92,.09);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(239,244,241,.96), rgba(245,246,244,.98));
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #29342f;
  font-size: 14px;
}
.fact-item p { margin: 0; color: #58615c; font-size: 14px; line-height: 1.55; }
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(35,42,39,.09);
  border-radius: 21px;
  background: linear-gradient(150deg, #2d3431 0%, #48504d 100%);
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.mini-note h3 { color: #f4f6f5; }
.mini-note p { margin: 0; color: #d9ddda; font-size: 14px; line-height: 1.62; }
.detail-photo {
  margin-top: 18px;
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
  border: 1px solid rgba(35,42,39,.10);
  border-radius: 21px;
  background: #d8d8d7;
}

.reviews-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.rating {
  flex: 0 0 auto;
  margin-bottom: 3px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(35,42,39,.08);
  color: #49504c;
  font-size: 13px;
  font-weight: 750;
}
.reviews-carousel { position: relative; margin: 0 12px; }
.carousel-viewport { overflow: hidden; border-radius: 28px; }
.carousel-track { display: flex; transition: transform .34s ease; }
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 244px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,244,242,.98));
}
.review-card-photo { min-height: 430px; }
.review-photo { height: 205px; object-fit: cover; object-position: center; background: #d2d2d1; }
.review-content { padding: 23px 22px 22px; }
.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: 800;
}
.review-meta h3 { margin: 0 0 4px; font-size: 18px; }
.review-meta span { color: #77807b; font-size: 13px; }
.review-card p { margin: 0; color: #4e5651; font-size: 15px; line-height: 1.7; }
.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(35,42,39,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(26,31,29,.12);
  cursor: pointer;
  transform: translateY(-50%);
}
.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;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(36,84,68,.22);
  cursor: pointer;
}
.carousel-dots button.is-active { background: var(--accent-deep); }

.order-card { padding: 22px; }
.order-card > p { margin-bottom: 19px; }
.field-group { margin-bottom: 15px; }
.field-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(35,42,39,.14);
  border-radius: 17px;
  outline: 0;
  background: rgba(255,255,255,.98);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus { border-color: rgba(52,112,92,.55); box-shadow: 0 0 0 4px rgba(52,112,92,.09); }
.field-group input::placeholder { color: #9a9f9c; }
.field-group.has-error input { border-color: var(--danger); background: #fff8f7; box-shadow: 0 0 0 4px rgba(178,79,69,.07); }
.field-error,
.form-success {
  min-height: 20px;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}
.form-success { color: var(--success); }
.form-success.is-error { color: var(--danger); }
.privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.privacy-note a { text-underline-offset: 2px; }

.site-footer { margin-top: 16px; padding: 0 16px 18px; color: #59605c; text-align: center; }
.footer-title { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.site-footer p { margin: 0 0 12px; font-size: 13px; line-height: 1.62; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; margin-bottom: 12px; }
.footer-links a { font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(89,96,92,.28); }
.registry-note { color: #7e837f; }

@media (min-width: 431px) {
  .page-shell { padding-top: 18px; }
}
@media (max-width: 360px) {
  .hero-overlay h1 { font-size: 28px; }
  .price-old,
  .price-current { font-size: 24px; }
  .section-intro h2 { font-size: 27px; }
  .story-copy,
  .order-card { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
