/* ==========================================================================
   Resolve — Fast. Reliable. Done.
   Single stylesheet. Mobile-first. No dependencies.
   ========================================================================== */

:root {
  --navy: #16233f;
  --navy-800: #1d2e52;
  --navy-700: #2a3d68;
  --orange: #bf5700;
  --orange-dark: #a04900;
  --orange-light: #ff7a1a;
  --ink: #16233f;
  --ink-soft: #4a5670;
  --line: #dfe3ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(22, 35, 63, .06), 0 8px 24px rgba(22, 35, 63, .07);
  --wrap: 1120px;
  --font: "Inter", "Segoe UI", Montserrat, "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* room for the sticky mobile action bar */
  padding-bottom: 68px;
}

@media (min-width: 860px) { body { padding-bottom: 0; } }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
img { max-width: 100%; height: auto; }

@media (min-width: 760px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.25rem; }
}

a { color: var(--orange-dark); }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-light); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--navy);
  padding: .7rem 1rem; font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

section { padding: 44px 0; }
@media (min-width: 760px) { section { padding: 68px 0; } }
.section-alt { background: var(--bg-alt); }
.section-tight { padding-top: 28px; }

.eyebrow {
  display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .6rem;
}
.on-navy .eyebrow { color: var(--orange-light); }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.on-navy .lede { color: #d3daea; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Logo -------------------------------------------------------- */

.logo {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em;
  color: var(--navy); text-decoration: none; line-height: 1;
}
.logo::before {
  content: ""; display: block; width: 5px; height: 1.15em;
  background: var(--orange); border-radius: 2px; transform: skewX(-12deg);
}
.logo:hover { color: var(--navy); }
.logo-light { color: var(--white); }
.logo-light:hover { color: var(--white); }
.logo .tag {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); align-self: flex-end; padding-bottom: .18em;
}
.logo-light .tag { color: #aab5cc; }

/* ---------- Header ------------------------------------------------------ */

.topbar {
  background: var(--navy); color: #dfe5f2; font-size: .82rem;
  text-align: center; padding: .45rem 0; font-weight: 600;
}
.topbar a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem .7rem; font: inherit; font-size: .9rem; font-weight: 700;
  color: var(--navy); cursor: pointer;
}
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: .5rem 20px 1rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .7rem .25rem; color: var(--navy); text-decoration: none;
  font-weight: 700; font-size: .98rem; border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--orange-dark); }
