:root {
  --bg: #eef6fa;
  --bg-soft: #f7fbfd;
  --card: rgba(255,255,255,0.94);
  --text: #24313a;
  --muted: #657580;
  --line: rgba(33, 122, 184, 0.12);
  --accent: #1288c9;
  --accent-deep: #0c5f96;
  --accent-soft: rgba(18, 136, 201, 0.12);
  --silver: #d9e1e5;
  --danger: #b55245;
  --success: #29704f;
  --shadow: 0 22px 55px rgba(31, 88, 126, 0.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 50% 0%, rgba(255,255,255,0.95), transparent 28%),
    radial-gradient(circle at 100% 24%, rgba(18,136,201,0.10), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #edf6fa 38%, #f6f3ee 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;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.42)),
    radial-gradient(circle at 12% 12%, rgba(18,136,201,0.20), transparent 28%),
    radial-gradient(circle at 90% 74%, rgba(201,219,228,0.56), transparent 34%),
    linear-gradient(155deg, #e9f7fd 0%, #ffffff 43%, #edf1f3 100%);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
}
.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero-card::before {
  width: 180px;
  height: 180px;
  top: -52px;
  right: -54px;
  background: rgba(18, 136, 201, 0.12);
  filter: blur(2px);
}
.hero-card::after {
  width: 180px;
  height: 180px;
  left: -56px;
  bottom: -60px;
  border: 36px solid rgba(18, 136, 201, 0.08);
}
.hero-copy {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  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.74);
  border: 1px solid rgba(33,122,184,0.10);
  backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 290px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(13, 70, 106, 0.72);
  border: 1px solid rgba(255,255,255,0.20);
  color: #f8fcff;
  font-size: 35px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  box-shadow: 0 16px 36px rgba(7, 54, 85, 0.16);
}
.hero-visual {
  position: absolute;
  inset: 116px 8px 10px 8px;
  display: grid;
  place-items: end center;
  z-index: 2;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 28px rgba(34, 54, 65, 0.16));
}
.hero-body {
  margin: 0 14px;
  padding: 0 6px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #4e606b;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.price-old,
.price-current {
  font-size: 27px;
  letter-spacing: -0.04em;
}
.price-old {
  font-weight: 700;
  color: #9aa8af;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-weight: 800;
  color: #1e2d35;
}
.discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 136, 201, 0.11);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 800;
}
.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, #168ccf 0%, #0c659e 100%);
  color: #fbfdff;
  box-shadow: 0 14px 26px rgba(12, 101, 158, 0.25);
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #7d8a92;
  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: -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.95), rgba(246,250,252,0.98));
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(31, 88, 126, 0.07);
}
.story-photo {
  background: #ffffff;
  object-fit: contain;
}
.story-copy,
.order-card {
  padding: 22px;
}
.story-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f616b;
}
.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(235, 247, 252, 0.88);
  border: 1px solid rgba(18, 136, 201, 0.08);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #243d4c;
}
.fact-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #5b6f7a;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,248,251,0.98));
  border: 1px solid rgba(18, 136, 201, 0.10);
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.mini-note p {
  font-size: 14px;
  line-height: 1.62;
  color: #566b76;
}
.gallery-flow {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.gallery-flow img {
  border-radius: 22px;
  border: 1px solid rgba(18, 136, 201, 0.10);
  background: #fff;
  box-shadow: 0 12px 24px rgba(35, 67, 82, 0.05);
}

.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: 230px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,248,252,0.98));
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 136, 201, 0.13);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.review-meta span {
  font-size: 13px;
  color: #758894;
}
.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #4d606b;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(18, 136, 201, 0.13);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(31, 88, 126, 0.08);
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid var(--accent-deep);
  border-right: 2px solid var(--accent-deep);
}
.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(18, 136, 201, 0.22);
}
.carousel-dots button.is-active {
  background: var(--accent-deep);
}

.order-card {
  padding: 22px;
}
.order-card > p {
  margin-bottom: 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(18, 136, 201, 0.16);
  background: rgba(255,255,255,0.98);
  padding: 0 16px;
  color: var(--text);
  outline: none;
}
.field-group input:focus {
  border-color: rgba(18, 136, 201, 0.44);
  box-shadow: 0 0 0 4px rgba(18, 136, 201, 0.08);
}
.field-group input::placeholder {
  color: #9aa9b1;
}
.field-group.has-error input {
  border-color: var(--danger);
  background: rgba(255,246,244,0.96);
  box-shadow: none;
}
.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: #566872;
}
.footer-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  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: #7c8a92;
}

.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,0.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: -0.03em;
}
.legal-page h2 {
  margin: 20px 0 10px;
  font-size: 20px;
}
.legal-page p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4d606b;
}
.legal-page p + p,
.legal-page h2 + p {
  margin-top: 10px;
}

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