:root {
  --green-950: #102f43;
  --green-850: #153b52;
  --green-700: #5f7a65;
  --sage: #8fb184;
  --green-100: #e7eee9;
  --gold: #6f876f;
  --gold-soft: #dce7dd;
  --cream: #f4f8f5;
  --paper: #fbfdfb;
  --ink: #172735;
  --muted: #657477;
  --line: #d3ddd7;
  --shadow: 0 18px 45px rgba(16, 47, 67, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--green-950);
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 177, 132, 0.18), transparent 28%),
    linear-gradient(90deg, #0b2b3b, #17384a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(16, 47, 67, 0.22);
}

.nav-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.05rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: white;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #a8c59d, #6e9567);
  border: 0;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0;
  padding: 0.58rem;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  letter-spacing: 0.7em;
  text-align: center;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1rem;
  font-weight: 650;
}

.site-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--sage);
}

.facebook-link {
  padding: 0.9rem 1.4rem;
  color: #fff !important;
  background: linear-gradient(135deg, #9cbf91, #789f72);
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(8, 26, 37, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-950);
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  overflow: hidden;
  color: var(--green-950);
  background:
    radial-gradient(circle at 96% 20%, rgba(143, 177, 132, 0.22), transparent 28%),
    linear-gradient(90deg, #f6f0e8, #f8fbf7);
}

.hero-image,
.hero-overlay {
  width: 100%;
}

.hero-image {
  display: block;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: left center;
}

.hero-overlay {
  display: none;
}

.hero-content {
  display: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 6.2vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 1.35rem 0 0;
  color: #1a3850;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, #83ab7a, #608b5f);
  border-color: #608b5f;
}

.button.secondary {
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--green-950);
}

.button.secondary.dark {
  color: var(--green-950);
  background: transparent;
  border-color: var(--green-950);
}

.intro-band {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(16, 47, 67, 0.08);
}

.intro-item {
  padding: 1.35rem 1.4rem 1.55rem;
  text-align: center;
}

.intro-item + .intro-item {
  border-left: 1px solid var(--line);
}

.intro-item span {
  width: 70px;
  height: 70px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.6rem;
  color: white;
  background: linear-gradient(135deg, #83ab7a, #5f875d);
  border-radius: 50%;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.intro-item h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.intro-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.8rem 1.25rem;
}

.compact-section {
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}

.page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.25rem 3.2rem;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-title {
  margin: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.two-column,
.portal-preview,
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 1.08rem;
  line-height: 1.25;
}

.copy-block p,
.section-heading p,
.portal-preview p,
.contact-panel p {
  color: var(--muted);
}

.copy-block p:first-child,
.section-heading p:first-of-type {
  margin-top: 0;
}

.note,
.fine-print {
  color: var(--green-700);
  font-size: 0.95rem;
  font-weight: 650;
}

.muted {
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  background: var(--cream);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 220px;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card h2,
.steps h2 {
  margin: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.service-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.steps h2 {
  font-size: 1.2rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.steps li {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, white, var(--cream));
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  color: white;
  background: var(--green-850);
  border-radius: 50%;
  font-weight: 800;
}

.steps p {
  color: var(--muted);
}

.portal-preview {
  background: var(--green-950);
  color: white;
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
}

.portal-preview h2,
.portal-preview p {
  color: white;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  background: white;
}

summary {
  min-height: 54px;
  padding: 1rem 1.15rem;
  cursor: pointer;
  color: var(--green-950);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

.contact-section {
  max-width: none;
  background: var(--cream);
  padding-left: max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
}

.contact-panel {
  max-width: 1120px;
  margin: 0 auto;
}

.contact-list {
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-warning {
  padding: 0.9rem;
  color: #5a3100;
  background: #fff3d6;
  border: 1px solid #e0b760;
  font-weight: 700;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--green-950);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  padding: 0.78rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(199, 154, 69, 0.45);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green-700);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(1.25rem, calc((100vw - 1120px) / 2 + 1.25rem));
  color: rgba(255, 255, 255, 0.84);
  background: var(--green-950);
}

.site-footer p {
  margin: 0.15rem 0 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1rem;
    background: var(--green-950);
    border-bottom: 1px solid var(--line);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.85rem 0;
  }

  .facebook-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 0;
    height: auto;
    object-position: left top;
  }

  .two-column,
  .portal-preview,
  .contact-panel,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .intro-band {
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .intro-item + .intro-item {
    border-left: 1px solid var(--line);
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 0;
    height: auto;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

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

  .intro-item {
    padding: 1rem 0.75rem;
  }

  .intro-item:nth-child(odd) {
    border-left: 0;
  }

  .intro-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contact-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
