/* =============================================================
   Mattra Inc. — Global Design System
   Style reference: EvergreenYourHome.com
   Fonts: Montserrat (body) + DM Serif Display (H1)
   ============================================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --green-primary:  #316b43;
  --green-secondary:#3a873f;
  --green-forest:   #2a5838;
  --green-dark:     #1e3a28;
  --gold-accent:    #e7bb3a;
  --gold-dark:      #c9a020;
  --brown-text:     #706460;
  --text-dark:      #2c2c2c;
  --text-body:      #4a4a4a;
  --text-light:     #6b6b6b;
  --white:          #ffffff;
  --off-white:      #f8f9fa;
  --light-gray:     #f3f6f7;
  --border-light:   #e2e8f0;
  --radius:         8px;
  --radius-lg:      16px;
  --radius-full:    12px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.06);
  --shadow-md:      0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.14);
  --transition:     0.3s cubic-bezier(.25,.46,.45,.94);
  --max-width:      1280px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 100px; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--brown-text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-accent); }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 24px;
}
h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 16px;
}
h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
p { margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--gray {
  background: var(--light-gray);
}
.section--gray-light {
  background: #f8f9fa;
}
.section--green {
  background: var(--green-primary);
  color: var(--white);
}
.section--green h2,
.section--green h3 { color: var(--white); }
.section--dark {
  background: var(--green-dark);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.grid-2--center {
  align-items: center;
}
.grid-2--compact {
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.4;
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-forest);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}
.btn-secondary:hover {
  background: var(--green-primary);
  color: var(--white);
}
.btn-gold {
  background: var(--gold-accent);
  color: var(--text-dark);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--green-primary);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-primary);
}
.card-link::after { content: '\2192'; transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(4px); }

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 36px;
  padding: 16px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.trust-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== PROCESS STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-light); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.topbar > .container > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.topbar a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  white-space: nowrap;
}
.topbar a:hover { color: var(--gold-accent); }
.topbar-right {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border-light);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-size: 1.25rem;
  color: var(--green-primary);
  font-weight: 700;
}
.logo-text span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Mobile-only elements inside the nav — hidden on desktop */
.mobile-menu-top,
.mobile-menu-phone,
.mobile-menu-cta { display: none; }
.mobile-backdrop { display: none; }
@media (max-width: 1024px) {
  .mobile-backdrop { display: block; }
}
.main-nav a {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brown-text);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green-primary);
}
.main-nav a.active {
  font-weight: 600;
}
.header-cta {
  padding: 10px 24px;
  background: var(--green-primary);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.header-cta:hover {
  background: var(--green-forest);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ── Mega Menu ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brown-text);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.7;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.active .nav-dropdown-trigger {
  color: var(--green-primary);
}
.nav-dropdown.active .nav-dropdown-trigger {
  font-weight: 600;
}
.nav-chevron {
  transition: transform var(--transition);
}
.nav-dropdown.open .nav-chevron,
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Mega panel — desktop */
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 28px 32px;
  gap: 32px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.mega-4col {
  min-width: 1200px;
}
.mega-2col {
  min-width: 460px;
}

/* Hover bridge — prevents gap between trigger and panel */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  display: none;
}

/* Show on hover (desktop) or open class (click/mobile) */
@media (min-width: 1025px) {
  .nav-dropdown:hover::after {
    display: block;
  }
  .nav-dropdown:hover .mega-panel,
  .nav-dropdown.open .mega-panel {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .mega-4col { grid-template-columns: repeat(4, 1fr); }
  .mega-2col { grid-template-columns: repeat(2, 1fr); }
}

.mega-col {
  display: flex;
  flex-direction: column;
}
.mega-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-primary);
}
.mega-panel a {
  padding: 7px 0;
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color var(--transition), padding-left var(--transition);
}
.mega-panel a:last-of-type {
  border-bottom: none;
}
.mega-panel a:hover {
  color: var(--green-primary);
  padding-left: 6px;
}

/* CTA card inside mega panel */
.mega-cta-card {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.mega-cta-card strong {
  font-size: 0.875rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}
.mega-cta-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.4;
}
.mega-panel a.mega-cta-btn {
  display: inline-block;
  padding: 12px 36px;
  background: var(--green-primary);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: none;
  transition: background var(--transition);
}
.mega-panel a.mega-cta-btn:hover {
  background: var(--green-forest);
  color: var(--white) !important;
  padding-left: 36px;
}

/* ── Mobile Toggle ── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.footer-col a:hover { color: var(--gold-accent); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--gold-accent); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold-accent);
  color: var(--text-dark);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 1.05rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-primary);
  margin-bottom: 12px;
}

/* ===== SLIDER ===== */
.slider-container {
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 0 24px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--green-primary);
  transform: scale(1.2);
}

