:root {
  --side: 14px;
  --radius-xl: 34px;
  --bg: #e7e6e0;
  --page: #f7f5ef;
  --card: #fffdfa;
  --soft: #eeede5;
  --ink: #282924;
  --text: #4f5149;
  --muted: #74766d;
  --faint: #aaa79c;
  --line: rgba(75, 78, 68, .11);
  --line-strong: rgba(75, 78, 68, .20);
  --accent: #7d826f;
  --accent-dark: #565b49;
  --shadow: rgba(83, 88, 71, .25);
  --focus: rgba(125, 130, 111, .16);
  --dot: #d1cec2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.page-shell {
  width: min(100%, 460px);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--page);
  box-shadow: 0 0 80px rgba(44, 46, 41, .10);
  overflow: hidden;
}
.page { padding-bottom: 10px; }
.section { padding: 22px var(--side) 6px; }
.section-intro { text-align: center; margin: 0 auto 16px; }
.section-kicker, .hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(33px, 9vw, 44px); line-height: .98; letter-spacing: -.055em; margin-bottom: 0; }
h2 { font-size: 26px; line-height: 1.08; letter-spacing: -.04em; margin-bottom: 10px; }
p { color: var(--text); line-height: 1.62; }
.hero { padding: 12px var(--side) 24px; }
.hero-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); min-height: 520px; background: var(--soft); }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,.04) 30%, rgba(22,22,20,.64) 100%); pointer-events: none; }
.hero-visual { position: absolute; inset: 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; padding: 20px 18px; border-radius: 28px; background: rgba(255,255,255,.78); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.62); text-align: center; }
.hero-copy .hero-kicker { color: var(--accent-dark); margin-bottom: 10px; }
.hero-body { padding: 22px 4px 0; text-align: center; }
.lead { font-size: 16px; margin-bottom: 16px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 10px 0 16px; }
.price-old, .price-current { font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.price-old { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-current { color: var(--accent-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; border: 0; border-radius: 999px; padding: 0 24px; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; font-weight: 800; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.button-primary { width: min(100%, 310px); color: #fff; background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%); box-shadow: 0 16px 34px var(--shadow); }
.meta-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.story-card { overflow: hidden; border-radius: var(--radius-xl); background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 54px rgba(35, 37, 32, .08); }
.story-photo { width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; }
.story-copy { padding: 22px 20px 20px; }
.story-copy p { margin-bottom: 14px; }
.facts-grid { display: grid; gap: 10px; margin: 20px 0 8px; }
.fact-item { padding: 16px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); }
.fact-item strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.fact-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.size-line { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }
.size-line span { min-width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--page); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; border-radius: 20px; }
.reviews-carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: 30px; }
.carousel-track { display: flex; transition: transform .42s ease; will-change: transform; }
.review-card { flex: 0 0 100%; min-height: 238px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 16px 48px rgba(35, 37, 32, .07); }
.review-photo { width: 100%; height: 132px; object-fit: cover; border-radius: 22px; margin-bottom: 14px; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--accent-dark); font-weight: 800; }
.review-meta h3 { margin: 0; font-size: 15px; }
.review-meta span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.review-card p { margin-bottom: 0; font-size: 15px; }
.carousel-arrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 10px 28px rgba(45,45,40,.12); cursor: pointer; }
.carousel-arrow::before { content: ""; display: block; width: 11px; height: 11px; border-top: 2px solid var(--accent-dark); border-right: 2px solid var(--accent-dark); margin: 15px auto; }
.carousel-arrow-prev { left: -2px; transform: translateY(-50%); }
.carousel-arrow-next { right: -2px; transform: translateY(-50%); }
.carousel-arrow-prev::before { transform: rotate(-135deg); margin-left: 17px; }
.carousel-arrow-next::before { transform: rotate(45deg); margin-right: 17px; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; }
.carousel-dots button { width: 7px; height: 7px; border: 0; border-radius: 50%; padding: 0; background: var(--dot); cursor: pointer; }
.carousel-dots button.is-active { width: 22px; border-radius: 999px; background: var(--accent-dark); }
.order-section { padding: 28px var(--side) 20px; }
.order-card { text-align: center; padding: 26px 18px 22px; border-radius: var(--radius-xl); background: linear-gradient(180deg, var(--card) 0%, var(--soft) 100%); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(35,37,32,.08); }
.order-card p { margin-bottom: 18px; }
.order-form { text-align: left; display: grid; gap: 13px; }
.field-group label { display: block; margin: 0 0 7px 4px; font-size: 13px; color: var(--muted); font-weight: 700; }
.field-group input { width: 100%; height: 54px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.92); padding: 0 15px; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--focus); }
.field-group.has-error input { border-color: #c56a5c; box-shadow: 0 0 0 4px rgba(197,106,92,.13); }
.field-error { min-height: 17px; margin: 6px 0 0 4px; color: #a84436; font-size: 12px; line-height: 1.35; }
.privacy-note { margin: -2px 2px 0; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-success { margin: 0; min-height: 18px; text-align: center; font-size: 13px; color: var(--accent-dark); }
.form-success.is-error { color: #a84436; }
.site-footer { padding: 26px var(--side) calc(28px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 12px; line-height: 1.55; }
.footer-title { color: var(--ink); font-weight: 800; letter-spacing: .08em; font-size: 11px; margin-bottom: 10px; }
.site-footer p { margin: 0 0 10px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 10px 0; }
.footer-links a { text-decoration: none; border-bottom: 1px solid currentColor; }
.registry-note { font-size: 11px; }
@media (max-width: 380px) {
  .hero-card { min-height: 485px; }
  h1 { font-size: 33px; }
  .price-old, .price-current { font-size: 22px; }
}
