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

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

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

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

  --radius: 7px;
}

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

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

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

html { scroll-behavior: smooth; }

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

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(10px);
  padding: 0 max(1rem, calc((100vw - 1040px) / 4));
  display: flex;
  align-items: center;
  height: 84px;
  gap: 1.5rem;
  transition: background 0.3s, box-shadow 0.3s;
  overflow: visible;
}

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

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

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

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

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

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

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

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

/* ---- NAV PHONE ---- */
.nav-phone a {
  display: flex;
  align-items: center;
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.nav-phone a:hover { color: var(--green-hover); transform: scale(1.1); }
@media (max-width: 900px) { .nav-phone { display: none; } }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ---- SCROLL REVEAL (enhanced in ANIMATIONS section below) ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

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

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

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

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

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

.hero-video-2 {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,40,24,0.82) 0%, rgba(0,0,0,0.78) 100%);
  z-index: 2;
  pointer-events: none;
}

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

/* Hero overrides for video background */
.hero .kw {
  font-weight: 700;
  white-space: nowrap;
}
.hero .badge {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}
.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 2px 16px rgba(28,107,64,0.1);
  transition: background 0.3s;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

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

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

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

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

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

.trust-bar {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: nowrap;
  margin-left: -4rem;
  margin-right: -4rem;
  transition: border-color 0.3s;
}

@media (max-width: 600px) {
  .trust-bar {
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
    gap: 0.85rem 1.5rem;
    justify-content: center;
  }
  .trust-item {
    flex: 0 1 calc(50% - 1.5rem);
    justify-content: center;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.blog-body { padding: 1.3rem; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.modal-body { padding: 2rem; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ---- FOOTER PHONE ---- */
.footer-phone {
  margin: 0.5rem 0 0;
}
.footer-phone a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.footer-phone a:hover { color: #3daa68; transform: scale(1.1); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin: 0.9rem 0 0.25rem;
}
.footer-social a {
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: #3daa68;
  transform: translateY(-2px);
}

/* ---- SEO PAGE STYLES ---- */
.page-hero {
  background: var(--hero-bg);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

/* Override global white trust-bar styles for light-background page heroes */
.page-hero .trust-bar {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1.75rem;
}
.page-hero .trust-item {
  color: var(--body-text);
}
.page-hero .trust-item .check {
  color: var(--green);
}
.page-hero .breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.page-hero .breadcrumb a { color: var(--green); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 1.25rem;
  transition: color 0.3s;
}
.page-hero .hero-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  transition: color 0.3s;
}
/* ---- BLOG HERO WITH BACKGROUND IMAGE ---- */
.page-hero.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
  border-bottom: none;
  background: #111a14;
}
.blog-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.42;
}
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,12,0.35) 0%, rgba(10,20,12,0.72) 100%);
  z-index: 1;
}
.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}
.page-hero.blog-hero .breadcrumb {
  color: rgba(255,255,255,0.6);
}
.page-hero.blog-hero .breadcrumb a {
  color: rgba(255,255,255,0.85);
}
.page-hero.blog-hero .badge {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.92);
}
.page-hero.blog-hero h1 {
  color: #ffffff;
}
.page-hero.blog-hero .hero-intro {
  color: rgba(255,255,255,0.8);
}

