:root {
  --bg: #eef0f3;
  --bg-soft: #f8f8f9;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #22252a;
  --muted: #686d76;
  --line: rgba(34, 37, 42, 0.10);
  --accent: #ef5a32;
  --accent-deep: #c83d1d;
  --accent-soft: rgba(239, 90, 50, 0.11);
  --blue: #249ee9;
  --danger: #b94739;
  --success: #366b49;
  --shadow: 0 24px 62px rgba(24, 29, 36, 0.11);
}

* { 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(36,158,233,.08), transparent 22%),
    linear-gradient(180deg, #f8f8fa 0%, #eceef1 46%, #f6f4f2 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: #f4f5f7;
  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,12,15,.52) 0%, rgba(10,12,15,.10) 24%, transparent 50%, rgba(10,12,15,.20) 100%),
    radial-gradient(circle at 17% 12%, rgba(239,90,50,.18), 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,.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #33373d;
  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(13, 15, 18, .68);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 35px;
  line-height: .98;
  letter-spacing: -.05em;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.hero-body { margin: 0 14px; padding: 0 4px; }
.lead {
  margin: 0 0 15px;
  color: #535860;
  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: #a0a4ab;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: #202329; 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, #fb6b43 0%, #d64623 100%);
  box-shadow: 0 15px 28px rgba(214,70,35,.27);
  font-weight: 800;
}
.meta-note {
  margin: 10px 0 0;
  color: #7d8289;
  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;
}
.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(247,247,248,.98));
  box-shadow: 0 18px 42px rgba(31,35,41,.07);
}
.story-photo {
  aspect-ratio: .76 / 1;
  object-fit: cover;
  object-position: center;
  background: #f2f3f5;
}
.story-copy,
.order-card { padding: 22px; }
.story-copy > p,
.order-card > p {
  margin: 0;
  color: #51565e;
  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(34,37,42,.07);
  background: linear-gradient(145deg, rgba(245,246,248,.98), rgba(255,255,255,.98));
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #2c3036;
  font-size: 14px;
}
.fact-item p {
  margin: 0;
  color: #60656d;
  font-size: 14px;
  line-height: 1.56;
}
.mini-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 21px;
  border: 1px solid rgba(239,90,50,.10);
  background:
    radial-gradient(circle at 90% 10%, rgba(36,158,233,.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,241,238,.96));
}
.mini-note h3,
.order-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.mini-note p {
  margin: 0;
  color: #5c6068;
  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,245,247,.98));
}
.review-card-photo { padding: 0; overflow: hidden; }
.review-card-photo > img {
  height: 188px;
  object-fit: contain;
  background: #f5f5f6;
  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; }
.review-meta span { color: #767b83; font-size: 13px; }
.review-card p { margin: 0; color: #51565e; 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(34,37,42,.10);
  border-radius: 50%;
  background: rgba(255,255,255,.93);
  box-shadow: 0 8px 20px rgba(24,29,36,.08);
  cursor: pointer;
}
.carousel-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid #34383e;
  border-right: 2px solid #34383e;
}
.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(34,37,42,.18);
}
.carousel-dots button.is-active { background: var(--accent); }

.order-card {
  padding: 22px;
  background:
    radial-gradient(circle at 85% 5%, rgba(239,90,50,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,247,248,.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; }
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(34,37,42,.14);
  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(239,90,50,.55);
  box-shadow: 0 0 0 4px rgba(239,90,50,.08);
}
.field-group input::placeholder { color: #9a9ea5; }
.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: #5f646b;
  text-align: center;
}
.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; border-bottom: 1px solid rgba(34,37,42,.18); }
.registry-note { color: #81858c; }

@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; }
}
