/* ========================================
   ZONE GROUP — Landscape Landing Page CSS
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --green: #4caf50;
  --green-dark: #2e7d32;
  --green-light: #81c784;
  --green-bg: #f0f7f0;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-section: #0d1a0d;
  --dark-green-section: #0f1a10;
  --white: #ffffff;
  --off-white: #f8f8f6;
  --gray-100: #f5f5f5;
  --gray-200: #ebebeb;
  --gray-400: #9e9e9e;
  --gray-600: #616161;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-light: #c8c8c8;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 12px;

  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 6px 28px rgba(0, 0, 0, 0.13);

  --max-w: 1240px;
  --section-py: 96px;
  --section-py-sm: 64px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.text-gray   { color: var(--gray-400); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-green { color: var(--green); }

.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-phone {
  border: none;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
}
.btn-phone:hover {
  box-shadow: inset 0 0 0 1.5px var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-green-nav {
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn-green-nav:hover {
  background: var(--green-dark);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  flex-shrink: 0;
}
.btn-dark:hover { background: #222; }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: transparent;
  font-size: 15px;
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-green-lg {
  background: var(--green);
  color: var(--white);
  padding: 18px 36px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
}
.btn-green-lg:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ============================================================
   1. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.logo-sub {
  color: var(--gray-400);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  /* Center composition — reveals lawn, irrigation, and home in balanced thirds */
  object-position: center center;
  background: #0d2b0e;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /*
    Left side: deep near-black so white text pops cleanly.
    Middle: transitions through dark-green tones.
    Right: nearly transparent so the property, sprinklers, and lawn read clearly.
  */
  background:
    linear-gradient(
      to right,
      rgba(4, 12, 4, 0.90)  0%,
      rgba(4, 12, 4, 0.82) 16%,
      rgba(4, 12, 4, 0.60) 34%,
      rgba(4, 12, 4, 0.28) 54%,
      rgba(4, 12, 4, 0.06) 74%,
      rgba(4, 12, 4, 0.00) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 96px;
  /* Pin text block firmly to the left inside the container */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-text {
  max-width: 700px;
  text-align: left;
}

.hero-headline {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Lines 1–2: crisp white */
.hero-line-white {
  color: #ffffff;
  display: inline;
}

/* Lines 3–4: vibrant but premium green — matches reference */
.hero-line-green {
  color: #4fc352;
  display: inline;
}

.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.40);
}

.hero-trust {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
}

/* Hero CTA — replaces the old form block */
.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-trust-line {
  color: rgba(255,255,255,0.38);
  font-size: 11.5px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
}

.btn-green-hero {
  background: var(--green);
  color: var(--white);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 22px rgba(74,140,75,0.38);
  text-shadow: 0 1px 6px rgba(0,0,0,0.20);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-green-hero:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,140,75,0.45);
}
.btn-green-hero:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(74,140,75,0.32);
}

/* ============================================================
   3. STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--dark-green-section);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Top-left ambient glow — soft diffused green-white light leak */
.stats-section::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -12%;
  width: 58%;
  height: 75%;
  background: radial-gradient(
    ellipse at center,
    rgba(110, 210, 115, 0.10) 0%,
    rgba(140, 230, 140, 0.05) 40%,
    transparent 72%
  );
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

/* Right-side ambient glow — faint warm white environmental fill */
.stats-section::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -18%;
  width: 52%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(200, 255, 200, 0.055) 0%,
    rgba(160, 220, 165, 0.03) 45%,
    transparent 70%
  );
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

/* Lift content above pseudo-element glows */
.stats-section .container {
  position: relative;
  z-index: 1;
}

