:root {
  --bg: #f3f0ea;
  --bg-deep: #e6e0d6;
  --card: rgba(255, 255, 255, 0.94);
  --text: #272421;
  --muted: #6c6760;
  --line: rgba(43, 39, 35, 0.10);
  --accent: #8a6744;
  --accent-deep: #4b3421;
  --accent-soft: rgba(138, 103, 68, 0.13);
  --metal: #cdd0cf;
  --dark: #24211e;
  --danger: #b04e43;
  --success: #4a6544;
  --shadow: 0 22px 54px rgba(50, 42, 34, 0.10);
}

* { 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.9), transparent 28%),
    radial-gradient(circle at 0% 26%, rgba(205,208,207,0.38), transparent 28%),
    linear-gradient(180deg, #f7f5f1 0%, #eee9e1 47%, #f5f1ea 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-wrap {
  position: relative;
  margin: 0 14px;
  min-height: 430px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 22% 14%, rgba(255,255,255,0.94), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #ece7de 55%, #d9d2c7 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.84);
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(20, 18, 16, 0.42));
  pointer-events: none;
}
.hero-photo-wrap img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  padding: 20px 10px 84px;
  filter: drop-shadow(0 24px 30px rgba(20, 18, 16, 0.16));
}
.hero-title-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 15px 16px 16px;
  border-radius: 24px;
  background: rgba(30, 27, 24, 0.62);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  color: #fffdf8;
}
.hero-title-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-title-card h1 {
  margin: 0;
  font-size: 41px;
  line-height: .94;
  letter-spacing: -0.06em;
}
.hero-body { margin: 0 14px; padding: 0 6px; }
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #504b44;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 16px;
}
.price-old, .price-current {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.price-old {
  font-weight: 700;
  color: #a8a199;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { font-weight: 800; color: #24211e; }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(138, 103, 68, 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: .75; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #34302c 0%, #1f1d1a 100%);
  color: #fffdf8;
  box-shadow: 0 14px 28px rgba(31, 29, 26, 0.24);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #7c756d;
  text-align: center;
}

.section, .order-section { padding: 0; }
.section-intro { margin: 0 14px 14px; }
.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(43,39,35,0.08);
  backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-intro h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.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(248,245,239,0.99));
  box-shadow: 0 18px 38px rgba(50, 42, 34, 0.07);
}
.story-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}
.story-copy, .order-card { padding: 22px; }
.story-copy p, .order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #504b44;
}
.story-copy p + p { margin-top: 14px; }
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.fact-item {
  min-height: 122px;
  padding: 15px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(246,244,240,0.98), rgba(239,234,226,0.94));
  border: 1px solid rgba(43,39,35,0.08);
}
.fact-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  color: #292520;
}
.fact-item p {
  font-size: 13px;
  line-height: 1.52;
  color: #625c54;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(236,231,222,0.98));
  border: 1px solid rgba(43,39,35,0.08);
}
.mini-note h3, .order-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.mini-note p { font-size: 14px; line-height: 1.62; color: #5d574f; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(43,39,35,0.08);
  background: #fff;
}

.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: 226px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(241,237,229,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(138, 103, 68, 0.14);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 { margin: 0 0 4px; font-size: 18px; }
.review-meta span { font-size: 13px; color: #7d756c; }
.review-card p { margin: 0; font-size: 15px; line-height: 1.72; color: #504b44; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(43,39,35,0.10);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  z-index: 2;
}
.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: 16px 0 4px; }
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(75,52,33,0.22);
}
.carousel-dots button.is-active { background: var(--accent-deep); }

.order-card { padding: 22px; }
.order-form { margin-top: 18px; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field-group input {
  width: 100%;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(43,39,35,0.13);
  background: rgba(255,255,255,0.98);
  padding: 0 16px;
  color: var(--text);
  outline: none;
}
.field-group input:focus {
  border-color: rgba(75,52,33,0.36);
  box-shadow: 0 0 0 4px rgba(138,103,68,0.09);
}
.field-group input::placeholder { color: #9d968d; }
.field-group.has-error input { border-color: var(--danger); background: rgba(255,247,245,0.98); }
.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; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }

.site-footer {
  margin-top: 16px;
  padding: 0 16px 20px;
  text-align: center;
  color: #5f5850;
}
.footer-title { margin-bottom: 12px; font-size: 12px; font-weight: 800; 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 { font-size: 13px; text-decoration: none; }
.registry-note { color: #817970; }

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

@media (max-width: 360px) {
  .hero-photo-wrap { min-height: 400px; }
  .hero-photo-wrap img { height: 400px; padding-bottom: 86px; }
  .hero-title-card h1 { font-size: 36px; }
  .price-old, .price-current { font-size: 24px; }
  .facts-grid { grid-template-columns: 1fr; }
}