/* ===== PREMIUM CONTENT BOX ===== */
.premium-box {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.premium-box h2 { margin-bottom: 16px; }
.premium-box .benefit-list {
  margin-top: 16px;
}
.premium-box .benefit-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.premium-box .benefit-list li::before {
  content: '\2714';
  color: var(--green-primary);
  font-weight: 700;
}
.premium-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.premium-form .form-group {
  margin-bottom: 16px;
}
.premium-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.premium-form input,
.premium-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.premium-form input:focus,
.premium-form select:focus {
  outline: none;
  border-color: var(--green-primary);
}

/* ===== WHY CHOOSE US ===== */
.value-card {
  text-align: center;
  padding: 32px 24px;
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(49,107,67,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; }

/* ===== SERVICE CARD LIST ===== */
.service-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green-primary);
  padding: 4px 10px;
  background: rgba(49,107,67,0.06);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.service-links a:hover {
  background: var(--green-primary);
  color: var(--white);
}

/* ===== METHOD SECTION (3-STEP) ===== */
.method-section {
  text-align: center;
}
.method-intro {
  max-width: 700px;
  margin: 0 auto 48px;
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 56px;
}
.method-step {
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}
.method-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(49,107,67,0.15);
}
.method-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(49,107,67,0.3);
}
.method-step h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
}
.method-step p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.method-closing {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.method-closing p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Responsive adjustments for method steps */
@media (max-width: 768px) {
  .method-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
  }
  .method-step {
    padding: 24px 20px;
  }
  .method-intro {
    margin-bottom: 32px;
  }
  .method-section .section-header {
    margin-bottom: 32px;
  }
}

/* ===== AVATAR CARDS ===== */
.avatar-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-primary);
}
.avatar-card h3 { margin-bottom: 10px; font-size: 1rem; line-height: 1.4; }
.avatar-card p { flex: 1; margin-bottom: 16px; font-size: 0.92rem; line-height: 1.6; }
.avatar-card a {
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.93rem;
}
.avatar-card a:hover { text-decoration: underline; }

/* ===== PLAN STEPS ===== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.plan-step {
  text-align: center;
  padding: 16px;
}
.plan-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.plan-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.plan-step p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ===== AUTHORITY GRID ===== */
.authority-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.authority-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--green-primary);
}
.authority-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.authority-item p + p { margin-top: 10px; }
.review-quote {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold-accent);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.review-quote p {
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-dark);
}
.review-quote .review-attrib {
  margin-top: 12px;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 90px; }
  .container { padding: 0 32px; }
  .header-inner { height: 70px; gap: 12px; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }

  /* ── Mobile drawer backdrop ──────────────────────────── */
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 28, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }
  .mobile-backdrop.open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }

  /* ── Mobile drawer ───────────────────────────────────── */
  .main-nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    background: var(--white);
    box-shadow: -8px 0 32px rgba(0,0,0,0.18);
    z-index: 999;
    gap: 0;
    padding: 0 0 24px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
  }
  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Drawer top bar (logo + close) */
  .mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
  }
  .mobile-menu-logo img { height: 36px; width: auto; display: block; }
  .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--off-white);
    border-radius: 999px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus-visible { background: #e8ece8; }

  /* Phone link at top of drawer */
  .main-nav > a.mobile-menu-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--off-white);
    color: var(--green-primary);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    min-height: 56px;
  }
  .main-nav > a.mobile-menu-phone:hover,
  .main-nav > a.mobile-menu-phone:focus-visible {
    background: #eef2ee;
  }
  .main-nav > a.mobile-menu-phone svg { flex: 0 0 auto; }

  /* Primary nav links */
  .main-nav > a {
    padding: 16px 20px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.15s ease;
  }
  .main-nav > a:hover,
  .main-nav > a:focus-visible,
  .main-nav > a.active {
    background: var(--off-white);
    color: var(--green-primary);
  }

  /* Sticky CTA at bottom of drawer */
  .main-nav > a.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 20px 8px;
    padding: 14px 20px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 999px;
    border: none;
    border-bottom: none;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    min-height: 52px;
    width: calc(100% - 40px);
    box-shadow: 0 4px 14px rgba(49,107,67,0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  .main-nav > a.mobile-menu-cta:hover,
  .main-nav > a.mobile-menu-cta:focus-visible {
    background: var(--green-forest);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(49,107,67,0.38);
  }

  /* Mobile mega menu — accordion style */
  .nav-dropdown {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch;
    position: static !important;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 16px 20px;
    min-height: 52px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    background: transparent;
    border: none;
    transition: background 0.15s ease;
  }
  .nav-dropdown-trigger:hover,
  .nav-dropdown-trigger:focus-visible { background: var(--off-white); }
  .nav-dropdown.open .nav-dropdown-trigger { background: var(--off-white); color: var(--green-primary); }
  .nav-chevron { transition: transform 0.25s ease; }
  .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

  .nav-dropdown > .mega-panel,
  .nav-dropdown > .mega-panel.mega-4col,
  .nav-dropdown > .mega-panel.mega-2col {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    background: #f7f9f7 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    box-sizing: border-box;
    transition: max-height 0.35s ease, padding 0.25s ease;
  }
  .nav-dropdown.open > .mega-panel {
    max-height: 1600px;
    padding: 8px 0 16px !important;
  }
  .nav-dropdown > .mega-panel > .mega-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 10px 24px 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown > .mega-panel > .mega-col:not(:last-child) {
    border-bottom: 1px solid rgba(49,107,67,0.08);
  }
  .mega-heading {
    margin-top: 6px;
    font-size: 0.7rem;
    margin-bottom: 10px;
    color: var(--green-primary);
  }
  .mega-panel a {
    padding: 10px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    border: none;
  }
  .mega-cta-card { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .premium-box { grid-template-columns: 1fr; padding: 32px; }
  .section { padding: 56px 0; }
  .topbar { font-size: clamp(0.62rem, 1.4vw, 0.8125rem); padding: 7px 0; }
  .topbar .container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    text-align: left;
  }
  .topbar-right { gap: 10px; }
}
@media (max-width: 640px) {
  .topbar { font-size: clamp(0.58rem, 2.4vw, 0.75rem); letter-spacing: -0.01em; }
  .topbar .topbar-cta { display: none; }
  .topbar-right { gap: 8px; }
}
@media (max-width: 420px) {
  .topbar .container > span { font-size: 0.58rem; }
}

