/* Lonestar Services site styles. Tokens match DESIGN.md (captured from the old site, Nov 18, 2026). */
:root {
  --c-primary-dark: #071B3C;
  --c-primary: #0A2F66;
  --c-primary-soft: #E4EAF3;
  --c-accent: #C8102E;
  --c-accent-dark: #9E0C24;
  --c-on-accent: #FDFDFE;
  --c-on-primary: #F4F6F9;
  --c-ink: #12161C;
  --c-muted: #57636F;
  --c-line: #D8DEE7;
  --c-surface: #FCFDFE;
  --c-bg: #F4F6F9;
  --c-success: #1E7A46;
  --c-error: #C8102E;

  --font-heading: "Sora", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --content-max: 1224px;
  --gutter: 1rem;
  --section-y: 4rem;
  --radius-button: 9999px;
}
@media (min-width: 768px) {
  :root { --gutter: 1.5rem; --section-y: 6rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.5;
  padding-bottom: 5rem;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--c-primary-dark); margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--c-primary); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--c-primary); outline-offset: 2px;
}
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--c-surface); padding: .5rem 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: var(--radius-button); font-weight: 600; text-decoration: none;
  font-size: 1rem; padding: .875rem 1.5rem; border: 2px solid transparent; line-height: 1.2;
}
.btn-sm { font-size: .875rem; padding: .625rem 1rem; }
.btn-lg { font-size: 1.125rem; padding: 1rem 1.5rem; }
.btn-primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-outline { border-color: var(--c-primary-dark); color: var(--c-primary-dark); background: transparent; }
.btn-outline:hover { background: var(--c-primary-soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--c-primary-dark); }
.brand img { width: 36px; height: auto; }
.brand span { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.main-nav a { color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: .875rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--c-primary); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions .btn { display: none; }
@media (min-width: 768px) { .header-actions .btn { display: inline-flex; } }
.header-phone { display: none; color: var(--c-primary-dark); font-weight: 600; text-decoration: none; font-size: .875rem; white-space: nowrap; }
.mobile-menu { position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: .5rem; border: 1px solid var(--c-line); border-radius: 6px; font-size: .875rem; font-weight: 600; color: var(--c-primary-dark); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu ul { position: absolute; right: 0; top: calc(100% + .5rem); list-style: none; margin: 0; padding: .5rem 0; min-width: 12rem; background: var(--c-surface); border: 1px solid var(--c-line); }
.mobile-menu li a { display: block; padding: .625rem 1rem; color: var(--c-ink); text-decoration: none; }
@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-phone { display: inline; }
  .mobile-menu { display: none; }
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-soft { background: var(--c-primary-soft); }
.section-white { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 600; color: var(--c-accent); margin: 0 0 .75rem; }
.section-title { font-size: 1.75rem; line-height: 1.2; margin-bottom: 1rem; }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
.lead { font-size: 1.0625rem; color: var(--c-muted); max-width: 40rem; }

/* Hero */
.hero { padding: 2.5rem 0 var(--section-y); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } .hero { padding-top: 4rem; } }
.tagline { font-family: var(--font-heading); font-weight: 700; color: var(--c-primary-dark); font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0; }
.hero h1 { font-size: 1.125rem; font-weight: 600; color: var(--c-muted); margin: 1.25rem 0 1rem; line-height: 1.4; }
@media (min-width: 768px) { .hero h1 { font-size: 1.25rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; color: var(--c-ink); }
.trust li { display: flex; align-items: center; gap: .4rem; }
.trust li::before { content: ""; width: .5rem; height: .5rem; background: var(--c-accent); border-radius: 50%; flex: none; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { font-size: .8125rem; color: var(--c-muted); margin-top: .5rem; }

/* Service panels */
.services { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
.service { background: var(--c-primary-dark); color: var(--c-on-primary); display: flex; flex-direction: column; }
.service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 768px) { .service-body { padding: 2rem; } }
.service .eyebrow { color: var(--c-on-primary); opacity: .85; }
.service h3 { color: var(--c-on-primary); font-size: 1.875rem; line-height: 1.1; margin-bottom: .75rem; }
@media (min-width: 768px) { .service h3 { font-size: 2.25rem; } }
.service ul { margin: .5rem 0 1.5rem; padding-left: 1.1rem; }
.service li { margin-bottom: .35rem; }
.service .btn { align-self: flex-start; margin-top: auto; }
.btn-light { background: var(--c-on-primary); color: var(--c-primary-dark); }
.btn-light:hover { background: #fff; }

/* Before / after and gallery */
.ba { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba figure, .gallery figure { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); }
.ba img, .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba figcaption, .gallery figcaption { padding: .75rem 1rem; font-size: .875rem; color: var(--c-muted); }
.ba figcaption strong { color: var(--c-primary-dark); }
.gallery { display: grid; gap: 1rem; margin-top: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Owner + promise */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.facts li { padding-left: 1.25rem; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; background: var(--c-primary); }
.promise { background: var(--c-surface); border: 1px solid var(--c-line); }
.promise-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--c-line); }
.promise-row:first-of-type { border-top: 0; }
.promise-row dt { font-weight: 600; }
.promise-head { background: var(--c-primary-soft); }
.promise-head dt { font-family: var(--font-heading); color: var(--c-primary-dark); }
.promise-row dd { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--c-primary-dark); text-align: right; white-space: nowrap; }
.promise-note { font-size: .875rem; color: var(--c-muted); margin-top: .75rem; }

/* Areas */
.areas-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 640px) { .areas-list { grid-template-columns: repeat(5, 1fr); } }
.areas-list a { display: block; padding: .75rem 1rem; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-primary-dark); text-decoration: none; font-weight: 600; }
.areas-list a:hover { border-color: var(--c-primary); }

