:root {
  color-scheme: light;
  --navy: #0b252b;
  --ink: #102b33;
  --muted: #485b5e;
  --teal: #106553;
  --mint: #d9eee4;
  --linen: #f6f3eb;
  --line: #cdd9d2;
  --gutter: clamp(1.125rem, 5vw, 4.5rem);
  --section-space: clamp(3rem, 7vw, 6rem);
  --shell-width: 83rem;
  font: 100%/1.6 system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--ink); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 4.4vw, 4.25rem); }
h3 { font-size: 1.26rem; line-height: 1.24; }
p { color: var(--muted); }
a { color: var(--teal); font-weight: 650; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #3e9d83; outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }

.shell {
  max-width: var(--shell-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.top-bar, .site-footer { background: #fff; }
.top, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top { min-height: 5.1rem; }
.brand { flex: 0 1 10.5rem; }
.brand img { width: 100%; height: auto; }
.top nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.5vw, 2.15rem);
  font-size: .9rem;
}
.top nav a:not(.button) { color: var(--ink); text-decoration: none; }
.top nav a:not(.button):hover { color: var(--teal); text-decoration: underline; }
.footer-inner { flex-wrap: wrap; min-height: 4.6rem; padding-block: .95rem; font-size: .9rem; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  width: fit-content;
  padding: .63rem 1.12rem;
  background: var(--teal);
  color: #fff;
  border: 1px solid transparent;
  border-radius: .28rem;
  font: inherit;
  font-size: .925rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #084d40; }
.button.small { min-height: 2.85rem; }
.button.light { color: #10372e; background: var(--mint); }
.button.light:hover { background: #bce7d2; }
.button.outline { color: #fff; background: transparent; border-color: #9ab9b2; }
.button.outline:hover { background: rgb(255 255 255 / 12%); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 29%;
  z-index: -2;
}
.hero-media img, .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 43%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0b252b 26%, rgb(11 37 43 / 95%) 36%, rgb(11 37 43 / 68%) 51%, rgb(11 37 43 / 14%) 91%),
              linear-gradient(0deg, rgb(11 37 43 / 36%), transparent 45%);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 36rem;
  padding-block: 4.25rem 4.75rem;
}
.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.35rem, 7.15vw, 6.55rem);
  text-wrap: wrap;
}
.hero h1 em { color: var(--mint); font-weight: inherit; }
.hero .eyebrow {
  max-width: 59ch;
  margin-bottom: 1.35rem;
  padding-left: .75rem;
  border-left: 2px solid #8dceb2;
  color: #b9e5d1;
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero .hero-intro, .hero .service-intro {
  max-width: 33rem;
  margin-top: 1.15rem;
  color: #e0eeeb;
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.55rem; }
.hero-motion-control {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  min-height: 2.75rem;
  padding: .45rem .72rem;
  border: 1px solid #9ab9b2;
  border-radius: .28rem;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}

.audience-band { background: #e5eee7; }
.audience-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience-links a { display: block; padding: 1.65rem 1.65rem 1.5rem; color: var(--ink); text-decoration: none; }
.audience-links a:first-child { padding-left: 0; }
.audience-links a + a { border-left: 1px solid #c5d5ca; }
.audience-links h2 { font: 700 1.2rem/1.2 system-ui, sans-serif; letter-spacing: -.01em; }
.audience-links a:hover h2 { text-decoration: underline; text-underline-offset: .25em; }
.audience-links p { margin-top: .35rem; font-size: .94rem; font-weight: 400; }

.services, .pricing, .faq, .process, .contact-inner { padding-block: var(--section-space); }
.services-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
}
.services-heading p { max-width: 32rem; }
.homepage-service-cards { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.homepage-service-cards article {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.35rem, 6vw, 5rem);
}
.homepage-service-cards article:nth-child(even) img { order: 2; }
.homepage-service-cards img, .alcohol-cards img { width: 100%; aspect-ratio: 1.58; object-fit: cover; background: #dce8e1; }
.homepage-service-cards article > div { max-width: 29rem; }
.homepage-service-cards h3 {
  font: 400 clamp(1.95rem, 3.35vw, 3.2rem)/1.08 Georgia, serif;
  letter-spacing: -.035em;
}
.homepage-service-cards p, .alcohol-cards p, .price-panel p { margin: .65rem 0 .8rem; }
.service-directory-link { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.process, .contact { background: var(--navy); color: #fff; }
.process p, .contact p { color: #d0e1dc; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  margin-top: 2rem;
}
.process-steps article { padding-top: 1rem; border-top: 1px solid #799c94; }
.process-steps p { margin-top: .55rem; }

.pricing { background: #e8efe8; }
.price-layout, .trust-grid { display: grid; gap: 1rem; margin-top: 2rem; align-items: start; }
.price-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-panel {
  min-width: 0;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: #fff;
}
.price-panel h3:not(:first-child) { margin-top: 1.65rem; }
.price-panel dl { margin: 1.2rem 0; }
.price-panel dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .65rem 0; }
.price-panel dd { margin: 0; font-weight: 730; }
.trust-intro { max-width: 48rem; margin-top: 1rem; font-size: 1.08rem; }
.trust-note { margin-top: 1rem; font-size: .925rem; }

.faq, .contact-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 5vw, 4.5rem); }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { font-weight: 700; cursor: pointer; }
details p { max-width: 49rem; margin-top: .65rem; }
.contact a { color: #b7e9d5; }
.contact p { margin: .8rem 0; }
.contact form { display: grid; gap: .55rem; }
.contact label { font-weight: 650; }
.contact input, .contact select {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  padding: .45rem .7rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.contact button { margin-top: .55rem; }
.contact p.hint { margin: 0; font-size: .875rem; }

.service-hero .hero-copy { min-height: 29rem; }
.service-hero h1, .simple-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.9rem, 6vw, 5.55rem);
  overflow-wrap: anywhere;
}
.service-hero .hero-media img { object-position: 62% 38%; }
.breadcrumbs { margin-bottom: 1rem; font-size: .9rem; }
.breadcrumbs a { color: #d6ebe2; }
.simple-hero .hero-copy { min-height: clamp(16rem, 31vw, 23.5rem); }
.simple-hero h1 { max-width: 18ch; }
.service-body { padding-block: clamp(2.5rem, 6vw, 5.25rem); }
.service-body > * + * { margin-top: clamp(2.15rem, 5vw, 4rem); }
.service-body h2 {
  max-width: 32ch;
  font-size: clamp(1.86rem, 3.55vw, 3rem);
}
.service-body h2 + p { max-width: 43rem; margin-top: .85rem; }
.service-explainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.7rem, 5vw, 4.5rem);
}
.service-explainer section { padding-top: 1.05rem; border-top: 2px solid #a6bcb0; }
.service-body > section + section { border-top: 1px solid var(--line); padding-top: 1.9rem; }
.test-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .65rem;
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}
.test-links a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 3rem;
  padding: .7rem .95rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.test-links a:hover { border-color: var(--teal); color: var(--teal); text-decoration: underline; }
.directory .trust-grid { margin-top: 0; }
.directory ul { margin-bottom: 0; padding-left: 1.15rem; }
.directory li + li { margin-top: .45rem; }

.alcohol-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.alcohol-cards article { background: #fff; border: 1px solid var(--line); }
.alcohol-cards article > div { padding: 1.1rem; }
.redirect { padding-block: 2rem; }

@media (max-width: 980px) {
  .trust-grid, .alcohol-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .top { min-height: 4.4rem; }
  .brand { flex-basis: 8.4rem; }
  .top nav a:not(.button) { display: none; }
  .hero-media { inset: 0 0 0 10%; }
  .hero::before { background: linear-gradient(90deg, #0b252b 4%, rgb(11 37 43 / 94%) 29%, rgb(11 37 43 / 73%) 100%); }
  .hero-copy, .service-hero .hero-copy { min-height: 28rem; padding-block: 3rem; }
  .simple-hero .hero-copy { min-height: 16rem; }
  .hero h1 { font-size: clamp(2.85rem, 9vw, 4.55rem); }
  .audience-links, .services-heading, .homepage-service-cards article, .process-steps,
  .faq, .contact-inner, .service-explainer, .price-layout { grid-template-columns: 1fr; }
  .audience-links a { padding: .95rem 0; }
  .audience-links a + a { border-left: 0; border-top: 1px solid #c5d5ca; }
  .homepage-service-cards article:nth-child(even) img { order: 0; }
}
@media (max-width: 540px) {
  .trust-grid, .alcohol-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.priority-tests {
  padding-block: clamp(2rem, 4.5vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.priority-tests h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); }
.priority-tests p { margin-top: .85rem; }
.location-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .85rem;
  margin: 1.25rem 0;
}
.location-form > div { min-width: 0; }
.location-form label { display: block; font-weight: 650; margin-bottom: .3rem; }
.location-form select, .location-form input {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  padding: .45rem .7rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.location-form input { width: 100%; }
#location-results > button { justify-self: start; }
.location-cards, #location-results { display: grid; gap: .75rem; }
#location-status:not(:empty), #location-results:not(:empty) { margin-bottom: 1rem; }
@media (max-width: 540px) {
  .location-form > div, .location-form .button { width: 100%; }
  .location-form input, .location-form select { max-width: 100%; }
}

.analytics-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .85rem;
  font-size: .875rem;
}
.analytics-controls button {
  min-height: 2.75rem;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: .28rem;
  background: var(--linen);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.analytics-controls button:hover { border-color: var(--teal); }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li::before { content: "›"; padding-right: .65rem; }
.breadcrumbs [aria-current="page"] { color: #e6f0eb; overflow-wrap: anywhere; }
.skip-link {
  position: fixed;
  left: .75rem;
  top: .75rem;
  z-index: 5;
  min-height: 2.75rem;
  padding: .6rem .85rem;
  transform: translateY(-160%);
  background: #fff;
  border: 2px solid var(--teal);
}
.skip-link:focus { transform: translateY(0); }
.service-body section + section { margin-top: 2rem; }
.location-cards { margin-top: 1rem; }
@media (max-width: 540px) {
  .service-page .hero-actions { width: 100%; }
  .service-page .hero-actions .button { width: 100%; }
  #location-inquiry { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

/* Shared call actions and ZIP inquiry */
.header-call, .footer-call { white-space: nowrap; }
.footer-call { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.top .header-call { min-height: 44px; text-align: center; }
.contact-call .button { margin-bottom: .7rem; }
@media (max-width: 750px) {
  .top { gap: .65rem; }
  .top .header-call { padding-inline: .65rem; font-size: .8rem; }
}
.state-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.state-guide-grid > section { margin: 0; padding: .9rem 1.2rem; border: 1px solid var(--line); }
.state-guide-grid > section h3 { margin: 0; }
.mobile-nav { display: none; position: relative; }
@media (max-width: 750px) {
  .top nav { gap: .55rem; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
  .mobile-nav div { position: absolute; z-index: 3; right: 0; min-width: 11rem; padding: .45rem .9rem; background: #fff; border: 1px solid var(--line); }
  .top nav .mobile-nav a:not(.button) { display: flex; align-items: center; min-height: 44px; }
}

/* Chat connects only after the visitor clicks the launcher. */
.chat-launcher-panel {
  position: fixed;
  z-index: 30;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(15rem, calc(100% - 2rem));
  padding: .55rem .75rem;
  border-radius: .55rem;
  background: #fff;
  text-align: right;
  box-shadow: 0 4px 16px rgb(11 37 43 / 25%);
}
.chat-launcher { min-height: 44px; }
.chat-launcher-panel p { margin-top: .25rem; font-size: .75rem; color: var(--navy); }
.chat-launcher-panel .chat-status:empty { display: none; }
body:has(.chat-launcher-panel:not([hidden])) .site-footer { padding-bottom: 7rem; }
