:root {
  --bg: #f6f1ee;
  --bg-soft: #fff9f6;
  --card: rgba(255, 255, 255, 0.92);
  --text: #332c2a;
  --muted: #746c68;
  --line: rgba(92, 67, 61, 0.12);
  --accent: #d79899;
  --accent-deep: #a56063;
  --accent-dark: #7d474b;
  --accent-soft: rgba(215, 152, 153, 0.18);
  --cream: #f3e6df;
  --danger: #b4504c;
  --success: #5d7a58;
  --shadow: 0 24px 58px rgba(119, 78, 72, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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 20% 0%, rgba(255,255,255,0.96), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(234, 188, 190, 0.28), transparent 28%),
    linear-gradient(180deg, #fbf8f5 0%, #f4ece8 45%, #eee6e2 100%);
  overflow-x: hidden;
}
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-card {
  position: relative;
  margin: 0 14px;
  min-height: 548px;
  border-radius: 34px;
  overflow: hidden;
  background: #eadbd5;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.01);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(42,32,31,.12) 0%, rgba(42,32,31,0) 42%, rgba(42,32,31,.36) 100%),
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.38), transparent 26%);
}
.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 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: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 320px;
  padding: 14px 16px 15px;
  border-radius: 24px;
  background: rgba(54, 39, 38, 0.52);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff9f6;
  font-size: 36px;
  line-height: 0.96;
  letter-spacing: -0.055em;
  box-shadow: 0 14px 34px rgba(35,25,24,.12);
}
.hero-body { margin: 0 14px; padding: 0 6px; }
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #5d5552;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin-bottom: 16px;
}
.price-old, .price-current {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-old {
  font-weight: 750;
  color: #aaa09c;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { font-weight: 850; color: #2f2827; }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(125, 71, 75, 0.09);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}
.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;
  font-weight: 800;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .74; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #d99da0 0%, #ad686c 100%);
  color: #fffaf7;
  box-shadow: 0 14px 28px rgba(173, 104, 108, 0.26);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #867b77;
  text-align: center;
}

.section, .order-section { padding: 0; }
.section-intro { margin: 0 14px 14px; }
.section-intro h2, .order-card h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.story-card, .order-card {
  margin: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,244,0.98));
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(119, 78, 72, 0.07);
}
.story-photo {
  aspect-ratio: 0.84 / 1;
  object-fit: cover;
  object-position: center bottom;
}
.story-copy, .order-card { padding: 22px; }
.story-copy p, .order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5e5653;
}
.story-copy p + p { margin-top: 14px; }
.facts-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.fact-item {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(248, 235, 232, 0.82);
  border: 1px solid rgba(173, 104, 108, 0.09);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #3b302f;
}
.fact-item p { font-size: 14px; line-height: 1.55; }
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(244,232,226,.74));
  border: 1px solid rgba(92,67,61,.10);
}
.mini-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.mini-note p { font-size: 14px; line-height: 1.65; }

.reviews-carousel {
  position: relative;
  margin: 0 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(119,78,72,.06);
}
.carousel-track {
  display: flex;
  transition: transform .42s ease;
  will-change: transform;
}
.review-card {
  min-width: 100%;
  padding: 20px;
  background: rgba(255,255,255,.92);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(215,152,153,.18);
  color: var(--accent-dark);
  font-weight: 850;
}
.review-meta h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.1;
}
.review-meta span {
  display: block;
  margin-top: 3px;
  color: #8d817c;
  font-size: 12px;
}
.review-card p {
  margin: 0;
  color: #5d5552;
  font-size: 15px;
  line-height: 1.65;
}
.carousel-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(173,104,108,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(119,78,72,.08);
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid var(--accent-dark);
  border-right: 2px solid var(--accent-dark);
}
.carousel-arrow-prev::before { transform: rotate(-135deg) translate(-1px, -1px); }
.carousel-arrow-next::before { transform: rotate(45deg) translate(-1px, 1px); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(125,71,75,.22);
}
.carousel-dots button.is-active { width: 18px; border-radius: 999px; background: var(--accent-deep); }

.order-card h2 { margin-bottom: 8px; }
.order-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.field-group { display: grid; gap: 7px; }
.field-group label {
  font-size: 13px;
  font-weight: 800;
  color: #4b403d;
}
.field-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(92,67,61,.14);
  border-radius: 18px;
  outline: none;
  background: rgba(255,255,255,.92);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field-group input:focus {
  border-color: rgba(173,104,108,.52);
  box-shadow: 0 0 0 4px rgba(215,152,153,.14);
  background: #fff;
}
.field-error {
  min-height: 16px;
  margin: 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.35;
}
.field-group.has-error input {
  border-color: rgba(180,80,76,.65);
  box-shadow: 0 0 0 4px rgba(180,80,76,.10);
}
.privacy-note {
  margin: 0;
  color: #8a817d;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
}
.form-success {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--success);
}
.form-success.is-error { color: var(--danger); }

.site-footer {
  margin-top: 22px;
  padding: 22px 22px 26px;
  color: #756c68;
  font-size: 12px;
  line-height: 1.58;
  text-align: center;
}
.footer-title {
  margin-bottom: 8px;
  color: #4d423f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
}
.site-footer p { margin: 8px 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 12px 0;
}
.footer-links a {
  color: #6d5f5b;
  text-decoration: none;
  border-bottom: 1px solid rgba(109,95,91,.22);
}
.registry-note { color: #8b827e; }

@media (min-width: 480px) {
  .page-shell { padding-top: 20px; }
  .hero-card { min-height: 620px; }
}

@media (max-width: 360px) {
  .hero-card, .story-card, .order-card, .reviews-carousel, .section-intro, .hero-body { margin-left: 10px; margin-right: 10px; }
  .hero-card { min-height: 500px; border-radius: 28px; }
  .hero-copy h1 { font-size: 31px; }
  .section-intro h2, .order-card h2 { font-size: 27px; }
  .price-old, .price-current { font-size: 25px; }
  .reviews-carousel { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 6px; }
  .carousel-arrow { width: 34px; height: 34px; }
}