.page-body {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.page-body h2 {
  font-size: 1.45rem;
  color: var(--heading);
  font-weight: 700;
  margin: 2.5rem 0 0.85rem;
  transition: color 0.3s;
}
.page-body h3 {
  font-size: 1.1rem;
  color: var(--heading);
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
  transition: color 0.3s;
}
.page-body p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.page-body ul, .page-body ol {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0.75rem 0 1rem 1.5rem;
  transition: color 0.3s;
}
.page-body li { margin-bottom: 0.4rem; }
.page-body a { color: var(--green); text-decoration: none; font-weight: 500; }
.page-body a:hover { text-decoration: underline; }
.page-body .btn-primary { color: #ffffff; }
.page-body .btn-primary:hover { text-decoration: none; }
.page-cta-box {
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}
.page-cta-box h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.page-cta-box p { color: var(--muted); margin-bottom: 1.5rem; }
/* ---- AREA GRID ---- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}
.area-grid span {
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green);
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
/* ---- END AREA GRID ---- */

.related-links {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  transition: background 0.3s, border-color 0.3s;
}
.related-links h3 { margin-top: 0; font-size: 1rem; }
.related-links ul { margin: 0.5rem 0 0 1.25rem; }
.steps-list { list-style: none; margin: 0.75rem 0 1rem 0; padding: 0; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.steps-list li::before {
  content: counter(steps);
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

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

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

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

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

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

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

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

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

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

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

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

/* ---- HERO NOTE ---- */
.hero-note { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0; }

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

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

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

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

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

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

/* ======================================
   ANIMATIONS
   ====================================== */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #27ae60 0%, #0d7a44 100%);
  z-index: 10000;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

/* ---- Hero entrance stagger ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .avatar    { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.hero .badge     { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s  both; }
.hero h1         { animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.45s both; }
.hero > .hero-inner > p { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.62s both; }
.hero .hero-btns { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.76s both; }
.hero .hero-note { animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.88s both; }
.hero .trust-bar { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 1.0s  both; }

/* ---- Hero avatar float ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.hero .avatar {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.15s both,
             float 4s ease-in-out 1.2s infinite;
}

/* ---- CTA pulse ring ---- */
@keyframes ctaPulse {
  0%   { box-shadow: 0 4px 22px rgba(28,107,64,0.35), 0 0 0 0 rgba(28,107,64,0.45); }
  60%  { box-shadow: 0 4px 22px rgba(28,107,64,0.35), 0 0 0 14px rgba(28,107,64,0); }
  100% { box-shadow: 0 4px 22px rgba(28,107,64,0.35), 0 0 0 0 rgba(28,107,64,0); }
}
.hero .btn-primary {
  animation: ctaPulse 2.8s ease-out 2s infinite;
}

/* ---- Map label radar ping ---- */
@keyframes radarPing {
  0%   { transform: translateY(-50%) scale(1); opacity: 0.75; }
  100% { transform: translateY(-50%) scale(3); opacity: 0; }
}
.map-label::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(61,218,130,0.6);
  animation: radarPing 2s ease-out infinite;
  pointer-events: none;
}

/* ---- Enhanced how-step hover ---- */
.how-step {
  transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.how-step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(28,107,64,0.18);
}
.how-icon {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.how-step:hover .how-icon {
  transform: scale(1.18) rotate(-8deg);
}

/* ---- Enhanced pain-card hover ---- */
.pain-card {
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s, opacity 0.55s ease;
}
.pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: 0 10px 32px rgba(28,107,64,0.13);
}

/* ---- Enhanced scroll reveal (add subtle scale) ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- Section label draw-in underline ---- */
.section-label {
  position: relative;
  display: inline-block;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s;
}
.in-view .section-label::after,
.reveal.in-view .section-label::after {
  width: 100%;
}

/* ---- Mid-page CTA strip ---- */
.midcta-strip {
  background: var(--green);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.midcta-strip h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.midcta-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--green);
  font-weight: 700;
  padding: 0.8rem 2.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: #e8f5ed;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* ---- Testimonials ---- */
.testimonials-section {
  padding: 5rem 1.5rem;
  background: var(--surface-alt);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.25rem;
  left: 1.4rem;
  font-size: 3.5rem;
  color: var(--green);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.35;
}
.testimonial-card .stars {
  color: #f5a623;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--body-text);
  font-size: 0.92rem;
  line-height: 1.68;
  margin-bottom: 1.25rem;
  border: none;
  padding: 0;
}
.reviewer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}
.reviewer strong {
  font-size: 0.88rem;
  color: var(--heading);
}
.reviewer span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- Areas We Cover ---- */
.areas-section {
  padding: 5rem 1.5rem;
  background: var(--surface);
}
.areas-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.area-city-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.area-city-card:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-3px);
}
.area-city-card svg {
  flex-shrink: 0;
  stroke: var(--green);
  transition: stroke 0.2s;
}
.area-city-card:hover svg {
  stroke: #fff;
}
.area-towns-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 1.75rem 0 0.75rem;
}
.areas-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---- FAQ ---- */
.faq-section {
  padding: 5rem 1.5rem;
  background: var(--surface-alt);
}
.faq-list {
  margin: 2.5rem auto 0;
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--heading);
  gap: 1rem;
  user-select: none;
  list-style: none;
}
.faq-q:hover {
  color: var(--green);
}
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  stroke: var(--muted);
}
.faq-item.open .faq-q {
  color: var(--green);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--green);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.72;
  padding: 0 1.25rem 1.25rem;
}
.faq-item.open .faq-a {
  max-height: 400px;
}

