/* Blue Mountain Orchard LLC: deep navy, teal and plum bands with leaf green; content lanes alternate sides */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #10284a;
  --navy-deep: #0a1b33;
  --teal: #0d5a5e;
  --plum: #44234f;
  --green: #8fd16a;
  --apple: #ff8a75;
  --sky: #6ea0e4;
  --light: #f3f6f8;
  --ink: #10284a;
  --muted: #485a72;
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--apple); outline-offset: 3px; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px;
  background: var(--green); color: var(--navy); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header with pill nav */
.site-header { background: var(--navy-deep); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--green); }
.brand-name { font-weight: 800; font-size: 1.35rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: block; padding: 7px 18px; border-radius: 999px; border: 3px solid rgba(255, 255, 255, 0.3); color: #fff; text-decoration: none; font-weight: 600; }
.main-nav a:hover { border-color: var(--green); color: #fff; }
.main-nav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--navy); }

/* labels and buttons */
.tag { display: inline-block; margin: 0 0 16px; padding: 5px 14px; border-radius: 999px; border: 3px solid var(--green); color: #fff; font-weight: 600; font-size: 0.92rem; }
.eyebrow { display: block; margin-bottom: 8px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--green); color: var(--navy); font-weight: 800; text-decoration: none; border: 3px solid var(--green); }
.btn:hover { background: #a9e08a; border-color: #a9e08a; color: var(--navy); }
.btn-line { background: transparent; color: #fff; border-color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.band.light .btn-line { color: var(--navy); border-color: var(--navy); }
.band.light .btn-line:hover { background: var(--navy); color: #fff; }

/* saturated bands */
.band { padding: 76px 0; position: relative; }
.band.navy { background: var(--navy) url("assets/motif-leaves.svg") 0 0 / 64px 64px; color: #fff; }
.band.teal { background: var(--teal); color: #fff; }
.band.plum { background: var(--plum); color: #fff; }
.band.light { background: var(--light); color: var(--ink); }
.band.navy h1, .band.navy h2, .band.navy h3, .band.teal h2, .band.teal h3, .band.plum h2, .band.plum h3 { color: #fff; }
.band.navy a:not(.btn), .band.teal a:not(.btn), .band.plum a:not(.btn) { color: #fff; }
.band.light .eyebrow { color: var(--plum); }
.band.light .tag { color: var(--ink); }
.lede { font-size: 1.22rem; }
.band.navy .lede, .band.teal .lede, .band.plum .lede { color: #dde7f3; }

/* lanes: content hugs the left or the right side of each band */
.lane { max-width: 800px; }
.lane.left { margin-right: auto; padding-left: 26px; border-left: 3px solid var(--green); }
.lane.right { margin-left: auto; padding-right: 26px; border-right: 3px solid var(--green); }
.lane.right .lane-head { text-align: right; }
.lane.right .lane-head .btn-row { justify-content: flex-end; }
.band.light .lane.left, .band.light .lane.right { border-color: var(--plum); }
.lane.wide { max-width: 920px; }
.hero-art { width: 100%; border-radius: var(--r); border: 3px solid var(--green); }
.art-lane { margin-top: 44px; }

/* home */
.pest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pest-list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: var(--r); border: 3px solid rgba(255, 255, 255, 0.35); color: #fff; text-decoration: none; }
.pest-list a:hover { border-color: var(--green); }
.pest-list img { width: 54px; height: 54px; padding: 6px; border-radius: 50%; background: #fff; flex: none; }
.p-name { display: block; font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.p-meta { display: block; font-size: 0.9rem; color: #cfe0e2; }
.leaf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.leaf-list li { position: relative; padding: 12px 16px 12px 46px; border-radius: var(--r); background: rgba(255, 255, 255, 0.07); color: #e9dcef; }
.leaf-list li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; background: var(--green); border-radius: 0 50% 0 50%; }
.leaf-list strong { color: #fff; }
.spot { padding: 30px 32px; border-radius: var(--r); border: 3px solid var(--plum); background: #fff; }
.spot p { color: var(--muted); font-size: 1.1rem; }
.deal { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 800; }

/* services: price tables in alternating lanes */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 3px solid rgba(255, 255, 255, 0.35); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.jump a:hover { border-color: var(--green); }
.cat-band { scroll-margin-top: 10px; }
.cat-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.lane.right .cat-title { flex-direction: row-reverse; text-align: right; }
.cat-title img { width: 64px; height: 64px; padding: 8px; border-radius: 50%; background: #fff; }
.cat-title h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; color: var(--ink); border: 3px solid var(--green); border-radius: var(--r); overflow: hidden; }
.price-table thead th { text-align: left; padding: 12px 16px; background: var(--light); color: var(--plum); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 3px solid var(--green); }
.price-table tbody th, .price-table td { text-align: left; vertical-align: top; padding: 15px 16px; border-bottom: 1px solid #dfe6ee; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-weight: 800; width: 40%; color: var(--ink); }
.price-table td.desc { color: var(--muted); }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 800; color: var(--teal); width: 17%; }
.price-table td.quote { white-space: normal; min-width: 10em; color: var(--plum); }
.band .price-table td.quote a { display: block; margin-top: 4px; color: var(--teal); white-space: nowrap; }
.offers { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.offers li { background: #fff; color: var(--muted); border-radius: var(--r); padding: 22px 24px; border: 3px solid var(--green); }
.band .offers h3 { color: var(--ink); margin-bottom: 6px; }
.offers p { margin: 0 0 10px; }
.offers p:last-child { margin-bottom: 0; }

/* about */
.story p { font-size: 1.1rem; color: var(--muted); }
.story p.first { font-size: 1.45rem; line-height: 1.45; color: var(--ink); font-weight: 600; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts div { padding: 16px 18px; border-radius: var(--r); border: 3px solid rgba(255, 255, 255, 0.35); }
.facts dt { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: #fff; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { padding: 18px 20px; border-radius: var(--r); border: 3px solid rgba(255, 255, 255, 0.35); color: #e9dcef; }
.why strong { display: block; font-size: 1.2rem; color: #fff; margin-bottom: 4px; }

/* contact */
.details { margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.details div { padding: 16px 18px; border-radius: var(--r); border: 3px solid rgba(255, 255, 255, 0.35); }
.details dt { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.details dd { margin: 4px 0 0; overflow-wrap: anywhere; color: #fff; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 3px solid var(--plum); border-radius: var(--r); overflow: hidden; }
.hours caption { text-align: left; font-weight: 800; font-size: 1.8rem; margin-bottom: 12px; color: var(--ink); }
.lane.right .hours caption { text-align: right; }
.hours thead th { text-align: left; padding: 11px 16px; background: var(--plum); color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th, .hours tbody td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #dfe6ee; }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { border-bottom: 0; }
.hours td { white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; white-space: normal; color: var(--muted); font-size: 0.92rem; }
.map-frame { display: block; width: 100%; height: 420px; border: 3px solid var(--green); border-radius: var(--r); background: #dfe9f7; }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { background: var(--navy-deep); color: #c9d6e8; padding: 50px 0 26px; border-top: 3px solid var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 30px; }
.footer-name { font-weight: 800; font-size: 1.35rem; color: #fff; margin-bottom: 6px; }
.footer-title { color: #fff; font-weight: 800; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--green); }
.footer-bottom { margin: 30px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.9rem; }

@media (max-width: 860px) {
  .header-inner { flex-direction: column; gap: 12px; }
  .main-nav ul { justify-content: center; }
  .band { padding: 52px 0; }
  .lane.right { padding-right: 0; padding-left: 20px; border-right: 0; border-left: 3px solid var(--green); }
  .lane.left { padding-left: 20px; }
  .lane.right .lane-head, .lane.right .hours caption { text-align: left; }
  .lane.right .lane-head .btn-row { justify-content: flex-start; }
  .lane.right .cat-title { flex-direction: row; text-align: left; }
  .band.light .lane.right { border-color: var(--plum); }
  .details, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 6px; }
  .main-nav a { text-align: center; padding: 7px 10px; }
  .pest-list, .facts { grid-template-columns: 1fr; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tbody tr { padding: 14px 16px; border-bottom: 1px solid #dfe6ee; }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody th, .price-table td { padding: 0; border: 0; width: auto; }
  .price-table td.desc { margin: 4px 0 6px; }
  .price-table .price { text-align: left; width: auto; }
  .spot { padding: 24px 20px; }
  .map-frame { height: 320px; }
}
