:root {
  --primary: #2d5a3f;
  --primary-dark: #1e3d29;
  --accent: #4a7c59;
  --light-bg: #f4f7f5;
  --surface-alt: #eef3f0;
  --text-main: #233329;
  --text-muted: #52665b;
  --white: #ffffff;
  --border-color: #d8e2dc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img { max-width: 100%; height: auto; }

/* Single Clean Header with Horizontal Brand Lockup & Dropdown */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: env(safe-area-inset-top);
  z-index: 1000;
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  display: block;
  height: 44px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}
.logo-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  margin: 0;
}
.nav-links > li { display: flex; align-items: center; position: relative; }
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-caret { font-size: 0.75rem; margin-left: 0.25rem; color: var(--text-muted); }

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 255px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(25, 50, 35, 0.1);
  list-style: none;
  padding: 0.45rem 0;
  z-index: 1050;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: block;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.dropdown-menu li { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.91rem;
  color: var(--text-main);
}
.dropdown-menu a:hover {
  background: var(--light-bg);
  color: var(--primary-dark);
}

.nav-links .btn-primary {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
}
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: var(--white); }

/* Breadcrumb Navigation */
.breadcrumb-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.55rem 2rem;
  font-size: 0.87rem;
}
.breadcrumb-list {
  max-width: 1160px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}
.breadcrumb-list li + li::before {
  content: "›";
  margin-right: 0.45rem;
  color: var(--text-muted);
}
.breadcrumb-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list [aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  transition: background-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-outline {
  background-color: var(--white);
  color: var(--primary-dark);
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  border: 1px solid var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  transition: background-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-outline:hover { background-color: var(--light-bg); }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 2rem;
  text-align: center;
}
.hero-content { max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-size: 2.35rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.hero-subtitle {
  font-size: 1.12rem;
  font-weight: 600;
  color: #cfe0d6;
  margin-bottom: 0.9rem;
  line-height: 1.4;
}
.hero p {
  font-size: 1.1rem;
  color: #e2ede7;
  margin: 0 auto 2rem;
  max-width: 680px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary {
  background-color: var(--white);
  color: var(--primary-dark);
}
.hero .btn-primary:hover { background-color: var(--light-bg); }
.hero .btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.hero .btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); }

/* Sections & Cards */
.section { max-width: 1160px; margin: 0 auto; padding: 4.5rem 2rem; }
.section-tinted, .service-area {
  background: var(--light-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.section-intro h2 {
  color: var(--primary-dark);
  font-size: 1.85rem;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.section-intro p { color: var(--text-muted); font-size: 1.02rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 1.75rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 10px;
  padding: 1.85rem;
  box-shadow: 0 4px 14px rgba(25, 50, 35, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(25, 50, 35, 0.08); }
}
.card h3 { color: var(--primary-dark); margin-bottom: 0.6rem; font-size: 1.2rem; line-height: 1.3; }
.card p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.96rem; }
.card ul { color: var(--text-muted); margin: 0 0 1.4rem 1.15rem; font-size: 0.94rem; }
.card li { margin-bottom: 0.35rem; }
.card .btn-primary { align-self: stretch; text-align: center; }

/* Authority Two-Column Section */
.authority-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.75rem; align-items: stretch; }
.authority-box {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1.85rem 2rem;
}
.authority-box h3 { color: var(--primary-dark); margin-bottom: 0.65rem; font-size: 1.22rem; }
.authority-box p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.97rem; }
.authority-box ul { color: var(--text-muted); margin-left: 1.2rem; font-size: 0.95rem; }
.authority-box li { margin-bottom: 0.4rem; }
.authority-box a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* Comparison Table & Definition Lists (Task 3) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(25, 50, 35, 0.04);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
  font-size: 0.95rem;
}
.comparison-table th {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 600;
  padding: 0.95rem 1.1rem;
  border-bottom: 2px solid var(--primary);
}
.comparison-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  vertical-align: top;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--light-bg); }
.comparison-table td strong { color: var(--primary-dark); }

.solutions-dl {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.solutions-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 8px rgba(25, 50, 35, 0.03);
}
.solutions-item dt {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
}
.solutions-item dd {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin: 0;
}

.place-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 0.6rem 1rem;
  list-style: none;
  max-width: 920px;
  margin: 0 auto;
}
.place-list li {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  padding: 0.6rem 0.85rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
}
.place-list a { color: var(--primary-dark); text-decoration: none; display: block; }
.place-list a:hover { text-decoration: underline; }
.area-note { max-width: 760px; margin: 1.5rem auto 0; text-align: center; color: var(--text-muted); font-size: 0.95rem; }

/* FAQ Accordion & Pillar Q&A Blocks */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 0.85rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  box-shadow: 0 2px 6px rgba(25, 50, 35, 0.02);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.35;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.96rem;
}