.stats-section .section-heading {
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.stat-card {
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  text-align: left;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.stat-number {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  line-height: 1.4;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.stats-cta { text-align: center; }

/* ---- CTA Banner ---- */
.stats-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(76, 175, 80, 0.20);
  border-radius: var(--radius-md);
  padding: 30px 36px;
  margin-bottom: 36px;
  box-shadow:
    inset 0 0 0 1px rgba(76, 175, 80, 0.05),
    0 16px 48px rgba(0, 0, 0, 0.30);
}

.stats-cta-left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
}

.stats-cta-icon {
  width: 44px;
  height: 44px;
  background: rgba(76, 175, 80, 0.10);
  border: 1px solid rgba(76, 175, 80, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.stats-cta-copy { flex: 1; }

.stats-cta-headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.stats-cta-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.6;
  white-space: nowrap;
}

.stats-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Scale down the existing btn-green-lg inside the banner */
.stats-cta-btn {
  padding: 14px 28px !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.stats-cta-trust {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}

/* ---- Rotating stat line ---- */
.stats-rotator { padding-top: 4px; }

.stats-rotator-text {
  font-size: clamp(11px, 1.25vw, 13px);
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 1.5em;
  transition: opacity 0.4s ease;
  letter-spacing: 0.012em;
}

.stat-highlight {
  color: var(--green);
  font-weight: 700;
}

.stats-rotator-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.rotator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.35s ease, transform 0.35s ease;
}

.rotator-dot.active {
  background: var(--green);
  transform: scale(1.3);
}

/* ============================================================
   4. COMMON PROBLEMS
   ============================================================ */
.problems-section {
  background: var(--white);
  padding: var(--section-py) 0;
  text-align: center;
}

.problems-section .section-heading { margin-bottom: 0; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.problem-card {
  background: #ffffff;
  border: 1px solid #e8e8e2;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  text-align: left;
}
.problem-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.problem-card-body {
  padding: 20px 22px 24px;
}

.problem-icon {
  display: none;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 14px;
}

.problem-icon svg {
  width: 51px;
  height: 51px;
}

.problems-intro {
  margin: 14px auto 36px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}
.problem-card:hover .problem-icon {
  background: rgba(76, 175, 80, 0.10);
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.problem-img-placeholder {
  overflow: hidden;
  height: 200px;
  background: var(--gray-200);
  border-radius: 0;
}
.problem-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.problem-card:hover .problem-img-placeholder img {
  transform: scale(1.04);
}

/* Per-card fallback tints for broken/slow images */
.problem-img--dry       { background: #c8b89a; }
.problem-img--sprinkler { background: #8dbfce; }
.problem-img--drainage  { background: #7a9aad; }
.problem-img--mowing    { background: #7aad82; }
.problem-img--irrigation { background: #6b9e72; }
.problem-img--curb      { background: #9aad8d; }

/* ============================================================
   5. BEFORE / AFTER
   ============================================================ */
.before-after-section {
  background: var(--off-white);
  padding: var(--section-py) 0;
}

.before-after-inner {
  display: grid;
  /* Text column ~40%, image column ~60% — matches reference weighting */
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}

.before-after-text .section-heading {
  font-size: clamp(24px, 3.5vw, 38px);
  margin-bottom: 20px;
}

.ba-intro {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.check-list {
  margin-bottom: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  padding: 5px 0;
}

.check-icon {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ba-closing {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  border-left: 3px solid var(--green);
  padding-left: 14px;
  margin-top: 8px;
}

/* Before/After Visual */
.ba-container {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  cursor: col-resize;
  /* Brown fallback while BEFORE loads; green for AFTER overlay */
  background: #8b7355;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
}

.ba-after {
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: var(--white);
  transition: opacity 0.15s ease;
}
.ba-label-before {
  left: 16px;
  background: rgba(0,0,0,0.55);
}
.ba-label-after {
  right: 16px;
  background: rgba(76,175,80,0.85);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ba-line {
  width: 2px;
  flex: 1;
  background: var(--white);
}

.ba-circle {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  gap: 0;
  color: var(--text-primary);
}

/* ============================================================
   6. HOW IT WORKS (light-theme results-page mirror)
   ============================================================ */
.how-section {
  background: var(--white);
  padding: var(--section-py) 0;
  text-align: center;
}

/* ── Intro block ── */
.hiw-intro {
  text-align: center;
  margin-bottom: 52px;
}
.hiw-heading {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 0;
}
.hiw-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Progress node row ── */
.hiw-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
}
.hiw-nodes::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(10% + 7px);
  right: calc(10% + 7px);
  border-top: 2px dashed rgba(46, 156, 82, 0.38);
  z-index: 0;
}
.hiw-node-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hiw-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4f6f4;
  border: 2px solid rgba(46, 156, 82, 0.18);
  color: rgba(0, 0, 0, 0.38);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hiw-node-active {
  background: #2e9c52;
  border-color: #3dba64;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(46, 156, 82, 0.15);
}

/* ── Step card grid ── */
.hiw-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.hiw-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 28px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.hiw-card:hover {
  border-color: rgba(0, 0, 0, 0.13);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.hiw-card-active {
  background: #f4fdf5;
  border-color: rgba(46, 156, 82, 0.28);
  box-shadow: 0 0 0 1px rgba(46, 156, 82, 0.10) inset,
              0 6px 24px rgba(46, 156, 82, 0.10);
  transform: translateY(-2px);
}
.hiw-card-active:hover {
  box-shadow: 0 0 0 1px rgba(46, 156, 82, 0.18) inset,
              0 8px 28px rgba(46, 156, 82, 0.14);
  transform: translateY(-3px);
}

/* ── Icons ── */
.hiw-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(46, 156, 82, 0.58);
  background: rgba(46, 156, 82, 0.07);
  border-radius: 12px;
}
.hiw-card-active .hiw-icon {
  color: #2e9c52;
  background: rgba(46, 156, 82, 0.12);
}

/* ── Title ── */
.hiw-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
  text-align: center;
}

/* ── First Step badge ── */
.hiw-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  background: rgba(46, 156, 82, 0.12);
  color: #237a38;
  border: 1px solid rgba(46, 156, 82, 0.22);
}

/* ── Description ── */
.hiw-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  text-align: left;
  width: 100%;
  margin-top: 2px; /* tight — sits right under title */
}
.hiw-card-active .hiw-desc { color: rgba(0, 0, 0, 0.55); }

/* ── CTA banner below steps ── */
.hiw-cta-banner {
  margin-top: 28px;
  background: #f4fdf5;
  border: 1px solid rgba(46, 156, 82, 0.22);
  border-radius: 16px;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hiw-cta-text {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}
.hiw-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #2e9c52;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46, 156, 82, 0.28);
}
.hiw-cta-btn:hover {
  background: #247a40;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 156, 82, 0.38);
}
@media (max-width: 768px) {
  .hiw-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 24px;
    gap: 16px;
  }
  .hiw-cta-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   7. PROPERTY STANDARDS
   ============================================================ */
.standards-section {
  background: #f7f7f5;
  padding: var(--section-py) 0;
}

.standards-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.standards-header .section-heading {
  margin-bottom: 0;
  font-size: clamp(26px, 3.2vw, 37px);
  white-space: nowrap;
}

.standards-intro {
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
}

/* Body: 2-column — cards left, image right */
.standards-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 60px;
}

/* 2×2 card grid */
.standards-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Individual card */
.standard-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.standard-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
  transform: translateY(-2px);
}

/* Placeholder image strip (top of card) */
.standard-card-img {
  height: 116px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.standard-card-img--1 { background-color: #c5d8c6; }
.standard-card-img--2 { background-color: #b6ccca; }
.standard-card-img--3 { background-color: #bfd1bf; }
.standard-card-img--4 { background-color: #cddacd; }

.standard-card-text {
  padding: 18px 20px 22px;
  flex: 1;
}

.standard-card-text h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.standard-card-text p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Feature image — right column */
.standards-feature {
  display: flex;
}

.standards-feature-img {
  width: 100%;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 10px 48px rgba(0,0,0,0.14);
}

.standards-feature-img img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom trust statement */
.standards-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.standards-trust-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.13);
  display: block;
  flex-shrink: 1;
}

.standards-trust-text {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
  font-style: italic;
}

.trust-highlight {
  color: var(--green);
  font-weight: 700;
  font-style: normal;
}

/* ============================================================
   8. INTEGRATED CTA PANEL (inside Our Standard section)
   ============================================================ */
.standards-cta-panel {
  margin-top: 56px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.standards-cta-body {
  flex: 1;
}

.standards-cta-heading {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.standards-cta-sub {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
  max-width: 760px;
}

.standards-cta-action {
  flex-shrink: 0;
  text-align: center;
}

.standards-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,156,82,0.28);
  white-space: nowrap;
}
.standards-cta-btn:hover {
  background: #3dba64;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,156,82,0.38);
}

.standards-cta-note {
  margin: 10px 0 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.standards-cta-privacy {
  font-size: 11px;
  color: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.lp-footer {
  background: #060806;
  padding: 72px 0 68px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.lp-footer-main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Column base */
.lp-footer-col { display: flex; flex-direction: column; gap: 22px; }

/* Brand */
.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-footer-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.92;
  flex-shrink: 0;
}
.lp-footer-logo-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.07em;
  line-height: 1;
}
.lp-footer-desc {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.72;
  max-width: 290px;
  margin: 0;
}

/* Brand legal block — legal links + copyright inside left col */
.lp-footer-brand-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lp-footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-legal-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.71rem;
  color: rgba(255,255,255,0.28);
  font-family: inherit;
  font-weight: 400;
  transition: color 0.2s;
  line-height: 1.4;
}
.lp-legal-btn:hover { color: rgba(255,255,255,0.55); }
.lp-footer-copyright {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.20);
  margin: 0;
  line-height: 1.4;
}

/* Column labels */
.lp-footer-col-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.26);
  text-transform: uppercase;
  margin: 0 0 2px;
}

/* Services list — informational only, no hover */
.lp-footer-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.lp-footer-services li {
  font-size: 0.845rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.4;
}

/* Contact rows */
.lp-footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.lp-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.lp-footer-icon {
  color: #4fc352;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-footer-contact-link {
  font-size: 0.845rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}
.lp-footer-contact-link:hover { color: rgba(255,255,255,0.88); }
.lp-footer-contact-addr {
  font-size: 0.845rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ============================================================
   10. LEGAL MODAL (shared with landing page)
   ============================================================ */
.lg-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4,10,4,0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.30s ease;
}
.lg-overlay.lg-open { opacity: 1; pointer-events: auto; }

.lg-modal {
  position: relative;
  background: #F6F6F3;
  border-radius: 18px;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.06);
  transform: translateY(18px);
  transition: transform 0.30s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.lg-overlay.lg-open .lg-modal { transform: translateY(0); }

/* Brand accent bar at top */
.lg-modal::before {
  content: '';
  display: block;
  height: 3px;
  background: #4fc352;
  flex-shrink: 0;
}

/* Header */
.lg-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 28px 18px;
  background: #F6F6F3;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 16px;
  flex-shrink: 0;
}
.lg-header-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lg-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lg-trust-icon {
  color: #4fc352;
  flex-shrink: 0;
  opacity: 0.85;
}
.lg-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
.lg-header-date {
  font-size: 0.74rem;
  color: rgba(0,0,0,0.36);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Close button */
.lg-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.055);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.42);
  transition: background 0.20s, color 0.20s;
  flex-shrink: 0;
  margin-top: 2px;
}
.lg-close:hover {
  background: rgba(79,195,82,0.14);
  color: #2a6e2c;
}

/* Scrollable body */
.lg-body {
  overflow-y: auto;
  padding: 26px 34px 48px;
  scroll-behavior: smooth;
}
.lg-body::-webkit-scrollbar { width: 4px; }
.lg-body::-webkit-scrollbar-track { background: transparent; }
.lg-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.10); border-radius: 10px; }
.lg-body::-webkit-scrollbar-thumb:hover { background: rgba(79,195,82,0.38); }

/* Typography */
.lg-body h3 {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 28px 0 10px;
}
.lg-body h3:first-child { margin-top: 0; }
.lg-body p {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.60);
  line-height: 1.82;
  margin: 0 0 12px;
  max-width: 510px;
}
.lg-body ul, .lg-body .lg-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
}
.lg-body ul li, .lg-body .lg-list li {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.60);
  line-height: 1.78;
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}
.lg-body ul li::before, .lg-body .lg-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4fc352;
  opacity: 0.60;
}
.lg-body .lg-intro {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.82;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  max-width: 510px;
}
.lg-body .lg-contact {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.62);
  line-height: 1.95;
  background: rgba(0,0,0,0.028);
  padding: 15px 18px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}
