:root {
  --bg: #f4f5f6;
  --bg-soft: #ffffff;
  --card: rgba(255,255,255,.94);
  --text: #20242a;
  --muted: #686f78;
  --line: rgba(22, 29, 38, .10);
  --accent: #1f4f7a;
  --accent-deep: #142d46;
  --accent-soft: rgba(31, 79, 122, .12);
  --danger: #ad473c;
  --shadow: 0 22px 56px rgba(16, 24, 35, .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 top, rgba(255,255,255,.9), transparent 32%), linear-gradient(180deg, #f7f8f9 0%, #eef1f4 42%, #f7f3ee 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: 18px; }
.hero { display: flex; flex-direction: column; gap: 14px; }
.hero-card { position: relative; margin: 0 14px; overflow: hidden; border-radius: 34px; min-height: 520px; background: #fff; border: 1px solid rgba(22,29,38,.08); box-shadow: var(--shadow); }
.hero-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,20,30,.10), rgba(255,255,255,0) 34%, rgba(21,36,52,.08)); pointer-events: none; z-index: 1; }
.hero-image { position: absolute; inset: 74px 0 18px; width: 100%; height: calc(100% - 92px); object-fit: contain; filter: drop-shadow(0 22px 24px rgba(20,26,31,.08)); }
.hero-overlay { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hero-kicker, .section-kicker { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.42); backdrop-filter: blur(10px); color: var(--accent-deep); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-overlay h1 { margin: 0; max-width: 285px; padding: 14px 16px; border-radius: 24px; background: rgba(5,11,18,.52); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 33px; line-height: .98; letter-spacing: -.055em; }
.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: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.price-old, .price-current { font-size: 28px; letter-spacing: -.04em; }
.price-old { font-weight: 750; color: #a5a9af; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-current { font-weight: 900; color: #1d232b; }
.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; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .75; cursor: default; }
.button-primary { background: linear-gradient(180deg, #245f93 0%, #163d63 100%); color: #fbfdff; box-shadow: 0 14px 28px rgba(22,61,99,.26); font-weight: 800; }
.meta-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #7d838c; text-align: center; }
.section, .order-section { padding: 0; }
.section-intro { margin: 0 14px 14px; }
.section-intro h2, .story-copy h2, .order-card h2 { margin: 12px 0 0; font-size: 30px; line-height: 1.06; letter-spacing: -.04em; }
.story-card, .order-card { margin: 0 14px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,249,250,.98)); overflow: hidden; box-shadow: 0 18px 34px rgba(20,31,44,.06); }
.story-photo { aspect-ratio: .98 / 1; object-fit: contain; background: #fff; padding: 10px; }
.story-copy, .order-card { padding: 22px; }
.story-copy p, .order-card > p { margin: 0; font-size: 15px; line-height: 1.7; color: #4e5660; }
.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(31,79,122,.07); border: 1px solid rgba(31,79,122,.08); }
.fact-item strong { display: block; margin-bottom: 6px; font-size: 14px; color: #202833; }
.fact-item p { font-size: 14px; line-height: 1.55; color: #5d6570; }
.mini-note { margin-top: 18px; padding: 18px; border-radius: 22px; background: #172333; color: #f8fbff; }
.mini-note h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.mini-note p { color: rgba(248,251,255,.78); font-size: 14px; line-height: 1.6; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.gallery-grid img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 6px; }
.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-height: 190px; padding: 20px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 18px 34px rgba(20,31,44,.06); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-head img { width: 58px; height: 58px; border-radius: 17px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.review-meta h3 { margin: 0; font-size: 16px; }
.review-meta span, .review-author { display: block; margin-top: 3px; color: #7a818a; font-size: 13px; }
.review-card p { margin: 0; color: #434b55; font-size: 15px; line-height: 1.65; }
.carousel-arrow { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.86); box-shadow: 0 10px 20px rgba(20,31,44,.12); cursor: pointer; transform: translateY(-50%); }
.carousel-arrow::before { content: ''; display: block; width: 9px; height: 9px; border-top: 2px solid #253040; border-right: 2px solid #253040; margin: 14px auto; }
.carousel-arrow-prev { left: -6px; }
.carousel-arrow-prev::before { transform: rotate(-135deg); }
.carousel-arrow-next { right: -6px; }
.carousel-arrow-next::before { transform: rotate(45deg); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9ced5; cursor: pointer; }
.carousel-dots button.is-active { width: 20px; border-radius: 999px; background: var(--accent); }
.order-card { text-align: left; }
.order-card h2 { margin-bottom: 10px; }
.order-card > p { margin-bottom: 18px; }
.order-form { display: grid; gap: 14px; margin-top: 16px; }
.field-group { display: grid; gap: 7px; }
.field-group label { font-size: 13px; font-weight: 800; color: #2d3540; }
.field-group input { width: 100%; min-height: 54px; border: 1px solid rgba(22,29,38,.12); border-radius: 18px; background: rgba(255,255,255,.86); color: #1d232b; padding: 0 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field-group input:focus { border-color: rgba(31,79,122,.54); box-shadow: 0 0 0 4px rgba(31,79,122,.10); }
.field-group.has-error input { border-color: rgba(173,71,60,.65); box-shadow: 0 0 0 4px rgba(173,71,60,.10); }
.field-error { min-height: 18px; margin: 0; font-size: 12px; line-height: 1.45; color: var(--danger); }
.privacy-note { margin: -2px 0 0; color: #7a818a; font-size: 11px; line-height: 1.55; text-align: center; }
.form-success { margin: 0; min-height: 18px; text-align: center; color: var(--danger); font-size: 13px; line-height: 1.5; }
.site-footer { margin-top: 20px; padding: 22px 26px 6px; color: #656c75; font-size: 12px; line-height: 1.62; text-align: center; }
.footer-title { margin-bottom: 8px; color: #303844; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.site-footer p { margin: 0 0 10px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin: 12px 0; }
.footer-links a { text-decoration: none; border-bottom: 1px solid rgba(101,108,117,.25); }
.registry-note { color: #818790; }
.legal-body { background: linear-gradient(180deg, #f7f8f9, #eef1f4); }
.legal-page { width: min(100% - 28px, 430px); margin: 0 auto; padding: 24px 0 40px; }
.legal-page h1 { margin: 18px 0 14px; font-size: 31px; line-height: 1.08; letter-spacing: -.04em; }
.legal-page h2 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.legal-page p { margin: 0 0 12px; color: #4e5660; font-size: 15px; line-height: 1.7; }
.back-link { display: inline-flex; text-decoration: none; color: var(--accent-deep); font-weight: 800; }
@media (min-width: 431px) { .page-shell { padding-top: 18px; } }
