:root {
  --bg: #efe9e1;
  --surface: #fbf8f4;
  --surface-soft: #f4eee8;
  --text: #29231f;
  --muted: #756a62;
  --line: rgba(71, 52, 44, 0.11);
  --teal: #126f70;
  --teal-deep: #0a5557;
  --teal-soft: #dcebea;
  --violet: #3c216f;
  --gold: #b68a43;
  --danger: #a5433a;
  --success: #327258;
  --shadow: 0 28px 70px rgba(47, 31, 25, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.95), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #f5f0eb 0%, var(--bg) 56%, #e9e0d7 100%);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
}
body::before {
  width: 240px;
  height: 240px;
  top: 80px;
  left: max(-145px, calc(50% - 390px));
  background: rgba(20, 111, 112, .09);
}
body::after {
  width: 220px;
  height: 220px;
  right: max(-150px, calc(50% - 390px));
  bottom: 70px;
  background: rgba(60, 33, 111, .06);
}
img { display: block; width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 0 0 18px;
}
.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 10px;
}

.hero,
.section,
.order-section { min-width: 0; }
.hero { padding-top: 0; }
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #20160f;
  box-shadow: var(--shadow);
}
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 10, 7, .80));
  pointer-events: none;
}
.hero-titleplate {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 15px 17px 16px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 22px;
  background: rgba(24, 15, 12, .63);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fffaf3;
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.hero-titleplate span,
.section-kicker {
  display: inline-block;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-titleplate span { color: #e0c080; }
.hero-titleplate h1 {
  margin: 6px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 9.3vw, 43px);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero-body {
  margin: -1px 14px 0;
  padding: 22px 7px 0;
}
.lead {
  margin: 0 0 16px;
  color: #534942;
  font-size: 15px;
  line-height: 1.68;
}
.promo-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(18, 111, 112, .14);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(220,235,234,.90), rgba(255,255,255,.74));
  color: var(--teal-deep);
}
.promo-line span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.promo-line strong { font-size: 14px; }
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.price-old {
  color: #a89e97;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  color: #26201d;
  font-weight: 800;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(60, 33, 111, .09);
  color: var(--violet);
  font-size: 13px;
  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: 19px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #167c7d 0%, #0b5b5d 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(10, 85, 87, .25);
}
.meta-note {
  margin: 10px 0 0;
  color: #857a72;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.section-intro { margin: 0 14px 15px; }
.section-kicker { color: var(--teal-deep); }
.section-intro h2,
.order-card h2,
.mini-note h3 {
  margin: 10px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
.section-intro h2 {
  max-width: 390px;
  font-size: 32px;
  line-height: 1.04;
}
.story-card,
.order-card {
  margin: 0 14px;
  overflow: hidden;
  border: 1px solid rgba(71, 52, 44, .10);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,244,239,.99));
  box-shadow: 0 22px 50px rgba(47, 31, 25, .08);
}
.story-photo {
  aspect-ratio: 0.89 / 1;
  object-fit: cover;
  object-position: center;
}
.story-copy { padding: 22px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #574e47;
  font-size: 15px;
  line-height: 1.72;
}
.story-copy > p + p { margin-top: 14px; }
.notes-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.note-item {
  padding: 15px 16px;
  border: 1px solid rgba(18, 111, 112, .10);
  border-radius: 18px;
  background: rgba(220, 235, 234, .47);
}
.note-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.note-item strong {
  color: #3d3530;
  font-size: 14px;
  line-height: 1.45;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(182, 138, 67, .14);
  border-radius: 22px;
  background: linear-gradient(145deg, #fffdfa, #f3ece4);
}
.mini-note h3 {
  margin-top: 0;
  color: #392c27;
  font-size: 24px;
  line-height: 1.08;
}
.mini-note p {
  margin: 9px 0 0;
  color: #62574f;
  font-size: 14px;
  line-height: 1.65;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: .86 / 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  object-fit: cover;
}

.reviews-carousel {
  position: relative;
  margin: 0 14px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 28px;
}
.carousel-track {
  display: flex;
  transition: transform .36s ease;
}
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 225px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(71,52,44,.10);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(237,244,243,.96));
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  color: #fff;
  font-weight: 800;
}
.review-meta h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.review-meta span {
  color: #80756d;
  font-size: 12px;
}
.review-card p {
  margin: 0;
  color: #514841;
  font-size: 15px;
  line-height: 1.72;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 111, 112, .14);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(47,31,25,.10);
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel-arrow::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid var(--teal-deep);
  border-right: 2px solid var(--teal-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: 15px 0 3px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18,111,112,.22);
}
.carousel-dots button.is-active { background: var(--teal-deep); }

.order-card { padding: 23px 22px 22px; }
.order-card h2 {
  margin-top: 10px;
  font-size: 29px;
  line-height: 1.04;
}
.order-card > p { margin-top: 12px; }
.order-form { margin-top: 20px; }
.field-group { margin-bottom: 15px; }
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #3d3530;
  font-size: 13px;
  font-weight: 700;
}
.field-group input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  border: 1px solid rgba(71,52,44,.14);
  border-radius: 17px;
  outline: none;
  background: rgba(255,255,255,.97);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus {
  border-color: rgba(18,111,112,.52);
  box-shadow: 0 0 0 4px rgba(18,111,112,.08);
}
.field-group input::placeholder { color: #aaa09a; }
.field-group.has-error input {
  border-color: var(--danger);
  background: #fff8f7;
}
.field-error,
.form-success {
  min-height: 19px;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.45;
}
.form-success { color: var(--success); }
.form-success.is-error { color: var(--danger); }
.privacy-note {
  margin: 12px 0 0;
  color: #81766f;
  font-size: 11px;
  line-height: 1.52;
  text-align: center;
}
.privacy-note a { text-decoration: underline; text-underline-offset: 2px; }

.site-footer {
  margin-top: 22px;
  padding: 0 18px 16px;
  color: #655b54;
  text-align: center;
}
.footer-title {
  margin-bottom: 11px;
  color: #453b35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}
.site-footer p {
  margin: 0 0 11px;
  font-size: 12px;
  line-height: 1.62;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 15px;
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: rgba(101,91,84,.35);
  text-underline-offset: 3px;
}
.registry-note { color: #887d75; }

@media (min-width: 461px) {
  .page-shell { padding-top: 18px; }
  .hero-card { border-radius: 0 0 32px 32px; }
}
@media (max-width: 359px) {
  .hero-card,
  .hero-image { min-height: 470px; }
  .price-old,
  .price-current { font-size: 22px; }
  .story-copy,
  .order-card { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
