:root {
  --bg: #dfe4ea;
  --page: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #edf1f5;
  --text: #20242a;
  --muted: #6b737d;
  --line: rgba(31, 38, 47, 0.11);
  --dark: #171b20;
  --dark-soft: #242a31;
  --steel: #596674;
  --accent: #2e5f85;
  --accent-dark: #214763;
  --shadow: 0 28px 90px rgba(25, 34, 44, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.95), rgba(255,255,255,0) 38%),
    linear-gradient(180deg, #e9edf1 0%, var(--bg) 100%);
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.page-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--page);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page { width: 100%; }
.hero { background: var(--surface); }
.hero-media {
  position: relative;
  isolation: isolate;
  min-height: 465px;
  overflow: hidden;
  background: #f0f2f4;
}
.hero-media img {
  width: 100%;
  height: 465px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,18,22,.02) 35%, rgba(14,17,21,.2) 62%, rgba(14,17,21,.9) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 24px;
  color: #fff;
}
.hero-copy h1 {
  max-width: 390px;
  margin: 9px 0 0;
  font-size: clamp(37px, 10vw, 49px);
  line-height: .96;
  letter-spacing: -.052em;
  font-weight: 780;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--steel);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}
.eyebrow-light { color: rgba(255,255,255,.78); }

.hero-body { padding: 24px 22px 29px; }
.lead {
  margin: 0;
  color: #4e5660;
  font-size: 16px;
  line-height: 1.62;
}
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin: 21px 0 18px;
}
.price-old,
.price-current {
  font-size: 26px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.035em;
}
.price-old {
  color: #a2a8ae;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: var(--text); }
.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8eef3;
  color: var(--accent-dark);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.button {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 760;
  font-size: 16px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .68; }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #2e343b 0%, #171b20 100%);
  box-shadow: 0 13px 30px rgba(20, 26, 32, .19);
}
.button-light {
  color: var(--dark);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.sold-note {
  margin: 10px 0 0;
  color: #8a9199;
  text-align: center;
  font-size: 12px;
}

.section { padding: 54px 18px 0; }
.section-heading {
  padding: 0 4px;
  margin-bottom: 17px;
}
.section-heading h2 {
  margin: 9px 0 0;
  color: var(--text);
  font-size: 31px;
  line-height: 1.07;
  letter-spacing: -.045em;
  font-weight: 760;
  text-wrap: balance;
}

.story-card {
  overflow: hidden;
  border: 1px solid rgba(31,38,47,.08);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 22px 58px rgba(35, 45, 56, .08);
}
.story-photo {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.story-content { padding: 22px 18px 20px; }
.story-content > p {
  margin: 0;
  color: #555e68;
  font-size: 15px;
  line-height: 1.68;
}
.story-content > p + p { margin-top: 12px; }

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 19px;
}
.spec-item {
  min-height: 88px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(31,38,47,.055);
}
.spec-item span {
  display: block;
  margin-bottom: 8px;
  color: #7c848c;
  font-size: 12px;
}
.spec-item strong {
  color: #252b31;
  font-size: 17px;
  line-height: 1.2;
}

.mini-note {
  margin-top: 17px;
  padding: 17px;
  border-radius: 20px;
  color: #e9eef2;
  background: linear-gradient(145deg, #272e35 0%, #181c21 100%);
}
.mini-note h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.25;
}
.mini-note p {
  margin: 0;
  color: #bec7cf;
  font-size: 13px;
  line-height: 1.58;
}

.feature-stack {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.feature-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f0f3f6;
  border: 1px solid var(--line);
}
.feature-figure img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.feature-figure figcaption {
  padding: 12px 14px 14px;
  color: #65707b;
  font-size: 12px;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: #eef1f4;
}
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5) { grid-column: 1 / -1; aspect-ratio: 1.2 / 1; }

