:root {
  --bg: #f3efe4;
  --bg-soft: #fffaf1;
  --panel: rgba(255, 255, 255, 0.92);
  --text: #262b24;
  --muted: #697063;
  --line: rgba(70, 61, 43, 0.12);
  --green: #4e6a38;
  --green-deep: #2f4729;
  --red: #b60914;
  --red-deep: #8f0710;
  --gold: #d6aa3b;
  --cream: #fff7e7;
  --danger: #b1352f;
  --success: #47683b;
  --shadow: 0 22px 60px rgba(50, 43, 28, 0.13);
}

* { 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,.9), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(182, 9, 20, .08), transparent 28%),
    linear-gradient(180deg, #f8f3e8 0%, #eef1df 48%, #f6eadc 100%);
}
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: 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: 30px;
  background: #e9e0cf;
  box-shadow: var(--shadow);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 24, 19, .18) 0%, rgba(20,24,19,0) 42%, rgba(20, 24, 19, .12) 100%);
}
.hero-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 14px 16px 15px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255, 250, 240, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(34, 24, 14, .14);
}
.hero-title span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(182, 9, 20, .10);
  color: var(--red-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-title h1 {
  margin: 8px 0 0;
  font-size: 42px;
  line-height: .92;
  letter-spacing: -.06em;
  color: #111714;
}
.hero-body { margin: 0 14px; padding: 0 4px; }
.lead {
  margin: 0 0 14px;
  color: #4f564b;
  font-size: 15px;
  line-height: 1.7;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 16px;
}
.price-old,
.price-current {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.045em;
}
.price-old {
  color: #9b9a8d;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: #151b16; font-weight: 900; }
.discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; box-shadow: none; }
.button-primary {
  color: #fffdf7;
  background: linear-gradient(180deg, #c20b18 0%, #8e0710 100%);
  box-shadow: 0 16px 32px rgba(142, 7, 16, .24);
}
.meta-note {
  margin: 10px 0 0;
  text-align: center;
  color: #7d7c70;
  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: 11px 0 0;
  color: #1f251f;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -.048em;
}
.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,.94), rgba(255,248,235,.96));
  box-shadow: 0 18px 42px rgba(72, 60, 34, .08);
}
.story-photo { aspect-ratio: .75 / 1; object-fit: cover; }
.story-copy, .order-card { padding: 22px; }
.story-copy p,
.order-card > p {
  margin: 0;
  color: #4f574b;
  font-size: 15px;
  line-height: 1.72;
}
.story-copy p + p { margin-top: 14px; }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.spec-grid div {
  min-height: 86px;
  padding: 15px 14px;
  border-radius: 20px;
  border: 1px solid rgba(78, 106, 56, .10);
  background: rgba(238, 243, 224, .78);
}
.spec-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--green-deep);
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.spec-grid span {
  display: block;
  color: #66715e;
  font-size: 13px;
  line-height: 1.35;
}
.soft-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,237,217,.96));
  border: 1px solid rgba(182, 9, 20, .10);
}
.soft-note h3,
.image-card h3 {
  margin: 0 0 9px;
  color: #20271f;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.soft-note p { font-size: 14px; line-height: 1.64; color: #586052; }
.feature-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px;
}
.image-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  box-shadow: 0 16px 34px rgba(72, 60, 34, .06);
}
.image-card img { aspect-ratio: .86 / 1; object-fit: cover; }
.image-card div { padding: 18px 20px 20px; }
.image-card p {
  margin: 0;
  color: #51594e;
  font-size: 14px;
  line-height: 1.65;
}
.visual-strip {
  display: grid;
  gap: 12px;
  margin: 0 14px;
}
.visual-strip img {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(72, 60, 34, .06);
}
.reviews-intro { text-align: left; }
.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:
    radial-gradient(circle at 92% 8%, rgba(182,9,20,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(243,239,225,.98));
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffdf7;
  background: linear-gradient(180deg, #c20b18, #8f0710);
  font-weight: 900;
}
.review-meta h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.1; }
.review-meta span { color: #7a806f; font-size: 13px; }
.review-card p { margin: 0; color: #4e564b; font-size: 15px; line-height: 1.72; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(86, 72, 48, .13);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(52, 43, 28, .10);
  cursor: pointer;
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--red-deep);
  border-right: 2px solid var(--red-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: 16px 0 4px; }
.carousel-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; background: rgba(142, 7, 16, .22); }
.carousel-dots button.is-active { background: var(--red-deep); }

.order-card { padding: 22px; }
.order-card h2 { margin-bottom: 10px; }
.order-form { margin-top: 18px; }
.field-group { margin-bottom: 15px; }
.field-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #2d342c; }
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(78, 106, 56, .16);
  border-radius: 18px;
  outline: none;
  background: rgba(255,255,255,.98);
  color: var(--text);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field-group input:focus { border-color: rgba(182, 9, 20, .42); box-shadow: 0 0 0 4px rgba(182, 9, 20, .08); }
.field-group input::placeholder { color: #9ca294; }
.field-group.has-error input { border-color: var(--danger); background: rgba(255,247,244,.98); box-shadow: 0 0 0 4px rgba(177, 53, 47, .07); }
.field-error,
.form-success { min-height: 19px; margin: 7px 0 0; color: var(--danger); font-size: 13px; line-height: 1.4; }
.form-success { color: var(--success); text-align: center; }
.form-success.is-error { color: var(--danger); }
.privacy-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.5; }

.site-footer { margin-top: 14px; padding: 0 16px 20px; color: #5d6258; 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; flex-wrap: wrap; justify-content: center; gap: 10px 16px; margin-bottom: 12px; }
.footer-links a { font-size: 13px; text-decoration: none; color: #555d50; }
.footer-links a:hover { color: var(--red-deep); }
.registry-note { color: #7b8075; }

.legal-body { min-height: 100vh; padding: 18px; }
.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,.95);
  box-shadow: var(--shadow);
}
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-page h1 { margin: 0 0 16px; font-size: 30px; line-height: 1.08; letter-spacing: -.03em; }
.legal-page h2 { margin: 20px 0 10px; font-size: 20px; line-height: 1.15; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.7; color: #4e5546; }
.legal-page p { margin: 0; }
.legal-page p + p, .legal-page h2 + p { margin-top: 10px; }
.legal-page ul { margin: 10px 0 0; padding-left: 19px; }
.legal-links-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.legal-links-inline a { padding: 9px 12px; border-radius: 999px; background: rgba(182, 9, 20, .08); color: var(--red-deep); text-decoration: none; font-size: 13px; font-weight: 700; }

@media (min-width: 431px) {
  .page-shell { padding-top: 18px; }
}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .hero-title { background: rgba(255,250,240,.92); }
}
