:root {
  --bg: #f7efec;
  --bg-soft: #fff8f5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #3d3140;
  --muted: #776876;
  --line: rgba(93, 73, 96, 0.12);
  --shadow: 0 24px 60px rgba(104, 77, 93, 0.10);
  --accent: #263764;
  --accent-soft: rgba(38, 55, 100, 0.08);
  --rose: #f4d8df;
  --rose-strong: #e7bcc8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.65), transparent 35%),
    linear-gradient(180deg, #fbf6f3 0%, #f6efeb 48%, #f4ece8 100%);
  color: var(--text);
}

img {
  display: block;
  width: 100%;
}

button,
input {
  font: inherit;
}

.site-wrap {
  min-height: 100vh;
  padding: 16px 12px 28px;
}

.page-shell {
  width: min(100%, 430px);
  margin: 0 auto;
}

.hero-section,
.content-section,
.order-section,
.site-footer {
  width: 100%;
}

.hero-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,250,248,0.84));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-media {
  position: relative;
  min-height: 440px;
}

.hero-media img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 25, 40, 0.04) 20%, rgba(35, 26, 38, 0.48) 100%);
}

.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 16px 15px;
  border-radius: 22px;
  background: rgba(255, 248, 248, 0.20);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(16px);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy .eyebrow {
  color: rgba(255,255,255,0.88);
}

.hero-copy h1,
.section-head h2,
.order-card h2 {
  margin: 8px 0 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: 32px;
}

.hero-body {
  padding: 18px 18px 20px;
}

.hero-lead,
.story-body p,
.order-card > p,
.review-card p,
.legal-page p,
.legal-page li,
.registry-note,
.privacy-note,
.form-success,
.footer-links a,
.site-footer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-lead {
  margin: 0 0 14px;
  color: #5f5361;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.price-old {
  color: #a698a4;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-current {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.promo-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
}

.promo-badge,
.promo-timer {
  border: 1px solid rgba(38, 55, 100, 0.10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,238,241,0.88));
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.promo-timer {
  min-height: 56px;
  padding: 8px 12px;
}

.promo-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #887b86;
  margin-bottom: 4px;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.timer-box i {
  font-style: normal;
  color: #9a8a97;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: linear-gradient(180deg, #33477e 0%, #263764 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(38, 55, 100, 0.18);
}

.sold-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #867986;
  text-align: center;
}

.content-section {
  margin-top: 14px;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,249,248,0.86));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-head {
  margin-bottom: 14px;
}

.section-head h2,
.order-card h2 {
  font-size: 28px;
}

.story-card {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,243,242,0.96));
  border: 1px solid rgba(93, 73, 96, 0.10);
}

.story-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-body {
  padding: 18px;
}

.story-body p {
  margin: 0 0 14px;
}

.story-body p:last-of-type {
  margin-bottom: 0;
}

.notes-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.note-item {
  padding: 14px 14px 13px;
  border-radius: 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(93, 73, 96, 0.08);
}

.note-item strong,
.review-meta h3,
.footer-title,
.legal-page h2 {
  color: var(--text);
  font-weight: 700;
}

.note-item p {
  margin: 6px 0 0;
  font-size: 14px;
}

.scent-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.scent-line span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.reviews-section {
  padding-bottom: 18px;
}

.reviews-visual {
  margin-bottom: 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(93, 73, 96, 0.10);
}

.reviews-visual img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 10px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,244,245,0.95));
  border: 1px solid rgba(93, 73, 96, 0.09);
  min-height: 170px;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-meta h3 {
  margin: 0;
  font-size: 18px;
}

.review-city {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(244, 216, 223, 0.55);
  color: #7d6570;
  font-size: 12px;
  font-weight: 700;
}

.review-card p {
  margin: 0;
  color: #5d505f;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(93, 73, 96, 0.10);
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  position: relative;
  cursor: pointer;
}

.carousel-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #665869;
  border-right: 2px solid #665869;
  transform-origin: center;
}

.carousel-arrow-prev::before {
  transform: translate(-35%, -50%) rotate(135deg);
}

.carousel-arrow-next::before {
  transform: translate(-65%, -50%) rotate(-45deg);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(88, 68, 89, 0.18);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.order-section {
  margin-top: 14px;
}

.order-card {
  padding: 22px 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(252,245,244,0.90));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.order-card > p {
  margin: 10px 0 16px;
}

.order-form {
  display: grid;
  gap: 14px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(93, 73, 96, 0.12);
  background: rgba(255,255,255,0.90);
  color: var(--text);
  outline: none;
}

.field-group input:focus {
  border-color: rgba(38, 55, 100, 0.35);
  box-shadow: 0 0 0 4px rgba(38, 55, 100, 0.08);
}

.field-group.has-error input {
  border-color: #d26d82;
  box-shadow: 0 0 0 4px rgba(210, 109, 130, 0.08);
}

.field-error {
  min-height: 20px;
  margin: 7px 0 0;
  font-size: 13px;
  color: #c14866;
}

.order-button {
  margin-top: 2px;
}

.privacy-note,
.form-success {
  margin: 0;
  font-size: 12px;
}

.form-success.is-error {
  color: #c14866;
}

.site-footer {
  width: min(100%, 430px);
  margin: 14px auto 0;
  padding: 20px 18px 26px;
  text-align: center;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 10px;
}

.footer-links a,
.back-link {
  color: var(--text);
  text-decoration: none;
}

.legal-body {
  background: linear-gradient(180deg, #fbf6f3 0%, #f3ebe7 100%);
}

.legal-page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 24px 18px 40px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 600;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.legal-page h2 {
  margin: 20px 0 10px;
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  margin: 0 0 10px;
  max-width: 70ch;
}

@media (min-width: 480px) {
  .site-wrap {
    padding-top: 24px;
  }
}
