/* Sample Heating & Air: shared styles for every page of the sample site.
   Look: "cool and warm". Deep teal for cooling, ember amber for heating.
   Barlow Semi Condensed for display (truck-lettering voice), Barlow for text. */
/* Fonts are hosted here (SIL Open Font License), so visitors' browsers never contact a font service. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-800.woff2) format("woff2"); }
:root {
  --deep: #0c3436; --deep-2: #124547; --mint: #cfe7e2; --mint-2: #e9f4f1;
  --ember: #f0a33a; --ember-dk: #d98a1f; --ember-ink: #8a4b06;
  --ink: #131a1b; --muted: #4c5a5b; --line: #d6dfdd; --paper: #ffffff; --wash: #f3f6f5;
  --note: #fff4c2; --note-ink: #3d3200; --note-line: #e8d77a;
  --sans: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow Semi Condensed", "Barlow", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; }
::selection { background: var(--ember); color: var(--ink); }
a { color: inherit; text-underline-offset: 3px; }
img, svg { display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* BetaWave's own voice: the sample bar and notes. Never mixed into the shop's copy. */
.sample { background: var(--note); color: var(--note-ink); font-size: 15px; border-bottom: 1px solid var(--note-line); }
.sample .wrap { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: center; justify-content: center; text-align: center; }
.sample span { padding-block: 10px; }
.sample a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.bw-note { background: var(--note); color: var(--note-ink); border: 1px solid var(--note-line); border-radius: 10px; padding: 12px 16px; font-size: 16px; line-height: 1.45; max-width: 46rem; }
.bw-note b:first-child { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }

.top { background: var(--deep); color: #fff; position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .005em; line-height: 1; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-top: 3px; }
.top nav { display: flex; align-items: center; gap: 24px; font-size: 16px; }
.top nav a.link { text-decoration: none; color: var(--mint); display: inline-flex; align-items: center; min-height: 44px; }
.top nav a.link:hover { color: #fff; text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-call { background: var(--ember); color: var(--ink); }
.btn-call:hover { background: var(--ember-dk); }
.btn-ghost { border-color: rgba(207,231,226,.6); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: var(--deep-2); }
.btn svg { width: 18px; height: 18px; }
.top .short { display: none; }

.hero { background: var(--deep); color: #fff; padding: 56px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero .copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 76px); font-weight: 800; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero .lede { font-size: clamp(19px, 2.2vw, 22px); max-width: 34rem; color: var(--mint); }
.hero .ctas, .cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; color: var(--mint); margin: 4px 0 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }

/* Photo slot: a finished frame that shows the owner where their own photo goes */
.shot { margin: 0; display: grid; gap: 10px; }
.shot .frame { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--deep-2); border: 1px solid rgba(207,231,226,.22); display: grid; place-items: center; align-content: center; gap: 10px; color: var(--mint); text-align: center; padding: 20px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); }
.shot .frame svg { width: 44px; height: 44px; opacity: .85; }
.shot .frame span { font-family: var(--display); font-size: 22px; font-weight: 600; color: #fff; }
.shot figcaption { font-size: 15px; color: var(--mint); }
@media (max-width: 899px) { .hero .shot { display: none; } }

section { padding: 76px 0; scroll-margin-top: 70px; }
.head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 42rem; }
.head p { color: var(--muted); }

/* Services: a ruled list, not a card grid */
.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.services li { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px 18px; align-items: center; padding: 22px 4px; text-decoration: none; }
.svc svg { width: 32px; height: 32px; color: var(--deep); grid-row: span 2; }
.svc h3 { font-size: 28px; }
.svc p { color: var(--muted); grid-column: 2; font-size: 17px; }
.svc .go { grid-column: 3; grid-row: 1 / span 2; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ember-ink); white-space: nowrap; }
.svc:hover h3 { text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 3px; }
@media (max-width: 600px) { .svc { grid-template-columns: 32px 1fr; } .svc .go { display: none; } .svc h3 { font-size: 24px; } }

