:root {
  --mg-green: #148448;
  --mg-green-dark: #0f5f38;
  --mg-ink: #111827;
  --mg-muted: #64748b;
  --mg-line: #e5e7eb;
  --mg-soft: #f1f7f0;
  --mg-white: #ffffff;
  --mg-shadow: 0 24px 70px rgb(15 23 42 / 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--mg-ink);
  background: linear-gradient(180deg, #eef8ee 0%, #fff 42%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.mg-page { overflow: hidden; }
.mg-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.mg-narrow { width: min(760px, calc(100% - 32px)); }

.mg-hero {
  min-height: min(100svh, 820px);
  display: flex;
  align-items: center;
  padding: 58px 0 58px;
}

.mg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.mg-hero-copy { display: grid; gap: 22px; }

.mg-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--mg-green);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
}

.mg-badge-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--mg-green);
  background: #fff;
}

.mg-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

.mg-lead {
  margin: 0;
  max-width: 650px;
  color: #4b5563;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.mg-offer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mg-offer-row strong {
  color: var(--mg-green);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.mg-offer-row span {
  padding: 10px 14px;
  border: 1px solid #cde8d4;
  border-radius: 999px;
  color: #1f5135;
  background: #fff;
  font-weight: 800;
}

.mg-hero-actions,
.mg-sticky-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mg-sticky-actions { display: none; }

.mg-payment-note {
  flex-basis: 100%;
  margin: 0;
  color: #0f5132;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  transform-origin: left center;
  animation: mgPaymentPulse 0.8s ease-in-out infinite;
  text-shadow: 0 0 0 rgba(15, 81, 50, 0);
}

.mg-payment-note span {
  color: #b8320a;
  text-shadow: 0 0 10px rgba(184, 50, 10, 0.22);
}

@keyframes mgPaymentPulse {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(15, 81, 50, 0);
  }
  45% {
    transform: scale(1.035);
    text-shadow: 0 0 14px rgba(15, 81, 50, 0.22);
  }
}

.mg-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mg-btn:hover { transform: translateY(-1px); }
.mg-btn-primary { color: #fff; background: var(--mg-green); box-shadow: 0 14px 30px rgb(20 132 72 / .25); }
.mg-btn-primary:hover { background: var(--mg-green-dark); }
.mg-btn-outline { color: var(--mg-green); background: #fff; border-color: #a7d8b8; }
.mg-btn-outline:hover { background: #f2fbf4; }
.mg-hero-media,
.mg-hero-video {
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
}

.mg-hero-media {
  position: relative;
  background: #dbe8d7;
  box-shadow: var(--mg-shadow);
}

.mg-hero-video {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
  padding-top: clamp(34px, 6vh, 78px);
}

.mg-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.mg-hero-placeholder {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--mg-green-dark);
  font-weight: 900;
  font-size: 28px;
  text-align: center;
}

.mg-section { padding: clamp(64px, 8vw, 110px) 0; }
.mg-white { background: #fff; }
.mg-soft { background: #f7faf7; }

.mg-section-head {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.mg-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.mg-section-head p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 19px;
  line-height: 1.55;
}

.mg-video-wrap { display: flex; justify-content: center; }

.mg-video-card,
.video-card {
  width: min(430px, 100%);
  border-radius: 32px;
  overflow: hidden;
  background: #09090b;
  box-shadow: var(--mg-shadow);
}

.mg-hero-video .mg-video-card {
  width: min(390px, 100%);
}

.video-poster-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background: #10251c;
}

.video-poster-button.is-hidden { display: none; }

.video-poster-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .06), rgb(0 0 0 / .32));
}

.video-poster-fallback {
  background: radial-gradient(circle at 50% 40%, #2fb36d, #0c3025 72%);
}

.video-play-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgb(255 255 255 / .96);
  box-shadow: 0 18px 44px rgb(0 0 0 / .26);
}

.video-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid var(--mg-green);
  transform: translate(-42%, -50%);
}

.product-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: contain;
}

.product-video[hidden] { display: none; }

.mg-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mg-gallery-item {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 22px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e5e7eb;
  cursor: pointer;
  box-shadow: 0 16px 34px rgb(15 23 42 / .12);
}

.mg-gallery-extra,
.mg-gallery-mobile-only {
  display: none;
}

.mg-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.mg-gallery-item:hover img { transform: scale(1.05); }

.mg-feature-grid,
.mg-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mg-card {
  padding: 28px;
  border: 1px solid var(--mg-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgb(15 23 42 / .08);
}

.mg-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--mg-green);
  background: #e4f6e8;
  font-weight: 900;
}

