:root {
  --bg: #efefef;
  --bg-soft: #f6f6f4;
  --card: rgba(255, 255, 255, 0.92);
  --card-strong: rgba(255, 255, 255, 0.98);
  --text: #222222;
  --muted: #636363;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #a8562a;
  --accent-deep: #7c3519;
  --accent-soft: rgba(168, 86, 42, 0.10);
  --danger: #b44d3e;
  --success: #4f6150;
  --shadow: 0 20px 48px rgba(0, 0, 0, 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;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.72), transparent 28%),
    linear-gradient(180deg, #f5f5f4 0%, #efefee 100%);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.page-shell {
  min-height: 100vh;
  padding: 12px 0 22px;
}
.page,
.site-footer {
  width: min(100%, 392px);
  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 12px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: var(--card);
}
.hero-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.06) 54%, rgba(20,20,20,0.26) 100%);
}
.hero-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}
.hero-copy-box {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  max-width: 248px;
  padding: 13px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.68);
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(168, 86, 42, 0.10);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero-body {
  margin: 0 12px;
  padding: 0 4px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.66;
  color: #494949;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.price-old,
.price-current {
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-old {
  color: #aeaeae;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  color: #191919;
  font-weight: 800;
}
.promo-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
}
.promo-badge,
.promo-timer {
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,247,245,0.98));
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-deep);
}
.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: #7b7b7b;
}
.timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #191919;
}
.timer-box span { min-width: 32px; }
.timer-box i {
  font-style: normal;
  color: #8e8e8e;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled {
  opacity: .78;
  cursor: default;
}
.button-primary {
  background: linear-gradient(180deg, #2e2e2e 0%, #171717 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}
.button-secondary {
  background: rgba(255,255,255,0.92);
  color: #1d1d1d;
  border: 1px solid rgba(0,0,0,0.08);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #7d7d7d;
  text-align: center;
}

.section,
.order-section {
  padding: 0;
}
.section-intro {
  margin: 0 12px 12px;
}
.section-intro h2 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.story-card,
.order-card {
  margin: 0 12px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,247,245,0.98));
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.05);
}
.story-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.story-copy,
.order-card {
  padding: 22px;
}
.story-copy p,
.order-card > p,
.note-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #474747;
}
.story-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: 33px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}
.scent-grid,
.detail-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.scent-item,
.detail-item {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.scent-item strong,
.detail-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #1f1f1f;
}
.scent-item p,
.detail-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #5a5a5a;
}
.story-duo {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.story-side-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.note-panel {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,247,245,0.98));
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.note-panel h3,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.reviews-carousel {
  position: relative;
  margin: 0 12px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}
.carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 220px;
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,247,245,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: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(168, 86, 42, 0.10);
  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: #4d4d4d;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  z-index: 2;
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #2b2b2b;
  border-right: 2px solid #2b2b2b;
}
.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(0, 0, 0, 0.18);
}
.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: 16px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255,255,255,0.98);
  padding: 0 16px;
  color: var(--text);
}
.field-group input::placeholder { color: #a0a0a0; }
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,247,245,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: 12px;
  padding: 0 16px 22px;
  text-align: center;
  color: #5a5a5a;
}
.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 14px;
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 13px;
  text-decoration: none;
}
.registry-note { color: #7a7a7a; }

.legal-body {
  min-height: 100vh;
  padding: 18px 14px;
}
.legal-page {
  width: min(100%, 392px);
  margin: 0 auto;
  padding: 24px 20px 28px;
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  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: 28px;
  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: #464646;
}

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