.lg-body .lg-contact a { color: #2e7d32; text-decoration: none; }
.lg-body .lg-contact a:hover { text-decoration: underline; }
.lg-body hr { border: none; border-top: 1px solid rgba(0,0,0,0.06); margin: 20px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablets */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .before-after-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ba-container { height: 380px; }

  .standards-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .standards-feature { order: 1; }
  .standards-cards { order: 2; }
  .standards-trust-text { white-space: normal; }

  /* Standards headline — allow wrap on tablet */
  .standards-header .section-heading { white-space: normal; }

  .standards-cta-panel {
    flex-direction: column;
    text-align: center;
    padding: 32px 28px;
    gap: 24px;
  }
  .standards-cta-privacy { justify-content: center; }

  /* HIW — 3-col at large tablet, hide nodes */
  .hiw-cards { grid-template-columns: repeat(3, 1fr); }
  .hiw-nodes { display: none; }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  /* Tighter horizontal padding on small screens */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading { margin-bottom: 28px; }

  .main-nav { display: none; }
  .btn-phone { display: none; }
  .btn-green-nav { display: none; }
  .hamburger { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    z-index: 99;
  }
  .main-nav.open a { font-size: 16px; }

  .hero-headline { font-size: 28px; }

  .input-row { flex-direction: column; border-radius: var(--radius-sm); }
  .hero-input { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .btn-dark { border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-align: center; justify-content: center; }

  /* Stats — 2×2 grid, tighter */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 22px 16px; }

  .stats-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }
  .stats-cta-right {
    align-self: stretch;
  }
  .stats-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .stats-cta-sub {
    white-space: normal;
  }
  .stats-rotator-text {
    white-space: normal;
    font-size: 12px;
  }

  /* Problems — 2-column grid */
  .problems-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .problem-img-placeholder { height: 160px; }
  .problem-card-body { padding: 16px 18px 20px; }
  .problem-card h3 { font-size: 15px; }
  .problem-card p { font-size: 13px; }

  /* Standards — cards first, feature image last; 2-col card grid */
  .standards-feature { order: 2; }
  .standards-cards { order: 1; grid-template-columns: 1fr 1fr; gap: 12px; }
  .standard-card-img { height: 96px; }
  .standard-card-text { padding: 13px 15px 18px; }

  /* HIW — 2-col at tablet */
  .hiw-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hiw-intro { margin-bottom: 36px; }
  .hiw-heading { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.1; }
  .hiw-sub { font-size: 0.9rem; }

  /* CTA panel — stack on tablet */
  .standards-cta-panel {
    flex-direction: column;
    text-align: center;
    padding: 32px 28px;
    gap: 24px;
  }
  .standards-cta-privacy { justify-content: center; }

  /* ── Mobile footer: stack columns ── */
  .lp-footer { padding: 48px 0 52px; }
  .lp-footer-main { grid-template-columns: 1fr; gap: 36px; }
  .lp-footer-desc { max-width: 100%; }
  .lp-legal-btn { font-size: 0.75rem; }

  /* Legal modal */
  .lg-overlay { padding: 12px; }
  .lg-modal { max-width: 100%; max-height: calc(100vh - 24px); border-radius: 16px; }
  .lg-header { padding: 18px 20px 16px; }
  .lg-title  { font-size: 0.98rem; }
  .lg-body   { padding: 22px 20px 36px; }
}

