:root {
  --bg: #e9edf2;
  --bg-deep: #dce2ea;
  --card: rgba(255, 255, 255, 0.94);
  --text: #202735;
  --muted: #667080;
  --line: rgba(30, 44, 65, 0.11);
  --navy: #18283f;
  --navy-soft: #283d5c;
  --gold: #c49b57;
  --gold-deep: #96703a;
  --gold-soft: rgba(196, 155, 87, 0.15);
  --rose: #9c5369;
  --danger: #b14f4f;
  --success: #456b52;
  --shadow: 0 22px 60px rgba(23, 39, 60, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -8%, rgba(255,255,255,.96), transparent 28%),
    radial-gradient(circle at 8% 38%, rgba(94, 124, 162, .14), transparent 24%),
    linear-gradient(180deg, #f4f6f8 0%, var(--bg) 48%, #f4eee7 100%);
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.page-shell { min-height: 100vh; padding: 12px 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: 15px; }
.hero-card {
  position: relative;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--navy);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-image {
  width: 100%;
  aspect-ratio: .79 / 1;
  object-fit: cover;
  object-position: center top;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 18, 34, .18) 63%, rgba(8, 18, 34, .94) 100%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 17px 17px 16px;
  border-radius: 23px;
  color: #fff;
  background: rgba(16, 30, 50, .82);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-kicker {
  color: #fff5dc;
  background: rgba(196, 155, 87, .22);
  border: 1px solid rgba(226, 192, 132, .28);
}
.hero-copy h1 {
  max-width: 335px;
  margin: 10px 0 0;
  font-size: clamp(28px, 8vw, 35px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-body { margin: 0 14px; padding: 0 4px; }
.lead {
  margin: 0 0 15px;
  color: #4c5868;
  font-size: 15px;
  line-height: 1.66;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 11px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: clamp(25px, 7.2vw, 29px);
  line-height: 1;
  letter-spacing: -.045em;
}
.price-old {
  color: #9da4ae;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: var(--navy); font-weight: 850; }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  color: #785424;
  background: #f2dfb9;
  border: 1px solid rgba(150, 112, 58, .16);
  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: 19px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  color: #fffaf1;
  font-weight: 800;
  background: linear-gradient(180deg, #314a6c 0%, #182a45 100%);
  box-shadow: 0 15px 30px rgba(24, 42, 69, .24), inset 0 1px rgba(255,255,255,.12);
}
.meta-note {
  margin: 10px 0 0;
  text-align: center;
  color: #7d8590;
  font-size: 13px;
  line-height: 1.45;
}

.section-intro { margin: 0 14px 14px; }
.section-kicker {
  color: var(--gold-deep);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(150, 112, 58, .14);
}
.section-intro h2 {
  margin: 11px 0 0;
  font-size: clamp(28px, 8vw, 33px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.story-card,
.order-card {
  margin: 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(246,247,249,.96));
  box-shadow: 0 18px 44px rgba(29, 47, 69, .08);
}
.story-photo-notes {
  aspect-ratio: .91 / 1;
  object-fit: cover;
  object-position: center top;
}
.story-copy { padding: 22px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #505b69;
  font-size: 15px;
  line-height: 1.7;
}
.story-copy > p + p { margin-top: 13px; }
.facts-grid { display: grid; gap: 10px; margin-top: 18px; }
.fact-item {
  padding: 15px 16px;
  border: 1px solid rgba(39, 58, 84, .08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(233, 238, 245, .92), rgba(249, 246, 239, .95));
}
.fact-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 14px;
}
.fact-item p {
  margin: 0;
  color: #5e6875;
  font-size: 14px;
  line-height: 1.55;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(196, 155, 87, .16);
  background: linear-gradient(145deg, #fbf7ef 0%, #eef2f6 100%);
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.mini-note p {
  margin: 0;
  color: #566170;
  font-size: 14px;
  line-height: 1.65;
}
.info-photo {
  margin-top: 18px;
  aspect-ratio: .85 / 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(39, 58, 84, .1);
  border-radius: 22px;
  background: #17283f;
}

.reviews-carousel { position: relative; margin: 0 12px; }
.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: 224px;
  padding: 23px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(238,242,247,.98));
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff9eb;
  background: linear-gradient(145deg, var(--rose), #714254);
  font-weight: 850;
}
.review-meta h3 { margin: 0 0 3px; font-size: 18px; }
.review-meta span { color: #7a8390; font-size: 13px; }
.review-card p { margin: 0; color: #505b69; font-size: 15px; line-height: 1.7; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid rgba(39, 58, 84, .12);
  border-radius: 50%;
  background: rgba(255,255,255,.93);
  box-shadow: 0 8px 22px rgba(23, 39, 60, .12);
  cursor: pointer;
}
.carousel-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}
.carousel-arrow-prev { left: 7px; }
.carousel-arrow-next { right: 7px; }
.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(39, 58, 84, .22);
}
.carousel-dots button.is-active { background: var(--gold-deep); }

.order-card { padding: 22px; }
.order-card > p { margin-bottom: 19px; }
.field-group { margin-bottom: 15px; }
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #394658;
  font-size: 14px;
  font-weight: 700;
}
.field-group input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid rgba(39, 58, 84, .14);
  border-radius: 17px;
  outline: none;
  background: rgba(255,255,255,.98);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field-group input:focus {
  border-color: rgba(49, 74, 108, .52);
  box-shadow: 0 0 0 4px rgba(49, 74, 108, .08);
}
.field-group input::placeholder { color: #9aa1ab; }
.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: 13px;
  line-height: 1.4;
}
.form-success { color: var(--success); }
.form-success.is-error { color: var(--danger); }
.privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-footer {
  margin-top: 15px;
  padding: 0 17px 20px;
  color: #586271;
  text-align: center;
}
.footer-title {
  margin-bottom: 11px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  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: 9px 15px; margin-bottom: 12px; }
.footer-links a { color: #35455a; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(53, 69, 90, .22); }
.registry-note { color: #7a8390; }

@media (min-width: 431px) {
  .page-shell { padding-top: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track, .button, .field-group input { transition: none; }
}