.site-nav a[aria-current="page"] { color: var(--orange-dark); }
/* specificity must beat the later `.btn { display: inline-flex }` rule */
.site-header .header-phone { display: none; white-space: nowrap; }

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; align-items: center; gap: .1rem; }
  .site-nav a { border-bottom: 0; padding: .5rem .6rem; font-size: .9rem; border-radius: var(--radius); white-space: nowrap; }
  .site-nav a:hover { background: var(--bg-alt); }
  .site-nav a[aria-current="page"] { background: var(--bg-alt); }
  .site-header .header-phone { display: inline-flex; }
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem; border-radius: var(--radius);
  font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color .15s ease, color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.on-navy .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.on-navy .btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { padding: .55rem .9rem; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn-group .btn { flex: 1 1 auto; min-width: 190px; }
@media (min-width: 760px) { .btn-group .btn { flex: 0 0 auto; } }

/* ---------- Hero -------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, #24365c 100%);
  color: var(--white);
  padding: 40px 0 44px;
}
@media (min-width: 760px) { .hero { padding: 76px 0 80px; } }
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .lede { margin-bottom: 1.4rem; }
.hero .btn-group { margin-bottom: .9rem; }

.speed-promise {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .95rem; font-weight: 700; color: #ffd9bd;
}
.speed-promise .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange-light);
  box-shadow: 0 0 0 4px rgba(255,122,26,.22);
}

.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; color: #d3daea; font-size: .97rem; }
.hero-points li::before { content: "✓"; color: var(--orange-light); font-weight: 900; }
@media (min-width: 760px) { .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Trust bar --------------------------------------------------- */

.trustbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 16px 0; }
.trustbar ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem;
}
@media (min-width: 760px) { .trustbar ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trustbar li {
  display: flex; align-items: center; gap: .5rem; margin: 0;
  font-size: .88rem; font-weight: 700; color: var(--navy);
}
.trustbar li::before {
  content: "✓"; flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-size: .72rem; font-weight: 900;
}

/* ---------- Cards / grids ---------------------------------------------- */

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column;
}
.section-alt .card { box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .card-link { margin-top: auto; font-weight: 800; text-decoration: none; font-size: .95rem; }
.card .card-link::after { content: " →"; }

.service-card { position: relative; }
.service-card a.stretched { text-decoration: none; }
.service-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.service-card:hover { border-color: var(--navy); }
.service-card:focus-within { border-color: var(--orange); }

.num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: .95rem;
  margin-bottom: .7rem;
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.checklist li::before { content: "✓"; color: var(--orange); font-weight: 900; flex: none; }
@media (min-width: 700px) { .checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Guarantee --------------------------------------------------- */

.guarantee {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: 26px;
  display: grid; gap: 1rem;
}
@media (min-width: 860px) {
  .guarantee { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 34px; }
}
.guarantee h2 { color: var(--white); margin-bottom: .35rem; }
.guarantee p { color: #d3daea; margin-bottom: 0; }
.guarantee .seal {
  border: 2px solid var(--orange); border-radius: var(--radius);
  padding: 14px 16px; text-align: center; background: rgba(191,87,0,.14);
}
.guarantee .seal strong { display: block; font-size: 1.05rem; }
.guarantee .seal span { font-size: .85rem; color: #d3daea; }

/* ---------- Reviews ----------------------------------------------------- */

.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; margin: 0; /* reset the browser's default <figure> margin */
  display: flex; flex-direction: column;
}
.review figcaption { margin-top: auto; }
.stars { color: var(--orange); letter-spacing: .12em; font-size: 1rem; margin-bottom: .5rem; }
.review blockquote { margin: 0 0 .8rem; font-size: 1rem; }
.review cite { font-style: normal; font-weight: 800; font-size: .93rem; display: block; }
.review .meta { font-size: .84rem; color: var(--ink-soft); }

/* ---------- Forms ------------------------------------------------------- */

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
@media (min-width: 760px) { .form-card { padding: 30px; } }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.field .hint { font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .8rem; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--white);
  border: 1px solid #c3cad9; border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { min-height: 92px; resize: vertical; }
.field-error { color: #b3261e; font-size: .86rem; font-weight: 700; margin-top: .3rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field.has-error .field-error { display: block; }
/* Honeypot wrapper. Deliberately positioned off-screen instead of
   display:none / visibility:hidden, both of which bots check for. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-failure {
  border: 2px solid #b3261e; background: #fdf3f2; border-radius: var(--radius-lg);
  padding: 16px 18px; margin: 0 0 14px;
}
.form-failure[hidden] { display: none; }
.form-failure p { font-size: .95rem; }
.form-failure strong { color: #8c1d18; }

.form-foot { font-size: .85rem; color: var(--ink-soft); margin: .8rem 0 0; }
.form-foot a { font-weight: 700; }

.form-success { display: none; }
.form-success.is-visible { display: block; }
form.is-submitted { display: none; }
.success-panel {
  border: 2px solid var(--orange); background: #fff7f0;
  border-radius: var(--radius-lg); padding: 22px;
}
.success-panel h3 { margin-bottom: .4rem; }
.success-panel ol { margin: 0 0 1rem; padding-left: 1.2em; }

/* ---------- Estimator --------------------------------------------------- */

.estimator { display: grid; gap: 20px; }
@media (min-width: 900px) { .estimator { grid-template-columns: 1fr 1fr; align-items: start; } }
.est-result {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 24px;
}
.est-result h3 { color: var(--white); }
.est-range { font-size: 2rem; font-weight: 800; color: var(--orange-light); margin: .2rem 0 .1rem; }
.est-range.locked { filter: blur(7px); user-select: none; }
.est-note { font-size: .88rem; color: #d3daea; }
.est-gate { margin-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1rem; }
.est-gate .field label { color: var(--white); }
.est-gate .field .hint { color: #c2cbe0; }
.est-hidden { display: none; }

/* ---------- FAQ --------------------------------------------------------- */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 800; font-size: 1.02rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------------------------------------------------- */

.cta-band { background: var(--navy); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band .btn-group { justify-content: center; }

/* ---------- Areas / links ---------------------------------------------- */

.pill-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-links a {
  display: inline-block; padding: .5rem .85rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); color: var(--navy);
  text-decoration: none; font-weight: 700; font-size: .92rem;
}
.pill-links a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---------- Service areas ---------------------------------------------- */

.area-card h3 { margin-bottom: .15rem; }
.area-seat {
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: .6rem;
}
.area-cities { font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.zips {
  list-style: none; margin: auto 0 0; padding: .7rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .3rem;
}
.zips li {
  margin: 0; padding: .12rem .4rem; border-radius: 4px;
  background: var(--bg-alt); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.section-alt .zips li { background: var(--white); }

.breadcrumbs { font-size: .85rem; color: var(--ink-soft); padding: 14px 0 0; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span { padding: 0 .35rem; }

/* ---------- Blog -------------------------------------------------------- */

.post-list { display: grid; gap: 16px; }
.post-item { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--white); }
.post-item h3 { margin-bottom: .3rem; }
.post-item h3 a { color: var(--navy); text-decoration: none; }
.post-item h3 a:hover { color: var(--orange-dark); }
.post-meta { font-size: .84rem; color: var(--ink-soft); margin-bottom: .5rem; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose blockquote {
  margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--orange);
  color: var(--ink-soft); font-size: 1.05rem;
}

/* ---------- Footer ------------------------------------------------------ */

.site-footer { background: var(--navy); color: #c6cee0; padding: 40px 0 28px; font-size: .93rem; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: #e4e9f5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-phone {
  display: inline-block; font-size: 1.35rem; font-weight: 800; color: var(--white) !important;
  text-decoration: none !important; margin: .3rem 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px;
  font-size: .84rem; color: #9fabc4; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between;
}

/* ---------- Sticky mobile action bar ------------------------------------ */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(22,35,63,.12);
}
.action-bar .btn { flex: 1 1 50%; min-width: 0; padding: .8rem .5rem; font-size: .98rem; }
@media (min-width: 860px) { .action-bar { display: none; } }

/* ---------- Utilities --------------------------------------------------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