/* Mobile */
@media (max-width: 480px) {
  :root { --section-py: 48px; }

  .logo-sub { display: none; }
  .hero-text { max-width: 100%; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 18px 12px; }
  .stat-icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 13px; margin-bottom: 8px; }
  .stat-desc { font-size: 11.5px; }

  /* Problems */
  .problems-grid { grid-template-columns: 1fr; gap: 12px; }
  .problem-img-placeholder { height: 180px; }

  .ba-container { height: 260px; }

  /* HIW */
  .hiw-cards { grid-template-columns: 1fr; gap: 10px; }
  .hiw-card { padding: 22px 18px 20px; }
  .hiw-heading { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }

  /* Standards */
  .standards-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .standard-card-img { height: 80px; }
  .standard-card-text { padding: 11px 12px 14px; }
  .standard-card-text h3 { font-size: 12.5px; }
  .standard-card-text p { font-size: 11.5px; line-height: 1.5; }
  .standards-feature-img img { min-height: 240px; }
  .standards-trust { gap: 14px; flex-direction: column; align-items: center; }
  .standards-trust-line { display: none; }
  .standards-trust-text { font-size: 13.5px; line-height: 1.7; text-align: center; word-break: break-word; width: 100%; }

  /* CTA panel — tighter on small phones */
  .standards-cta-panel { padding: 28px 20px; margin-top: 40px; }
  .standards-cta-heading { font-size: 20px; }
  .standards-cta-btn { font-size: 14px; padding: 13px 24px; width: 100%; justify-content: center; }

  /* Footer — very small phones */
  .lp-footer { padding: 32px 0 44px; }
  .lp-footer-logo-img  { width: 28px; height: 28px; }
  .lp-footer-logo-name { font-size: 0.78rem; }
}

