:root {
  --bg: #eef3f8;
  --bg-soft: #f6fafd;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #1e2a3a;
  --muted: #64748b;
  --line: rgba(30, 58, 90, 0.10);
  --accent: #2b7de9;
  --accent-deep: #1a5bb8;
  --accent-soft: rgba(43, 125, 233, 0.11);
  --blue: #249ee9;
  --danger: #b94739;
  --success: #2e7d5b;
  --shadow: 0 24px 62px rgba(24, 60, 100, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.95), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(43,125,233,.10), transparent 22%),
    linear-gradient(180deg, #f6fafe 0%, #e8f0f8 46%, #f0f6fc 100%);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.page-shell { min-height: 100vh; padding: 12px 0 26px; }
.page,
.site-footer { width: min(100%, 430px); margin: 0 auto; }
.page { display: flex; flex-direction: column; gap: 19px; }

.hero { display: flex; flex-direction: column; gap: 15px; }
.hero-card {
  position: relative;
  min-height: 558px;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 32px;
  background: #eaf2fa;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.82);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,25,45,.55) 0%, rgba(10,25,45,.10) 24%, transparent 50%, rgba(10,25,45,.25) 100%),
    radial-gradient(circle at 17% 12%, rgba(43,125,233,.22), transparent 28%);
}
.hero-copy {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1a5bb8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 292px;
  padding: 14px 16px 15px;
  border-radius: 22px;
  background: rgba(15, 35, 60, .70);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 35px;
  line-height: .98;
  letter-spacing: -.05em;
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}
.hero-body { margin: 0 14px; padding: 0 4px; }
.lead {
  margin: 0 0 15px;
  color: #4a5a6e;
  font-size: 15px;
  line-height: 1.68;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 11px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.045em;
}
.price-old {
  color: #9aa8b8;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: #1e2a3a; font-weight: 800; }
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  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: 19px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .72; cursor: default; }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #3b8ef0 0%, #1a5bb8 100%);
  box-shadow: 0 15px 28px rgba(26, 91, 184, .30);
  font-weight: 800;
}
.meta-note {
  margin: 10px 0 0;
  color: #77889c;
  font-size: 13px;
  line-height: 1.5;
  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;
  color: #16263a;
}
.story-card,
.order-card {
  margin: 0 12px;
  overflow: hidden;
  border-radius: 29px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(244,248,252,.98));
  box-shadow: 0 18px 42px rgba(24, 60, 100, 0.08);
}
.story-photo {
  aspect-ratio: .76 / 1;
  object-fit: cover;
  object-position: center;
  background: #eef4fa;
}
.story-copy,
.order-card { padding: 22px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #4a5a6e;
  font-size: 15px;
  line-height: 1.7;
}
.story-copy > p + p { margin-top: 14px; }
.facts-grid { display: grid; gap: 10px; margin-top: 18px; }
.fact-item {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(30,58,90,.08);
  background: linear-gradient(145deg, rgba(244,249,254,.98), rgba(255,255,255,.98));
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #1a3a5c;
  font-size: 14px;
}
.fact-item p {
  margin: 0;
  color: #5a6a7e;
  font-size: 14px;
  line-height: 1.56;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 21px;
  border: 1px solid rgba(43,125,233,.12);
  background:
    radial-gradient(circle at 90% 10%, rgba(36,158,233,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,246,254,.96));
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #16263a;
}
.mini-note p {
  margin: 0;
  color: #5a6a7e;
  font-size: 14px;
  line-height: 1.62;
}

.reviews-carousel { position: relative; margin: 0 12px; }
.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: 224px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,252,.98));
}
.review-card-photo { padding: 0; overflow: hidden; }
.review-card-photo > img {
  height: 188px;
  object-fit: contain;
  background: #eef4fa;
  border-bottom: 1px solid var(--line);
}
.review-body { padding: 18px 22px 22px; }
.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: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
}
.review-meta h3 { margin: 0 0 4px; font-size: 18px; color: #1a3a5c; }
.review-meta span { color: #77889c; font-size: 13px; }
.review-card p { margin: 0; color: #4a5a6e; font-size: 15px; line-height: 1.7; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid rgba(30,58,90,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 20px rgba(24, 60, 100, 0.10);
  cursor: pointer;
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #1a5bb8;
  border-right: 2px solid #1a5bb8;
}
.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;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30,58,90,.18);
}
.carousel-dots button.is-active { background: var(--accent); }

.order-card {
  padding: 22px;
  background:
    radial-gradient(circle at 85% 5%, rgba(43,125,233,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,252,.98));
}
.order-form { margin-top: 20px; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #1a3a5c; }
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(30,58,90,.16);
  border-radius: 17px;
  background: rgba(255,255,255,.98);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field-group input:focus {
  border-color: rgba(43,125,233,.55);
  box-shadow: 0 0 0 4px rgba(43,125,233,.10);
}
.field-group input::placeholder { color: #9aa8b8; }
.field-group.has-error input { border-color: var(--danger); background: rgba(255,247,245,.98); }
.field-error,
.form-success {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}
.form-success { color: var(--success); }
.form-success.is-error { color: var(--danger); }
.privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-footer {
  margin-top: 15px;
  padding: 0 16px 20px;
  color: #5a6a7e;
  text-align: center;
}
.footer-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a3a5c;
}
.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; border-bottom: 1px solid rgba(43,125,233,.30); color: #1a5bb8; }
.registry-note { color: #77889c; }

@media (min-width: 431px) {
  .page-shell { padding-top: 18px; }
}

@media (max-width: 355px) {
  .hero-card { min-height: 520px; }
  .hero-copy h1 { font-size: 31px; }
  .price-old,
  .price-current { font-size: 24px; }
}