:root {
  --green-dark: #1f4d3a;
  --green: #2f6f4f;
  --green-light: #e8f3ec;
  --orange: #e8792c;
  --orange-dark: #c8631d;
  --sand: #faf6ee;
  --text: #22301f;
  --muted: #6b7a68;
  --white: #ffffff;
  --danger: #c0392b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 77, 58, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Cairo', 'Tahoma', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 800; margin: 0 0 12px; }
p { margin: 0 0 8px; }

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

.top-bar {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  font-size: 14px;
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.top-bar .sep { opacity: .5; }

/* ---- HERO ---- */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}
.hero-image {
  flex: 1 1 380px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: auto; }
.badge-stock {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--danger);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--white);
}
.gallery-thumbs .thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .7;
}
.gallery-thumbs .thumb.active {
  border-color: var(--orange);
  opacity: 1;
}

.hero-content { flex: 1 1 380px; }
.hero-content h1 { font-size: 28px; color: var(--green-dark); }
.hero-hook { color: var(--green-dark); font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.hero-sub { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.cta-hint { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

.price-row { margin: 16px 0; }
.price-from { display: block; font-size: 14px; color: var(--muted); font-weight: 700; }
.price-now {
  font-size: 34px;
  font-weight: 800;
  color: var(--orange-dark);
}

.trust-list { list-style: none; padding: 0; margin: 0 0 20px; }
.trust-list li { font-size: 15px; margin-bottom: 6px; }

.cta-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232, 121, 44, 0.4);
  transition: transform .15s ease, background .15s ease;
}
.cta-btn:hover { background: var(--orange-dark); transform: translateY(-2px); }
.cta-btn:active { transform: translateY(0); }

.countdown-wrap { margin-top: 24px; }
.countdown-wrap p { font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.countdown { display: flex; gap: 10px; }
.countdown div {
  background: var(--green-dark);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  min-width: 60px;
}
.countdown span { display: block; font-size: 20px; font-weight: 800; }
.countdown small { font-size: 11px; opacity: .85; }

/* ---- FEATURES ---- */
.features, .why-us, .steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}
.features h2, .why-us h2, .steps h2 {
  color: var(--green-dark);
  font-size: 26px;
  margin-bottom: 28px;
}
.features-grid, .why-grid, .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card, .why-card, .step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
}
.feature-card .icon, .why-card .icon { font-size: 34px; display: block; margin-bottom: 10px; }
.feature-card h3, .why-card h3 { font-size: 17px; color: var(--green-dark); }
.feature-card p, .why-card p { color: var(--muted); font-size: 14px; margin: 0; }

.why-us { background: var(--green-light); border-radius: var(--radius); }

/* ---- PRICING / PACKS ---- */
.pricing-lead { color: var(--muted); margin-bottom: 28px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--orange);
  transform: scale(1.03);
}
.pricing-card .badge {
  position: absolute;
  top: -13px;
  right: 50%;
  transform: translateX(50%);
  background: var(--orange);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card .badge.badge-alt { background: var(--green-dark); }
.pricing-card h3 { color: var(--green-dark); font-size: 18px; }
.pricing-card .price {
  font-size: 30px;
  font-weight: 800;
  color: var(--orange-dark);
  margin-bottom: 16px;
}
.pricing-card .price span { font-size: 16px; font-weight: 700; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; text-align: right; }
.pricing-features li { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pricing-cta { width: 100%; font-size: 15px; padding: 12px 20px; }

.step-card { position: relative; padding-top: 40px; }
.step-num {
  position: absolute;
  top: -18px;
  right: 50%;
  transform: translateX(50%);
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-cta { margin-top: 30px; }

/* ---- STICKY MOBILE CTA ---- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}
.sticky-price { font-weight: 800; color: var(--orange-dark); font-size: 18px; }
.sticky-cta .cta-btn { padding: 12px 24px; font-size: 15px; }

@media (max-width: 640px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
}

/* ---- FOOTER ---- */
.site-footer {
  text-align: center;
  padding: 24px 16px 40px;
  color: var(--muted);
  font-size: 13px;
}
.footer-badges { margin-top: 6px; font-weight: 700; color: var(--green-dark); }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 20, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-light);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--green-dark);
}

.modal-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.modal-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}
.modal-product h3 { font-size: 15px; margin-bottom: 4px; }
.modal-price { color: var(--orange-dark); font-weight: 800; font-size: 17px; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--green-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #dfe6e0;
  border-radius: 10px;
  background: #fbfdfc;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
}
.error-msg {
  display: block;
  color: var(--danger);
  font-size: 12.5px;
  min-height: 16px;
  margin-top: 4px;
}

.pack-selector { display: flex; flex-direction: column; gap: 10px; }
.pack-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #dfe6e0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pack-option input { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.pack-option .pack-label { flex: 1; font-weight: 700; font-size: 14.5px; color: var(--text); }
.pack-option .pack-label em { color: var(--orange-dark); font-style: normal; font-size: 12.5px; }
.pack-option .pack-price { font-weight: 800; color: var(--orange-dark); font-size: 15.5px; white-space: nowrap; }
.pack-option.selected {
  border-color: var(--green);
  background: var(--green-light);
}

.submit-btn { width: 100%; margin-top: 6px; }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.form-badges {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.form-message {
  margin-top: 14px;
  font-weight: 700;
  text-align: center;
  font-size: 14.5px;
}
.form-message.success { color: var(--green-dark); }
.form-message.error { color: var(--danger); }

@media (max-width: 480px) {
  .hero-content h1 { font-size: 23px; }
  .price-now { font-size: 28px; }
}
