:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #66727b;
  --surface: #ffffff;
  --soft: #f3f6f8;
  --line: #dfe6ea;
  --red: #b3073d;
  --red-dark: #8e0733;
  --navy: #092f43;
  --blue: #0b7189;
  --gold: #f2bd57;
  --shadow: 0 22px 60px rgba(16, 24, 32, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fafb;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 98px;
  padding: 18px clamp(22px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(16, 24, 32, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 330px;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  width: 120px;
  height: 96px;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 120px;
  height: 120px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.brand strong {
  display: block;
  color: var(--red);
  font-size: 1.32rem;
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-ready {
  color: var(--blue);
}

.brand-pros {
  color: var(--red);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(22px, 4vw, 56px);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 900;
  text-transform: uppercase;
}

nav a:hover,
nav a[aria-current="page"],
footer a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.search-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.search-button span {
  width: 18px;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  position: relative;
}

.search-button span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  right: -8px;
  bottom: -5px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
}

.header-phone {
  font-weight: 950;
  letter-spacing: 0;
}

.header-schedule {
  padding-left: 16px;
  border-left: 1px solid #b8c2c8;
  font-weight: 950;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: 360px;
  padding: clamp(34px, 5vw, 52px) clamp(22px, 5vw, 64px);
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(179, 7, 61, 0.98), rgba(179, 7, 61, 0.96)),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.hero-content,
.hero-panel {
  max-width: 820px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(54px, 9vw, 92px);
  font-weight: 950;
}

.back-link::before {
  content: "\00ab";
  font-size: 1.15rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 22ch;
  font-size: clamp(2.15rem, 3.2vw, 3rem);
  font-weight: 500;
}

.hero-city-rotator {
  display: inline-grid;
  min-width: 13ch;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-city {
  display: inline-block;
  grid-area: 1 / 1;
  white-space: nowrap;
}

.hero-city.is-exiting {
  animation: citySlotOut 500ms cubic-bezier(0.55, 0.04, 0.24, 1) forwards;
}

.hero-city.is-entering {
  animation: cityDropIn 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes citySlotOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  26% {
    opacity: 1;
    transform: translateY(-22%);
  }

  100% {
    opacity: 0;
    transform: translateY(92%);
  }
}

@keyframes cityDropIn {
  from {
    opacity: 0;
    transform: translateY(-92%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

h3 {
  font-size: 1.16rem;
}

.hero-panel h2 {
  max-width: 22ch;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
}

.hero-panel p {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.48;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(179, 7, 61, 0.2);
}

.button.primary:hover {
  background: var(--red-dark);
}

.hero-button {
  margin-top: 26px;
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.86);
}

.hero-button:hover {
  color: var(--red);
  background: #ffffff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 20px clamp(14px, 3vw, 28px);
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.request-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 64px);
  background: var(--surface);
}

.request-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.process p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.photo-panel {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 62% center;
}

.quick-facts {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.quick-facts div {
  padding: 16px;
  background: var(--soft);
  border-left: 5px solid var(--gold);
}

dt {
  font-weight: 950;
}

dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  background: #f8fbfc;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #27363d;
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #c7d2d8;
  border-radius: 0;
  font: inherit;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(179, 7, 61, 0.16);
  border-color: var(--red);
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.section,
.process,
.resources,
.service-areas,
.cta-strip {
  padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 64px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 32px;
}

.service-grid,
.review-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

article,
figure {
  margin: 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}

article p,
blockquote {
  color: var(--muted);
  line-height: 1.62;
}

.service-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--red);
  position: relative;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
}

.service-icon.leak::before {
  width: 16px;
  height: 22px;
  left: 13px;
  top: 9px;
  border-radius: 12px 12px 16px 16px;
  transform: rotate(45deg);
}

.service-icon.drain::before {
  width: 24px;
  height: 8px;
  left: 9px;
  top: 12px;
  border-radius: 10px;
}

.service-icon.drain::after {
  width: 20px;
  height: 14px;
  left: 11px;
  top: 22px;
  border-radius: 0 0 12px 12px;
}

.service-icon.heater::before {
  width: 18px;
  height: 26px;
  left: 12px;
  top: 8px;
  border-radius: 9px;
}

.service-icon.fixture::before {
  width: 24px;
  height: 8px;
  left: 9px;
  top: 10px;
  border-radius: 10px 10px 2px 2px;
}

.service-icon.fixture::after {
  width: 8px;
  height: 18px;
  left: 17px;
  top: 18px;
  border-radius: 6px;
}

.service-areas {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  background: var(--soft);
}

.service-areas p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.area-list a {
  display: block;
  padding: 16px;
  background: #ffffff;
  border-left: 4px solid var(--red);
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 52px);
  background: var(--navy);
  color: #ffffff;
}

.process .eyebrow {
  color: var(--gold);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.steps li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 950;
}

.steps span {
  display: block;
  grid-column: 2;
  min-width: 0;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.steps strong {
  grid-column: 2;
  min-width: 0;
}

.reviews,
.resources {
  background: #ffffff;
}

.faq-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 86px) clamp(22px, 5vw, 64px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.faq-intro > div {
  max-width: 900px;
}

.faq-intro .back-link {
  margin-bottom: 34px;
  color: var(--navy);
}

.faq-intro h1 {
  max-width: 16ch;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.faq-intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.faq-section {
  background: var(--soft);
}

.review-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resources {
  background: var(--soft);
}

.resources.faq-resources {
  background: #ffffff;
}

.faq-solutions {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.solution-grid article {
  border-top: 4px solid var(--blue);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  min-height: 190px;
}

.faq-item h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.faq-item p {
  color: var(--muted);
  line-height: 1.65;
}

blockquote {
  margin: 0;
  font-size: 1.06rem;
}

figcaption {
  margin-top: 18px;
  color: var(--red);
  font-weight: 950;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  padding: 28px clamp(22px, 5vw, 64px);
  color: #4e5f68;
  background: #f8fafb;
}

footer p {
  margin: 0;
}

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

  nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .hero,
  .request-band,
  .service-areas,
  .process {
    grid-template-columns: 1fr;
  }

  .back-link {
    margin-bottom: 42px;
  }

  h1 {
    max-width: 14ch;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 0;
    gap: 16px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 82px;
    height: 66px;
  }

  .brand-mark img {
    width: 82px;
    height: 82px;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .header-actions {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 10px;
  }

  .header-phone {
    font-size: 0.92rem;
  }

  .header-schedule {
    padding-left: 10px;
    font-size: 0.86rem;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 0;
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .trust-strip,
  .form-grid,
  .service-grid,
  .review-grid,
  .resource-grid,
  .area-list {
    grid-template-columns: 1fr;
  }

  .button,
  .cta-strip .button {
    width: 100%;
  }

}