.mg-card h3 { margin: 0 0 10px; font-size: 22px; }
.mg-card p { margin: 0; color: var(--mg-muted); line-height: 1.58; }
.mg-review span { display: block; margin-top: 14px; color: var(--mg-green); font-weight: 800; }
.mg-stars { color: #f4b400; margin-bottom: 12px; letter-spacing: 1px; }

.mg-form-shell { width: min(680px, calc(100% - 32px)); margin: 0 auto; }

.mg-order-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--mg-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--mg-shadow);
}

.mg-form-head { text-align: center; }
.mg-form-head h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); }
.mg-form-head p { margin: 0; color: var(--mg-muted); line-height: 1.5; }

.mg-order-card label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.mg-order-card input,
.mg-order-card textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--mg-ink);
  background: #fff;
  outline: none;
}

.mg-order-card input:focus,
.mg-order-card textarea:focus {
  border-color: var(--mg-green);
  box-shadow: 0 0 0 3px rgb(20 132 72 / .13);
}

.mg-total-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: #eef9ef;
}

.mg-total-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.mg-total-box strong { color: var(--mg-green); font-size: 22px; }
.mg-submit { width: 100%; border: 0; }
.mg-privacy { margin: 0; color: var(--mg-muted); font-size: 13px; text-align: center; line-height: 1.45; }

.form-error,
.form-ok {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}
.form-error { color: #991b1b; background: #fee2e2; }
.form-ok { color: #166534; background: #dcfce7; }

.mg-faq-list { display: grid; gap: 12px; }
.mg-faq {
  border: 1px solid var(--mg-line);
  border-radius: 16px;
  background: #fff;
}
.mg-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}
.mg-faq p { margin: 0; padding: 0 20px 18px; color: var(--mg-muted); line-height: 1.55; }

.mg-footer {
  padding: 52px 0;
  color: #fff;
  background: #111827;
}

.mg-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.mg-footer h3 { margin: 0 0 12px; }
.mg-footer p,
.mg-footer a { color: #cbd5e1; line-height: 1.55; }

.mg-sticky-actions {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px max(16px, env(safe-area-inset-left)) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--mg-line);
  background: rgb(255 255 255 / .94);
  box-shadow: 0 -12px 32px rgb(15 23 42 / .12);
  backdrop-filter: blur(14px);
}
.mg-sticky-actions .mg-btn { flex: 1; }

.photo-lightbox[hidden] { display: none; }
.photo-lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.lightbox-backdrop { position: absolute; inset: 0; border: 0; background: rgb(15 23 42 / .78); }
.lightbox-panel { position: relative; max-width: min(1000px, 96vw); max-height: 90vh; }
.lightbox-panel img { display: block; max-width: 100%; max-height: 90vh; border-radius: 18px; object-fit: contain; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border: 0; border-radius: 999px; background: #fff; cursor: pointer; font-size: 24px; line-height: 1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .mg-page { padding-bottom: 88px; }
  .mg-sticky-actions { display: flex; }
  .mg-hero-grid,
  .mg-feature-grid,
  .mg-review-grid,
  .mg-footer-grid { grid-template-columns: 1fr; }
  .mg-hero {
    min-height: 100svh;
    align-items: start;
    padding: 34px 0 42px;
  }
  .mg-hero-grid { gap: 24px; }
  .mg-hero-copy { gap: 16px; }
  .mg-hero h1 { font-size: clamp(34px, 10vw, 54px); }
  .mg-lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 17px;
  }
  .mg-hero-media,
  .mg-hero-media img,
  .mg-hero-placeholder { min-height: 420px; }
  .mg-hero-video {
    min-height: 0;
    border-radius: 0;
    padding-top: 16px;
  }
  .mg-hero-video .mg-video-card {
    width: min(370px, 100%);
  }
}

@media (min-width: 641px) {
  .mg-gallery-mobile-only { display: none !important; }
}

@media (max-width: 640px) {
  .mg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mg-gallery-mobile-only { display: block !important; }
  .mg-btn { min-height: 50px; padding: 0 16px; }
  .mg-sticky-actions { gap: 8px; }
  .mg-offer-row { gap: 10px; }
  .mg-payment-note { font-size: 17px; }
  .mg-hero-media,
  .mg-hero-media img,
  .mg-hero-placeholder { min-height: 340px; border-radius: 24px; }
  .mg-hero-video .mg-video-card {
    width: min(370px, calc(100vw - 32px));
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-payment-note {
    animation: none;
  }
}