@media (max-width: 768px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* ===== STAKES LIST ===== */
.stakes-list {
  list-style: none;
  padding: 0;
  max-width: 780px;
  margin: 0 auto;
}
.stakes-list li {
  padding: 12px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.stakes-list li:last-child { border-bottom: none; }
.stakes-list li::before {
  content: '\2013';
  color: var(--text-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--green-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(49,107,67,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}
.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== REVIEW GRID ===== */
.review-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.review-quote {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold-accent);
  box-shadow: var(--shadow-sm);
}
.review-quote p {
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}
.review-quote .review-attrib {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .authority-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .review-grid-2x2 { grid-template-columns: 1fr; }
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 10px 0;
  position: relative;
  padding-left: 32px;
  line-height: 1.6;
}
.feature-list li::before {
  content: '\2714';
  color: var(--green-primary);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 10px;
}
.feature-list li strong {
  color: var(--text-dark);
  font-weight: 700;
}
.feature-list--arrow li::before {
  content: '\2192';
}

/* ===== REVIEW MASONRY ===== */
.review-masonry {
  column-count: 2;
  column-gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.review-masonry .review-quote {
  break-inside: avoid;
  margin-bottom: 32px;
  display: inline-block;
  width: 100%;
}
@media (max-width: 768px) {
  .review-masonry { column-count: 1; }
}

/* ===== CONTENT FLOW LAYOUTS ===== */
.content-flow {
  max-width: 1000px;
  margin: 0 auto;
}
.content-flow-header {
  text-align: center;
  margin-bottom: 48px;
}
.content-flow-header h2 {
  margin-bottom: 16px;
}
.content-flow-header .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 800px;
  margin: 0 auto;
}

/* Content with integrated form/image */
.content-with-form,
.content-with-image {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.content-main {
  font-size: 1rem;
  line-height: 1.7;
}
.form-sidebar {
  position: sticky;
  top: 120px;
}
.image-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.image-feature img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 280px;
  max-height: 400px;
}

/* Reverse layout for variety */
.content-with-image--reverse {
  grid-template-columns: 1fr 2fr;
}
.content-with-image--reverse .content-main {
  order: 2;
}
.content-with-image--reverse .image-feature {
  order: 1;
}

/* Integrated list styling */
.content-main .feature-list {
  margin: 24px 0;
}
.content-highlight-box {
  background: var(--light-gray);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px;
  margin: 24px 0;
}

@media (max-width: 1024px) {
  .content-with-form,
  .content-with-image,
  .content-with-image--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-with-image--reverse .content-main,
  .content-with-image--reverse .image-feature {
    order: unset;
  }
  .form-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .trust-bar { gap: 12px 24px; font-size: 0.8rem; }
  
  /* Reduced spacing on mobile */
  h2 { margin-bottom: 16px; }
  h3 { margin-bottom: 12px; }
  h4 { margin-bottom: 10px; }
  .section-header h2 { margin-bottom: 12px; }
  
  /* Hero sections mobile spacing fix */
  .hero .container {
    padding-top: 60px !important;
  }
}
