:root {
  --bg: #f2eee7;
  --bg-deep: #e6dfd4;
  --card: rgba(255, 252, 247, 0.94);
  --card-solid: #fffaf4;
  --text: #252522;
  --muted: #6d6b65;
  --soft: #938c80;
  --line: rgba(35, 35, 31, 0.10);
  --accent: #181817;
  --accent-soft: #ede5d9;
  --beige: #b89d7e;
  --shadow: 0 22px 62px rgba(37, 35, 30, 0.13);
  --radius-lg: 30px;
  --radius-md: 22px;
  --page-width: 430px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -3%, rgba(255,255,255,.95), rgba(255,255,255,0) 34%),
    radial-gradient(circle at 100% 18%, rgba(186,161,131,.34), rgba(186,161,131,0) 30%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 44%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
}
body::before {
  width: 240px;
  height: 240px;
  left: max(-118px, calc(50% - 350px));
  top: 160px;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.65);
}
body::after {
  width: 210px;
  height: 210px;
  right: max(-105px, calc(50% - 348px));
  bottom: 120px;
  background: rgba(184,157,126,.16);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 12px 12px 26px;
}

.page {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 250, 244, 0.68);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 26px 86px rgba(43, 39, 32, .12);
  backdrop-filter: blur(16px);
}

.hero { padding: 0 0 28px; }
.hero-photo-wrap {
  position: relative;
  margin: 0;
  min-height: 470px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: #c7c0b5;
}
.hero-photo {
  width: 100%;
  height: 535px;
  object-fit: cover;
  object-position: center top;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.50) 100%);
  pointer-events: none;
}
.hero-title-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px 18px 17px;
  border-radius: 25px;
  color: #fff;
  background: rgba(16, 16, 15, .48);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
  text-align: center;
}
.hero-title-card span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-title-card span { color: rgba(255,255,255,.78); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0;
  font-size: clamp(38px, 12vw, 54px);
  line-height: .95;
  letter-spacing: -.055em;
}
.hero-body {
  padding: 22px 18px 0;
  text-align: center;
}
.lead {
  margin: 0 auto 18px;
  max-width: 35ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 0 auto 18px;
}
.price-old,
.price-current {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.035em;
}
.price-old {
  color: rgba(37,37,34,.42);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: var(--accent); }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  color: #231f1a;
  background: #e6d5c0;
  border: 1px solid rgba(109,86,59,.13);
  font-size: 13px;
  font-weight: 800;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 290px);
  min-height: 54px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #262622 0%, #11110f 100%);
  box-shadow: 0 16px 34px rgba(17,17,15,.23);
}
.button:active { transform: translateY(1px) scale(.99); }
.button:disabled { cursor: default; opacity: .7; }
.meta-note {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 12.5px;
  line-height: 1.45;
}

.section { padding: 28px 14px 0; }
.section-intro {
  text-align: center;
  padding: 0 8px 15px;
}
.section-intro h2,
.order-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.story-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.story-photo {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  background: #ddd5ca;
}
.story-copy { padding: 20px 18px 19px; }
.story-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.66;
  margin-bottom: 13px;
}
.story-copy p:last-child { margin-bottom: 0; }
.facts-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.fact-item {
  padding: 14px;
  border-radius: 19px;
  background: rgba(240, 233, 223, .72);
  border: 1px solid rgba(45, 42, 36, .07);
}
.fact-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  letter-spacing: -.02em;
}
.fact-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
}
.visual-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.visual-pair img {
  width: 100%;
  height: 238px;
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(33, 30, 25, .10);
}
.visual-pair img:first-child { object-position: center top; }
.visual-pair img:nth-child(2) { object-position: center top; }

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(38, 35, 29, .11);
}
.carousel-track {
  display: flex;
  transition: transform .42s cubic-bezier(.22,.8,.28,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 172px;
  padding: 12px;
  background: var(--card-solid);
  border: 1px solid rgba(255,255,255,.72);
}
.review-card img {
  width: 106px;
  height: 148px;
  border-radius: 21px;
  object-fit: cover;
  object-position: center top;
}
.review-text {
  align-self: center;
  padding-right: 4px;
}
.review-text h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.review-text p {
  margin: 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.52;
}
.carousel-arrow {
  position: relative;
  width: 34px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,250,244,.78);
  box-shadow: 0 10px 26px rgba(35,31,25,.10);
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #2a2925;
  border-right: 2px solid #2a2925;
}
.carousel-arrow-prev::before { transform: translateX(2px) rotate(-135deg); }
.carousel-arrow-next::before { transform: translateX(-2px) rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(36,35,31,.22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active {
  width: 22px;
  background: rgba(36,35,31,.72);
}

.order-section { padding: 32px 14px 16px; }
.order-card {
  padding: 24px 18px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,250,244,.97), rgba(245,238,228,.94));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.order-card > p {
  margin: 12px auto 18px;
  max-width: 30ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.order-form { display: grid; gap: 12px; }
.field-group { text-align: left; }
.field-group label {
  display: block;
  margin: 0 0 7px 2px;
  color: #3b3933;
  font-size: 13px;
  font-weight: 750;
}
.field-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(38,36,31,.12);
  border-radius: 17px;
  outline: 0;
  color: var(--text);
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.70);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus {
  border-color: rgba(28,28,26,.42);
  box-shadow: 0 0 0 4px rgba(28,28,26,.08);
  background: #fff;
}
.field-error {
  min-height: 17px;
  margin: 5px 2px 0;
  color: #a34b43;
  font-size: 12px;
  line-height: 1.35;
}
.field-group.has-error input {
  border-color: rgba(163,75,67,.58);
  box-shadow: 0 0 0 4px rgba(163,75,67,.08);
}
.order-form .button { width: 100%; margin-top: 2px; }
.privacy-note {
  margin: 0 auto;
  max-width: 31ch;
  color: var(--soft);
  font-size: 11.5px;
  line-height: 1.45;
}
.form-success {
  min-height: 17px;
  margin: 0;
  color: #55754c;
  font-size: 12px;
}
.form-success.is-error { color: #a34b43; }

.site-footer {
  padding: 22px 14px 5px;
  color: rgba(43,41,36,.72);
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}
.footer-title {
  margin-bottom: 8px;
  color: rgba(43,41,36,.92);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}
.site-footer p { margin: 0 0 9px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 10px;
  margin: 10px 0;
}
.footer-links a {
  border-bottom: 1px solid rgba(43,41,36,.18);
}
.registry-note { color: rgba(43,41,36,.55); }

@media (max-width: 374px) {
  .page-shell { padding-inline: 8px; }
  .hero-photo { height: 500px; }
  .hero-body { padding-inline: 15px; }
  .section, .order-section { padding-inline: 10px; }
  .review-card { grid-template-columns: 92px 1fr; gap: 11px; }
  .review-card img { width: 92px; height: 138px; }
  .review-text p { font-size: 13px; }
}

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