:root {
  --color-primary: #005f02;
  --color-secondary: #427a43;
  --color-accent: #c0b87a;
  --color-bg: #f2e3bb;
  --color-surface: #fffdf5;
  --color-text: #183018;
  --font-family-base: "Segoe UI", Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-h1: clamp(1.8rem, 4vw, 2.8rem);
  --font-size-h2: clamp(1.35rem, 3vw, 2rem);
  --shadow-sm: 0 4px 14px rgba(0, 95, 2, 0.12);
  --shadow-md: 0 10px 30px rgba(0, 95, 2, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

.container {
  width: min(1120px, 94%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 245, 0.98);
  border-bottom: 1px solid rgba(0, 95, 2, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 210;
}

.nav-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.nav-list a,
.footer-links a {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(0, 95, 2, 0.1);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 210;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 95, 2, 0.28);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-primary);
  cursor: pointer;
}

.menu-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-icon-open::before,
.menu-icon-open::after,
.menu-icon-close::before,
.menu-icon-close::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.menu-icon-open::before {
  top: -7px;
}

.menu-icon-open::after {
  top: 7px;
}

.menu-icon-close {
  background: transparent;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.menu-icon-close::before {
  transform: rotate(45deg);
}

.menu-icon-close::after {
  transform: rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-nav {
  display: block;
}

.section {
  padding: var(--space-xl) 0;
}

.alt {
  background: rgba(255, 255, 255, 0.45);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: start;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

.lead {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.price-row {
  margin: var(--space-md) 0;
}

.new-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.old-price {
  font-size: 1.1rem;
  margin-left: var(--space-sm);
  text-decoration: line-through;
  color: #6c6c6c;
}

.rating-line,
.trust-badge {
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: var(--space-xs);
}

label {
  font-weight: 600;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  border: 1px solid rgba(0, 95, 2, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 122, 67, 0.15);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-weight: 400;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: #064f07;
  color: #fff;
}

.btn-secondary {
  background: var(--color-secondary);
}

.btn-tertiary {
  background: var(--color-accent);
  color: #223222;
}

.error {
  color: #b40000;
  min-height: 1.1em;
  margin: 0 0 var(--space-xs) 0;
  font-size: 0.9rem;
}

.input-error {
  border-color: #b40000;
}

.feature-list,
.steps-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.faq-list details {
  border-bottom: 1px solid rgba(0, 95, 2, 0.15);
  padding: 10px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.cta-section .card {
  text-align: center;
}

.site-footer {
  background: #123913;
  color: #f6f6f6;
  padding: var(--space-lg) 0;
}

.site-footer a {
  color: #f2e3bb;
}

.footer-grid {
  display: grid;
  gap: var(--space-md);
}

.site-footer address,
.site-footer p {
  overflow-wrap: anywhere;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(18, 57, 19, 0.96);
  color: #fff;
  padding: var(--space-md);
}

.cookie-inner {
  width: min(1100px, 96%);
  margin: 0 auto;
  display: grid;
  gap: var(--space-sm);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.cookie-actions .btn {
  flex: 0 1 auto;
}

#cookie-dialog {
  border: 0;
  border-radius: var(--radius-md);
  width: min(420px, 90%);
  box-shadow: var(--shadow-md);
}

.cookie-settings-form {
  display: grid;
  gap: var(--space-sm);
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal h2 {
  margin-top: var(--space-md);
}

.thank-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f2e3bb, #d6c88e);
}

.thank-main {
  width: min(760px, 94%);
}

.thank-card {
  background: #fffef9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 4vw, 36px);
}

.thank-card h1 {
  text-align: center;
  margin-bottom: 12px;
}

.thank-card > p {
  text-align: center;
}

.success-icon {
  margin: 0 auto 12px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 95, 2, 0.3);
}

.thank-next-steps,
.thank-order-box,
.thank-contact,
.thank-trust {
  margin-top: 16px;
  border: 1px solid rgba(0, 95, 2, 0.14);
  border-radius: var(--radius-md);
  padding: 14px;
  background: #fff;
}

.thank-next-steps h2,
.thank-order-box h2,
.thank-contact h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.thank-order-box p,
.thank-contact p,
.thank-trust p {
  margin: 7px 0;
}

.thank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.site-footer p{
  text-align: center;
}
@media (max-width: 920px) {
  .hero-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .hero-media img {
    margin: 0 auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(18, 57, 19, 0.98);
    padding: 88px 20px 24px;
  }

  .mobile-nav.nav-open {
    display: block;
  }

  .mobile-nav .nav-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mobile-nav .nav-list a {
    width: 100%;
    justify-content: center;
    color: #f2e3bb;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1rem;
    padding: 12px;
  }

  .mobile-nav .nav-list a:hover,
  .mobile-nav .nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 44px;
    --space-lg: 24px;
  }

  .container {
    width: min(1120px, 95%);
  }

  .new-price {
    font-size: 1.8rem;
  }

  .old-price {
    display: inline-block;
    margin-left: 8px;
  }

  .cookie-inner {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 1rem;
  }

  .nav-list,
  .footer-links {
    gap: 6px;
  }

  .nav-list a,
  .footer-links a {
    padding: 6px;
    font-size: 0.93rem;
  }

  .price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
  }

  .checkbox-wrap {
    gap: 6px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  :root {
    --font-size-base: 15px;
    --space-md: 16px;
    --space-sm: 10px;
  }

  .card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .site-header {
    position: static;
  }

  h1 {
    line-height: 1.2;
  }

  .lead {
    font-size: 1rem;
  }

  input,
  textarea {
    padding: 10px;
  }

  .btn {
    width: 100%;
  }

  .thank-main {
    width: 94%;
  }

  .thank-actions {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container {
    width: 94%;
  }

  .header-inner {
    gap: 8px;
    padding: 10px 0;
  }

  .new-price {
    font-size: 1.55rem;
  }

  .old-price {
    font-size: 0.96rem;
    margin-left: 0;
  }

  .feature-list,
  .steps-list {
    padding-left: 16px;
    gap: 8px;
  }

  .cookie-banner {
    padding: 10px;
  }

  #cookie-dialog {
    width: 94%;
    padding: 0;
  }
}

@media (max-width: 375px) {
  :root {
    --font-size-base: 14px;
    --space-lg: 20px;
  }

  .card {
    padding: 14px;
  }

  .error {
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  :root {
    --font-size-base: 13px;
    --space-md: 12px;
    --space-lg: 16px;
  }

  .container {
    width: 96%;
  }

  .card {
    padding: 12px;
    border-radius: 10px;
  }

  .brand {
    font-size: 0.93rem;
  }

  .nav-list a,
  .footer-links a {
    font-size: 0.85rem;
    padding: 5px;
  }

  .new-price {
    font-size: 1.35rem;
  }

  .old-price {
    font-size: 0.85rem;
  }

  .btn {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .cookie-banner {
    padding: 8px;
  }

  .cookie-inner {
    gap: 8px;
  }

  .thank-card {
    padding: 14px;
  }
}