/* ── Video section ── */
.video-section {
  padding: 4rem 1.5rem;
  background: var(--surface-light);
}
.video-section .section-header {
  margin-bottom: 2rem;
}
.video-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
  max-width: 820px;
  margin: 0 auto;
}
.video-wrap video {
  width: 100%;
  display: block;
}
.video-portrait { display: none; }
@media (max-width: 600px) {
  .video-landscape { display: none; }
  .video-portrait { display: block; }
}

/* ── Blog post images ── */
.blog-featured-img {
  width: 100%;
  border-radius: 10px;
  margin: 0 0 2.5rem;
  display: block;
  height: auto;
  object-fit: cover;
}
.blog-inline-img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
  display: block;
  height: auto;
  object-fit: cover;
}

/* ──────────────────────────────────────────────
   INTERACTIVE CALCULATORS
   Used on mortgage-stress and cash-offer pages.
   Self-contained — no external deps.
   ────────────────────────────────────────────── */
.sypb-calc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.75rem 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.sypb-calc-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.sypb-calc-header h3 {
  font-size: 1.4rem;
  color: var(--heading);
  margin: 0 0 0.4rem;
  line-height: 1.3;
  font-weight: 600;
}
.sypb-calc-header p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.sypb-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
@media (max-width: 640px) {
  .sypb-calc-grid { grid-template-columns: 1fr; }
}
.sypb-calc-field { display: flex; flex-direction: column; gap: 0.4rem; }
.sypb-calc-field label {
  font-size: 0.88rem;
  color: var(--label-col);
  font-weight: 500;
}
.sypb-calc-input-wrap { position: relative; }
.sypb-calc-input-wrap .prefix,
.sypb-calc-input-wrap .suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
}
.sypb-calc-input-wrap .prefix { left: 0.85rem; }
.sypb-calc-input-wrap .suffix { right: 0.85rem; }
.sypb-calc-input-wrap input,
.sypb-calc-input-wrap select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sypb-calc-input-wrap input.has-prefix { padding-left: 1.6rem; }
.sypb-calc-input-wrap input.has-suffix { padding-right: 2.2rem; }
.sypb-calc-input-wrap input:focus,
.sypb-calc-input-wrap select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-subtle);
}
.sypb-calc-results {
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .sypb-calc-results { grid-template-columns: 1fr; }
}
.sypb-calc-result-cell { display: flex; flex-direction: column; gap: 0.25rem; }
.sypb-calc-result-cell .label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.sypb-calc-result-cell .value {
  font-size: 1.45rem;
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .sypb-calc-result-cell .value { font-size: 1.25rem; }
}
.sypb-calc-scenarios {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sypb-calc-scenarios h4 {
  font-size: 0.95rem;
  color: var(--heading);
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.sypb-calc-scenarios ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sypb-calc-scenarios li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--body-text);
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border);
}
.sypb-calc-scenarios li:last-child { border-bottom: none; }
.sypb-calc-scenarios li strong {
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sypb-calc-question {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sypb-calc-question h4 {
  font-size: 1.05rem;
  color: var(--heading);
  margin: 0 0 1rem;
  font-weight: 600;
}
.sypb-calc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.sypb-calc-btn {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--input-border);
  background: var(--surface);
  color: var(--body-text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
}
.sypb-calc-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}
.sypb-calc-btn.danger:hover { border-color: #b91c1c; color: #b91c1c; }
.sypb-calc-btn.warn:hover { border-color: #b45309; color: #b45309; }
.sypb-calc-response {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
  background: var(--green-subtle);
  animation: sypb-fade-in 0.4s ease;
}
.sypb-calc-response.warn {
  border-left-color: #b45309;
  background: rgba(180,83,9,0.08);
}
.sypb-calc-response.danger {
  border-left-color: #b91c1c;
  background: rgba(185,28,28,0.07);
}
.sypb-calc-response h5 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--heading);
  font-weight: 600;
}
.sypb-calc-response p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.55;
}
.sypb-calc-response p:last-child { margin-bottom: 0; }
.sypb-calc-response a.cta-inline {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  transition: background 0.15s;
}
.sypb-calc-response a.cta-inline:hover { background: var(--green-hover); }

@keyframes sypb-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sypb-calc-response { animation: none; }
  .sypb-calc-btn { transition: none; }
  .sypb-calc-btn:hover { transform: none; }
}

