:root {
  --charcoal: #0f1824;
  --navy: #1b365d;
  --navy-deep: #0f2444;
  --sky: #3d9ae8;
  --flame: #c2501c;
  --flame-deep: #9a3e16;
  --ink: #152033;
  --muted: #5a6b82;
  --line: #d0d8e8;
  --paper: #f4f6fa;
  --cream: #f6f1e8;
  --white: #fff;
  --serif: "Source Serif 4", "Liberation Serif", Georgia, "Times New Roman", serif;
  --sans: Outfit, Inter, "Segoe UI", system-ui, sans-serif;
  --header: 7.25rem;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 4.75rem;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

button, input, select, textarea { font: inherit; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 50;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.8rem;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 4.25rem;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.35rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mark.has-image { background: transparent; }

.mark img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-deep);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.bar-actions .btn-flame { display: none; }

.jump {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-bottom: 0.55rem;
  scrollbar-width: none;
}

.jump::-webkit-scrollbar { display: none; }

.jump a {
  flex: none;
  min-height: 2.4rem;
  padding: 0.35rem 0.7rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.jump a:hover { color: var(--flame); }

.call {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.call[hidden] { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-flame { background: var(--flame); color: var(--cream); }
.btn-flame:hover { background: var(--flame-deep); }
.btn-light { background: var(--white); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

.hero-photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 42%;
  background: var(--charcoal);
}

.hero-caption {
  background: var(--charcoal);
  color: var(--white);
  padding: 1.6rem 0 4.5rem;
}

.eyebrow {
  margin-bottom: 0.45rem;
  color: #f0c27a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-caption h1 {
  max-width: 16ch;
  font-size: clamp(2.3rem, 8vw, 4.6rem);
}

.lede {
  max-width: 38rem;
  margin-top: 0.8rem;
  color: #e6ebf3;
  font-size: 1.08rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 600;
}

.badge-icon { display: inline-flex; }
.badge-icon svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.7; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.intro {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  margin-top: -2.6rem;
}

.partner,
.estimate {
  padding: 1.35rem 1.2rem 1.45rem;
  box-shadow: 0 16px 40px rgba(15, 24, 36, 0.16);
}

.partner { background: var(--white); color: var(--ink); }
.partner-icon { color: var(--navy); margin-bottom: 0.7rem; }
.partner h2, .estimate h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); }
.partner-lead { margin-top: 0.7rem; font-size: 1.05rem; }
.partner p + p { margin-top: 0.55rem; color: var(--muted); }

.estimate { background: var(--charcoal); color: var(--white); }
.estimate h2 { margin-bottom: 0.9rem; }

.estimate form, .fields { display: grid; gap: 0.75rem; }

.estimate label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.estimate input,
.estimate select,
.estimate textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}

.estimate textarea { min-height: 6.5rem; resize: vertical; }

.form-note { min-height: 1.25rem; font-size: 0.95rem; }
.form-note.is-error { color: #ffb4a2; }

.band { padding: 3.2rem 0; background: var(--paper); }
.band-white { background: var(--white); }
.band-cream { background: var(--cream); }

.section-head { max-width: 40rem; margin-bottom: 1.3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy-deep); }
.section-head p { margin-top: 0.45rem; color: var(--muted); }
.credentials { margin-top: 0.4rem; color: var(--navy); font-weight: 600; }

.services, .why, .reviews {
  display: grid;
  gap: 0.85rem;
}

.service-card, .why-card, .review {
  background: var(--white);
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
}

.band-white .why-card { background: var(--paper); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.7rem;
  background: var(--navy);
  color: var(--white);
}

.icon-badge svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.7; }

.service-card h3, .why-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.service-card p, .why-card p { color: var(--muted); }
.price { margin-top: 0.55rem; color: var(--navy) !important; font-weight: 700; }

.text-link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--flame-deep);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.stars { margin-bottom: 0.45rem; color: var(--flame); letter-spacing: 0.08em; }
.review blockquote { margin: 0; }
.review figcaption {
  display: flex;
  flex-direction: column;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.review figcaption strong { color: var(--ink); }

.area-grid { display: grid; gap: 1.2rem; }
.area-city {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-deep);
}
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.towns li {
  min-height: 2.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
}
.hours-title { margin: 1.2rem 0 0.35rem; font-size: 1.35rem; }
.hours-summary { color: var(--navy); font-weight: 700; }
.hours { margin: 0.6rem 0 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}
.hours-row dt { font-weight: 700; }
.hours-row dd { margin: 0; color: var(--muted); }
.address, .hour-notes { margin-top: 0.7rem; }

.site-footer {
  background: var(--charcoal);
  color: #e6ebf3;
  padding: 2.4rem 0 1.2rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--white);
}
.site-footer p + p { margin-top: 0.45rem; }
.footer-mail { display: inline-flex; margin-top: 0.6rem; color: var(--white); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.legal { margin-top: 1.4rem; color: #b7c2d2; font-size: 0.88rem; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
}
.dock .btn { width: 100%; padding-inline: 0.45rem; font-size: 0.92rem; }
.dock .btn[hidden] { display: none; }

#services, #why, #reviews, #area, #contact { scroll-margin-top: calc(var(--header) + 0.5rem); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .bar-actions .btn-flame { display: inline-flex; }
  .brand-name { font-size: 1.45rem; }
  .hero-photo { height: min(46vh, 440px); }
  .hero-caption { padding-bottom: 5.5rem; }
  .intro { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; margin-top: -3.4rem; }
  .fields { grid-template-columns: 1fr 1fr; }
  .services, .why { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
  .footer-actions { margin-top: 0; }
  .dock { display: none; }
}

@media (min-width: 980px) {
  .services { grid-template-columns: 1fr 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
