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

/* ---- DESIGN TOKENS ---- */
:root {
  --green:        #1c6b40;
  --green-hover:  #165534;
  --green-subtle: rgba(28,107,64,0.09);
  --green-border: rgba(28,107,64,0.22);

  --page-bg:      #f6f7f6;
  --surface:      #ffffff;
  --surface-alt:  #f0f3f0;
  --surface-card: #f6f7f6;
  --nav-bg:       rgba(255,255,255,0.97);
  --nav-shadow:   0 1px 0 #e2e6e2;
  --hero-bg:      #f0f3f0;
  --border:       #dce2dc;
  --heading:      #111a14;
  --body-text:    #2c3a2e;
  --muted:        #5c7060;
  --modal-bg:     #ffffff;
  --modal-text:   #3a4a3c;
  --footer-bg:    #111a14;

  --form-panel:   #ffffff;
  --form-outline: #dce2dc;
  --input-bg:     #f9faf9;
  --input-border: #cdd5cd;
  --input-text:   #111a14;
  --input-ph:     #8a9e8c;
  --label-col:    #4a5e4c;

  --radius: 7px;
}

/* ---- DARK MODE ---- */
html[data-theme="dark"] {
  --page-bg:      #0b1610;
  --surface:      #101f15;
  --surface-alt:  #0d1a12;
  --surface-card: #142019;
  --nav-bg:       rgba(11,22,16,0.97);
  --nav-shadow:   0 1px 0 #1a2e1e;
  --hero-bg:      #0b1610;
  --border:       #1c3022;
  --heading:      #d8edde;
  --body-text:    #94b89a;
  --muted:        #5e7a64;
  --modal-bg:     #101f15;
  --modal-text:   #94b89a;
  --footer-bg:    #060e08;

  --form-panel:   rgba(255,255,255,0.04);
  --form-outline: rgba(255,255,255,0.09);
  --input-bg:     rgba(255,255,255,0.05);
  --input-border: rgba(255,255,255,0.12);
  --input-text:   #e8f4ea;
  --input-ph:     rgba(255,255,255,0.28);
  --label-col:    rgba(255,255,255,0.55);

  --green:        #1e7a49;
  --green-hover:  #18623b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--page-bg);
  color: var(--body-text);
  line-height: 1.65;
  transition: background 0.3s, color 0.3s;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(10px);
  padding: 0 2.5rem 0 3.5rem;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 1.5rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo .logo-img {
  height: 76px;
  width: auto;
  display: block;
}

.nav-logo .logo-dark-mode { display: none; }
html[data-theme="dark"] .nav-logo .logo-light-mode { display: none; }
html[data-theme="dark"] .nav-logo .logo-dark-mode  { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: linear-gradient(135deg, var(--green) 0%, #14593b 100%) !important;
  color: #ffffff !important;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: linear-gradient(135deg, var(--green-hover) 0%, #103024 100%) !important; }

/* ---- THEME TOGGLE ---- */
.theme-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.7rem 0.3rem 0.5rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.theme-toggle:hover { border-color: var(--green); }

.toggle-track {
  position: relative;
  width: 32px; height: 18px;
  background: var(--border);
  border-radius: 10px;
  transition: background 0.3s;
  flex-shrink: 0;
}

html[data-theme="dark"] .toggle-track { background: var(--green); }

.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}

html[data-theme="dark"] .toggle-thumb { transform: translateX(14px); }

.toggle-icon {
  color: var(--muted);
  display: flex;
  align-items: center;
  line-height: 1;
  user-select: none;
}

.icon-sun  { display: flex; }
.icon-moon { display: none; }
html[data-theme="dark"] .icon-sun  { display: none; }
html[data-theme="dark"] .icon-moon { display: flex; }

/* ---- BUTTONS ---- */
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #14593b 100%);
  color: #ffffff;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 14px rgba(28,107,64,0.32), 0 1px 3px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-hover) 0%, #103024 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 22px rgba(28,107,64,0.42), 0 2px 6px rgba(0,0,0,0.12);
}

.btn-secondary {
  background: transparent;
  color: var(--heading);
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-subtle);
  transform: translateY(-2px);
}

