:root {
  --bg: #f3f1ec;
  --bg-soft: #faf8f4;
  --card: rgba(255, 255, 255, 0.88);
  --card-deep: rgba(248, 246, 242, 0.96);
  --text: #34312d;
  --muted: #706a63;
  --line: rgba(120, 112, 98, 0.12);
  --accent: #b89b68;
  --accent-deep: #7d6947;
  --accent-soft: rgba(184, 155, 104, 0.14);
  --danger: #c25c4a;
  --success: #5f6a58;
  --shadow: 0 22px 48px rgba(87, 60, 29, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.75), transparent 32%),
    linear-gradient(180deg, #fbfbf8 0%, #f4f2ec 48%, #efede6 100%);
  color: var(--text);
}
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: 18px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-card {
  position: relative;
  margin: 0 14px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--card);
}
.hero-card img {
  aspect-ratio: 0.665 / 1;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64, 46, 28, 0.08) 0%, rgba(64, 46, 28, 0.02) 50%, rgba(64, 46, 28, 0.10) 100%);
}
.hero-copy {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  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.62);
  border: 1px solid rgba(255,255,255,0.42);
  backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 250px;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #2f2b27;
}
.hero-body {
  margin: 0 14px;
  padding: 0 6px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #544f49;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.price-old {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #b6a99b;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #4a3c31;
}
.promo-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
}
.promo-badge,
.promo-timer {
  min-height: 60px;
  border-radius: 20px;
  border: 1px solid rgba(138, 106, 68, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,242,235,0.96));
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}
.promo-timer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
}
.promo-timer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b7b6d;
}
.timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #47392e;
}
.timer-box span {
  min-width: 32px;
}
.timer-box i {
  font-style: normal;
  color: #a08971;
}
.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;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled {
  opacity: .75;
  cursor: default;
}
.button-primary {
  background: linear-gradient(180deg, #b59563 0%, #8a724f 100%);
  color: #fffdf9;
  box-shadow: 0 14px 24px rgba(143, 111, 75, 0.22);
}
.button-secondary {
  background: rgba(255,255,255,0.84);
  color: #4f4033;
  border: 1px solid rgba(138, 106, 68, 0.14);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8b7c6f;
  text-align: center;
}

.section,
.order-section {
  padding: 0;
}
.section-tight {
  margin-top: -4px;
}
.section-intro {
  margin: 0 14px 14px;
}
.section-intro h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.story-card,
.offer-card,
.order-card {
  margin: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,242,235,0.98));
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(92, 66, 38, 0.06);
}
.story-photo,
.offer-photo {
  aspect-ratio: 0.665 / 1;
  object-fit: cover;
}
.story-copy,
.offer-copy,
.order-card {
  padding: 22px;
}
.story-copy p,
.offer-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5a4c40;
}
.story-copy p + p,
.offer-copy p + p {
  margin-top: 14px;
}
.scent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.scent-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}
.scent-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.scent-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(138, 106, 68, 0.10);
}
.scent-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #4a3c31;
}
.scent-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #6a594b;
}
.story-duo {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.story-side-photo {
  aspect-ratio: 0.665 / 1;
  object-fit: cover;
  border-radius: 22px;
}
.note-panel {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,238,229,0.94));
  border: 1px solid rgba(138, 106, 68, 0.10);
}
.note-panel h3,
.offer-copy h2,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.note-panel p {
  font-size: 14px;
  line-height: 1.62;
  color: #665648;
}
.offer-card {
  display: flex;
  flex-direction: column;
}
.offer-copy .button-secondary {
  margin-top: 16px;
}

.reviews-carousel {
  position: relative;
  margin: 0 14px;
}
.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: 230px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(248,242,235,0.98));
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.review-city {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(190, 160, 122, 0.18);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.review-card h3 {
  margin: 0;
  font-size: 19px;
}
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #5a4c40;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(133, 114, 93, 0.14);
  background: rgba(255,255,255,0.88);
  cursor: pointer;
  z-index: 2;
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--accent-deep);
  border-right: 2px solid var(--accent-deep);
}
.carousel-arrow-prev { left: 8px; }
.carousel-arrow-next { right: 8px; }
.carousel-arrow-prev::before { transform: rotate(-135deg); }
.carousel-arrow-next::before { transform: rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 4px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(127, 92, 53, 0.22);
}
.carousel-dots button.is-active {
  background: var(--accent-deep);
}

.order-card {
  padding: 22px;
}
.field-group {
  margin-bottom: 16px;
}
.field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.field-group input {
  width: 100%;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(133, 114, 93, 0.16);
  background: rgba(255,255,255,0.96);
  padding: 0 16px;
  color: var(--text);
}
.field-group input::placeholder {
  color: #a99686;
}
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,246,244,0.96);
}
.field-error,
.form-success {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--danger);
}
.form-success {
  color: var(--success);
}
.form-success.is-error {
  color: var(--danger);
}
.privacy-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin-top: 14px;
  padding: 0 16px 20px;
  text-align: center;
  color: #6e5f52;
}
.footer-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.62;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 13px;
  text-decoration: none;
}
.registry-note {
  color: #8c7c6d;
}

.legal-body {
  min-height: 100vh;
  padding: 18px;
}
.legal-page {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 24px 22px 28px;
  background: rgba(255,255,255,0.94);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.legal-page h1 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.legal-page h2 {
  margin: 20px 0 10px;
  font-size: 20px;
}
.legal-page p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #544539;
}

@media (min-width: 700px) {
  .page-shell {
    padding: 28px;
  }
}
