:root {
  --bg: #f5f1ea;
  --paper: #fffaf3;
  --paper-2: #ede5dc;
  --text: #252321;
  --muted: #6f6760;
  --soft: #9f958b;
  --line: rgba(36, 33, 30, 0.12);
  --accent: #c85f2c;
  --accent-dark: #33201a;
  --shadow: 0 24px 70px rgba(30, 25, 20, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 95, 44, 0.16), transparent 34rem),
    linear-gradient(180deg, #f1ebe2 0%, #f8f5ef 42%, #eee6dc 100%);
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.page-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  min-height: 100vh;
  background: rgba(255, 250, 243, 0.62);
  box-shadow: 0 0 0 1px rgba(35, 31, 28, 0.06), 0 30px 90px rgba(24, 21, 18, 0.14);
  overflow: hidden;
}

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

.hero { padding-bottom: 32px; }

.hero-card {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background: #211f1d;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 49% 50%;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.5) 100%),
    radial-gradient(circle at 88% 18%, rgba(200, 95, 44, 0.35), transparent 18rem);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  color: #fffaf3;
  background: rgba(26, 22, 19, 0.54);
  backdrop-filter: blur(14px);
  text-align: center;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(38px, 11vw, 58px);
  line-height: 0.93;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.hero-body {
  padding: 24px 8px 0;
  text-align: center;
}

.lead {
  margin: 0 auto;
  max-width: 410px;
  color: #4a433d;
  font-size: 16px;
  line-height: 1.58;
}

.price-row {
  margin: 20px auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.price-old,
.price-current {
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-old {
  color: rgba(37, 35, 33, 0.42);
  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 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #fffaf3;
  background: var(--accent);
  box-shadow: 0 10px 25px rgba(200, 95, 44, 0.26);
}

.button {
  border: 0;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button-primary {
  color: #fffaf3;
  background: linear-gradient(135deg, #2f2924 0%, #6c321f 56%, #c85f2c 100%);
  box-shadow: 0 18px 38px rgba(75, 44, 30, 0.28);
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: 0.68; cursor: wait; transform: none; }

.meta-note {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.section { padding: 22px 0 12px; }

.section-intro {
  padding: 0 10px 16px;
  text-align: center;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(25px, 7.2vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.section-kicker { color: var(--accent); }

.story-card {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #fffaf3 0%, #f4ede3 100%);
  box-shadow: 0 20px 55px rgba(35, 30, 24, 0.11);
  border: 1px solid rgba(44, 38, 32, 0.08);
}

.story-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 50%;
}

.story-copy {
  padding: 22px 18px 20px;
}

.story-copy p {
  margin: 0;
  color: #4d453f;
  font-size: 15px;
  line-height: 1.62;
}

.story-copy p + p { margin-top: 12px; }

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.fact-item {
  min-height: 122px;
  padding: 14px 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

.fact-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.fact-item p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.42;
}

.mini-note {
  margin: 18px 0;
  padding: 18px;
  border-radius: 24px;
  color: #fffaf3;
  background:
    radial-gradient(circle at 96% 15%, rgba(200, 95, 44, 0.5), transparent 10rem),
    linear-gradient(135deg, #25221f 0%, #3e332b 100%);
}

.mini-note h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -0.05em;
}

.mini-note p { color: rgba(255, 250, 243, 0.8); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(45, 40, 34, 0.08);
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: center;
  padding: 0 2px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 28px;
}

.carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-height: 206px;
  padding: 22px 20px;
  border: 1px solid rgba(44, 38, 32, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #fffaf3 0%, #f1e8dc 100%);
  box-shadow: 0 18px 48px rgba(35, 30, 24, 0.10);
}

.review-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fffaf3;
  background: linear-gradient(135deg, #25221f, #c85f2c);
  font-weight: 800;
}

.review-meta h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.review-meta span {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
}

.review-card p {
  margin: 0;
  color: #4d453f;
  font-size: 15px;
  line-height: 1.58;
}

.carousel-arrow {
  width: 34px;
  height: 46px;
  border: 1px solid rgba(44, 38, 32, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 12px 25px rgba(33, 28, 24, 0.10);
  cursor: pointer;
  position: relative;
}

.carousel-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #2b2723;
  border-right: 2px solid #2b2723;
}

.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-top: 12px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(37, 35, 33, 0.2);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots button.is-active {
  width: 22px;
  background: var(--accent);
}

.order-section { padding: 30px 0 22px; }

.order-card {
  padding: 26px 18px 20px;
  border-radius: 32px;
  text-align: center;
  color: #fffaf3;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 95, 44, 0.46), transparent 15rem),
    linear-gradient(160deg, #25221f 0%, #38302a 100%);
  box-shadow: var(--shadow);
}

.order-card .section-kicker { color: #f3b18b; }
.order-card .section-kicker::before { background: #f3b18b; }

.order-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.03;
  letter-spacing: -0.07em;
}

.order-card > p {
  margin: 10px auto 18px;
  max-width: 330px;
  color: rgba(255, 250, 243, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.order-form {
  display: grid;
  gap: 12px;
}

.field-group {
  text-align: left;
}

.field-group label {
  display: block;
  margin: 0 0 7px 6px;
  color: rgba(255, 250, 243, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.field-group input {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  outline: none;
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.field-group input::placeholder { color: rgba(255, 250, 243, 0.38); }
.field-group input:focus { border-color: rgba(243, 177, 139, 0.68); background: rgba(255, 255, 255, 0.11); }
.field-group.has-error input { border-color: #ff9a84; }

.field-error {
  min-height: 17px;
  margin: 6px 6px 0;
  color: #ffb7a9;
  font-size: 12px;
  line-height: 1.35;
}

.order-form .button {
  width: 100%;
  margin-top: 2px;
  color: #2c211a;
  background: linear-gradient(135deg, #fff1df 0%, #f3b18b 100%);
  box-shadow: 0 16px 34px rgba(0,0,0,0.20);
}

.privacy-note {
  margin: 2px auto 0;
  max-width: 330px;
  color: rgba(255, 250, 243, 0.5);
  font-size: 11.5px;
  line-height: 1.45;
}

.form-success {
  min-height: 18px;
  margin: 0;
  color: #ffe3d1;
  font-size: 13px;
  font-weight: 700;
}

.form-success.is-error { color: #ffb7a9; }

.site-footer {
  padding: 24px 22px 30px;
  color: rgba(37, 35, 33, 0.65);
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}

.footer-title {
  color: rgba(37, 35, 33, 0.88);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin-bottom: 8px;
}

.site-footer p { margin: 8px 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 12px 0 6px;
}

.footer-links a {
  color: rgba(37, 35, 33, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 35, 33, 0.22);
}

.registry-note { color: rgba(37, 35, 33, 0.48); }

.legal-page {
  padding: 18px 14px 28px;
}

.thanks-card,
.legal-card {
  margin: 30px 14px;
  padding: 26px 20px;
  border-radius: 30px;
  background: #fffaf3;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: -0.07em;
}

.thanks-card p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.55;
}

.thanks-card .button { margin-top: 16px; }

@media (max-width: 390px) {
  .page { padding: 10px 10px 0; }
  .hero-card { min-height: 520px; border-radius: 28px; }
  .hero-image { height: 520px; }
  .hero-overlay { left: 12px; right: 12px; bottom: 12px; }
  .facts-grid { grid-template-columns: 1fr; }
  .reviews-carousel { grid-template-columns: 30px 1fr 30px; gap: 5px; }
  .carousel-arrow { width: 30px; }
}

@media (min-width: 700px) {
  body { padding: 22px 0; }
  .page-shell { border-radius: 34px; }
}