/* ---- KEYWORD HIGHLIGHT ---- */
.kw {
  color: var(--green);
  font-weight: 600;
}
h1 .kw, h2 .kw, h3 .kw {
  background: linear-gradient(135deg, #27ae60 0%, #0d3d22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(28,107,64,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 700px; position: relative; z-index: 1; }

.avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 2px solid var(--green-border);
  background: var(--surface);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 2px 16px rgba(28,107,64,0.1);
  transition: background 0.3s;
}

.badge {
  display: inline-block;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  color: var(--heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.hero h1 em { color: var(--green); font-style: normal; }

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  transition: color 0.3s;
}

.hero-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }

.trust-bar {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  transition: border-color 0.3s;
}

.trust-item {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.3s;
}

.trust-item .check { color: var(--green); display: flex; }

/* ---- SHARED SECTION STYLES ---- */
section { padding: 6rem 1.5rem; transition: background 0.3s; }

.section-inner { max-width: 1040px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.section-sub {
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 520px;
  line-height: 1.7;
  transition: color 0.3s;
}

/* ---- ICON WRAP ---- */
.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.case-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 8px;
  color: var(--green);
  flex-shrink: 0;
}

/* ---- PAIN POINTS ---- */
.pain-section { background: var(--surface); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.pain-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, opacity 0.55s ease, transform 0.55s ease;
}

.pain-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 24px rgba(28,107,64,0.07);
}

.pain-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.pain-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; transition: color 0.3s; }

/* ---- HOW IT WORKS (old styles removed, see new below) ---- */

/* ---- ABOUT ---- */
.about-section { background: var(--surface); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 700px) { .about-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.about-img {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.3s, border-color 0.3s;
}

.about-text .section-title { font-size: 1.85rem; }
.about-text p { color: var(--muted); font-size: 0.925rem; margin-bottom: 1rem; line-height: 1.75; transition: color 0.3s; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.stat-val { font-size: 1.75rem; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; transition: color 0.3s; }
.stat-val span { color: var(--green); }
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; transition: color 0.3s; }

/* ---- CASE STUDIES ---- */
.cases-section { background: var(--surface-alt); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s, background 0.3s, border-color 0.3s, opacity 0.55s ease;
}

.case-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.case-header {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.3s;
}

.case-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.case-header h3 { color: var(--heading); font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }

.case-body { padding: 1.4rem 1.5rem; }
.case-body p { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.7; transition: color 0.3s; }

.case-meta {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.case-meta-item { font-size: 0.75rem; color: var(--muted); }
.case-meta-item strong { display: block; color: var(--heading); font-size: 0.875rem; font-weight: 700; margin-bottom: 0.1rem; transition: color 0.3s; }

/* ---- BLOG ---- */
.blog-section { background: var(--surface); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s, background 0.3s, border-color 0.3s, opacity 0.55s ease;
}

.blog-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
  transform: translateY(-2px);
  border-color: var(--green);
}

.blog-thumb {
  background: var(--green-subtle);
  border-bottom: 1px solid var(--green-border);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: background 0.3s;
}

.blog-body { padding: 1.3rem; }

.blog-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 0.55rem;
  transition: color 0.3s;
}

.blog-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; transition: color 0.3s; }

.blog-read {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.blog-read:hover { gap: 0.55rem; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--modal-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.25s, background 0.3s;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
  background: var(--green);
  padding: 1.75rem 2rem;
  position: sticky;
  top: 0;
}

.modal-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.4rem;
}

.modal-header h2 { color: #ffffff; font-size: 1.15rem; font-weight: 700; line-height: 1.35; }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.25); }

.modal-body { padding: 2rem; }

.modal-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--heading); margin: 1.5rem 0 0.5rem; transition: color 0.3s; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p  { font-size: 0.875rem; color: var(--modal-text); line-height: 1.8; margin-bottom: 0.75rem; }
.modal-body ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.modal-body li { font-size: 0.875rem; color: var(--modal-text); line-height: 1.75; margin-bottom: 0.35rem; }

.modal-cta {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  text-align: center;
}

.modal-cta p { color: var(--muted); font-size: 0.875rem; margin-bottom: 0.9rem; }

/* ---- CONTACT ---- */
.contact-section { background: var(--surface-alt); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

@media (max-width: 700px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  color: var(--heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  transition: color 0.3s;
}

.contact-info-text span { color: var(--muted); font-size: 0.82rem; transition: color 0.3s; }

.contact-promise {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
}

.contact-promise p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; transition: color 0.3s; }
.contact-promise strong { color: var(--green); }

/* ---- FORM ---- */
form {
  background: var(--form-panel);
  border: 1px solid var(--form-outline);
  border-radius: 10px;
  padding: 2rem;
  transition: background 0.3s, border-color 0.3s;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.1rem; }

label {
  display: block;
  color: var(--label-col);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

input, select, textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--input-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s, background 0.3s, color 0.3s;
  outline: none;
  appearance: none;
}

input::placeholder, textarea::placeholder { color: var(--input-ph); }
input:focus, select:focus, textarea:focus { border-color: var(--green); }
select option { background: var(--surface); color: var(--input-text); }
textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--green) 0%, #14593b 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.875rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(28,107,64,0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--green-hover) 0%, #103024 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(28,107,64,0.38);
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 0.85rem;
  transition: color 0.3s;
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--green);
  color: #ffffff;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 999;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ---- FOOTER (homepage) ---- */