/* Service area map */
.area-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .area-grid { grid-template-columns: 1fr 1.5fr; gap: 3.5rem; } }
.area-intro { max-width: 46rem; }
.area-intro .lead a { font-weight: 600; white-space: nowrap; }
.area-figure { margin: 2rem auto 0; max-width: 1080px; }
@media (max-width: 767px) {
  .area-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .area-figure .area-map { min-width: 760px; border-left: 0; border-right: 0; }
  .map-scroll-hint { display: block; }
}
.map-scroll-hint { display: none; font-size: .8125rem; color: var(--c-muted); margin: .5rem 0 0; }  /* map-scroll */
.area-map { width: 100%; height: auto; display: block; border: 1px solid var(--c-line); }
.area-map text { font-family: var(--font-body); }
.m-town { font-size: 20px; font-weight: 600; fill: #071B3C; paint-order: stroke; stroke: #FCFDFE; stroke-width: 4px; stroke-linejoin: round; }
.m-out { font-size: 19px; font-weight: 500; fill: #57636F; paint-order: stroke; stroke: #FCFDFE; stroke-width: 4px; stroke-linejoin: round; }
.m-van { font-size: 26px; font-weight: 700; fill: #C8102E; font-family: var(--font-heading) !important; paint-order: stroke; stroke: #FCFDFE; stroke-width: 4px; stroke-linejoin: round; }
.m-ring { font-size: 19px; font-weight: 600; fill: #0A2F66; paint-order: stroke; stroke: #FCFDFE; stroke-width: 4px; }
.m-ring80 { font-size: 19px; font-weight: 600; fill: #9E0C24; paint-order: stroke; stroke: #FCFDFE; stroke-width: 4px; }
.m-places circle { fill: #0A2F66; fill-opacity: .55; }
.m-places-out circle { fill: #8A96A3; fill-opacity: .7; }
.m-county { font-size: 15px; letter-spacing: .15em; fill: #0A2F66; opacity: .7; font-weight: 600; }
.m-leg { font-size: 19px; fill: #12161C; }

/* Google My Maps embed (Areas page) */
.gmap { position: relative; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--c-line); background: var(--c-surface); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { margin-top: 1.5rem; background: var(--c-surface); border: 1px solid var(--c-line); }
.faq details { border-top: 1px solid var(--c-line); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--c-primary); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 1.25rem 1rem; color: var(--c-ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta { text-align: left; }
.cta .hero-actions { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--c-primary-dark); color: var(--c-on-primary); padding: 3rem 0 2rem; font-size: .9375rem; }
.site-footer a { color: var(--c-on-primary); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logo { width: 120px; margin-bottom: 1rem; }
.site-footer h2 { color: var(--c-on-primary); font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom { border-top: 1px solid rgba(244,246,249,.2); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8125rem; opacity: .85; }

/* Mobile sticky bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .625rem var(--gutter); background: var(--c-surface); border-top: 1px solid var(--c-line); }
.mobile-bar .btn { min-height: 3.25rem; padding: 0 .5rem; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Inner pages (Session 2) ---------- */
.crumbs { font-size: .8125rem; color: var(--c-muted); padding-top: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--c-line); }
.crumbs a { color: var(--c-muted); }
.page-hero { padding: 1.5rem 0 var(--section-y); }
.page-hero h1 { font-size: clamp(1.875rem, 5vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; }
.page-hero .hero-grid { align-items: center; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.cards { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--c-surface); border: 1px solid var(--c-line); padding: 1.5rem; display: flex; flex-direction: column; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--c-muted); margin-bottom: 1rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--c-primary); text-decoration: none; }
.card .more::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--c-primary); }
.card-tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; color: var(--c-accent); margin-bottom: .5rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; background: var(--c-surface); border: 1px solid var(--c-line); padding: 1.25rem; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-primary-dark); color: var(--c-on-primary); font-family: var(--font-heading); font-weight: 700; margin-bottom: .75rem; }
.steps strong { display: block; color: var(--c-primary-dark); margin-bottom: .25rem; }
.steps span { color: var(--c-muted); font-size: .9375rem; }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.check-list li { padding-left: 1.75rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--c-primary-soft); box-shadow: inset 0 0 0 2px var(--c-primary); }
.check-list li::after { content: ""; position: absolute; left: .38rem; top: .42em; width: .32rem; height: .55rem; border: solid var(--c-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (min-width: 640px) { .check-list.two { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }

.split-media { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split-media { grid-template-columns: 1fr 1fr; gap: 4rem; } .split-media.flip > :first-child { order: 2; } }
.split-media figure { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media figcaption { font-size: .8125rem; color: var(--c-muted); margin-top: .5rem; }

.offers { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { background: var(--c-primary-dark); color: var(--c-on-primary); padding: 1.5rem; }
.offer .big { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; line-height: 1; display: block; margin-bottom: .5rem; }
.offer h3 { color: var(--c-on-primary); font-size: 1.125rem; margin-bottom: .35rem; }
.offer p { margin: 0; opacity: .9; font-size: .9375rem; }

.note { font-size: .875rem; color: var(--c-muted); margin-top: 1rem; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.anchor-target { scroll-margin-top: 5rem; }

/* Session 2b: intro text and 4-up galleries */
.section-intro { max-width: 44rem; color: var(--c-muted); margin: 0 0 1rem; }
@media (min-width: 640px) { .gallery.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery.four { grid-template-columns: repeat(4, 1fr); } }
.gallery.four figcaption strong { color: var(--c-primary-dark); }

/* Session 3: areas */
.area-map a text { cursor: pointer; }
.area-map a:hover text, .area-map a:focus text { fill: var(--c-accent); text-decoration: underline; }
.town-map { width: 100%; height: auto; display: block; border: 1px solid var(--c-line); background: var(--c-surface); }
.town-map text { font-family: var(--font-body); }
.t-name { font-size: 22px; font-weight: 700; fill: #071B3C; paint-order: stroke; stroke: #FCFDFE; stroke-width: 5px; stroke-linejoin: round; }
.t-near { font-size: 15px; font-weight: 500; fill: #57636F; paint-order: stroke; stroke: #FCFDFE; stroke-width: 4px; stroke-linejoin: round; }
.t-van { font-size: 20px; font-weight: 700; fill: #C8102E; paint-order: stroke; stroke: #FCFDFE; stroke-width: 5px; stroke-linejoin: round; }
.t-dist { font-size: 16px; font-weight: 600; fill: #0A2F66; paint-order: stroke; stroke: #FCFDFE; stroke-width: 5px; stroke-linejoin: round; }
.t-county { font-size: 13px; font-weight: 600; letter-spacing: .12em; fill: #8A96A3; }
.t-ring { font-size: 14px; font-weight: 600; fill: #0A2F66; }
.glance { margin: 0; display: block; border: 1px solid var(--c-line); background: var(--c-surface); }
.glance div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 1.25rem; border-top: 1px solid var(--c-line); }
.glance div:first-child { border-top: 0; }
.glance dt { font-weight: 600; color: var(--c-primary-dark); }
.glance dd { margin: 0; }
@media (max-width: 560px) { .glance div { grid-template-columns: 1fr; gap: .15rem; } }
.town-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
@media (min-width: 900px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
.town-card { display: block; padding: 1.1rem 1.25rem; background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.town-card:hover, .town-card:focus { border-color: var(--c-primary); }
.town-card strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--c-primary-dark); }
.town-card span { font-size: .875rem; color: var(--c-muted); }
.town-list { columns: 2 12rem; column-gap: 2rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.town-list li { padding: .3rem 0; break-inside: avoid; }
.edge-note { border-left: 4px solid var(--c-accent); background: var(--c-surface); padding: 1rem 1.25rem; margin-top: 1.5rem; }

/* Session 4: about, contact, privacy */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--c-line); border: 1px solid var(--c-line); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row div { background: var(--c-surface); padding: 1.25rem 1.5rem; }
.stat-row dt { font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: var(--c-primary-dark); }
.stat-row dd { margin: .25rem 0 0; color: var(--c-muted); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }
.booking-frame { width: 100%; height: 2750px; border: 1px solid var(--c-line); background: #fff; display: block; }
@media (min-width: 700px) { .booking-frame { height: 2280px; } }
.contact-aside { display: grid; gap: 1rem; }
.contact-box { background: var(--c-surface); border: 1px solid var(--c-line); padding: 1.25rem 1.5rem; }
.contact-box h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.contact-box p { margin: .25rem 0; }
.contact-box .big { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; }
.contact-box ol { margin: .5rem 0 0; padding-left: 1.25rem; }
.contact-box li { margin: .35rem 0; }
.form-fallback { font-size: .875rem; color: var(--c-muted); margin-top: .75rem; }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .5rem; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.25rem; }
