:root {
  --bg: #f5f7f2;
  --bg-deep: #e7efe4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --text: #22312a;
  --muted: #58675f;
  --line: rgba(34, 49, 42, 0.12);
  --accent: #2f7451;
  --accent-deep: #214f38;
  --accent-soft: rgba(47, 116, 81, 0.1);
  --shadow: 0 18px 42px rgba(43, 58, 49, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 430px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(85, 160, 111, 0.08), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, #eef4ec 46%, #ebf0e3 100%);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.page {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 14px 14px 32px;
}

.hero,
.product-story,
.reviews,
.order-section,
.site-footer {
  position: relative;
}

.hero {
  padding-top: 6px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-media img {
  min-height: 520px;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 27, 18, 0.08) 0%, rgba(14, 27, 18, 0.18) 48%, rgba(14, 27, 18, 0.68) 100%);
}

.hero-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  bottom: auto;
  z-index: 1;
  color: #f6fbf7;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(15, 31, 21, 0.24);
  backdrop-filter: blur(10px);
  max-width: 78%;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-overlay .eyebrow {
  color: rgba(246, 251, 247, 0.82);
}

.hero h1 {
  margin: 8px 0 0;
  font-size: clamp(24px, 4.8vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-copy {
  margin: -22px 10px 0;
  padding: 26px 22px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 249, 243, 0.9));
  box-shadow: 0 12px 30px rgba(38, 61, 45, 0.08);
}

.hero-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
}

.price-old,
.price-new {
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price-old {
  color: rgba(34, 49, 42, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-new {
  color: var(--accent-deep);
}

.cta-button,
.submit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 20px;
  margin-top: 18px;
  background: linear-gradient(135deg, #2f7451, #295f44);
  color: #f8fcf8;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(47, 116, 81, 0.22);
}

.sold-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.product-story {
  margin-top: 24px;
}

.story-card {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 238, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.story-main-image {
  aspect-ratio: 0.746 / 1;
  object-fit: cover;
}

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

.story-copy h2,
.order-card h2,
.reviews h2,
.site-footer h2 {
  margin: 10px 0 0;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.story-copy p,
.section-head p,
.order-card p,
.site-footer p,
.modal p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.story-facts {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.fact-label {
  font-size: 13px;
  color: var(--muted);
}

.fact-value {
  font-size: 13px;
  color: var(--text);
  text-align: right;
}

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

.story-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #d8e6d8;
}

.story-gallery img {
  aspect-ratio: 0.75;
  object-fit: cover;
}

.reviews {
  margin-top: 26px;
}

.section-head {
  padding: 0 4px 14px;
}

.section-head h2 {
  margin-top: 10px;
}

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

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 245, 237, 0.95));
  box-shadow: 0 14px 28px rgba(32, 51, 37, 0.08);
  min-height: 170px;
}

.review-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
}

.review-name {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-deep);
  box-shadow: 0 8px 18px rgba(28, 44, 33, 0.12);
  font-size: 24px;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(34, 49, 42, 0.18);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.order-section {
  margin-top: 28px;
}

.order-card {
  padding: 24px 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(76, 145, 100, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 244, 232, 0.97));
  box-shadow: var(--shadow);
}

.order-form {
  margin-top: 18px;
}

.field {
  display: block;
}

.field + .field {
  margin-top: 14px;
}

.field span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--text);
}

.field input {
  width: 100%;
  border: 1px solid rgba(34, 49, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  padding: 16px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  border-color: rgba(47, 116, 81, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 116, 81, 0.1);
}

.field input.is-invalid {
  border-color: rgba(188, 73, 73, 0.7);
  box-shadow: 0 0 0 4px rgba(188, 73, 73, 0.08);
}

.field-error {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #b54a4a;
}

.policy-note,
.form-status {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.form-status {
  min-height: 20px;
  margin-top: 8px;
}

.form-status.error {
  color: #b54a4a;
}

.form-status.success {
  color: var(--accent-deep);
  font-weight: 600;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.site-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 18px 20px 32px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 16px;
}

.footer-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 13px;
  cursor: pointer;
}

.registry-note {
  margin-top: 16px;
}

.modal {
  width: min(100% - 28px, 420px);
  border: 0;
  padding: 0;
  border-radius: 24px;
  background: transparent;
}

.modal::backdrop {
  background: rgba(15, 20, 16, 0.45);
  backdrop-filter: blur(3px);
}

.modal-inner {
  position: relative;
  padding: 22px 18px;
  border-radius: 24px;
  background: #fcfdfb;
  box-shadow: 0 18px 36px rgba(20, 30, 23, 0.2);
}

.modal h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 49, 42, 0.06);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

@media (min-width: 431px) {
  body {
    padding: 16px 0;
  }

  .page,
  .site-footer {
    width: min(100% - 24px, var(--max-width));
  }
}