/* =============================================
   ASSESSMENT MODAL
   ============================================= */
.am-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.am-overlay.am-open {
  opacity: 1;
  pointer-events: all;
}
.am-modal {
  display: flex;
  width: min(1242px, 96vw);
  height: min(726px, 92vh);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.am-overlay.am-open .am-modal {
  transform: translateY(0) scale(1);
}

/* Left Panel */
.am-left {
  position: relative;
  width: 36%;
  flex-shrink: 0;
  overflow: hidden;
}
.am-left-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.am-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.78) 100%);
}
.am-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 32px;
}
.am-left-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.am-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.am-logo-name {
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.am-logo-sub {
  color: rgba(255,255,255,0.45);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.am-left-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}
.am-left-heading {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.am-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.am-trust-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,0.84);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.am-trust-icon {
  width: 22px;
  height: 22px;
  background: rgba(74,140,75,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7ec87f;
}
.am-privacy {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.35);
  font-size: 10.5px;
  margin: 0;
  letter-spacing: 0.01em;
}
.am-privacy svg { flex-shrink: 0; }

/* Right Panel */
.am-right {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.am-progress-header {
  padding: 22px 36px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.055);
}
.am-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.am-step-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
}
.am-progress-bar {
  height: 3px;
  background: #ebebeb;
  border-radius: 99px;
  overflow: hidden;
}
.am-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 99px;
  width: 20%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.am-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.am-close:hover { color: var(--text-primary); background: #f2f2f0; }

/* Steps */
.am-steps-container {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px 16px;
}
.am-step[hidden] { display: none !important; }
@keyframes amFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.am-question {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 7px;
  line-height: 1.2;
}
.am-question-sub {
  font-size: 14px;
  color: #999;
  margin-bottom: 22px;
  font-weight: 400;
}

/* Option Grid — Step 1 (4 cols × 2 rows, icon cards) */
.am-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
/* Follow-up questions grid (3 cols — wider cards prevent title wrapping) */
.am-follow-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Option Column — Steps 2–4 (single col, row cards) */
.am-options-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Base option */
.am-option {
  background: #f8f8f6;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.15s;
  text-align: left;
}
.am-option:hover {
  border-color: rgba(74,140,75,0.40);
  background: #fff;
  box-shadow: 0 2px 14px rgba(74,140,75,0.10);
  transform: translateY(-1px);
}
.am-option.am-selected {
  border-color: var(--green);
  background: rgba(74,140,75,0.06);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.12);
}
.am-option:active { transform: translateY(0); }

