:root {
  --bg: #e8e1d8;
  --bg-deep: #d8cec2;
  --panel: #f7f3ed;
  --panel-soft: #eee7de;
  --text: #282521;
  --muted: #696158;
  --line: rgba(65, 52, 40, 0.12);
  --accent: #b66b19;
  --accent-deep: #7b4312;
  --accent-soft: rgba(182, 107, 25, 0.13);
  --ink: #171717;
  --danger: #a9433b;
  --success: #4f6845;
  --shadow: 0 24px 56px rgba(45, 36, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.92), transparent 31%),
    linear-gradient(180deg, #f0ebe4 0%, var(--bg) 42%, #e4ddd3 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: 15px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  margin: 0 12px;
  min-height: 472px;
  border-radius: 32px;
  background: #272421;
  box-shadow: var(--shadow);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,8,.54) 0%, rgba(8,8,8,.05) 39%, rgba(8,8,8,.02) 61%, rgba(8,8,8,.28) 100%),
    linear-gradient(90deg, rgba(8,8,8,.18), transparent 62%);
}
.hero-copy {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(248,243,236,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 275px;
  padding: 14px 16px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(20,19,18,.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fffaf3;
  font-size: 34px;
  line-height: 1.01;
  letter-spacing: -.045em;
}
.hero-body {
  margin: 0 14px;
  padding: 0 4px;
}
.lead {
  margin: 0 0 15px;
  color: #514b45;
  font-size: 15px;
  line-height: 1.66;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.04em;
}
.price-old {
  color: #9c958d;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  color: var(--ink);
  font-weight: 800;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  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: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #26221f 0%, #171514 100%);
  color: #fffaf4;
  box-shadow: 0 14px 28px rgba(25, 22, 20, .22);
  font-weight: 750;
}
.meta-note {
  margin: 10px 0 0;
  color: #827a72;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.section,
.order-section { padding: 0; }
.section-intro { margin: 0 14px 14px; }
.section-intro .section-kicker,
.order-card > .section-kicker {
  border-color: rgba(182,107,25,.16);
  background: rgba(255,250,243,.65);
}
.section-intro h2 {
  margin: 11px 0 0;
  color: #2c2824;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.story-card,
.order-card {
  overflow: hidden;
  margin: 0 12px;
  border: 1px solid rgba(65,52,40,.10);
  border-radius: 29px;
  background: linear-gradient(180deg, rgba(250,247,242,.98), rgba(239,232,223,.98));
  box-shadow: 0 18px 36px rgba(45,36,28,.07);
}
.story-photo {
  aspect-ratio: 1 / .84;
  object-fit: cover;
  object-position: center;
}
.story-copy,
.order-card { padding: 21px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #575048;
  font-size: 14px;
  line-height: 1.72;
}
.story-copy > p + p { margin-top: 13px; }
.facts-grid {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.fact-item {
  padding: 15px 16px;
  border: 1px solid rgba(105,78,50,.09);
  border-radius: 18px;
  background: rgba(255,252,247,.72);
}
.fact-item strong {
  display: block;
  margin-bottom: 5px;
  color: #332d28;
  font-size: 14px;
}
.fact-item p {
  margin: 0;
  color: #625a52;
  font-size: 13px;
  line-height: 1.58;
}
.mini-note {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(182,107,25,.12);
  border-radius: 21px;
  background: linear-gradient(180deg, rgba(255,252,247,.96), rgba(232,220,206,.83));
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 9px;
  color: #2b2723;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.mini-note p {
  margin: 0;
  color: #5e554d;
  font-size: 13px;
  line-height: 1.65;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: .84 / 1;
  object-fit: cover;
  border: 1px solid rgba(65,52,40,.10);
  border-radius: 18px;
  background: #ded6cc;
}

.reviews-carousel {
  position: relative;
  margin: 0 12px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 27px;
}
.carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 244px;
  padding: 22px 22px 23px;
  border: 1px solid rgba(65,52,40,.10);
  border-radius: 27px;
  background: linear-gradient(180deg, rgba(250,247,242,.98), rgba(237,229,219,.98));
}
.review-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(182,107,25,.13);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 {
  margin: 0 0 3px;
  color: #322d28;
  font-size: 17px;
}
.review-meta span { color: #82796f; font-size: 12px; }
.review-stars {
  margin-bottom: 12px;
  color: #a45e15;
  font-size: 13px;
  letter-spacing: .13em;
}
.review-card p {
  margin: 0;
  color: #544d46;
  font-size: 14px;
  line-height: 1.72;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 1px solid rgba(65,52,40,.12);
  border-radius: 50%;
  background: rgba(251,248,243,.94);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(45,36,28,.10);
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid #4a4037;
  border-right: 2px solid #4a4037;
}
.carousel-arrow-prev { left: 7px; }
.carousel-arrow-next { right: 7px; }
.carousel-arrow-prev::before { transform: rotate(-135deg); }
.carousel-arrow-next::before { transform: rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 2px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(74,64,55,.22);
}
.carousel-dots button.is-active { background: var(--accent); }

.order-card { padding: 22px 21px; }
.order-card > p { margin-bottom: 18px; }
.field-group { margin-bottom: 15px; }
.field-group label {
  display: block;
  margin-bottom: 7px;
  color: #403a34;
  font-size: 13px;
  font-weight: 700;
}
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(65,52,40,.14);
  border-radius: 17px;
  outline: none;
  background: rgba(255,253,249,.98);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus {
  border-color: rgba(182,107,25,.56);
  box-shadow: 0 0 0 3px rgba(182,107,25,.09);
}
.field-group input::placeholder { color: #a39b92; }
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,247,246,.98);
}
.field-error,
.form-success {
  min-height: 19px;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.42;
}
.form-success { color: var(--success); }
.form-success.is-error { color: var(--danger); }
.privacy-note {
  margin: 11px 0 0;
  color: #776f67;
  font-size: 11px;
  line-height: 1.52;
  text-align: center;
}

.site-footer {
  margin-top: 14px;
  padding: 0 17px 22px;
  color: #625a52;
  text-align: center;
}
.footer-title {
  margin-bottom: 11px;
  color: #423b35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-footer p {
  margin: 0 0 11px;
  font-size: 12px;
  line-height: 1.63;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-bottom: 11px;
}
.footer-links a {
  color: #4e4740;
  font-size: 12px;
  text-decoration: none;
}
.registry-note { color: #837a71; }

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