/* Cannonsburgh Grading — template #17 (olive drab + stone + burnt sienna, Bookman display over Gill Sans body, contour-line hero texture, grade-check level callouts, 2-col checklist services, serif pull-quote intros) */
:root {
  --olv: #5a6136;
  --olv-dk: #40461f;
  --stone: #f4f2ea;
  --stone-dk: #e8e4d3;
  --sien: #a24e2a;
  --sien-dk: #823c1e;
  --ink: #2b2a20;
  --mut: #6c6a58;
  --ln: #d9d4bf;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Bookman Old Style", Bookman, "URW Bookman L", "Palatino Linotype", Georgia, serif;
  color: var(--olv-dk);
  line-height: 1.24;
}
a { color: var(--sien); }

/* Header — olive block, stone text */
.cg-hd { background: var(--olv); }
.cg-hd-in { max-width: 1040px; margin: 0 auto; padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cg-mark { text-decoration: none; }
.cg-mark b { font-family: "Bookman Old Style", Bookman, Georgia, serif; font-size: 23px; color: var(--stone); display: block; line-height: 1.08; }
.cg-mark small { font-size: 12.5px; color: #cfd0b4; letter-spacing: .5px; }
.cg-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cg-links nav { display: flex; gap: 14px; flex-wrap: wrap; }
.cg-links nav a { color: var(--stone); text-decoration: none; font-size: 14.5px; }
.cg-links nav a:hover { text-decoration: underline; color: #fff; }
.cg-callbtn { background: var(--sien); color: #fff; text-decoration: none; font-weight: bold; padding: 10px 17px; border-radius: 3px; font-size: 15px; white-space: nowrap; }
.cg-callbtn:hover { background: var(--sien-dk); }

/* Hero — stone with contour-line topographic texture (template signature) */
.cg-hero {
  background-color: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='140' viewBox='0 0 260 140'%3E%3Cg fill='none' stroke='%235a6136' stroke-opacity='0.12' stroke-width='1.4'%3E%3Cpath d='M0 24 Q65 4 130 24 T260 24'/%3E%3Cpath d='M0 52 Q65 30 130 52 T260 52'/%3E%3Cpath d='M0 80 Q65 60 130 80 T260 80'/%3E%3Cpath d='M0 108 Q65 88 130 108 T260 108'/%3E%3Cpath d='M0 136 Q65 116 130 136 T260 136'/%3E%3C/g%3E%3C/svg%3E");
  padding: 54px 22px 48px;
  border-bottom: 1px solid var(--ln);
}
.cg-hero-in { max-width: 820px; margin: 0 auto; }
.cg-hero h1 { font-size: 37px; margin-bottom: 14px; }
.cg-hero .cg-lede { font-size: 18px; color: var(--mut); margin-bottom: 22px; max-width: 640px; }
.cg-hero-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cg-hero-note { font-size: 13.5px; color: var(--mut); letter-spacing: .3px; }
.cg-btn {
  background: var(--sien); color: #fff; text-decoration: none; font-weight: bold;
  padding: 14px 26px; border-radius: 3px; font-size: 16px; display: inline-block;
  border: 2px solid var(--sien);
}
.cg-btn:hover { background: var(--sien-dk); border-color: var(--sien-dk); }
.cg-btn.alt { background: transparent; color: var(--olv-dk); border-color: var(--olv); }
.cg-btn.alt:hover { background: var(--olv); color: var(--stone); }

/* Big serif pull-quote section intro (template signature) */
.cg-pull {
  font-family: "Bookman Old Style", Bookman, Georgia, serif;
  font-size: 25px; line-height: 1.4; color: var(--olv-dk);
  max-width: 720px; margin: 0 auto 30px; text-align: center;
}
.cg-pull::before { content: ""; display: block; width: 52px; height: 4px; background: var(--sien); margin: 0 auto 16px; }

/* Sections */
.cg-sec { max-width: 1040px; margin: 0 auto; padding: 44px 22px; }
.cg-sec h2 { font-size: 26px; margin-bottom: 12px; }
.cg-prose { max-width: 750px; margin: 0 auto; }
.cg-prose h2 { margin-top: 26px; }
.cg-prose p, .cg-prose li { margin-bottom: 13px; }
.cg-prose ul, .cg-prose ol { padding-left: 24px; }
.cg-crumb { font-size: 13.5px; color: var(--mut); margin-bottom: 18px; }
.cg-crumb a { color: var(--mut); }

/* Grade-check callout with CSS level-bubble (template signature) */
.cg-check {
  background: #fff; border: 1px solid var(--ln); border-left: 5px solid var(--sien);
  padding: 16px 18px; margin: 20px 0; display: flex; gap: 15px; align-items: flex-start;
  font-size: 15.5px;
}
.cg-lvl { flex: none; width: 48px; height: 17px; border: 2px solid var(--olv); border-radius: 999px; position: relative; margin-top: 5px; background: var(--stone); }
.cg-lvl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--sien); }
.cg-check b { font-family: "Bookman Old Style", Bookman, Georgia, serif; color: var(--olv-dk); display: block; margin-bottom: 3px; }

/* Services as 2-column checklist grid, sienna square bullets (template signature) */
.cg-svcgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; margin-top: 22px; }
.cg-svc { position: relative; padding-left: 26px; }
.cg-svc::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--sien); }
.cg-svc h3 { font-size: 19px; margin-bottom: 4px; }
.cg-svc h3 a { color: var(--olv-dk); text-decoration: none; }
.cg-svc h3 a:hover { color: var(--sien); text-decoration: underline; }
.cg-svc p { font-size: 15px; color: var(--mut); }