/* Icon card layout (step 1 grid) */
.am-options-grid .am-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 15px;
}
.am-opt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s;
}
.am-opt-icon svg { width: 20px; height: 20px; }
.am-option:hover .am-opt-icon { transform: scale(1.08); }

/* Icon color variants */
.am-icon-amber  { background: rgba(220,140, 40,0.12); color: #C07820; }
.am-icon-blue   { background: rgba( 40,130,220,0.12); color: #1E78C8; }
.am-icon-green  { background: rgba( 50,160, 70,0.12); color: #28903C; }
.am-icon-steel  { background: rgba( 60,110,180,0.12); color: #3060A8; }
.am-icon-lime   { background: rgba( 80,180, 80,0.12); color: #3A9A3A; }
.am-icon-terra  { background: rgba(190, 90, 50,0.12); color: #B05030; }
.am-icon-emerald{ background: rgba( 30,140, 90,0.12); color: #1A7850; }
.am-icon-purple { background: rgba(130, 80,180,0.12); color: #7040A8; }
.am-icon-muted  { background: rgba(  0,  0,  0,0.05); color: #999; }

/* Text-only card variant — all follow-up questions */
.am-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  padding: 14px 15px 13px;
  min-height: 80px;
}
.am-opt-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.am-card-text.am-selected .am-opt-card-title { color: var(--green-dark); }
.am-card-text .am-opt-sub {
  font-size: 11.5px;
  color: #aaa;
  font-weight: 400;
  line-height: 1.35;
}
.am-card-text.am-selected .am-opt-sub { color: rgba(74,140,75,0.75); }

.am-opt-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.am-option.am-selected .am-opt-label { color: var(--green-dark); }

/* Row card layout (steps 2–4) */
.am-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}
.am-opt-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.am-option-row .am-opt-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.am-opt-sub {
  font-size: 12.5px;
  color: #aaa;
  font-weight: 400;
}
.am-option-row.am-selected .am-opt-sub { color: rgba(74,140,75,0.75); }
.am-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ddd;
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  position: relative;
}
.am-opt-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.18s, transform 0.18s;
}
.am-option-row.am-selected .am-opt-radio {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.15);
}
.am-option-row.am-selected .am-opt-radio::after {
  opacity: 1;
  transform: scale(1);
}

/* Custom "something else" — full-width card */
.am-custom-input-wrap {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  background: #f8f8f6;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  cursor: text;
}
.am-custom-input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.10);
  background: #fff;
}
.am-custom-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}
.am-custom-icon svg { width: 18px; height: 18px; }
.am-custom-input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
  padding: 0;
}
.am-custom-input::placeholder { color: #bbb; font-weight: 500; }

/* Contact Form */
.am-contact-form { display: flex; flex-direction: column; gap: 11px; }
.am-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.am-form-row-3 { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 12px; }
.am-form-group { display: flex; flex-direction: column; gap: 6px; }
.am-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #aaa;
  text-transform: uppercase;
}
.am-required { color: var(--green); }
.am-optional { font-weight: 400; text-transform: none; color: #ccc; font-size: 10.5px; letter-spacing: 0; }
.am-input {
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  background: #fafaf8;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.am-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.10);
  background: #fff;
}
.am-textarea { resize: none; }

/* Navigation */
.am-nav {
  padding: 14px 40px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.055);
}
.am-btn-back {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #bbb;
  padding: 10px 0;
  transition: color 0.2s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.am-btn-back:hover { color: var(--text-primary); }
.am-btn-back.am-hidden { visibility: hidden; pointer-events: none; }
.am-btn-continue {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  font-family: inherit;
}
.am-btn-continue:hover:not(:disabled) {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,140,75,0.30), 0 0 0 4px rgba(74,140,75,0.12);
}
.am-btn-continue:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.am-btn-continue:disabled { opacity: 0.32; cursor: not-allowed; }