/* small note under inputs */
.sypb-calc-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1rem 0 0;
  text-align: center;
}

/* secondary tiny range label below a primary result value */
.sypb-calc-result-cell .range {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

/* primary offer cell — slightly larger than the standard 3-cell grid */
.sypb-calc-results.single-headline {
  grid-template-columns: 1.6fr 1fr 1fr;
}
@media (max-width: 640px) {
  .sypb-calc-results.single-headline { grid-template-columns: 1fr; }
}
.sypb-calc-result-cell.headline .value {
  font-size: 1.75rem;
}
@media (max-width: 640px) {
  .sypb-calc-result-cell.headline .value { font-size: 1.5rem; }
}

/* equity / net-walkaway comparison cards */
.sypb-equity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 0;
}
@media (max-width: 768px) {
  .sypb-equity-grid { grid-template-columns: 1fr; }
}
.sypb-equity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.sypb-equity-card.is-best {
  border-color: var(--green);
  background: linear-gradient(to bottom, var(--green-subtle) 0%, var(--surface) 70%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28,107,64,0.08);
}
.sypb-equity-card .route {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 0.05rem;
}
.sypb-equity-card .timeline {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin: 0 0 0.55rem;
}
.sypb-equity-card .line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--body-text);
  padding: 0.18rem 0;
}
.sypb-equity-card .line .label-col { color: var(--muted); }
.sypb-equity-card .line strong {
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  white-space: nowrap;
}
.sypb-equity-card .line.net {
  border-top: 1px solid var(--border);
  margin-top: 0.4rem;
  padding-top: 0.65rem;
  font-size: 0.92rem;
}
.sypb-equity-card .line.net .label-col {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--muted);
  align-self: center;
}
.sypb-equity-card .line.net strong {
  font-size: 1.45rem;
  color: var(--green);
  line-height: 1.1;
}
.sypb-equity-card .line.net.is-shortfall strong { color: #b91c1c; }
.sypb-equity-card .pct {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.15rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sypb-equity-card .badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #ffffff;
  padding: 0.18rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: none;
}
.sypb-equity-card.is-best .badge { display: block; }

.sypb-equity-insight {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.55;
  min-height: 1px;
}
.sypb-equity-insight:empty { display: none; }

/* ──────────────────────────────────────────────
   ANIMATED STAT STRIP
   For "1,000+ sellers helped" type counters
   that count up when scrolled into view.
   ────────────────────────────────────────────── */
.sypb-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  margin: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .sypb-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
    padding: 2rem 1rem;
  }
}
.sypb-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sypb-stat .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .sypb-stat .num { font-size: 2rem; }
}
.sypb-stat .label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

/* ──────────────────────────────────────────────
   STICKY MOBILE CTA BAR
   Fixed at bottom on viewports < 768px, appears
   after 30% scroll, dismissible per session.
   ────────────────────────────────────────────── */
#sypb-sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  #sypb-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.07);
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
    align-items: stretch;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  #sypb-sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  #sypb-sticky-cta.is-dismissed {
    transform: translateY(100%);
    opacity: 0;
  }
}
#sypb-sticky-cta a {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 7px;
  padding: 0.75rem 0.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
#sypb-sticky-cta .sticky-cta-primary {
  background: var(--green);
  color: #ffffff;
  flex: 2 1 auto;
}
#sypb-sticky-cta .sticky-cta-primary:hover,
#sypb-sticky-cta .sticky-cta-primary:active {
  background: var(--green-hover);
}
#sypb-sticky-cta .sticky-cta-secondary {
  background: var(--surface-alt);
  color: var(--heading);
  border: 1px solid var(--border);
  flex: 1 1 auto;
}
#sypb-sticky-cta .sticky-cta-secondary:hover {
  background: var(--green-subtle);
  color: var(--green);
}
#sypb-sticky-cta .sticky-cta-icon {
  display: inline-flex;
  align-items: center;
}
#sypb-sticky-cta .sticky-cta-close {
  flex: 0 0 auto;
  width: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
}
#sypb-sticky-cta .sticky-cta-close:hover {
  background: var(--surface-alt);
  color: var(--heading);
}

@media (prefers-reduced-motion: reduce) {
  #sypb-sticky-cta { transition: none; }
}

