/* ===== EDIT ME: brand colors. All pass WCAG AA contrast on their backgrounds. ===== */
:root {
  --brand: #0b5e57;        /* deep teal */
  --brand-dark: #08433e;
  --accent: #f4c95d;       /* warm yellow */
  --bg: #ffffff;
  --bg-alt: #f1f7f6;
  --text: #1c2b2a;
  --muted: #4a5d5b;
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 64px; /* room for mobile bar */
}
@media (min-width: 760px) { body { padding-bottom: 0; } }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.small { font-size: .9rem; color: var(--muted); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e3ecea; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--brand-dark); text-decoration: none; font-size: 1.1rem; }
.brand-mark { color: var(--brand); font-size: 1.3rem; }
.nav-list { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.nav-list a { text-decoration: none; font-weight: 500; }
@media (max-width: 759px) { .nav-list li:not(:last-child) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; border: 2px solid var(--brand);
  cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-small { padding: .5rem 1rem; color: #fff !important; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--bg-alt) 0%, #dff0ed 100%); padding: 4.5rem 0 4rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: var(--brand); margin: 0 0 .5rem; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; margin: 0 0 1rem; color: var(--brand-dark); }
.lede { font-size: 1.2rem; max-width: 38rem; color: var(--muted); margin: 0 0 1.75rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 .5rem; color: var(--brand-dark); }
.section-intro { color: var(--muted); margin: 0 0 2rem; }
h3 { margin: 0 0 .5rem; color: var(--brand-dark); }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid #dde9e7; border-radius: var(--radius); padding: 1.5rem; margin: 0; }
.card ul { padding-left: 1.2rem; margin: .5rem 0 0; }

.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote blockquote p::before { content: "“"; color: var(--brand); font-size: 2rem; line-height: 0; vertical-align: -.4em; margin-right: .1em; }
.quote figcaption { margin-top: 1rem; font-weight: 700; color: var(--brand-dark); }

.about { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .about { grid-template-columns: 1.4fr 1fr; } }
.service-area { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid #dde9e7; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { background: var(--bg-alt); border: 1px solid #cfe2df; border-radius: 999px; padding: .3rem .85rem; font-weight: 500; }

/* FAQ */
details { background: #fff; border: 1px solid #dde9e7; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: .75rem; }
summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); }
details p { margin: .75rem 0 0; }

/* Quote form */
.quote-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: .5rem; }
.label { display: block; font-size: .85rem; color: var(--muted); }
.quote-form { background: var(--bg-alt); padding: 1.5rem; border-radius: var(--radius); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid #8fa8a5; border-radius: 8px;
  font: inherit; color: var(--text); background: #fff;
}
.form-error { color: #a4161a; font-weight: 600; }

/* Footer */
.site-footer { background: var(--brand-dark); color: #e8f3f1; padding: 2rem 0; }
.site-footer a { color: #fff; }
.site-footer .small { color: #c4dcd8; }
.footer-inner p { margin: .3rem 0; }

/* Mobile sticky bar */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: var(--brand-dark); z-index: 60; }
.mobile-cta a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 700; padding: 1rem 0; border-right: 1px solid rgba(255,255,255,.2); }
.mobile-cta a:last-child { border-right: 0; background: var(--brand); }
@media (min-width: 760px) { .mobile-cta { display: none; } }