footer {
  background: var(--footer-bg);
  padding: 3rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
}

.footer-logo { color: var(--green); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
html[data-theme="dark"] .footer-logo { color: #3daa68; }
.footer-logo span { color: rgba(255,255,255,0.45); }
footer p { color: rgba(255,255,255,0.28); font-size: 0.76rem; margin-top: 0.4rem; }
footer a { color: rgba(255,255,255,0.38); text-decoration: none; }
footer a:hover { color: #3daa68; }

@media (max-width: 680px) { .nav-links { display: none; } }

/* ---- NAV DROPDOWNS ---- */
.nav-item { position: relative; list-style: none; }

.nav-item > a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nav-item > a:hover { color: var(--green); }

.nav-item .chevron {
  width: 10px; height: 10px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-item:hover .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 230px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  transform: translateX(-50%) translateY(-4px);
  z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  color: var(--body-text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: var(--green-subtle);
  color: var(--green);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0.5rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ---- FOOTER (subpages) ---- */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 3rem 2rem 2rem;
  font-size: 0.82rem;
  line-height: 1.7;
  transition: background 0.3s;
}
footer a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #ffffff; }
.footer-legal { margin-top: 1.5rem; font-size: 0.75rem; opacity: 0.4; }

/* ---- SEO PAGE STYLES ---- */
.page-hero {
  background: var(--hero-bg);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.page-hero .breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.page-hero .breadcrumb a { color: var(--green); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 1.25rem;
  transition: color 0.3s;
}
.page-hero .hero-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  transition: color 0.3s;
}
.page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.page-body h2 {
  font-size: 1.45rem;
  color: var(--heading);
  font-weight: 700;
  margin: 2.5rem 0 0.85rem;
  transition: color 0.3s;
}
.page-body h3 {
  font-size: 1.1rem;
  color: var(--heading);
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
  transition: color 0.3s;
}
.page-body p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.page-body ul, .page-body ol {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0.75rem 0 1rem 1.5rem;
  transition: color 0.3s;
}
.page-body li { margin-bottom: 0.4rem; }
.page-body a { color: var(--green); text-decoration: none; font-weight: 500; }
.page-body a:hover { text-decoration: underline; }
.page-body .btn-primary { color: #ffffff; }
.page-body .btn-primary:hover { text-decoration: none; }
.page-cta-box {
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}
.page-cta-box h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.page-cta-box p { color: var(--muted); margin-bottom: 1.5rem; }
.related-links {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  transition: background 0.3s, border-color 0.3s;
}
.related-links h3 { margin-top: 0; font-size: 1rem; }
.related-links ul { margin: 0.5rem 0 0 1.25rem; }
.steps-list { list-style: none; margin: 0.75rem 0 1rem 0; padding: 0; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.steps-list li::before {
  content: counter(steps);
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ---- HOW IT WORKS (updated) ---- */
.how-section {
  background: var(--surface);
  padding: 5rem 2rem;
  transition: background 0.3s;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (max-width: 700px) { .how-steps { grid-template-columns: 1fr; gap: 2rem; } }
.how-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background 0.3s, border-color 0.3s;
}
/* Progressive green: light → mid → deep */
.how-step:nth-child(1) {
  background: rgba(39, 174, 96, 0.08);
  border-color: rgba(39, 174, 96, 0.22);
}
.how-step:nth-child(2) {
  background: rgba(39, 174, 96, 0.18);
  border-color: rgba(39, 174, 96, 0.4);
}
.how-step:nth-child(3) {
  background: #1a6b40;
  border-color: #155c35;
}
.how-step:nth-child(3) h3,
.how-step:nth-child(3) strong,
.how-step:nth-child(3) p { color: #ffffff; }
.how-step:nth-child(3) strong { color: #7de8aa; }
.how-step:nth-child(3) .how-icon {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}
.how-step:nth-child(3) .step-arrow { color: rgba(255,255,255,0.7); }
.how-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--green-subtle);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  color: var(--green);
  transition: background 0.3s;
}
.step-arrow {
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.how-step h3 {
  color: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.how-step strong {
  display: block;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.how-step p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
  transition: color 0.3s;
}

/* ---- COMPARISON TABLE ---- */
.compare-section {
  background: var(--page-bg);
  padding: 5rem 2rem;
  transition: background 0.3s;
}
.compare-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th {
  padding: 1.1rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.compare-table th:first-child { text-align: left; }
.compare-table th:nth-child(2) {
  background: var(--surface-alt);
  color: var(--heading);
  border-radius: 10px 10px 0 0;
}
.compare-table th.our-col {
  background: var(--green);
  color: #ffffff;
  border-radius: 10px 10px 0 0;
}
.compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--body-text);
  transition: color 0.3s, border-color 0.3s;
}
.compare-table td:first-child { color: var(--muted); font-size: 0.875rem; }
.compare-table td:nth-child(2) {
  background: var(--surface-alt);
  text-align: center;
  color: var(--heading);
  transition: background 0.3s;
}
.compare-table td.our-col {
  background: #0d3d22;
  color: #ffffff;
  text-align: center;
}
.compare-table tr.final-row td { border-bottom: none; }
.compare-table tr.final-row td:nth-child(2) {
  background: var(--surface-card);
  border-radius: 0 0 10px 10px;
}
.compare-table tr.final-row td.our-col {
  background: #28a558;
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
}
.compare-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.compare-cta p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* ---- COMPARISON TABLE — MOBILE ---- */
@media (max-width: 640px) {
  .compare-wrap { overflow-x: unset; }

  /* Sticky 2-col header */
  .compare-table thead { display: block; position: sticky; top: 64px; z-index: 10; background: var(--page-bg); padding-bottom: 4px; }
  .compare-table thead tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .compare-table thead th:first-child { display: none; }
  .compare-table thead th { padding: 0.55rem 0.5rem; font-size: 0.72rem; line-height: 1.3; }

  /* Body rows: label spans full width, values sit side by side below */
  .compare-table tbody { display: block; }
  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "label label" "agent us";
    gap: 4px;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
  }
  .compare-table tr.final-row { border-bottom: none; padding: 0.75rem 0 0; }

  .compare-table td { border-bottom: none; padding: 0.4rem 0.5rem; }

  .compare-table td:first-child {
    grid-area: label;
    background: transparent !important;
    border-radius: 0 !important;
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    padding: 0 0 0.2rem 0;
    text-align: left;
  }

  .compare-table td:nth-child(2) {
    grid-area: agent;
    background: var(--surface-alt) !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 0.83rem;
    color: var(--heading);
  }

  .compare-table td.our-col {
    grid-area: us;
    background: #0d3d22 !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 0.83rem;
    color: #ffffff !important;
  }

  /* Final row */
  .compare-table tr.final-row td:first-child {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--heading);
  }
  .compare-table tr.final-row td:nth-child(2) {
    background: var(--surface-card) !important;
    border-radius: 8px !important;
    font-size: 0.9rem;
  }
  .compare-table tr.final-row td.our-col {
    background: #28a558 !important;
    border-radius: 8px !important;
    font-size: 0.95rem;
    font-weight: 700;
  }
}

/* ---- SCROLL PROMPT ---- */
.scroll-prompt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
}
.scroll-prompt:hover { color: var(--green); }
.scroll-arrow {
  width: 20px; height: 20px;
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---- HERO NOTE ---- */
.hero-note { font-size: 0.8rem; color: var(--muted); margin-top: 0; }

/* ---- MAP LABELS ---- */
.map-label {
  position: absolute;
  background: rgba(10, 48, 26, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  padding: 4px 10px 4px 20px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  letter-spacing: 0.02em;
}
.map-label::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: #3dda82;
  border-radius: 50%;
}

/* ---- HERO HEADING CONTOUR LINE ---- */
h1 em {
  font-style: normal;
  display: block;
  background: linear-gradient(135deg, #27ae60 0%, #0d3d22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- FAQ ACCORDION ---- */
.faq { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-card);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  text-align: left;
  transition: background 0.15s ease;
}
.faq-q:hover { background: var(--surface-alt); }
.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--muted);
  fill: none;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  background: var(--surface-card);
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0.75rem 0 0; color: var(--body); font-size: 0.9rem; line-height: 1.65; }

/* ---- HAMBURGER & MOBILE MENU ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  nav { gap: 0; padding: 0 1.25rem; }
  .hamburger { margin-left: auto; margin-right: 0.75rem; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 999;
  overflow-y: auto;
  padding: 1rem 1.5rem 2rem;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--heading);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--green); }
.mobile-group-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1.25rem 0 0.1rem;
}
.mobile-menu .mobile-cta {
  margin-top: 1.5rem;
  background: var(--green);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  text-align: center;
  font-weight: 600;
  border-bottom: none !important;
}