/* Lead Capture Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 6px 18px rgba(25, 50, 35, 0.05);
  max-width: 680px;
  margin: 0 auto;
}
.form-grid { display: grid; gap: 1.2rem; }
.form-field label { display: block; font-weight: 600; color: var(--text-main); margin-bottom: 0.4rem; font-size: 0.95rem; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-main);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.14);
}
.interest-fieldset { border: 1px solid var(--border-color); border-radius: 6px; padding: 0.9rem 1.1rem; }
.interest-fieldset legend { font-weight: 600; color: var(--text-main); padding: 0 0.35rem; font-size: 0.94rem; }
.interest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0.55rem 1rem; margin-top: 0.35rem; }
.interest-option { display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); font-size: 0.93rem; cursor: pointer; }
.interest-option input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.consent-note { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

[id] { scroll-margin-top: 5.5rem; }

/* Footer */
footer { background: var(--primary-dark); color: var(--white); padding: 3rem 2rem 1.5rem; margin-top: 0; }
.footer-content { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-content h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--white); }
.footer-links { list-style: none; margin-top: 0.5rem; display: grid; gap: 0.35rem; font-size: 0.93rem; }
.footer-links a { text-decoration: none; color: #b7c9bf; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { max-width: 1160px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; text-align: center; font-size: 0.88rem; color: #b7c9bf; }
footer a { color: #b7c9bf; }
footer p, .footer-bottom { overflow-wrap: anywhere; font-size: 0.93rem; }
input, textarea, select, button { font: inherit; font-size: 1rem; }
input, textarea, select { width: 100%; max-width: 100%; }

/* Tablet & Mobile Responsive */
@media (max-width: 860px) {
  .nav-container { flex-direction: column; align-items: stretch; gap: 0.65rem; padding: 0.75rem 1rem; }
  .logo { justify-content: center; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.85rem; }
  .nav-links > li > a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0.3rem 0.25rem; }
  .nav-dropdown { position: relative; }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    min-width: min(260px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    margin-top: 0;
  }
  .dropdown-menu a { white-space: normal; }
  .nav-cta-item { flex: 1 1 100%; }
  .nav-links .btn-primary { width: 100%; text-align: center; }
  .breadcrumb-bar { padding: 0.5rem 1rem; }
  .hero { padding: 2.75rem 1.15rem; }
  .hero h1 { font-size: 1.72rem; }
  .hero-subtitle { font-size: 1.04rem; }
  .section-intro h2 { font-size: 1.5rem; }
  [id] { scroll-margin-top: 13.5rem; }
  .hero p { font-size: 1.02rem; }
  .section { padding: 2.5rem 1.15rem; }
  .card, .faq-item, .form-card, .authority-box, .solutions-item { padding: 1.35rem; }
  .hero .btn-primary, .hero .btn-outline, .card .btn-primary, button.btn-primary { width: 100%; text-align: center; align-self: stretch; }
  footer .footer-content a { display: inline-flex; align-items: center; min-height: 40px; }
}
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0 0 0.75rem; font-style: italic; }
.testimonial figcaption { font-size: 0.95rem; color: var(--primary); }

/* Footer Areas We Serve */
.footer-areas { max-width: 1160px; margin: 0 auto 2.25rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-areas h2 { font-size: 1.25rem; color: var(--white); margin-bottom: 0.35rem; }
.footer-areas > p { color: #b7c9bf; font-size: 0.93rem; margin-bottom: 1.25rem; }
.footer-areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem 2rem; }
.footer-areas h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 0.25rem; }

/* E-E-A-T Agent Bio */
.agent-bio-section { padding-top: 0; }
.section-tinted + .agent-bio-section { padding-top: 3rem; }
.agent-bio { max-width: 860px; margin: 0 auto; display: flex; gap: 1.5rem; align-items: flex-start; background: var(--white); border: 1px solid var(--border-color); border-left: 4px solid var(--primary); border-radius: 8px; padding: 1.75rem; }
.agent-bio-photo { flex: 0 0 120px; }
.agent-bio-photo img, .agent-bio-initials { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.agent-bio-initials { background: var(--light-bg); border: 2px solid var(--border-color); color: var(--primary-dark); font-size: 2rem; font-weight: 700; letter-spacing: 0.05em; }
.agent-bio-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 0.2rem; }
.agent-bio h2 { color: var(--primary-dark); font-size: 1.45rem; margin-bottom: 0.15rem; }
.agent-bio-role { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.8rem; }
.agent-bio-body > p:not(.agent-bio-kicker):not(.agent-bio-role) { color: var(--text-main); margin-bottom: 1rem; }
.agent-bio-credentials { list-style: none; display: grid; gap: 0.45rem; font-size: 0.93rem; color: var(--text-muted); }
.license-verify-form { display: inline; }
.license-verify-link { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 700; text-decoration: underline; cursor: pointer; }
.license-verify-link:hover { color: var(--primary-dark); }
.agent-bio-note { display: block; font-size: 0.85rem; }
.agent-bio-note a { color: var(--primary); }
@media (max-width: 860px), (hover: none), (pointer: coarse) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: none;
  }
  .nav-dropdown.is-open .dropdown-menu,
  .nav-dropdown.is-open:hover .dropdown-menu,
  .nav-dropdown.is-open:focus-within .dropdown-menu {
    display: block;
  }
}
@media (max-width: 860px) {
  .agent-bio { flex-direction: column; align-items: center; text-align: center; padding: 1.35rem; }
  .agent-bio-photo { flex-basis: auto; }
  .license-verify-link { min-height: 40px; }
}