.band { background: var(--wash); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.areas a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 20px; }
.areas a:hover { border-color: var(--deep); background: var(--mint-2); }
.band .bw-note, .areas + .bw-note { margin-top: 22px; }

.split { display: grid; gap: 20px; grid-template-columns: 1fr; }
.split > .head { margin-bottom: 0; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; } }

/* Empty states that look finished: review skeletons and photo tiles */
.reviews { display: grid; gap: 12px; margin-bottom: 16px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 10px; }
.stars { display: flex; gap: 3px; color: #c7ccd0; }
.stars svg { width: 18px; height: 18px; }
.bar { height: 10px; border-radius: 5px; background: #e6eaeb; }
.bar.s { width: 38%; height: 8px; background: #eef1f2; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.photos div { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--mint-2); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 6px; font-size: 15px; color: var(--muted); text-align: center; padding: 12px; }
.photos svg { width: 28px; height: 28px; color: var(--deep); opacity: .7; }

form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 10px 30px -18px rgba(12,52,54,.35); }
label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
input, select, textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1px solid #a9b6b4; border-radius: 8px; min-height: 50px; background: #fff; color: var(--ink); width: 100%; accent-color: var(--deep); }
input:focus, select:focus, textarea:focus { border-color: var(--deep); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #b3261e; background: #fff7f6; }
textarea { min-height: 120px; resize: vertical; }
.two { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.hint { font-weight: 400; color: var(--muted); font-size: 15px; }
.btn-send { background: var(--deep); color: #fff; justify-self: start; }
.btn-send:hover { background: var(--deep-2); }
.sent { padding: 14px 16px; border-radius: 10px; background: var(--note); color: var(--note-ink); border: 1px solid var(--note-line); font-size: 16px; }

footer { background: #082526; color: var(--mint); padding: 48px 0 28px; font-size: 16px; }
footer .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
footer b { color: #fff; display: block; margin-bottom: 6px; font-family: var(--display); font-size: 20px; }
footer a { color: #fff; display: inline-block; padding-block: 4px; }
footer .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(207,231,226,.18); font-size: 15px; color: #a9c7c2; }
footer .links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
footer .links a { text-decoration: none; }
footer .links a:hover { text-decoration: underline; }

/* Inner pages: service and town pages */
.crumbs { font-size: 15px; color: var(--mint); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.crumbs li { display: flex; align-items: center; min-height: 40px; }
.crumbs a { color: #fff; }
.hero.inner { padding: 36px 0 60px; }
.hero.inner h1 { font-size: clamp(40px, 5.8vw, 64px); max-width: 16ch; }
.checks { display: grid; gap: 0 40px; padding: 0; margin: 0; list-style: none; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 720px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--ember); }
.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: s; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; padding: 24px; border-radius: 12px; background: var(--wash); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: #fff; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.steps p { color: var(--muted); font-size: 17px; }
.prose { max-width: 42rem; display: grid; gap: 14px; }
.warn { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: #fdecea; color: #6e150e; border: 1px solid #f1b8b1; }
.warn svg { width: 26px; height: 26px; flex: none; color: #b3261e; }
.faq { display: grid; gap: 0; max-width: 48rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 22px; padding: 18px 2px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 2px 18px; color: var(--muted); max-width: 40rem; }
.cta { background: var(--deep); color: #fff; }
.cta .wrap { display: grid; gap: 18px; justify-items: start; }
.cta p { color: var(--mint); max-width: 36rem; }

@media (max-width: 720px) {
  .top nav a.link { display: none; }
  .top .num { display: none; }
  .top .short { display: inline; }
  .brand { font-size: 19px; white-space: nowrap; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .brand small { display: none; }
  .hero { padding: 40px 0 56px; }
  section { padding: 58px 0; }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .photos div:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
