/* West Palm Media — shared stylesheet
   Tokens derived from the approved logo color scheme.
   Contrast: #073B63 on #FF8A1F ≈ 4.91:1 · #006CB8 on #fff ≈ 5.47:1 · #187441 on #fff ≈ 5.81:1 */

:root {
  --blue-deep: #073B63;
  --blue: #006CB8;
  --blue-soft: #EFF6FC;
  --green: #187441;
  --green-soft: #EAF5EF;
  --orange: #FF8A1F;
  --orange-deep: #E07000;
  --white: #FFFFFF;
  --ink: #22303C;
  --ink-soft: #3D4C5C;
  --ink-faint: #5B6E7F;
  --line: #D7E0E8;
  --bg-soft: #F4F8FB;
  --error: #B42318;
  --error-bg: #FBEAE8;
  --ok-bg: #E6F4EC;
  --shadow: 0 2px 14px rgba(7, 59, 99, 0.08);
  --radius: 12px;
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--blue-deep);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.45em; }

a { color: var(--blue); }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  background: var(--blue-deep);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--orange); color: var(--blue-deep); }
.btn-primary:hover { background: var(--orange-deep); color: var(--blue-deep); filter: none; }

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue-soft); color: var(--blue-deep); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.brand-link { display: inline-flex; align-items: center; }
.brand-link img { height: 46px; width: auto; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a, .site-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 1rem;
  font-family: inherit;
}

.site-nav a:hover, .site-nav summary:hover { background: var(--blue-soft); color: var(--blue-deep); }
.site-nav a[aria-current="page"] { color: var(--blue-deep); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }

.nav-drop { position: relative; }
.nav-drop summary::after {
  content: "";
  width: 8px; height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}
.nav-drop[open] summary::after { transform: rotate(225deg) translateY(-2px); }

.nav-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.nav-panel .nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-panel a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-panel a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.nav-panel .nav-group-label {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 8px 12px 2px;
}

.header-cta .btn { min-height: 44px; padding: 9px 18px; font-size: 0.95rem; }

@media (max-width: 899px) {
  .nav-panel {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 10px;
  }
  .nav-panel .nav-grid { grid-template-columns: 1fr; }
  .site-nav a, .site-nav summary { min-height: 44px; }
}

/* ---------- Hero / page head ---------- */

.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 55%, #EAF3F9 100%);
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.6rem, 7vw, 4.2rem);
}

.hero h1 { max-width: 820px; margin-inline: auto; }
.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 auto 0.4em;
}
.hero .btn-row { justify-content: center; }

.hero-wave { display: block; width: 100%; height: 56px; margin-top: clamp(1.5rem, 5vw, 3rem); color: var(--bg-soft); }

.page-head {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 70%, #EAF3F9 100%);
  padding: clamp(2.4rem, 6vw, 3.8rem) 0;
}
.page-head h1 { max-width: 860px; }
.page-head .lede { color: var(--ink-soft); font-size: 1.15rem; max-width: 720px; }

.crumbs { font-size: 0.9rem; margin: 0 0 1.2rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; color: var(--ink-faint); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--ink-faint); }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--blue-deep); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(2.8rem, 7vw, 4.6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-soft); }
.section h2 { max-width: 760px; }
.section .sec-sub { color: var(--ink-soft); max-width: 720px; margin-bottom: 2rem; }

.prose p { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul li, .prose ol li { color: var(--ink); }

.two-col { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 5vw, 3rem); align-items: start; }
@media (max-width: 899px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
}
.card[data-accent="green"] { border-top-color: var(--green); }
.card[data-accent="orange"] { border-top-color: var(--orange); }
.card h3 { margin-bottom: 0.5em; }
.card p { margin-bottom: 0.8em; color: var(--ink-soft); }
.card .card-link { font-weight: 700; color: var(--blue); text-decoration: none; }
.card .card-link:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }

.more-services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }
.more-services a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
}
.more-services a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  counter-reset: step;
  list-style: none;
  margin: 0; padding: 0;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--blue-deep);
  font-weight: 800;
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Pills (towns) ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
}
.pills a:hover { background: var(--blue-soft); color: var(--blue-deep); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--blue-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-a { padding: 0 20px 18px; color: var(--ink); }
.faq-list .faq-a > p:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */

.band {
  background: var(--blue-deep);
  color: var(--white);
  padding-block: clamp(2.8rem, 7vw, 4.4rem);
}
.band .container { text-align: center; }
.band h2 { color: var(--white); max-width: 760px; margin-inline: auto; }
.band p { color: #D9E6F2; max-width: 640px; margin-inline: auto; }
.band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--blue-deep);
  color: #C9D8E8;
  padding: clamp(2.4rem, 6vw, 3.6rem) 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: #C9D8E8; margin-bottom: 0.6em; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.88rem;
  color: #AFC4D8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-disclosure { max-width: 720px; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--bg-soft);
  color: var(--blue-deep);
  font-weight: 700;
}
table.data tr:last-child td { border-bottom: 0; }
table.data a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 32px);
  max-width: 720px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--ink-faint); font-size: 0.9rem; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-faint);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err {
  display: block;
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 5px;
}

.form-status {
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-status.err { background: var(--error-bg); color: var(--error); border: 1px solid var(--error); }
.form-status.ok { background: var(--ok-bg); color: var(--blue-deep); border: 1px solid var(--green); }
.form-status ul { margin: 0.4em 0 0; padding-left: 1.2em; }

.form-note { font-size: 0.9rem; color: var(--ink-faint); margin-top: 14px; }

.success-panel {
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 40px);
  max-width: 720px;
}
.success-panel h1 { color: var(--green); }

/* ---------- Utility ---------- */

.callout {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 1.4rem 0;
}
.callout.green { background: var(--green-soft); border-left-color: var(--green); }
.callout p { margin: 0; color: var(--ink); }

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 10px;
}

.accent-underline {
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: var(--orange);
  margin: 0 0 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