/* ──────────────────────────────────────────────
   WHATSAPP FLOATING ACTION BUTTON
   Always-visible green FAB, links to WhatsApp
   with prefilled message. Repositions above the
   sticky mobile CTA bar on small screens.
   ────────────────────────────────────────────── */
#sypb-whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  z-index: 95;
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
}
#sypb-whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.24);
  color: #ffffff;
}
#sypb-whatsapp-fab:active { transform: scale(0.97); }
@media (max-width: 768px) {
  #sypb-whatsapp-fab {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    width: 52px;
    height: 52px;
  }
  #sypb-whatsapp-fab svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #sypb-whatsapp-fab { transition: none; }
  #sypb-whatsapp-fab:hover { transform: none; }
}

/* ──────────────────────────────────────────────
   ROUTE COMPARISON TIMELINE BARS
   Two horizontal bars showing relative time to
   complete by sale route. Fills animate from 0
   to their --w value when scrolled into view.
   ────────────────────────────────────────────── */
.sypb-route-bars {
  margin: 2.5rem 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sypb-route-bars figcaption {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.35rem;
  text-align: center;
}
.sypb-route-bars .route-bars-title {
  font-size: 1.1rem;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}
.sypb-route-bars .route-bars-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.sypb-route-bars .route-bars-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sypb-route-bars .route-bar {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 0.95rem;
  align-items: center;
  font-size: 0.92rem;
}
@media (max-width: 640px) {
  .sypb-route-bars .route-bar {
    grid-template-columns: 100px 1fr;
    gap: 0.35rem 0.65rem;
  }
  .sypb-route-bars .route-time {
    grid-column: 2;
    font-size: 0.78rem;
    text-align: right;
  }
}
.sypb-route-bars .route-name {
  color: var(--heading);
  font-weight: 600;
}
.sypb-route-bars .route-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.86rem;
}
.sypb-route-bars .route-track {
  background: var(--surface-alt);
  border-radius: 999px;
  height: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.sypb-route-bars .route-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.25s;
  background: var(--green);
}
.sypb-route-bars .route-fill--ea {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 35%, #ea580c 70%, #f59e0b 100%);
}
.sypb-route-bars .route-fill--sypb {
  background: linear-gradient(90deg, #16a34a 0%, var(--green) 100%);
}
.sypb-route-bars.in-view .route-fill { width: var(--w); }
.sypb-route-bars .route-axis {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding: 0 0 0 140px;
}
@media (max-width: 640px) {
  .sypb-route-bars .route-axis {
    padding: 0 0 0 100px;
  }
  .sypb-route-bars .route-axis span:nth-child(even) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sypb-route-bars .route-fill { transition: none; }
}

/* ──────────────────────────────────────────────
   CREDENTIALS / TRUST STRIP
   Four verifiable trust signals on the homepage,
   each card linking to the official register.
   ────────────────────────────────────────────── */
.sypb-credentials {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
}
.sypb-credentials .cred-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.sypb-credentials .cred-heading {
  text-align: center;
  margin-bottom: 2.25rem;
}
.sypb-credentials .cred-title {
  font-size: 1.65rem;
  color: var(--heading);
  margin: 0.6rem 0 0.4rem;
  line-height: 1.25;
  font-weight: 600;
}
@media (max-width: 640px) {
  .sypb-credentials { padding: 2.5rem 1rem; }
  .sypb-credentials .cred-title { font-size: 1.35rem; }
}
.sypb-credentials .cred-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}
.sypb-credentials .cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 900px) { .sypb-credentials .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sypb-credentials .cred-grid { grid-template-columns: 1fr; } }
.sypb-credentials .cred-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.sypb-credentials .cred-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28,107,64,0.09);
}
.sypb-credentials .cred-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.sypb-credentials .cred-value {
  font-size: 1.15rem;
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.sypb-credentials .cred-meta {
  font-size: 0.82rem;
  color: var(--body-text);
  line-height: 1.5;
  margin-top: 0.2rem;
}
.sypb-credentials .cred-footnote {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ──────────────────────────────────────────────
   QUICK-ANSWER CARD — dark-mode legibility
   The blocks carry inline light-mode styles
   (background:#f3f4f6), so dark mode needs
   !important to win over the inline attribute.
   ────────────────────────────────────────────── */
html[data-theme="dark"] .quick-answer {
  background: var(--surface-card) !important;
  border-left-color: #2ea98a !important;
}
html[data-theme="dark"] .quick-answer p {
  color: #d9e5dc !important;
}