.reviews-section { padding-bottom: 0; }
.reviews-carousel { position: relative; }
.carousel-viewport {
  overflow: hidden;
  border-radius: 27px;
}
.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
}
.review-card {
  min-width: 100%;
  min-height: 245px;
  padding: 23px 48px 24px;
  background: linear-gradient(145deg, #fff 0%, #eef2f5 100%);
  border: 1px solid rgba(31,38,47,.08);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--dark-soft);
  font-size: 16px;
  font-weight: 780;
}
.review-head h3 {
  margin: 0 0 3px;
  font-size: 15px;
}
.review-head div span {
  color: #8b9299;
  font-size: 12px;
}
.review-card p {
  margin: 18px 0 0;
  color: #525c66;
  font-size: 15px;
  line-height: 1.65;
}
.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 35px;
  height: 35px;
  margin-top: -18px;
  border: 1px solid rgba(31,38,47,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 20px rgba(30,37,44,.12);
  cursor: pointer;
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  top: 11px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #3a424a;
  border-right: 2px solid #3a424a;
}
.carousel-arrow-prev { left: 7px; }
.carousel-arrow-prev::before { left: 13px; transform: rotate(-135deg); }
.carousel-arrow-next { right: 7px; }
.carousel-arrow-next::before { right: 13px; transform: rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c1c7cd;
  cursor: pointer;
  transition: width .18s ease, border-radius .18s ease, background .18s ease;
}
.carousel-dots button.is-active {
  width: 23px;
  border-radius: 999px;
  background: #38434e;
}

.order-section { padding: 58px 18px 22px; }
.order-card {
  overflow: hidden;
  padding: 27px 20px 22px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(105,137,163,.34), rgba(105,137,163,0) 40%),
    linear-gradient(155deg, #29323a 0%, #15191d 100%);
  box-shadow: 0 24px 58px rgba(21, 26, 31, .2);
}
.order-card h2 {
  margin: 10px 0 8px;
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.order-lead {
  margin: 0;
  color: #bec8d0;
  font-size: 14px;
  line-height: 1.55;
}
.order-form { margin-top: 22px; }
.field-group { margin-bottom: 13px; }
.field-group label {
  display: block;
  margin: 0 0 7px 3px;
  color: #dce3e8;
  font-size: 12px;
  font-weight: 650;
}
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  outline: none;
  color: #fff;
  background: rgba(255,255,255,.09);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field-group input::placeholder { color: #919ca6; }
.field-group input:focus {
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 4px rgba(255,255,255,.055);
}
.field-group.has-error input {
  border-color: #e39494;
  box-shadow: 0 0 0 4px rgba(227,148,148,.09);
}
.field-error {
  min-height: 16px;
  margin: 5px 3px 0;
  color: #f0a7a7;
  font-size: 11px;
  line-height: 1.35;
}
.privacy-note {
  margin: 11px 4px 0;
  color: #88949e;
  text-align: center;
  font-size: 10px;
  line-height: 1.45;
}
.form-success {
  min-height: 17px;
  margin: 8px 0 0;
  color: #b9e0c4;
  text-align: center;
  font-size: 12px;
}
.form-success.is-error { color: #f0a7a7; }

.site-footer {
  padding: 24px 22px 30px;
  color: #747d85;
  background: #eef1f4;
  border-top: 1px solid rgba(31,38,47,.08);
  text-align: center;
  font-size: 11px;
  line-height: 1.62;
}
.footer-title {
  margin-bottom: 10px;
  color: #3f4850;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 8px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 13px;
  margin-top: 13px;
}
.footer-links a {
  color: #4f5b65;
  border-bottom: 1px solid rgba(79,91,101,.25);
}
.registry-note { margin-top: 13px !important; color: #8b939a; }

@media (max-width: 380px) {
  .hero-media, .hero-media img { height: 420px; min-height: 420px; }
  .hero-copy h1 { font-size: 38px; }
  .price-old, .price-current { font-size: 23px; }
  .review-card { padding-left: 44px; padding-right: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
