:root {
  --bg: #eef1f0;
  --paper: #fbfbf8;
  --ink: #1f2527;
  --muted: #6d7475;
  --line: rgba(31, 37, 39, .10);
  --accent: #172a43;
  --accent-2: #243852;
  --sand: #d9c7b2;
  --soft: #f4f2ed;
  --danger: #aa3d32;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #faf6ef 0, #eef1f0 38%, #dfe5e5 100%);
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.page-shell {
  width: min(100%, 450px);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fafafa 0%, #eef1ef 45%, #e7e4dc 100%);
  box-shadow: 0 0 70px rgba(17, 28, 38, .14);
  overflow: hidden;
}
.page { padding-bottom: 26px; }
.hero { padding: 12px 12px 28px; }
.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 560px;
  background: #202a34;
  box-shadow: 0 28px 70px rgba(22, 33, 42, .22);
}
.hero-visual img { width: 100%; height: 560px; object-fit: cover; object-position: center; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,22,.05) 24%, rgba(12,18,22,.24) 58%, rgba(12,18,22,.62) 100%);
  pointer-events: none;
}
.hero-title-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 18px 18px 20px;
  color: #fff;
  border-radius: 26px;
  background: rgba(10, 18, 28, .54);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.hero-title-card span, .hero-kicker, .section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: #748098;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-title-card span { color: #d6deed; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; line-height: 1.04; letter-spacing: -.055em; }
.hero-body { padding: 22px 12px 0; }
.lead { color: #424b50; font-size: 16px; line-height: 1.62; }
.size-note {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 18px;
  color: #344153;
  background: rgba(23, 42, 67, .07);
  border: 1px solid rgba(23, 42, 67, .12);
  font-size: 14px;
  line-height: 1.45;
}
.price-row { display: flex; align-items: baseline; gap: 13px; margin: 20px 0 16px; }
.price-old { color: rgba(66, 75, 80, .45); text-decoration: line-through; font-size: 27px; font-weight: 800; }
.price-current { color: var(--accent); font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .68; cursor: default; }
.button-primary { background: linear-gradient(180deg, #203b5e 0%, #14283f 100%); color: #fff; box-shadow: 0 16px 34px rgba(18, 38, 61, .22); }
.meta-note { margin-top: 10px; color: #777e80; text-align: center; font-size: 13px; }
.section { padding: 18px 12px 28px; }
.section-intro { padding: 0 10px 14px; }
.section-intro h2, .order-card h2 { font-size: 28px; line-height: 1.08; letter-spacing: -.045em; }
.story-card, .order-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(20, 32, 40, .10);
}
.story-photo { width: 100%; max-height: 520px; object-fit: cover; object-position: center; }
.story-copy { padding: 21px 20px 23px; }
.story-copy p { color: #4d5659; font-size: 15px; line-height: 1.68; }
.story-copy > p + p { margin-top: 12px; }
.facts-grid { display: grid; gap: 10px; margin-top: 18px; }
.fact-item, .mini-note {
  padding: 14px;
  border-radius: 20px;
  background: #f4f5f2;
  border: 1px solid rgba(31,37,39,.07);
}
.fact-item strong, .mini-note h3 { display: block; margin-bottom: 5px; font-size: 15px; color: #1f2a31; }
.fact-item p, .mini-note p { font-size: 13px; line-height: 1.48; color: #657071; }
.mini-note { margin-top: 10px; background: #edf0ef; }
.gallery-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.gallery-strip img { width: 100%; aspect-ratio: 1 / 1.16; object-fit: cover; border-radius: 24px; border: 1px solid rgba(31,37,39,.08); box-shadow: 0 16px 34px rgba(20,32,40,.10); }
.reviews-carousel { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 5px; }
.carousel-viewport { overflow: hidden; border-radius: 28px; }
.carousel-track { display: flex; transition: transform .42s ease; }
.review-card { flex: 0 0 100%; min-height: 206px; padding: 22px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 18px 44px rgba(20,32,40,.08); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.review-avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 16px; background: #e8eceb; color: var(--accent); font-weight: 800; }
.review-meta h3 { font-size: 16px; }
.review-meta span { color: #7b8384; font-size: 13px; }
.review-card p { color: #485257; font-size: 15px; line-height: 1.62; }
.carousel-arrow { width: 40px; height: 48px; border: 0; border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 10px 26px rgba(20,32,40,.08); cursor: pointer; position: relative; }
.carousel-arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.carousel-arrow-prev::before { transform: rotate(-135deg); left: 4px; }
.carousel-arrow-next::before { transform: rotate(45deg); right: 4px; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(31,37,39,.20); cursor: pointer; }
.carousel-dots button.is-active { width: 22px; background: var(--accent); }
.order-section { padding: 18px 12px 30px; }
.order-card { padding: 24px 20px 22px; }
.order-card > p { margin-top: 10px; margin-bottom: 18px; color: #5e686b; line-height: 1.55; }
.order-form { display: grid; gap: 13px; }
.field-group label { display: block; margin: 0 0 7px 4px; color: #4e575a; font-size: 13px; font-weight: 700; }
.field-group input { width: 100%; height: 54px; border: 1px solid rgba(31,37,39,.13); border-radius: 18px; background: #fff; color: var(--ink); padding: 0 16px; outline: none; }
.field-group input:focus { border-color: rgba(23,42,67,.44); box-shadow: 0 0 0 4px rgba(23,42,67,.08); }
.field-group.has-error input { border-color: rgba(170,61,50,.55); box-shadow: 0 0 0 4px rgba(170,61,50,.07); }
.field-error { min-height: 16px; margin: 5px 0 0 4px; color: var(--danger); font-size: 12px; line-height: 1.35; }
.privacy-note { color: #7a8284; font-size: 11px; line-height: 1.45; text-align: center; }
.form-success { min-height: 18px; color: #2f6756; font-size: 13px; text-align: center; }
.form-success.is-error { color: var(--danger); }
.site-footer { padding: 24px 24px 34px; color: #6a7375; font-size: 12px; line-height: 1.55; background: rgba(20,28,33,.035); }
.footer-title { margin-bottom: 8px; color: #394346; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.site-footer p + p { margin-top: 12px; }
.footer-links { display: grid; gap: 6px; margin-top: 14px; }
.footer-links a { color: #38434a; text-decoration: none; }
.registry-note { margin-top: 14px; }
.legal-body { background: #eef1f0; }
.legal-page { width: min(100% - 24px, 720px); margin: 18px auto; padding: 26px 20px; background: #fff; border-radius: 28px; color: #263033; box-shadow: 0 20px 60px rgba(20,32,40,.10); }
.legal-page h1 { font-size: 30px; margin: 18px 0 16px; }
.legal-page h2 { font-size: 19px; margin: 22px 0 8px; }
.legal-page p, .legal-page li { color: #555f62; line-height: 1.65; }
.legal-page ul { padding-left: 20px; }
.back-link { color: #172a43; text-decoration: none; font-weight: 800; }
@media (min-width: 700px) { .page-shell { margin: 24px auto; border-radius: 34px; } }
