:root {
  --bg: #f3f1ee;
  --bg-soft: #faf8f5;
  --card: rgba(255,255,255,.93);
  --text: #23211f;
  --muted: #706a65;
  --line: rgba(36, 32, 29, .10);
  --accent: #1f1f1f;
  --accent-deep: #111111;
  --accent-soft: rgba(17,17,17,.07);
  --warm: #d9ccc2;
  --danger: #b55245;
  --success: #496443;
  --shadow: 0 22px 60px rgba(33, 27, 22, .10);
}
* { 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 30% 0%, rgba(255,255,255,.9), transparent 30%),
    linear-gradient(180deg, #f6f3ef 0%, #eee7e1 44%, #f7f5f1 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: 560px;
  overflow: hidden;
  border-radius: 34px;
  background: #161514;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 48% 52%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.05) 42%, rgba(0,0,0,.62) 100%);
  z-index: 1;
}
.hero-copy {
  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; justify-content: center;
  min-height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.44);
  backdrop-filter: blur(10px);
  color: #262321; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0; padding: 14px 16px 16px; border-radius: 24px;
  background: rgba(16,16,16,.62); border: 1px solid rgba(255,255,255,.15);
  color: #fffaf4; font-size: 42px; line-height: .95; letter-spacing: -.06em;
}
.hero-body { margin: 0 14px; padding: 0 6px; }
.lead { margin: 0 0 15px; font-size: 15px; line-height: 1.68; color: #514d49; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.price-old, .price-current { font-size: 28px; letter-spacing: -.04em; }
.price-old { color: #aaa29b; font-weight: 750; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-current { color: #181716; font-weight: 900; }
.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;
  font-weight: 800; transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .75; cursor: default; }
.button-primary { background: linear-gradient(180deg, #272625 0%, #121212 100%); color: #fbf7f2; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.meta-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #807872; text-align: center; }
.section, .order-section { padding: 0; }
.section-intro { margin: 0 14px 14px; }
.section-intro h2 { margin: 12px 0 0; font-size: 30px; line-height: 1.06; letter-spacing: -.045em; }
.story-card, .order-card {
  margin: 0 14px; overflow: hidden; border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,246,242,.98));
  box-shadow: 0 18px 38px rgba(40,34,29,.07);
}
.story-photo { aspect-ratio: .82 / 1; object-fit: cover; object-position: center top; }
.story-copy, .order-card { padding: 22px; }
.story-copy p, .order-card > p { margin: 0; font-size: 15px; line-height: 1.7; color: #514d49; }
.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(246,242,238,.94); border: 1px solid rgba(30,26,22,.08); }
.fact-item strong { display: block; margin-bottom: 6px; font-size: 14px; color: #242220; }
.fact-item p { font-size: 14px; line-height: 1.55; color: #5d5852; }
.mini-note { margin-top: 18px; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, #fff, #f0e8e0); border: 1px solid rgba(30,26,22,.08); }
.mini-note h3, .order-card h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.08; letter-spacing: -.04em; }
.mini-note p { font-size: 14px; line-height: 1.62; color: #5a554f; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.gallery-grid img { aspect-ratio: .84 / 1; object-fit: cover; border-radius: 20px; border: 1px solid rgba(30,26,22,.09); background: #f4f1ed; }
.reviews-carousel { position: relative; margin: 0 14px; }
.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: 286px; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,241,236,.98));
}
.review-photo { height: 148px; object-fit: cover; object-position: center 28%; background: #eee9e4; }
.review-copy { padding: 18px 20px 20px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eee7df; color: #242220; font-weight: 900; }
.review-meta h3 { margin: 0 0 3px; font-size: 17px; }
.review-meta span { font-size: 13px; color: #7c746e; }
.review-card p { margin: 0; font-size: 14px; line-height: 1.65; color: #514d49; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(30,26,22,.10); background: rgba(255,255,255,.94); cursor: pointer; z-index: 2; box-shadow: 0 8px 18px rgba(0,0,0,.07); }
.carousel-arrow::before { content: ''; display: block; width: 10px; height: 10px; margin: 0 auto; border-top: 2px solid #191817; border-right: 2px solid #191817; }
.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: 16px 0 4px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(31,31,31,.20); }
.carousel-dots button.is-active { background: #171717; }
.order-card { padding: 22px; }
.order-form { margin-top: 18px; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field-group input { width: 100%; height: 54px; border-radius: 18px; border: 1px solid rgba(30,26,22,.14); background: rgba(255,255,255,.98); padding: 0 16px; color: var(--text); }
.field-group input::placeholder { color: #aaa39c; }
.field-group.has-error input { border-color: var(--danger); background: rgba(255,246,244,.96); }
.field-error, .form-success { min-height: 20px; margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--danger); }
.form-success { color: var(--success); } .form-success.is-error { color: var(--danger); }
.privacy-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.site-footer { margin-top: 14px; padding: 0 16px 20px; text-align: center; color: #5e5853; }
.footer-title { margin-bottom: 12px; font-size: 12px; font-weight: 900; 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: 10px 16px; margin-bottom: 12px; }
.footer-links a { font-size: 13px; text-decoration: none; }
.registry-note { color: #807872; }
.legal-body { min-height: 100vh; padding: 18px; }
.legal-page { width: min(100%, 430px); margin: 0 auto; padding: 24px 22px 28px; background: rgba(255,255,255,.95); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.back-link { display: inline-block; margin-bottom: 18px; text-decoration: none; color: var(--muted); font-size: 14px; }
.legal-page h1 { margin: 0 0 16px; font-size: 30px; line-height: 1.08; letter-spacing: -.03em; }
.legal-page h2 { margin: 20px 0 10px; font-size: 20px; }
.legal-page p { margin: 0; font-size: 15px; line-height: 1.7; color: #514d49; }
.legal-page p + p, .legal-page h2 + p { margin-top: 10px; }
@media (min-width: 431px) { .page-shell { padding-top: 18px; } }
