:root {
  --ink: oklch(0.17 0.035 230);
  --muted: oklch(0.43 0.023 226);
  --navy: oklch(0.23 0.055 230);
  --navy-deep: oklch(0.14 0.035 230);
  --blue: oklch(0.4 0.11 236);
  --orange: oklch(0.72 0.18 53);
  --surface: oklch(0.965 0.009 225);
  --surface-blue: oklch(0.93 0.019 226);
  --line: oklch(0.83 0.014 225);
  --white: oklch(1 0 0);
  --max: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Archivo", "Arial Narrow", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.8vw, 5.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.15rem, 4.3vw, 4.2rem);
  font-weight: 760;
}

h3 {
  font-size: 1.25rem;
  font-weight: 750;
}

p {
  text-wrap: pretty;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 8px clamp(20px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: oklch(1 0 0 / 0.97);
  backdrop-filter: blur(12px);
}

.brand {
  width: 210px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.primary-nav a {
  padding: 12px 0;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--ink);
}

.nav-quote {
  display: none;
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-cta,
.button-primary {
  color: var(--navy-deep);
  background: var(--orange);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-on-dark {
  color: var(--white);
  border: 1px solid oklch(1 0 0 / 0.5);
  background: oklch(0.14 0.035 230 / 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: opacity 160ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(650px, calc(100vh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image: url("photos/hero-plumber.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: oklch(0.12 0.035 230 / 0.16);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - clamp(40px, 9vw, 128px)));
  margin-inline: auto;
  padding-block: clamp(68px, 10vw, 116px);
}

.hero-location {
  max-width: 620px;
  margin-bottom: 22px;
  color: oklch(0.93 0.01 225);
  font-weight: 700;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: oklch(0.94 0.008 225);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-bar {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-bar div {
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 15px clamp(16px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.trust-bar div:last-child {
  border-right: 0;
}

.trust-bar strong {
  color: var(--navy);
  font-size: 1rem;
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  width: min(var(--max), calc(100% - clamp(40px, 9vw, 128px)));
  margin-inline: auto;
}

.about,
.why-section,
.testimonials,
.faqs {
  padding-block: clamp(78px, 10vw, 126px);
}

.about,
.why-section,
.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.section-title > p,
.coverage-intro > p,
.testimonial-heading > p,
.quote-copy > p,
.faq-heading > p {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 750;
}

.section-copy {
  padding-top: 42px;
}

.section-copy p {
  max-width: 62ch;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  color: var(--navy);
  font-weight: 760;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.services-section {
  padding-block: clamp(78px, 10vw, 122px);
  background: var(--surface-blue);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 76px);
}

.services-heading h2 {
  max-width: 880px;
}

.services-heading p,
.gallery-heading p {
  margin-bottom: 8px;
  color: var(--muted);
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 50px);
}

.service-group {
  border-top: 2px solid var(--navy);
  padding-top: 20px;
}

.service-group h3 {
  min-height: 52px;
}

.service-group ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.service-group li {
  border-top: 1px solid oklch(0.76 0.018 226);
}

.service-group a {
  display: block;
  padding: 14px 0;
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 160ms ease, padding-left 160ms ease;
}

.service-group a:hover,
.service-group a:focus-visible {
  padding-left: 5px;
  color: var(--navy);
}

.coverage-section {
  padding-block: clamp(78px, 10vw, 120px);
  color: var(--white);
  background: var(--navy-deep);
}

.coverage-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.coverage-intro > p {
  color: oklch(0.79 0.12 58);
}

.coverage-intro h2 {
  margin-bottom: 26px;
}

.coverage-intro > span {
  display: block;
  max-width: 58ch;
  color: oklch(0.82 0.015 225);
}

.supply-list {
  padding-top: 6px;
}

.supply-list h3 {
  margin-bottom: 18px;
  color: oklch(0.9 0.01 225);
}

.supply-list > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.supply-list span {
  padding: 14px 0;
  border-top: 1px solid oklch(1 0 0 / 0.18);
  color: oklch(0.86 0.012 225);
}

.supply-list span:nth-child(odd) {
  margin-right: 24px;
}

.reason-list {
  border-top: 2px solid var(--navy);
}

.reason-list div {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.reason-list span {
  color: var(--muted);
}

.gallery-section {
  padding-block: clamp(78px, 10vw, 122px);
  background: var(--surface);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: repeat(2, 260px);
  gap: 12px;
}

.gallery-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.gallery-large {
  grid-row: 1 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid figure:hover img {
  transform: scale(1.025);
}

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 4px;
  color: var(--white);
  background: oklch(0.12 0.03 230 / 0.88);
  font-size: 0.83rem;
  font-weight: 700;
}

.testimonial-heading h2 {
  max-width: 520px;
}

.testimonial-list {
  border-top: 2px solid var(--navy);
}

blockquote {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

blockquote p {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

cite {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.quote-section {
  padding-block: clamp(76px, 9vw, 112px);
  background: var(--surface-blue);
}

.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.quote-copy h2 {
  margin-bottom: 24px;
}

.quote-copy > span {
  display: block;
  max-width: 52ch;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: var(--white);
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 720;
}

label span {
  color: var(--muted);
  font-weight: 550;
}

.field-help {
  color: var(--muted);
  font-size: 0.76rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
select:focus,
textarea:focus,
summary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid oklch(0.68 0.12 224 / 0.5);
  outline-offset: 2px;
}

.quote-form .button {
  width: fit-content;
  margin-top: 4px;
}

.faqs {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(48px, 8vw, 112px);
}

.faq-list {
  border-top: 2px solid var(--navy);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 20px 34px 20px 0;
  cursor: pointer;
  font-weight: 740;
}

details p {
  max-width: 70ch;
  margin-bottom: 20px;
  color: var(--muted);
}

.site-footer {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 9px clamp(20px, 4vw, 54px);
  color: oklch(0.83 0.012 225);
  background: var(--navy-deep);
  font-size: 0.78rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.site-footer > span {
  justify-self: end;
}

.thank-you {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 22px;
}

.thank-you h1 {
  color: var(--ink);
}

.thank-you .hero-lede {
  color: var(--muted);
}

.thank-you .button {
  width: fit-content;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 190px 1fr;
  }

  .brand {
    width: 184px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .primary-nav.is-open {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    align-items: stretch;
    gap: 0 20px;
    padding: 14px clamp(20px, 5vw, 54px) 18px;
    border-bottom: 1px solid oklch(1 0 0 / 0.14);
    color: var(--white);
    background: var(--navy-deep);
  }

  .primary-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 10px 2px;
    border-bottom: 1px solid oklch(1 0 0 / 0.12);
  }

  .primary-nav.is-open .nav-quote {
    justify-content: center;
    margin-top: 8px;
    border: 0;
    border-radius: 6px;
    color: var(--navy-deep);
    background: var(--orange);
  }

  .primary-nav.is-open .nav-quote:hover,
  .primary-nav.is-open .nav-quote:focus-visible {
    color: var(--navy-deep);
  }

  .service-groups {
    grid-template-columns: 1fr 1fr;
  }

  .about,
  .why-section,
  .testimonials,
  .coverage-inner,
  .quote-inner,
  .faqs {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .quote-copy {
    padding-top: 0;
  }

  .quote-copy {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > span {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 7px 16px;
  }

  .brand {
    width: 156px;
  }

  .primary-nav.is-open {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    padding: 10px 16px 16px;
  }

  .primary-nav.is-open a {
    min-height: 48px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.15rem);
  }

  .hero {
    min-height: 650px;
    background-position: 67% center;
  }

  .hero::before {
    background: oklch(0.11 0.035 230 / 0.48);
  }

  .hero-inner,
  .section {
    width: min(100% - 32px, var(--max));
  }

  .hero-inner {
    align-self: end;
    padding-block: 76px 52px;
  }

  .hero-location {
    max-width: 30ch;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar div:nth-child(2) {
    border-right: 0;
  }

  .trust-bar div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .services-heading,
  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .service-groups {
    grid-template-columns: 1fr;
  }

  .service-group h3 {
    min-height: 0;
  }

  .supply-list > div {
    grid-template-columns: 1fr;
  }

  .supply-list span:nth-child(odd) {
    margin-right: 0;
  }

  .reason-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 240px 240px;
  }

  .gallery-large {
    grid-row: auto;
  }

  .form-two {
    grid-template-columns: 1fr;
  }

  .quote-section {
    padding-block: 68px;
  }

  .quote-form {
    margin-inline: -6px;
  }

  .quote-form .button {
    width: 100%;
  }

  .site-footer {
    min-height: 54px;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px 16px;
  }

  .footer-logo img {
    width: 28px;
    height: 28px;
  }

  .footer-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
