/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1B6B45;
  --primary-dark: #124C2F;
  --primary-light: #E8F5EE;
  --accent: #E03A3E;
  --accent-light: #FCE4E4;
  --text: #1A1A1A;
  --text-secondary: #555;
  --text-muted: #888;
  --surface: #FAFAFA;
  --card: #FFFFFF;
  --border: #E5E5E5;
  --shadow: 0 2px 12px rgba(0,0,0,.07);
  --radius: 14px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Typography ─── */
h1, h2, h3, h4 { line-height: 1.25; }
h1 { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* ─── Navigation ─── */
.site-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo { height: 32px; width: 32px; display: inline-block; }
.nav-brand span.accent { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-secondary);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: .3s;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background .2s, transform .1s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #C22C30; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

/* ─── Hero ─── */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--surface) 100%);
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 .highlight { color: var(--primary); }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Section ─── */
.section { padding: 4rem 0; }
.section-alt { background: var(--card); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: .75rem auto 0;
  font-size: 1.05rem;
}

/* ─── Feature Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { color: var(--text-secondary); margin: 0; font-size: .95rem; }

/* ─── Product Cards ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.product-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(27,107,69,.12); }
.product-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--accent);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 0 var(--radius) 0 10px;
}
.product-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: .5rem 0;
}
.product-price .original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: .5rem;
  font-weight: 400;
}
.product-desc { color: var(--text-secondary); margin-bottom: 1rem; }
.product-items { list-style: none; margin-bottom: 1.5rem; }
.product-items li {
  padding: .3rem 0;
  font-size: .95rem;
  color: var(--text-secondary);
}
.product-items li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

/* ─── Stats Row ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 2rem 0;
}
.stat-item h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: .25rem; }
.stat-item p { color: var(--text-secondary); font-size: .95rem; margin: 0; }

/* ─── Tier Table ─── */
.tier-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  margin: 2rem 0;
}
.tier-table th {
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.tier-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.tier-table tr:last-child td { border-bottom: none; }
.tier-table tr:hover td { background: var(--primary-light); }

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--text-secondary); font-size: .95rem; margin: 0; }

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.cta-banner h2 { margin-bottom: .75rem; color: #fff; }
.cta-banner p { opacity: .9; max-width: 500px; margin: 0 auto 1.5rem; }
.cta-banner .btn { background: #fff; color: var(--primary-dark); }
.cta-banner .btn:hover { background: var(--primary-light); }

/* ─── Contact Form ─── */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
  font-size: .95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,107,69,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── Footer ─── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ─── Page Header ─── */
.page-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--surface) 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.page-header p { color: var(--text-secondary); max-width: 560px; margin: .5rem auto 0; font-size: 1.1rem; }

/* ─── Legal Pages ─── */
.section h2 + p, .section h3 + p, .section h3 + ul { margin-top: .25rem; }
.section h2 { margin-top: 2rem; margin-bottom: .5rem; }
.section h2:first-child { margin-top: 0; }
.section h3 { margin-top: 1.25rem; margin-bottom: .35rem; }

/* ─── Info Block ─── */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.info-block.reverse { direction: rtl; }
.info-block.reverse > * { direction: ltr; }
.info-visual {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 260px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--card);
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    gap: .5rem;
  }
  .nav-links.open a { padding: .75rem 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .info-block { grid-template-columns: 1fr; }
  .info-block.reverse { direction: ltr; }

  .hero-buttons { flex-direction: column; align-items: center; }
}