/* Success State */
.am-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 0;
}
.am-success-icon {
  width: 68px;
  height: 68px;
  background: rgba(74,140,75,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}
.am-success-heading {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.am-success-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto 16px;
}
.am-success-note {
  font-size: 13px;
  color: var(--text-secondary);
  background: #f7f7f5;
  padding: 10px 20px;
  border-radius: 8px;
}

/* ─── Dynamic Engine — new class aliases ──────────────────────── */

/* Step header: wraps the question heading + hint */
.am-step-header { margin-bottom: 20px; }

/* Question heading — mirrors .am-question */
.am-step-q {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.2;
}

/* Hint / sub text — mirrors .am-question-sub */
.am-step-hint {
  font-size: 13.5px;
  color: #999;
  margin: 0;
  font-weight: 400;
}

/* Multi-select hint row — sub text + "you can choose more than one" tag */
.am-multi-hint-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.am-multi-hint-row .am-step-hint { margin: 0; }
.am-multi-note {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  padding: 2px 9px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Dynamic selection counter */
.am-selection-count {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: transparent;
  min-height: 18px;
  margin-top: 6px;
  transition: color 0.2s ease;
}
.am-selection-count.am-selection-count-active {
  color: var(--green);
}

/* Row-card text wrapper — mirrors old .am-opt-text container */
.am-opt-row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
/* Bold label inside row card (the <span class="am-opt-text">) */
.am-opt-row-text .am-opt-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.am-option-row.am-selected .am-opt-row-text .am-opt-text {
  color: var(--green-dark);
}

/* Always-visible "something else" input below the card grid */
.am-other-input-wrap {
  margin-top: 12px;
}

/* Custom concern text input (other card) */
.am-text-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  background: #fafaf8;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.am-text-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.10);
  background: #fff;
}
.am-text-input::placeholder { color: #bbb; }

/* Contact step container */
.am-contact-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contact fields — mirrors .am-input */
.am-field {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  background: #fafaf8;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.am-field:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.10);
  background: #fff;
}
.am-field::placeholder { color: #bbb; }
.am-field-ta { resize: none; }

/* Select styling */
.am-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.am-select option { background: #fff; color: #1a1a1a; }

/* Field hint / helper text */
.am-field-hint {
  font-size: 11px;
  color: #aaa;
  margin: 0;
  line-height: 1.5;
}
.am-other-area-msg {
  color: #e8a044;
  font-size: 11px;
}

/* Contact trust badges */
.am-contact-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 18px;
  padding-top: 2px;
}
.am-contact-trust span {
  font-size: 10.5px;
  color: #aaa;
  font-weight: 500;
  white-space: nowrap;
}
.am-contact-trust span::first-letter { color: var(--green); }

/* Step fade-in animation also applies when rendered dynamically */
.am-step {
  animation: amFadeUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Low-selection confirmation overlay ─────── */
#am-low-issue-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,10,6,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  border-radius: inherit;
}
#am-low-issue-overlay.am-low-open {
  opacity: 1;
  pointer-events: all;
}
.am-low-modal {
  background: #fff;
  border-radius: 22px;
  padding: 40px 48px 36px;
  max-width: 720px;
  width: calc(100% - 40px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.08);
  text-align: left;
  animation: amFadeUp 0.28s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── Icon — centered ── */
.am-low-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(74,140,75,0.1);
  border-radius: 50%;
  margin: 0 auto 24px;
  color: var(--green);
}

/* ── Title — centered, strong hierarchy ── */
.am-low-title {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  color: #111;
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
}

/* ── Body content — left-aligned ── */
.am-low-content {
  text-align: left;
}
.am-low-body {
  font-size: 14.5px;
  color: #4a4a4a;
  margin: 0 0 10px;
  line-height: 1.65;
}
.am-low-body strong {
  color: #111;
  font-weight: 600;
}
.am-low-sub {
  font-size: 13px;
  color: #888;
  margin: 0 0 22px;
  line-height: 1.5;
}

/* ── Chips — left-aligned, cleaner pills ── */
.am-low-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.am-low-chip {
  font-size: 13.5px;
  font-weight: 500;
  color: #3a3a3a;
  background: #f6f7f6;
  border: 1.5px solid #e2e4e2;
  border-radius: 99px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.16s ease;
  line-height: 1;
}
.am-low-chip:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: rgba(74,140,75,0.07);
  box-shadow: 0 0 0 3px rgba(74,140,75,0.08);
}
.am-low-chip.am-low-chip-sel {
  border-color: var(--green);
  background: rgba(74,140,75,0.12);
  color: var(--green-dark);
  font-weight: 600;
}

/* ── Footer — separator + CTAs ── */
.am-low-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.am-low-confirm {
  width: 100%;
  background: linear-gradient(135deg, #5CB85C 0%, #3d8b3d 100%);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  height: 54px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(61,139,61,0.30);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.01em;
  text-align: center;
}
.am-low-confirm:hover {
  background: linear-gradient(135deg, #4da84d 0%, #2e7a2e 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(61,139,61,0.38);
}
.am-low-back {
  background: none;
  border: none;
  font-size: 13px;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.16s;
  text-align: center;
}
.am-low-back:hover { color: var(--green-dark); }

/* Modal — Tablet */
@media (max-width: 860px) {
  .am-modal { width: min(700px, 96vw); }
  .am-left { width: 34%; }
  .am-left-heading { font-size: 18px; }
  .am-steps-container { padding: 28px 28px 14px; }
  .am-nav { padding: 14px 28px 24px; }
  .am-progress-header { padding: 20px 28px 16px; }
  .am-options-grid { grid-template-columns: repeat(2, 1fr); }
  .am-card-text { min-height: 70px; padding: 12px 13px; }
}

/* Low-issue popup — allow title wrap on narrower viewports */
@media (max-width: 780px) {
  .am-low-title { white-space: normal; }
}

/* Modal — Mobile */
@media (max-width: 620px) {
  .am-modal { flex-direction: column; height: 100svh; border-radius: 0; width: 100%; max-width: 100%; }
  .am-left { width: 100%; height: 130px; flex-shrink: 0; }
  .am-left-body { display: none; }
  .am-left-content { padding: 16px 20px; justify-content: flex-end; }
  .am-privacy { display: none; }
  .am-steps-container { padding: 22px 20px 12px; }
  .am-nav { padding: 12px 20px 22px; }
  .am-progress-header { padding: 14px 20px 12px; }
  .am-options-grid { gap: 8px; }
  .am-options-grid .am-option { padding: 14px 14px 12px; gap: 8px; }
  .am-opt-icon svg { width: 20px; height: 20px; }
  .am-opt-label { font-size: 12.5px; }
  .am-option-row { padding: 14px 16px; }
  .am-form-row { grid-template-columns: 1fr; gap: 12px; }
  .am-form-row-3 { grid-template-columns: 1fr; gap: 12px; }
  .am-contact-trust { flex-wrap: wrap; gap: 4px 14px; }
  .am-question, .am-step-q { font-size: 20px; }
  .am-btn-continue { padding: 13px 28px; font-size: 14px; }
  .am-low-title { white-space: normal; font-size: clamp(18px, 5vw, 22px); }
}


/* =============================================
   ASSESSMENT MODAL — Loading Screen
   ============================================= */
.am-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 40px;
  text-align: center;
  min-height: 360px;
}
.am-loading-spinner {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(76,175,80,0.18);
  border-top-color: var(--green);
  animation: am-spin 0.85s linear infinite;
  margin-bottom: 28px;
}
@keyframes am-spin { to { transform: rotate(360deg); } }
.am-loading-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.am-loading-sub {
  font-size: 0.865rem;
  color: var(--text-secondary);
  max-width: 310px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.am-loading-bar-wrap {
  width: 100%; max-width: 310px;
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 28px;
}
.am-loading-bar-fill {
  height: 100%; width: 0%;
  background: var(--green);
  border-radius: var(--radius-full);
  transition: width 0.45s ease;
}
.am-loading-checklist {
  text-align: left;
  width: 100%;
  max-width: 310px;
  list-style: none;
  padding: 0; margin: 0;
}
.am-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.84rem;
  color: var(--gray-400);
  transition: color 0.35s;
}
.am-check-item.am-check-active { color: var(--text-primary); }
.am-check-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
  transition: border-color 0.3s;
  position: relative;
}
.am-check-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  transition: opacity 0.3s;
}
.am-check-item.am-check-active .am-check-dot { border-color: var(--green); }
.am-check-item.am-check-active .am-check-dot::after { opacity: 1; }
