:root {
  --bg: #efe6db;
  --page: #fffaf4;
  --page-soft: #f8f0e7;
  --text: #322d2a;
  --muted: #756c66;
  --soft: #9a8f85;
  --line: rgba(73, 52, 39, .13);
  --accent: #9f1238;
  --accent-dark: #740d29;
  --gold: #c5a257;
  --gold-soft: rgba(197, 162, 87, .18);
  --white: #fffdf9;
  --shadow: 0 24px 70px rgba(57, 37, 25, .16);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { 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", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.84), rgba(255,255,255,0) 28%),
    radial-gradient(circle at 10% 18%, rgba(159,18,56,.13), rgba(159,18,56,0) 25%),
    linear-gradient(180deg, #f6eee5 0%, var(--bg) 48%, #e5d9ce 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.page-shell {
  width: min(100%, 446px);
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--page) 0%, #f5ebdf 100%);
  box-shadow: 0 0 80px rgba(54, 33, 21, .18);
}

.page { overflow: hidden; }
.hero { padding: 12px 12px 0; }
.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 490px;
  background: #2c2724;
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  object-position: 50% 44%;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,15,14,.10) 0%, rgba(18,15,14,0) 42%, rgba(18,15,14,.56) 100%),
    radial-gradient(circle at 50% 94%, rgba(159,18,56,.24), rgba(159,18,56,0) 44%);
  pointer-events: none;
}
.hero-title-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 17px 17px 18px;
  border-radius: 24px;
  background: rgba(33, 25, 21, .62);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff7e9;
  text-align: center;
}
.hero-title-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(197, 162, 87, .24);
  color: #f2d998;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(34px, 9vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 850;
}
.hero-body {
  padding: 22px 14px 26px;
  text-align: center;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
  max-width: 390px;
  margin: 0 auto 18px;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 17px;
}
.price-old,
.price-current {
  font-size: 23px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: -.035em;
}
.price-old { color: rgba(50,45,42,.42); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-current { color: var(--accent-dark); }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(159,18,56,.09);
  color: var(--accent);
  border: 1px solid rgba(159,18,56,.18);
  font-weight: 850;
  font-size: 13px;
}
.button {
  border: 0;
  cursor: pointer;
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 820;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button-primary {
  color: #fffdf8;
  background: linear-gradient(180deg, #b51643 0%, var(--accent-dark) 100%);
  box-shadow: 0 16px 36px rgba(159, 18, 56, .27), inset 0 1px 0 rgba(255,255,255,.22);
}
.button:hover { transform: translateY(-1px); filter: saturate(1.03); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .68; cursor: wait; transform: none; }
.meta-note {
  margin-top: 9px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
}

.section { padding: 26px 12px 0; }
.section-intro {
  text-align: center;
  padding: 0 12px 15px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  margin-bottom: 9px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(159,18,56,.08);
  border: 1px solid rgba(159,18,56,.12);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(27px, 7.2vw, 34px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 850;
}
.story-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fffdf9 0%, #f7ede2 100%);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 22px 62px rgba(81, 52, 31, .12);
}
.story-photo {
  width: 100%;
  aspect-ratio: 3 / 3.9;
  object-fit: cover;
  object-position: center top;
  background: #26211f;
}
.story-copy {
  padding: 21px 18px 22px;
}
.story-copy p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.64;
}
.story-copy > p + p { margin-top: 13px; }
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 0;
}
.fact-item {
  min-height: 136px;
  padding: 15px 13px;
  border-radius: 20px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(73,52,39,.09);
}
.fact-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -.015em;
}
.fact-item p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.mini-note {
  margin-top: 12px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(197,162,87,.18), rgba(255,255,255,.58));
  border: 1px solid rgba(197,162,87,.24);
}
.mini-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.mini-note p { font-size: 14px; line-height: 1.55; }
.feature-gallery {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.feature-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 16px 44px rgba(64, 39, 25, .10);
}
.feature-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: center top;
}
.feature-gallery figcaption {
  padding: 12px 15px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.reviews-section { padding-top: 30px; }
.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(72,44,28,.11);
}
.carousel-track {
  display: flex;
  transition: transform .38s ease;
}
.review-card {
  flex: 0 0 100%;
  min-height: 188px;
  padding: 20px 18px 19px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,241,231,.96));
  border: 1px solid rgba(255,255,255,.82);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff7e9;
  background: linear-gradient(180deg, #bb1748, #7d0f2d);
  box-shadow: 0 12px 30px rgba(159,18,56,.22);
  font-weight: 850;
}
.review-meta h3 {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.2;
}
.review-meta span { color: var(--soft); font-size: 13px; }
.review-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}
.carousel-arrow {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.74);
  box-shadow: 0 12px 30px rgba(70,43,29,.10);
  position: relative;
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 50%;
  left: 50%;
  border-top: 2px solid var(--accent-dark);
  border-right: 2px solid var(--accent-dark);
}
.carousel-arrow-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel-arrow-next::before { transform: translate(-65%, -50%) rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(116,13,41,.23);
  transition: width .22s ease, background .22s ease;
}
.carousel-dots button.is-active { width: 24px; background: var(--accent-dark); }

.order-section {
  padding: 30px 12px 26px;
}
.order-card {
  text-align: center;
  padding: 24px 16px 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,240,230,.96));
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.order-card h2 { margin-bottom: 10px; }
.order-card > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 auto 17px;
  max-width: 330px;
}
.order-form {
  display: grid;
  gap: 12px;
  text-align: left;
}
.field-group { position: relative; }
.field-group label {
  display: block;
  margin: 0 0 7px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}
.field-group input {
  width: 100%;
  min-height: 55px;
  border: 1px solid rgba(73, 52, 39, .16);
  border-radius: 18px;
  padding: 0 16px;
  color: var(--text);
  outline: none;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus {
  border-color: rgba(159,18,56,.48);
  box-shadow: 0 0 0 4px rgba(159,18,56,.08);
  background: #fff;
}
.field-group.has-error input {
  border-color: rgba(159,18,56,.72);
  box-shadow: 0 0 0 4px rgba(159,18,56,.09);
}
.field-error {
  display: block;
  min-height: 16px;
  padding: 5px 4px 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.25;
}
.button-submit { margin-top: 2px; }
.policy-text {
  margin: -2px 4px 0;
  color: var(--soft);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
}
.form-message {
  min-height: 18px;
  color: var(--accent);
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.footer {
  padding: 22px 18px 30px;
  text-align: center;
  border-top: 1px solid rgba(73,52,39,.10);
  background: #e8dbce;
}
.footer h2 {
  margin: 0 0 11px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.footer p,
.footer-links,
.registry-note {
  color: #6d625b;
  font-size: 12.5px;
  line-height: 1.5;
}
.footer p + p { margin-top: 4px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px 0 8px;
}
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.registry-note { color: #82776f; }

@media (max-width: 374px) {
  .hero { padding-inline: 8px; }
  .section, .order-section { padding-inline: 8px; }
  .hero-photo-wrap, .story-card, .order-card { border-radius: 26px; }
  .facts-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap, .hero-photo { min-height: 430px; }
  .reviews-carousel { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 5px; }
  .carousel-arrow { width: 32px; height: 32px; }
}

@media (min-width: 620px) {
  .page-shell { margin-top: 18px; margin-bottom: 18px; border-radius: 34px; overflow: hidden; }
}