/* Price table */
.cg-tbl { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 15px; }
.cg-tbl th { font-family: "Bookman Old Style", Bookman, Georgia, serif; text-align: left; background: var(--olv); color: var(--stone); padding: 10px 13px; }
.cg-tbl td { padding: 10px 13px; border-bottom: 1px solid var(--ln); }
.cg-tbl tr:nth-child(odd) td { background: var(--stone); }

/* Town chips */
.cg-towns { display: flex; justify-content: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 18px; }
.cg-towns a { color: var(--olv-dk); font-weight: bold; font-size: 15px; text-decoration: none; border: 1px solid var(--ln); border-bottom: 3px solid var(--olv); background: var(--stone); padding: 9px 17px; border-radius: 3px; }
.cg-towns a:hover { border-color: var(--sien); border-bottom-color: var(--sien); color: var(--sien); }

/* FAQ */
.cg-faq details { border: 1px solid var(--ln); margin-bottom: 10px; padding: 3px 16px; background: #fff; border-radius: 3px; }
.cg-faq summary { cursor: pointer; font-family: "Bookman Old Style", Bookman, Georgia, serif; font-weight: bold; font-size: 16.5px; color: var(--olv-dk); padding: 10px 0; }
.cg-faq .cg-ans { padding: 0 0 13px; color: var(--mut); font-size: 15px; }

/* CTA band — sienna */
.cg-band { background: var(--sien); text-align: center; padding: 44px 22px; }
.cg-band h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.cg-band p { color: #f2d9cb; margin-bottom: 20px; }
.cg-band a.plain { color: #f2d9cb; }
.cg-band .cg-btn { background: var(--olv-dk); border-color: var(--olv-dk); }
.cg-band .cg-btn:hover { background: #32370f; border-color: #32370f; }

/* Form */
.cg-form { max-width: 590px; margin: 0 auto; display: grid; gap: 15px; }
.cg-form label { font-weight: bold; font-size: 14px; display: block; margin-bottom: 4px; color: var(--olv-dk); }
.cg-form input, .cg-form select, .cg-form textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #c3bfa8; border-radius: 3px;
  background: #fff; font-family: inherit; font-size: 15.5px;
}
.cg-form input:focus, .cg-form select:focus, .cg-form textarea:focus { border-color: var(--olv); outline: none; }
.cg-form button {
  background: var(--sien); color: #fff; border: 2px solid var(--sien); border-radius: 3px; padding: 15px;
  font-family: inherit; font-weight: bold; font-size: 16px; cursor: pointer;
}
.cg-form button:hover { background: var(--sien-dk); border-color: var(--sien-dk); }

/* Footer — olive, two stacked centered rows */
.cg-ft { background: var(--olv); margin-top: 36px; text-align: center; color: #d8d9c2; }
.cg-ft-in { max-width: 860px; margin: 0 auto; padding: 34px 22px 20px; font-size: 14.5px; }
.cg-ft-in h4 { color: var(--stone); font-size: 19px; margin-bottom: 4px; }
.cg-ft-tel { font-family: "Bookman Old Style", Bookman, Georgia, serif; font-weight: bold; font-size: 20px; color: #fff; text-decoration: none; display: inline-block; margin: 6px 0 2px; }
.cg-ft-row { margin: 12px 0 0; }
.cg-ft-row a { color: var(--stone); text-decoration: none; margin: 0 9px; line-height: 2; font-size: 14px; }
.cg-ft-row a:hover { text-decoration: underline; color: #fff; }
.cg-ft-base { font-size: 12.5px; color: #c2c4a6; border-top: 1px solid rgba(244,242,234,.25); padding: 13px; }

/* Mobile sticky bar */
.cg-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--sien); color: #fff; text-align: center; text-decoration: none;
  font-weight: bold; font-size: 16px; padding: 15px; z-index: 60;
}

@media (max-width: 860px) {
  .cg-links nav { display: none; }
  .cg-hd-in { justify-content: center; text-align: center; }
  .cg-svcgrid { grid-template-columns: 1fr; }
  .cg-hero h1 { font-size: 29px; }
  .cg-pull { font-size: 21px; }
  .cg-bar { display: block; }
  body { padding-bottom: 54px; }
}
