/* Oakstone: shared styles for every page. */
:root {
  --forest: #1f4d36;
  --forest-dark: #163a28;
  --moss: #5f7f5c;
  --sage: #e8efe6;
  --paper: #f7f5f0;
  --white: #ffffff;
  --charcoal: #23282b;
  --text: #2b3134;
  --muted: #56605c;
  --line: #dcd9cf;
  --clay: #8a4a1f;
  --clay-bg: #fbf1e7;
  --error: #a4261d;
  --error-bg: #fbecea;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 2px; }
a:hover { color: var(--forest-dark); }
:focus-visible { outline: 3px solid #d98a4b; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--charcoal); line-height: 1.18; margin: 0; }
h1 { font-size: clamp(32px, 5.2vw, 50px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 21px; }
p, ul, ol { margin: 0 0 14px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -10000px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: var(--radius); z-index: 30; }
.skip-link:focus { left: 8px; }

/* Top notice and header */
.notice { background: var(--charcoal); color: #eef0ec; font-size: 14px; line-height: 1.4; padding: 7px 0; text-align: center; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--charcoal); margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand strong { font: 700 20px/1.1 var(--serif); display: block; }
.brand small { font-size: 12.5px; color: var(--muted); display: block; margin-top: 2px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 15.5px; padding: 4px 0; }
.site-nav a:hover { color: var(--forest); text-decoration: underline; }

/* Buttons */
.button {
  display: inline-block;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  font: 700 16.5px/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--forest-dark); color: var(--white); }
.button:disabled { opacity: .65; cursor: wait; }
.button-small { padding: 10px 16px; font-size: 15px; }

/* Hero */
.hero { background: var(--forest-dark); color: var(--white); }
.hero-grid { display: grid; gap: 22px; padding-top: 30px; padding-bottom: 36px; }
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero-lede { font-size: 19px; line-height: 1.5; color: #f1f4ef; margin-bottom: 16px; }
.hero-figure { margin: 0 0 14px; }
.hero-figure img { width: 100%; height: 170px; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.hero-figure figcaption { font-size: 12.5px; color: #c6d3c5; margin-top: 5px; }
.ticks { list-style: none; padding: 0; margin: 0 0 14px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 7px; }
.ticks li::before { content: "\2713"; position: absolute; left: 2px; font-weight: 700; color: #a9d6a8; }
.hero-disclosure { font-size: 15px; color: #dfe6dd; margin: 0; }
.safety { background: var(--clay-bg); color: #5c3112; border-radius: var(--radius); padding: 11px 15px; font-size: 15.5px; margin: 0; }

/* Quote form */
.form-card { background: var(--white); color: var(--text); border-radius: 10px; padding: 24px 22px; box-shadow: 0 14px 40px rgba(0, 0, 0, .28); scroll-margin-top: 14px; }
.form-card:focus { outline: none; }
.form-card h2 { font-size: 26px; margin-bottom: 4px; }
.form-intro { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 4px; color: var(--charcoal); }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: 14px; line-height: 1.4; color: var(--muted); margin: 0 0 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #8e948c;
  border-radius: 6px;
}
.field textarea { min-height: 70px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { color: var(--error); font-size: 14.5px; font-weight: 600; margin: 5px 0 0; }
.field-error[hidden] { display: none; }
.two { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 12px; }
.consent-box { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin-bottom: 12px; }
.consent-box label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.consent-box input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--forest); }
.consent-note { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
.cf-turnstile { margin-bottom: 8px; }
.form-card .button { width: 100%; padding: 15px; font-size: 17.5px; }
.secure-note { display: flex; gap: 7px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin: 10px 0 0; }
.secure-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; fill: var(--moss); }
.form-status { background: var(--error-bg); color: var(--error); border-radius: 6px; padding: 10px 12px; font-size: 15px; font-weight: 600; margin: 12px 0 0; }
.form-status:empty { display: none; }
.thanks:focus { outline: none; }
.thanks h2 { color: var(--forest); margin-bottom: 10px; }
.thanks ol { padding-left: 22px; margin-bottom: 14px; }
.thanks li { margin-bottom: 6px; }
.thanks[hidden] { display: none; }

/* Page sections */
.section { padding: 58px 0; }
.section-tint { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.steps li::before {
  content: counter(step);
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font: 700 17px/34px var(--serif);
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }

.service-grid { display: grid; gap: 18px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service img { width: 100%; height: 190px; object-fit: cover; }
.service div { padding: 17px 18px 18px; }
.service h3 { margin-bottom: 6px; }
.service p { margin: 0; font-size: 16px; }
.service p + p { margin-top: 8px; }

.reason-grid { display: grid; gap: 22px 30px; }
.reason h3 { font-size: 19px; margin-bottom: 4px; }
.reason p { margin: 0; color: var(--text); }

.table-wrap { overflow-x: auto; margin-bottom: 16px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 16px; }
.data-table caption { text-align: left; font-size: 14.5px; color: var(--muted); padding-bottom: 8px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; vertical-align: top; }
.data-table th { background: var(--sage); color: var(--charcoal); font-weight: 600; }
.cost-layout { display: grid; gap: 26px; align-items: start; }
.cost-figure { background: var(--forest); color: var(--white); border-radius: var(--radius); padding: 22px; }
.cost-figure strong { display: block; font: 700 34px/1.15 var(--serif); margin-bottom: 6px; }
.cost-figure p { margin: 0; font-size: 15px; color: #e6eee4; }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 17.5px; cursor: pointer; color: var(--charcoal); }
.faq details p { margin: 9px 0 0; }

.about-layout { display: grid; gap: 30px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-email { font-size: 17px; font-weight: 600; word-break: break-word; }

.final-cta { background: var(--forest-dark); color: var(--white); text-align: center; padding: 44px 0; }
.final-cta h2 { color: var(--white); margin-bottom: 8px; }
.final-cta p { color: #e6eee4; margin-bottom: 18px; }
.final-cta .button { background: var(--white); color: var(--forest-dark); }
.final-cta .button:hover { background: var(--sage); color: var(--forest-dark); }

.credits { font-size: 14px; color: var(--muted); }
.credits summary { cursor: pointer; font-weight: 600; }
.credits ul { padding-left: 20px; margin: 8px 0 0; }
.credits li { margin-bottom: 4px; }

/* Floating phone button */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.sticky-cta[hidden], .sent .sticky-cta, .sent .final-cta { display: none; }

/* Inner pages */
.page-title { background: var(--paper); border-bottom: 1px solid var(--line); padding: 36px 0 30px; }
.page-title h1 { font-size: clamp(30px, 4.4vw, 42px); }
.breadcrumb { font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.checked { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.article { padding: 34px 0 54px; }
.article h2 { font-size: 26px; margin: 34px 0 10px; }
.article li { margin-bottom: 8px; }
.answer { background: var(--sage); border-left: 5px solid var(--forest); border-radius: 6px; padding: 14px 16px; margin: 0 0 20px; }
.warn { background: var(--clay-bg); color: #5c3112; border-radius: 6px; padding: 13px 16px; margin: 0 0 20px; }
.next { background: var(--forest); color: var(--white); border-radius: 10px; padding: 24px; margin-top: 34px; }
.next h2 { color: var(--white); margin: 0 0 8px; }
.next .button { background: var(--white); color: var(--forest-dark); }
.next .button:hover { background: var(--sage); color: var(--forest-dark); }
.sources { font-size: 15px; color: var(--muted); margin-top: 30px; }
.sources h2 { font-size: 18px; margin-bottom: 8px; }
.sources li { margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #d9ddd8; font-size: 15px; padding: 38px 0 30px; }
.site-footer a { color: #ffffff; }
.footer-grid { display: grid; gap: 22px; margin-bottom: 18px; }
.site-footer h2 { color: #ffffff; font: 700 16px/1.3 var(--sans); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 5px; }
.footer-legal { border-top: 1px solid #454c4f; padding-top: 14px; font-size: 13.5px; color: #b9bfba; }
.footer-legal p { margin-bottom: 6px; }

@media (max-width: 859px) {
  .site-footer { padding-bottom: 88px; }
  .notice { font-size: 13px; padding: 6px 10px; }
  .site-header .wrap { min-height: 0; gap: 6px 14px; padding-top: 10px; padding-bottom: 6px; }
  .site-header .button { display: none; }
  .site-nav { order: 3; width: 100%; flex-wrap: nowrap; gap: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .site-nav a { font-size: 14.5px; padding: 6px 0; }
  .brand img { width: 36px; height: 36px; }
  .brand small { display: none; }
  .brand strong { font-size: 18px; }
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 860px) {
  .sticky-cta { display: none; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; grid-template-rows: auto 1fr; gap: 20px 54px; padding-top: 50px; padding-bottom: 56px; }
  .form-card { grid-column: 2; grid-row: 1 / span 2; }
  .hero-text { grid-column: 1; grid-row: 1; }
  .hero-after { grid-column: 1; grid-row: 2; }
  .hero-figure img { height: 300px; }
  .cost-layout { grid-template-columns: 1fr 2fr; }
  .about-layout { grid-template-columns: 1.5fr 1fr; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service img { height: 160px; }
  .reason-grid { grid-template-columns: repeat(3, 1fr); }
}
