:root {
  --bg: #fff7fb;
  --bg-soft: #fff1f8;
  --card: rgba(255, 255, 255, 0.94);
  --text: #302832;
  --muted: #746573;
  --soft: #a3919e;
  --line: rgba(205, 63, 149, 0.13);
  --accent: #ee45ad;
  --accent-deep: #bf147c;
  --accent-dark: #8d0e5b;
  --accent-soft: rgba(238, 69, 173, 0.13);
  --glass: rgba(255, 255, 255, 0.70);
  --danger: #b64061;
  --success: #7a1c59;
  --shadow: 0 22px 56px rgba(184, 26, 123, 0.13);
}

* { 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 top left, rgba(255,255,255,0.95), transparent 32%),
    radial-gradient(circle at top right, rgba(255,118,197,0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fff5fb 38%, #f9e7f2 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: 20px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-card {
  position: relative;
  margin: 0 14px;
  overflow: hidden;
  border-radius: 34px;
  min-height: 540px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(238, 69, 173, 0.10);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 42%, rgba(70, 0, 45, 0.40) 100%),
    radial-gradient(circle at 50% 88%, rgba(238, 69, 173, 0.25), transparent 45%);
}
.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  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(255,255,255,0.62);
  backdrop-filter: blur(10px);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 305px;
  padding: 15px 17px 16px;
  border-radius: 24px;
  background: rgba(61, 14, 47, 0.54);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fffafd;
  font-size: 38px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  box-shadow: 0 14px 34px rgba(64, 0, 42, 0.20);
}
.hero-body {
  margin: 0 14px;
  padding: 0 6px;
}
.lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.68;
  color: #5e505d;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin-bottom: 16px;
}
.price-old,
.price-current {
  font-size: 27px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.price-old {
  font-weight: 750;
  color: #b7a9b3;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current {
  font-weight: 850;
  color: #271f28;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 14px;
}
.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;
  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, #f259b8 0%, #bf147c 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(191, 20, 124, 0.27);
  font-weight: 800;
}
.meta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8d7d89;
  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.97), rgba(255,246,251,0.98));
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(184, 26, 123, 0.08);
}
.story-photo {
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  object-position: center;
  background: #fff;
}
.story-copy,
.order-card {
  padding: 22px;
}
.story-copy p,
.order-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5e505d;
}
.story-copy p + p {
  margin-top: 14px;
}
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 18px 0;
}
.fact-item {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 233, 246, 0.72);
  border: 1px solid rgba(238, 69, 173, 0.10);
}
.fact-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #2e2630;
}
.fact-item p {
  font-size: 13px;
  line-height: 1.55;
  color: #6f606d;
}
.mini-note {
  margin: 0 0 18px;
  padding: 17px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(238,69,173,0.12), rgba(255,255,255,0.72));
  border: 1px solid rgba(238, 69, 173, 0.12);
}
.mini-note h3 {
  margin: 0 0 7px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.mini-note p {
  font-size: 14px;
  line-height: 1.62;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(238, 69, 173, 0.10);
}
.gallery-grid img:nth-child(3) {
  grid-column: 1 / -1;
  aspect-ratio: 1.55 / 1;
}

.reviews-carousel {
  position: relative;
  margin: 0 14px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 28px;
}
.carousel-track {
  display: flex;
  transition: transform .36s ease;
}
.review-card {
  flex: 0 0 100%;
  min-height: 214px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,240,248,0.97));
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(184, 26, 123, 0.07);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff0f8, #ffd3ec);
  color: var(--accent-deep);
  font-weight: 800;
  border: 1px solid rgba(238, 69, 173, 0.14);
}
.review-meta h3 {
  margin: 0 0 3px;
  font-size: 16px;
}
.review-meta span {
  font-size: 13px;
  color: #998994;
}
.review-card p {
  margin: 0;
  color: #5c4f5b;
  font-size: 15px;
  line-height: 1.68;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border: 1px solid rgba(238, 69, 173, 0.14);
  border-radius: 50%;
  background: rgba(255,255,255,0.90);
  box-shadow: 0 10px 24px rgba(184, 26, 123, 0.12);
  cursor: pointer;
}
.carousel-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  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: translate(-35%, -50%) rotate(-135deg); }
.carousel-arrow-next::before { transform: translate(-65%, -50%) rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(191, 20, 124, 0.22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active {
  width: 24px;
  background: var(--accent-deep);
}

.order-intro p {
  margin: 10px 0 0;
  color: #766674;
  line-height: 1.55;
  font-size: 14px;
}
.order-card {
  overflow: visible;
}
.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-group label {
  font-size: 13px;
  color: #6d5d69;
  font-weight: 700;
}
.field-group input {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(191, 20, 124, 0.15);
  border-radius: 18px;
  padding: 0 16px;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}
.field-group input::placeholder {
  color: #b5a5b0;
}
.field-group input:focus {
  border-color: rgba(191, 20, 124, 0.42);
  box-shadow: 0 0 0 4px rgba(238, 69, 173, 0.10);
  background: #fff;
}
.field-error {
  min-height: 16px;
  margin: 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.35;
}
.field-group.has-error input {
  border-color: rgba(182, 64, 97, .62);
  box-shadow: 0 0 0 4px rgba(182, 64, 97, .08);
}
.privacy-note,
.form-success {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #90818c;
}
.form-success {
  min-height: 18px;
  color: var(--success);
  font-weight: 700;
}
.form-success.is-error {
  color: var(--danger);
}

.site-footer {
  margin-top: 26px;
  padding: 22px 26px 0;
  color: #7e6f7a;
  font-size: 12px;
  line-height: 1.58;
  text-align: center;
}
.footer-title {
  margin-bottom: 8px;
  color: #4a3b48;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.site-footer p {
  margin: 0 0 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(191, 20, 124, 0.18);
}
.registry-note {
  color: #988995;
}

@media (max-width: 374px) {
  .hero-card { min-height: 500px; border-radius: 30px; }
  .hero-copy h1 { font-size: 33px; }
  .section-intro h2 { font-size: 27px; }
  .price-old,
  .price-current { font-size: 24px; }
  .story-copy,
  .order-card,
  .review-card { padding: 19px; }
}

@media (min-width: 520px) {
  .page-shell { padding-top: 22px; }
  .hero-card { min-height: 560px; }
}
