:root {
  --bg: #eef2f5;
  --bg-soft: #f7f5f1;
  --card: rgba(255, 255, 255, 0.94);
  --text: #24282e;
  --muted: #666d76;
  --line: rgba(38, 45, 54, 0.11);
  --accent: #202832;
  --accent-deep: #10151b;
  --accent-soft: rgba(32, 40, 50, 0.08);
  --accent-warm: #c5a982;
  --danger: #b55245;
  --success: #3f654e;
  --shadow: 0 24px 60px rgba(23, 30, 39, 0.12);
}

* { 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 left, rgba(255,255,255,0.88), transparent 28%),
    radial-gradient(circle at 90% 30%, rgba(197,169,130,0.20), transparent 24%),
    linear-gradient(180deg, #edf2f7 0%, #f7f4ef 48%, #eceff3 100%);
}
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: 20px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-card {
  position: relative;
  margin: 0 14px;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  background: #d9e1ea;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9,14,21,0.08) 0%, rgba(9,14,21,0.02) 34%, rgba(9,14,21,0.54) 100%);
  pointer-events: none;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  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.78);
  border: 1px solid rgba(255,255,255,0.48);
  backdrop-filter: blur(12px);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-overlay h1 {
  margin: 0;
  padding: 14px 17px 16px;
  border-radius: 24px;
  background: rgba(12, 17, 23, 0.58);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fbfbf7;
  font-size: 43px;
  line-height: 0.95;
  letter-spacing: -0.06em;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}
.hero-body {
  margin: 0 14px;
  padding: 0 6px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #4e5660;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 27px;
  letter-spacing: -0.045em;
}
.price-old {
  font-weight: 750;
  color: #9aa1aa;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-weight: 850;
  color: #171c22;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #202832;
  color: #fffaf3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.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;
  font-weight: 750;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .75; cursor: default; }
.button-primary {
  background: linear-gradient(180deg, #2e3743 0%, #151b22 100%);
  color: #fbfcf8;
  box-shadow: 0 16px 30px rgba(18, 24, 31, 0.26);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #7b838d;
  text-align: center;
}

.section,
.order-section { padding: 0; }
.section-intro { margin: 0 14px 14px; }
.section-intro h2,
.order-card h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.story-card,
.order-card {
  margin: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,244,238,0.98));
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(30, 38, 49, 0.07);
}
.story-photo {
  aspect-ratio: 0.88 / 1;
  object-fit: cover;
  background: #e8edf3;
}
.story-copy,
.order-card { padding: 22px; }
.story-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f5863;
}
.story-copy p + p { margin-top: 14px; }
.facts-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.fact-item {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(234, 239, 244, 0.92);
  border: 1px solid rgba(32, 40, 50, 0.08);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #252c34;
}
.fact-item p { font-size: 14px; line-height: 1.55; }
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 39, 49, 0.96), rgba(16, 22, 29, 0.98));
  color: #f8f4ec;
}
.mini-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.mini-note p {
  color: rgba(248,244,236,0.78);
  font-size: 14px;
  line-height: 1.65;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.gallery-grid img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(32,40,50,0.08);
  background: #eef2f6;
}

.reviews-intro { margin-bottom: 12px; }
.reviews-carousel {
  position: relative;
  margin: 0 14px;
  padding: 0 34px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(30, 38, 49, 0.06);
}
.carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.review-card {
  flex: 0 0 100%;
  min-height: 212px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #202832;
  color: #fffaf3;
  font-weight: 800;
}
.review-meta h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.review-meta span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #747c86;
}
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #48515c;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 30px rgba(28, 35, 45, 0.10);
  transform: translateY(-50%);
  cursor: pointer;
}
.carousel-arrow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #242b34;
  border-right: 2px solid #242b34;
}
.carousel-arrow-prev { left: 0; }
.carousel-arrow-next { right: 0; }
.carousel-arrow-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel-arrow-next::before { transform: translate(-65%, -50%) rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 43, 53, 0.22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active {
  width: 22px;
  background: #202832;
}

.order-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,242,246,0.98));
}
.order-card .section-kicker { margin-bottom: 0; }
.order-card > p { margin-top: 12px; }
.order-form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
  text-align: left;
}
.field-group label {
  display: block;
  margin-bottom: 7px;
  padding-left: 3px;
  font-size: 13px;
  font-weight: 750;
  color: #2e3640;
}
.field-group input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(35,43,53,0.13);
  border-radius: 18px;
  padding: 0 15px;
  background: rgba(255,255,255,0.9);
  color: #222932;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.field-group input:focus {
  border-color: rgba(35,43,53,0.34);
  box-shadow: 0 0 0 4px rgba(35,43,53,0.07);
}
.field-group.has-error input {
  border-color: rgba(181,82,69,0.58);
  box-shadow: 0 0 0 4px rgba(181,82,69,0.08);
}
.field-error {
  min-height: 18px;
  margin: 6px 2px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--danger);
}
.privacy-note {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: #858c95;
}
.form-success {
  min-height: 18px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--success);
}
.form-success.is-error { color: var(--danger); }

.site-footer {
  margin-top: 20px;
  padding: 24px 28px 6px;
  color: #656d77;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}
.footer-title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2c343e;
}
.site-footer p { margin: 0 0 12px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(102,109,119,0.28);
}
.registry-note { color: #7f8791; }

@media (max-width: 360px) {
  .hero-card { min-height: 470px; border-radius: 28px; }
  .hero-overlay h1 { font-size: 38px; }
  .price-old,
  .price-current { font-size: 24px; }
  .reviews-carousel { padding: 0 28px; }
  .carousel-arrow { width: 32px; }
}
