:root {
  --page-bg: #eaf7fa;
  --panel: #ffffff;
  --panel-soft: #f2fbfd;
  --text: #24343a;
  --muted: #6a7d83;
  --line: rgba(55, 128, 147, 0.16);
  --accent: #18a9c4;
  --accent-dark: #087b96;
  --accent-soft: #dff7fb;
  --shadow: 0 22px 60px rgba(20, 83, 103, 0.15);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(70, 202, 226, 0.28), transparent 28%),
    linear-gradient(180deg, #f5fdff 0%, var(--page-bg) 48%, #f7fbf5 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.page-shell {
  width: min(100%, 460px);
  margin: 0 auto;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.45), 0 22px 90px rgba(38, 96, 119, 0.17);
  overflow: hidden;
}

.page { padding: 12px 12px 0; }

.hero { padding: 0 0 24px; }
.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  min-height: 520px;
  background: #dbeef1;
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 58% center;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 41, 52, 0.05) 0%, rgba(13, 41, 52, 0.12) 38%, rgba(7, 42, 56, 0.50) 100%),
    radial-gradient(circle at 78% 72%, rgba(18, 173, 205, 0.30), transparent 28%);
  pointer-events: none;
}
.hero-title-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px 18px 17px;
  border-radius: 24px;
  color: #fff;
  background: rgba(8, 52, 67, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 42px rgba(0,0,0,0.16);
  backdrop-filter: blur(14px);
}
.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-title-panel .hero-kicker { color: rgba(228, 252, 255, 0.88); }
.hero-title-panel h1 {
  margin: 0;
  font-size: clamp(36px, 10vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.hero-title-panel p {
  margin: 9px 0 0;
  font-size: 17px;
  color: rgba(255,255,255,0.84);
  font-weight: 600;
}

.hero-body {
  padding: 21px 14px 0;
  text-align: center;
}
.lead {
  margin: 0 auto 18px;
  max-width: 39ch;
  color: #4e666d;
  font-size: 16px;
  line-height: 1.65;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.price-old,
.price-current {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.price-old {
  color: rgba(92, 114, 119, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: var(--text); }
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8fbff;
  color: var(--accent-dark);
  border: 1px solid rgba(8, 123, 150, 0.18);
  font-size: 13px;
  font-weight: 900;
}
.button {
  border: 0;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: default; opacity: .72; transform: none; }
.button-primary {
  background: linear-gradient(180deg, #22c6df 0%, #0986a4 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 15px 30px rgba(8, 126, 151, 0.28);
}
.meta-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section { padding: 28px 0 0; }
.section-intro {
  padding: 0 14px 14px;
  text-align: center;
}
.section-intro h2 {
  margin: 0;
  color: #21343a;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.story-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(28, 83, 102, 0.10);
}
.story-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #edf8fa;
}
.story-copy { padding: 21px 18px 20px; }
.story-copy p {
  margin: 0 0 14px;
  color: #50666c;
  font-size: 15.5px;
  line-height: 1.65;
}
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 17px 0 18px;
}
.fact-item {
  min-height: 132px;
  padding: 15px 13px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f6fdff 0%, #edf9fb 100%);
  border: 1px solid rgba(8, 123, 150, 0.13);
}
.fact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #21434b;
  font-size: 15px;
}
.fact-item p {
  margin: 0;
  color: #657b80;
  font-size: 13px;
  line-height: 1.45;
}
.spec-panel {
  margin: 0 0 18px;
  padding: 18px 16px;
  border-radius: 23px;
  background: linear-gradient(180deg, #f8fdff 0%, #eef9fb 100%);
  border: 1px solid rgba(8, 123, 150, 0.14);
}
.spec-panel h3 {
  margin: 0 0 13px;
  color: #203940;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.spec-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-panel li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(54, 112, 129, 0.12);
  color: #5a7076;
  font-size: 13.5px;
}
.spec-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-panel span { min-width: 0; }
.spec-panel b {
  color: #2a444b;
  text-align: right;
  font-size: 13.5px;
}
.inline-gallery {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 22px;
  background: #eef8fa;
  border: 1px solid rgba(8, 123, 150, 0.12);
}
.inline-gallery img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
}

.reviews-carousel {
  position: relative;
  margin: 0 3px;
  padding: 0 34px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
}
.carousel-track {
  display: flex;
  transition: transform .38s ease;
  will-change: transform;
}
.review-card {
  flex: 0 0 100%;
  min-height: 214px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(28, 83, 102, 0.09);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, #dcf7fb 0%, #bceef6 100%);
  color: #086f86;
  font-weight: 900;
}
.review-meta h3 {
  margin: 0;
  font-size: 16px;
  color: #24363b;
}
.review-meta span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.review-card p {
  margin: 0;
  color: #4f666c;
  font-size: 15px;
  line-height: 1.62;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 30px;
  height: 52px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 10px 24px rgba(35, 91, 111, 0.14);
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #197c92;
  border-right: 2px solid #197c92;
}
.carousel-arrow-prev { left: 0; }
.carousel-arrow-next { right: 0; }
.carousel-arrow-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel-arrow-next::before { transform: translate(-65%, -50%) rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 123, 150, 0.22);
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active {
  width: 24px;
  background: var(--accent);
}

.order-section { padding: 34px 0 0; }
.order-card {
  margin: 0 0 24px;
  padding: 24px 18px 20px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(241,251,253,0.97) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.order-card h2 {
  margin: 0;
  color: #20383f;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.order-card > p {
  margin: 10px auto 18px;
  max-width: 33ch;
  color: #5e747a;
  font-size: 15px;
}
.order-form { text-align: left; }
.field-group { margin-bottom: 14px; }
.field-group label {
  display: block;
  margin: 0 0 7px 4px;
  color: #455e65;
  font-size: 14px;
  font-weight: 750;
}
.field-group input {
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border-radius: 18px;
  border: 1px solid rgba(34, 125, 148, 0.18);
  background: #fff;
  color: #23383f;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.field-group input:focus {
  border-color: rgba(8, 139, 166, 0.48);
  box-shadow: 0 0 0 4px rgba(34, 198, 223, 0.12);
}
.field-group input::placeholder { color: rgba(87, 109, 115, 0.55); }
.field-group.has-error input {
  border-color: rgba(194, 65, 65, 0.65);
  box-shadow: 0 0 0 4px rgba(194, 65, 65, 0.08);
}
.field-error {
  min-height: 18px;
  margin: 5px 0 0 4px;
  color: #b63838;
  font-size: 12.5px;
}
.privacy-note {
  margin: 12px auto 0;
  color: #7a8d92;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
}
.form-success {
  min-height: 18px;
  margin: 10px 0 0;
  color: #197b4f;
  text-align: center;
  font-size: 13px;
}
.form-success.is-error { color: #b63838; }

.site-footer {
  padding: 24px 22px calc(26px + env(safe-area-inset-bottom));
  color: #64787e;
  text-align: center;
  background: rgba(234, 247, 250, 0.66);
  border-top: 1px solid rgba(8, 123, 150, 0.12);
}
.footer-title {
  margin-bottom: 10px;
  color: #30484f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.site-footer p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 11px 0;
}
.footer-links a {
  color: #196e83;
  font-size: 12.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 110, 131, 0.26);
}
.registry-note { color: #70848a; }

@media (max-width: 380px) {
  .page { padding: 9px 9px 0; }
  .hero-photo-wrap { min-height: 480px; }
  .hero-photo { height: 480px; }
  .hero-title-panel h1 { font-size: 35px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact-item { min-height: auto; }
  .price-old, .price-current { font-size: 21px; }
}

@media (min-width: 461px) {
  body { padding: 18px 0; }
  .page-shell { border-radius: 34px; }
  .hero-photo-wrap { border-radius: 28px 28px 34px 34px; }
}
