/* ============================================================
   Foundational — fonts, design tokens, resets.
   Loaded by the layout on every page so chrome renders identically.
   ============================================================ */
@font-face { font-family: "Josefin Sans"; src: url("/fonts/josefin-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --primary-green: #73B96B;
  --primary-green-hover: #5DA856;
  --secondary-blue: #00384D;
  --secondary-blue-hover: #002a3a;
  --ink: #1F1F1B; --ink-soft: #3F3E36;
  --paper: #FFFFFF; --paper-deep: #F4F9F1; --paper-card: #FFFFFF;
  --green-real: #83C57E; --green-deep: #73B96B; --green-darker: #00384D;
  --clay: #73B96B; --clay-soft: #D9EAD4; --gold: #D89B26; --navy: #00384D;
  --rule: rgba(31,31,27,0.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: "Josefin Sans", "Inter", system-ui, sans-serif; min-height: 100vh; }
a { color: inherit; }
.page { background: var(--paper); }

/* Inline phone icon used in headers + CTAs */
.icon-phone { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex-shrink: 0; }
a .icon-phone, button .icon-phone { margin-right: 0.5em; }

/* ============================================================
   V3.2 SHARED CHROME - banner / header / mobile drawer / footer
   Injected on all inner pages so chrome is consistent + working.
   ============================================================ */

/* Banner / header / footer SHOW-HIDE by breakpoint (no .page wrapper needed) */
@media (max-width: 768px) {
  .page > .banner,
  .page > header.header { display: none !important; }
}
@media (min-width: 769px) {
  .page > .m-banner,
  .page > header.m-header,
  .page > .m-nav-overlay { display: none !important; }
}

/* Desktop banner */
.banner { background: var(--secondary-blue, #00384D); color: #fff; font-family: "Josefin Sans", sans-serif; font-weight: 500; font-size: 13.5px; letter-spacing: 0.06em; line-height: 1.5; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 13px 24px; white-space: nowrap; }
.banner-stars { color: #FFD970; letter-spacing: 0.06em; }
.banner .sep { opacity: 0.45; }
.banner-strong { font-weight: 700; letter-spacing: 0.06em; }

/* Desktop header */
.header { display: flex; align-items: center; justify-content: space-between; padding: 20px max(56px, calc((100% - 1328px) / 2)); border-bottom: 1px solid rgba(31,31,27,0.16); background: #fff; line-height: 1.4; }
.header .logo img { height: 78px; width: auto; display: block; }
.header .nav { display: flex; gap: 34px; font-family: "Josefin Sans", sans-serif; font-weight: 500; font-size: 15px; }
.header .nav a { color: var(--ink, #1F1F1B); text-decoration: none; padding-bottom: 3px; position: relative; }
.header .nav a.active:after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--primary-green, #73B96B); border-radius: 999px; }
.header .header-ctas { display: flex; align-items: center; gap: 16px; }
.header .header-phone { font-weight: 700; font-size: 17px; color: var(--ink, #1F1F1B); text-decoration: none; }
.header .header-btn { background: var(--primary-green, #73B96B); color: #fff; padding: 13px 26px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-radius: 999px; transition: background 0.2s; font-family: "Josefin Sans", sans-serif; }
.header .header-btn:hover { background: var(--primary-green-hover, #5DA856); }

/* Services dropdown nav */
.nav .nav-services { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.nav .nav-services > a::after { content: " ▾"; font-size: 11px; opacity: 0.6; }
.nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: var(--paper, #fff);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31,31,27,0.18);
  min-width: 260px;
  padding: 8px 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.4s;
}
.nav .nav-services:hover .nav-dropdown,
.nav .nav-services:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.nav .nav-dropdown a { display: block; padding: 10px 18px; font-family: "Josefin Sans", "Inter", system-ui, sans-serif; font-weight: 500; font-size: 14.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav .nav-dropdown a:hover { background: rgba(115,185,107,0.08); color: var(--green-deep, #73B96B); }
.nav .nav-dropdown a::after { content: ""; display: none; }
@media (max-width: 768px) {
  .nav .nav-services { padding-bottom: 0; margin-bottom: 0; }
  .nav .nav-dropdown { display: none; }
}

/* Mobile banner */
.m-banner { background: var(--secondary-blue, #00384D); color: #fff; font-family: "Josefin Sans", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 10px; white-space: nowrap; }
.m-banner-stars { color: #FFD970; }
.m-banner-strong { font-weight: 700; }
.m-banner .m-sep { opacity: 0.5; }

/* Mobile header */
.m-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(31,31,27,0.16); background: #fff; }
.m-header .m-logo img { height: 56px; width: auto; display: block; }
.m-header .m-header-ctas { display: flex; align-items: center; gap: 8px; }
.m-header .m-header-call { background: var(--primary-green, #73B96B); color: #fff; padding: 11px 16px; border-radius: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: "Josefin Sans", sans-serif; }
.m-header .m-header-hamburger { width: 40px; height: 40px; background: var(--ink, #1F1F1B); color: #fff; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 0; padding: 0; }
.m-header .m-header-hamburger span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.m-header .m-header-hamburger span:before, .m-header .m-header-hamburger span:after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; }
.m-header .m-header-hamburger span:before { top: -6px; }
.m-header .m-header-hamburger span:after { top: 6px; }

/* Mobile drawer overlay */
.m-nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.40); z-index: 100; }
.m-nav-overlay.is-open { display: block; }
.m-nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 300px; background: #fff; transform: translateX(100%); transition: transform 0.25s ease; z-index: 101; padding: 24px 24px 32px; display: flex; flex-direction: column; gap: 0; box-shadow: -20px 0 50px rgba(0,0,0,0.18); overflow-y: auto; }
.m-nav-overlay.is-open .m-nav-drawer { transform: translateX(0); }
.m-nav-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.m-nav-drawer-close { background: none; border: 0; font-size: 28px; line-height: 1; color: var(--ink, #1F1F1B); cursor: pointer; padding: 4px 8px; font-family: inherit; }
.m-nav-drawer a { display: block; padding: 14px 0; font-family: "Josefin Sans", sans-serif; font-weight: 600; font-size: 16px; color: var(--ink, #1F1F1B); text-decoration: none; border-bottom: 1px solid rgba(31,31,27,0.16); }
.m-nav-drawer a:last-child { border-bottom: 0; }
.m-nav-drawer-cta { background: var(--primary-green, #73B96B) !important; color: #fff !important; text-align: center; border-radius: 8px; margin-top: 18px; padding: 14px 20px !important; border: 0 !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; font-size: 14px !important; }
.m-nav-section-head { font-family: "Josefin Sans", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(31,31,27,0.55); padding: 14px 0 6px; border-bottom: 0 !important; }

/* ===== Footer (s10) ===== */
.s10 { background: var(--ink, #1F1F1B); color: #fff; padding: 64px 56px 36px; font-family: "Josefin Sans", sans-serif; }
.s10-inner { max-width: 1240px; margin: 0 auto; }
.s10-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.s10-brand-col { display: flex; flex-direction: column; gap: 18px; }
.s10-logo-wrap { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--green-real, #83C57E); width: fit-content; }
.s10-logo { height: 80px; width: auto; display: block; filter: brightness(0) invert(1); }
.s10-brand-name { font-weight: 700; font-size: 14px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--green-real, #83C57E); margin: 0; }
.s10-nap { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; }
.s10-nap-row { display: flex; flex-direction: column; gap: 2px; }
.s10-nap-label { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,246,233,0.55); }
.s10-nap-value { font-weight: 400; font-size: 14px; line-height: 1.55; color: rgba(251,246,233,0.85); }
a.s10-nap-link { font-weight: 500; font-size: 15px; line-height: 1.45; color: #fff; text-decoration: none; }
a.s10-nap-link:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--green-real, #83C57E); }
.s10-address-line { display: block; }
.s10-col h4 { font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: 0.10em; text-transform: uppercase; color: var(--green-real, #83C57E); margin: 0 0 18px; }
.s10-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.s10-list li { font-weight: 400; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.92); }
.s10 .s10-list a, .s10-list a { color: rgba(255,255,255,0.92) !important; text-decoration: none !important; }
.s10 .s10-list a:hover, .s10-list a:hover { color: var(--green-real, #83C57E) !important; }
.s10-list .s10-list-note { font-style: italic; color: rgba(251,246,233,0.62); }
.s10-col--meta { display: flex; flex-direction: column; gap: 28px; }
.s10-social { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.s10-social li { display: flex; }
.s10-social a, .s10-social-disabled { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: rgba(251,246,233,0.85); text-decoration: none; }
.s10-social a:hover { color: var(--green-real, #83C57E); }
.s10-social-disabled { color: rgba(251,246,233,0.55); cursor: default; }
.s10-social-icon { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s10-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.s10-copy, .s10-legal { font-weight: 400; font-size: 13px; line-height: 1.5; color: rgba(251,246,233,0.55); margin: 0; }
.s10-legal { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.s10-legal a { color: rgba(251,246,233,0.55); text-decoration: none; }
.s10-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.s10-legal .s10-legal-sep { opacity: 0.6; }
.s10-credit { margin-top: 12px; font-weight: 400; font-size: 12px; color: rgba(251,246,233,0.38); flex-basis: 100%; text-align: left; }
@media (max-width: 1024px) {
  .s10 { padding: 56px 36px 32px; }
  .s10-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .s10-col--meta { grid-column: 1 / -1; flex-direction: row; gap: 56px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.10); margin-top: 8px; }
}
@media (max-width: 720px) {
  .s10 { padding: 40px 18px 28px; }
  .s10-grid { grid-template-columns: 1fr; gap: 0; }
  .s10-col { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.10); }
  .s10-brand-col { padding: 0 0 24px; gap: 18px; border-top: none; }
  .s10-col--meta { flex-direction: column; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.10); margin-top: 0; }
  .s10-logo { height: 68px; }
  .s10-address-line { display: block; }
  .s10-bottom { margin-top: 28px; padding-top: 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .s10-copy, .s10-legal { font-size: 12.5px; }
  .s10-credit { margin-top: 6px; }
}

/* ============================================================
   Shared Final CTA — rendered by <FinalCta /> in the layout
   ============================================================ */
.final-cta {
  background: var(--green-darker, #00384D);
  color: var(--paper, #fff);
  padding: 72px max(56px, calc((100% - 1328px) / 2));
  text-align: center;
  border-top: 1px solid rgba(131,197,126,0.18);
}
.final-cta-eyebrow {
  font-family: "Josefin Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-real, #83C57E);
  margin-bottom: 12px;
}
.final-cta-h2 {
  font-family: "Josefin Sans", "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  color: var(--paper, #fff);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.final-cta-trust {
  color: rgba(251,246,233,0.86);
  font-family: "Josefin Sans", "Inter", system-ui, sans-serif;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.final-cta-row {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.final-cta-primary {
  background: var(--clay, #73B96B);
  color: var(--paper, #fff);
  padding: 17px 30px;
  font-family: "Josefin Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(115,185,107,0.28);
  display: inline-block;
  transition: background 0.2s;
}
.final-cta-primary:hover { background: var(--green-deep, #5DA856); }
.final-cta-secondary {
  background: transparent;
  color: var(--paper, #fff);
  padding: 17px 26px;
  font-family: "Josefin Sans", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--paper, #fff);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.final-cta-secondary:hover {
  background: var(--clay, #73B96B);
  color: var(--paper, #fff);
  border-color: var(--clay, #73B96B);
}
.final-cta-secondary .icon-phone { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .final-cta { padding: 48px 18px; }
  .final-cta-h2 { font-size: 30px; }
  .final-cta-primary,
  .final-cta-secondary { width: 100%; text-align: center; justify-content: center; }
}
