:root {
  --bg-top: #fbf7f4;
  --bg-mid: #f2eaf3;
  --bg-bottom: #eee6df;
  --paper: rgba(255, 255, 255, 0.92);
  --paper-solid: #ffffff;
  --text: #312c31;
  --muted: #716a71;
  --muted-light: #aaa3aa;
  --line: rgba(81, 58, 81, 0.10);
  --accent: #8f5d91;
  --accent-deep: #684269;
  --accent-soft: #efe3f0;
  --beige: #d7c5b5;
  --danger: #b84d54;
  --shadow: 0 24px 60px rgba(80, 58, 80, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  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,.92), transparent 27%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  -webkit-font-smoothing: antialiased;
}
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: 20px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.hero-card {
  position: relative;
  min-height: 530px;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,.88), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(211,184,213,.60), transparent 34%),
    linear-gradient(155deg, #eadfe7 0%, #f7f2ef 54%, #d7c4d9 100%);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: auto -60px -80px auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.55);
}
.hero-copy {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.76);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-copy h1 {
  max-width: 300px;
  margin: 0;
  padding: 14px 16px 15px;
  border-radius: 22px;
  background: rgba(64, 43, 64, .70);
  border: 1px solid rgba(255,255,255,.16);
  color: #fffdfd;
  font-size: 34px;
  line-height: .98;
  letter-spacing: -.055em;
  box-shadow: 0 14px 28px rgba(67,43,66,.16);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}
.hero-visual {
  position: absolute;
  inset: 120px 10px 48px;
  z-index: 1;
  display: grid;
  place-items: center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 26px 28px rgba(67, 48, 67, .16));
}
.hero-specs {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.hero-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.78);
  color: #5f4c60;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-body {
  margin: 0 14px;
  padding: 0 5px;
}
.lead {
  margin: 0 0 15px;
  color: #5f5860;
  font-size: 15px;
  line-height: 1.68;
}
.price-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.045em;
}
.price-old {
  color: var(--muted-light);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  color: #332c33;
  font-weight: 800;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  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;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #956598 0%, #714873 100%);
  box-shadow: 0 16px 28px rgba(105, 66, 106, .25);
}
.meta-note {
  margin: 10px 0 0;
  color: #8b838b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.section-intro { margin: 0 14px 14px; }
.section-intro h2 {
  margin: 12px 0 0;
  color: #352e35;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.story-card,
.order-card {
  margin: 0 12px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.74);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,246,246,.94));
  box-shadow: 0 20px 46px rgba(77,58,78,.08);
}
.story-photo {
  aspect-ratio: 1 / .98;
  object-fit: cover;
  object-position: center;
  background: #eee4df;
}
.story-copy { padding: 22px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #5f5860;
  font-size: 15px;
  line-height: 1.72;
}
.story-copy > p + p { margin-top: 13px; }
.facts-grid {
  display: grid;
  gap: 10px;
  margin-top: 19px;
}
.fact-item {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(110,70,112,.08);
  background: rgba(244, 237, 245, .82);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #433744;
  font-size: 14px;
}
.fact-item p {
  margin: 0;
  color: #695f69;
  font-size: 14px;
  line-height: 1.56;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(113,72,115,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(239,228,239,.72));
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 10px;
  color: #3b323b;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.mini-note p {
  margin: 0;
  color: #665d66;
  font-size: 14px;
  line-height: 1.64;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: .92 / 1;
  object-fit: cover;
  border-radius: 19px;
  border: 1px solid rgba(100,75,100,.10);
  background: #f3edef;
}

.reviews-carousel {
  position: relative;
  margin: 0 12px;
}
.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: 260px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.74);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(243,234,243,.92));
}
.review-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.review-thumb,
.review-avatar {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 18px;
}
.review-thumb {
  object-fit: cover;
  border: 1px solid rgba(94,63,96,.10);
}
.review-avatar {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 22px;
  font-weight: 800;
}
.review-meta h3 {
  margin: 0 0 4px;
  color: #413641;
  font-size: 18px;
}
.review-meta span { color: #8a818a; font-size: 13px; }
.review-card p {
  margin: 0;
  color: #5f5760;
  font-size: 15px;
  line-height: 1.72;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(103,70,104,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(70,52,72,.10);
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid var(--accent-deep);
  border-right: 2px solid var(--accent-deep);
}
.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: 15px 0 3px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(105,67,106,.22);
}
.carousel-dots button.is-active { background: var(--accent-deep); }

.order-card { padding: 22px; }
.order-card > p { margin-bottom: 20px; }
.order-form { margin-top: 18px; }
.field-group { margin-bottom: 15px; }
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #4b404b;
  font-size: 14px;
  font-weight: 700;
}
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(105,68,106,.15);
  border-radius: 18px;
  outline: none;
  background: rgba(255,255,255,.98);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus {
  border-color: rgba(119,75,121,.55);
  box-shadow: 0 0 0 4px rgba(143,93,145,.10);
}
.field-group input::placeholder { color: #aaa1aa; }
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,247,247,.98);
  box-shadow: 0 0 0 4px rgba(184,77,84,.08);
}
.field-error,
.form-success {
  min-height: 18px;
  margin: 6px 2px 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
}
.form-success { color: #4f704d; }
.form-success.is-error { color: var(--danger); }
.privacy-note {
  margin: 11px 6px 0;
  color: #8a818a;
  font-size: 11px;
  line-height: 1.52;
  text-align: center;
}
.privacy-note a { text-underline-offset: 2px; }

.site-footer {
  padding: 26px 20px 4px;
  color: #766d76;
  text-align: center;
}
.footer-title {
  margin-bottom: 11px;
  color: #4b414b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.site-footer p {
  margin: 0 0 11px;
  font-size: 12px;
  line-height: 1.65;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 13px;
  margin: 15px 0 12px;
}
.footer-links a {
  color: #655765;
  font-size: 12px;
  text-underline-offset: 3px;
}
.registry-note { color: #948b94; }

@media (min-width: 520px) {
  .page-shell { padding-top: 22px; }
}
@media (max-width: 360px) {
  .hero-card { min-height: 500px; margin-left: 8px; margin-right: 8px; }
  .hero-copy h1 { font-size: 31px; }
  .story-card, .order-card, .reviews-carousel { margin-left: 8px; margin-right: 8px; }
  .story-copy, .order-card, .review-card { padding-left: 18px; padding-right: 18px; }
  .section-intro h2 { font-size: 28px; }
  .price-old, .price-current { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track, .button { transition: none; }
}
