/* 24 Hour Websites base stylesheet.
   Re-skin a client by overriding the tokens in :root from the site's own theme.css. */

:root {
  --ink: #12161b;
  --ink-soft: #4a5560;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --brand: #1f6feb;
  --brand-dark: #1a56b8;
  --brand-ink: #ffffff;
  --accent: #ffc400;
  --accent-ink: #12161b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18,22,27,.06), 0 8px 24px -12px rgba(18,22,27,.18);
  --shadow-lg: 0 2px 4px rgba(18,22,27,.06), 0 24px 56px -20px rgba(18,22,27,.3);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font);
  --head-weight: 800;
  --head-spacing: -0.02em;
  --head-transform: none;
  --wrap: 1140px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing); line-height: 1.12; margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.35rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .lead, .section-ink p { color: rgba(255,255,255,.76); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .narrow { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .9em;
}
.section-ink .eyebrow { color: var(--accent); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.center .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { height: 42px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.12rem;
  letter-spacing: var(--head-spacing); text-transform: var(--head-transform);
}
.brand-text span { white-space: nowrap; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-list a:hover, .nav-list a[aria-current] { color: var(--brand-dark); border-bottom-color: var(--brand); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); cursor: pointer; padding: 0; place-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px;
    box-shadow: var(--shadow-lg); display: none; max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current] { border-bottom-color: var(--line); }
  .nav-cta { margin-top: 18px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 2; padding: clamp(72px, 10vw, 136px) 0; max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.84); }
.hero-points { list-style: none; margin: 1.6em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero-points li { display: flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.92); }
.hero-points svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

/* ---------------------------------------------------------------- trust bar */
.trust { background: var(--accent); color: var(--accent-ink); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding: 16px 0; }
.trust-inner span { display: flex; align-items: center; gap: .5em; font-weight: 700; font-size: .92rem; }
.trust-inner svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- grids & cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .97rem; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-dark); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--brand-dark); font-size: .95rem; display: flex; align-items: center; gap: .4em; }
a.card:hover .card-more svg { transform: translateX(3px); }
.card-more svg { width: 16px; height: 16px; transition: transform .18s ease; }

.price-card { text-align: center; }
.price-card .price { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 2.1rem; color: var(--brand-dark); line-height: 1; margin: .2em 0 .1em; }
.price-card .price small { font-size: .85rem; font-weight: 600; color: var(--ink-soft); display: block; margin-top: .5em; letter-spacing: 0; }

/* ---------------------------------------------------------------- lists */
.ticks { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: .7em; align-items: flex-start; }
.ticks svg { width: 21px; height: 21px; flex: none; color: var(--brand); margin-top: 2px; }
.ticks.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 11px 26px; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 62px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.15rem;
}
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1; color: var(--brand); }
.stat span { font-size: .92rem; color: var(--ink-soft); }
.section-ink .stat span { color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------------- tables & faq */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; background: var(--bg-alt); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-weight: 700; white-space: nowrap; }

.faq { display: grid; gap: 12px; }
details.qa { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; }
details.qa summary {
  cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
details.qa[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
details.qa .qa-body { padding: 0 20px 20px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- reviews */
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { display: flex; gap: 2px; color: #f5a623; margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 14px; font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 700; font-size: .92rem; }
.review cite span { display: block; font-weight: 500; color: var(--ink-soft); font-size: .86rem; }

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--brand); color: var(--brand-ink); }
.cta-band h2 { color: inherit; }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(40px, 5vw, 64px) 0; }
.cta-inner .btn-row { margin-top: 0; }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; background: var(--bg); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e8f7ee; color: #14633a; }
.form-status.err { display: block; background: #fdeced; color: #9b1c23; }

/* ---------------------------------------------------------------- contact rows */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font-size: .88rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); font-weight: 700; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--brand-dark); text-decoration: underline; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { font-weight: 600; }
.hours .closed { color: var(--ink-soft); }

.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; }

/* ---------------------------------------------------------------- misc */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 1.4em; }
.pill { display: inline-block; padding: 7px 15px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); }
a.pill:hover { border-color: var(--brand); color: var(--brand-dark); }
.section-ink .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }

.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-tall img { aspect-ratio: 3/4; }

.breadcrumb { font-size: .87rem; color: var(--ink-soft); padding: 16px 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 .45em; opacity: .5; }

.page-head { padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-head .lead { margin-top: .4em; max-width: 680px; }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose > :first-child { margin-top: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(48px, 6vw, 72px); font-size: .95rem; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.site-footer svg.logo { height: 46px; width: auto; margin-bottom: 16px; }
.footer-blurb { max-width: 34ch; }
.footer-head { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1.1em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-contact a { font-weight: 600; color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--brand); }
.footer-social svg { width: 19px; height: 19px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: rgba(255,255,255,.72); }

/* ---------------------------------------------------------------- sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; inset: auto 0 0; z-index: 60;
    background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .callbar .btn { width: 100%; padding: .8em 1em; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* nav-tighten: squeeze the gaps on narrow desktops before the hamburger kicks in */
@media (min-width: 1081px) and (max-width: 1240px) {
  .nav, .nav-list { gap: 15px; }
  .nav-list a { font-size: .9rem; }
  .nav-cta { padding: .8em 1.15em; font-size: .92rem; }
}

/* Inline icons sitting in running text need an explicit size or they render full-box */
.pill svg, .hours svg, .price-note svg, .qa-body svg { width: 1em; height: 1em; vertical-align: -.12em; flex: none; }

/* btn-wrap-guard: long button labels must not push the page wider than the phone */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-lg { padding: .95em 1.35em; font-size: 1rem; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
}
