:root {
  --ink: #07111f;
  --navy: #0c2240;
  --navy-2: #143056;
  --navy-3: #1b3d68;
  --copper: #c56a3a;
  --copper-2: #d98452;
  --copper-deep: #9a4c26;
  --bone: #f6f1e8;
  --paper: #fffcf7;
  --sand: #ece4d6;
  --line: rgba(12, 34, 64, 0.1);
  --line-strong: rgba(12, 34, 64, 0.16);
  --muted: #5a6470;
  --text: #243040;
  --white: #ffffff;
  --ok: #2f6b4f;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
  --shadow-lg: 0 30px 70px rgba(7, 17, 31, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --header: 92px;
  --container: 1180px;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}

::selection {
  background: var(--copper);
  color: var(--white);
}

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

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

.nav-item > button {
  font-family: inherit;
}

.side-card .btn {
  width: 100%;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--copper);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 2.5rem), 1280px);
  margin-inline: auto;
}

/* Header */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 38px;
}

.topbar a {
  color: var(--copper-2);
  text-decoration: none;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo img,
.logo svg {
  width: 35px;
  height: 35px;
  object-fit: contain;
  background: #f3eee6;
  border-radius: 8px;
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.logo-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
}

.site-header .logo {
  gap: 0;
}

.site-header .logo-text {
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.site-footer .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
  padding: 0;
}

.site-footer .logo img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  padding: 2px;
  flex-shrink: 0;
}

.site-footer .logo-text {
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.nav-panel {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-item {
  position: relative;
}

.nav-item > button {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-item > button:hover,
.nav-item:focus-within > button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(720px, calc(100vw - 2rem));
  background: var(--paper);
  color: var(--text);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  transition-delay: 0.12s;
  z-index: 90;
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.dropdown a {
  color: var(--navy);
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  display: block;
}

.dropdown a:hover {
  background: var(--bone);
  color: var(--copper-deep);
}

.dropdown a small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.78rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
  padding: 0.9rem 1.3rem;
  font-size: 0.95rem;
}

.btn-copper {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(197, 106, 58, 0.28);
}

.btn-copper:hover {
  background: var(--copper-2);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper-deep);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-img,
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.72) 48%, rgba(7, 17, 31, 0.4) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--copper-2);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--copper-2);
}

h1,
.h1 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.lede {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.hero-phone {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.hero-phone a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.hero-card {
  background: rgba(255, 252, 247, 0.96);
  color: var(--text);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.1rem 0 1.3rem;
}

.stat {
  background: var(--bone);
  border-radius: 14px;
  padding: 0.9rem;
}

.stat b {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  text-decoration: none;
}

/* Trust */
.trust {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  font-size: 0.92rem;
}

.trust-row strong {
  color: var(--white);
  display: block;
}

.trust-row a {
  color: inherit;
  text-underline-offset: 0.16em;
}

.stars {
  color: #e0b15a;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
}

.review-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 0.75rem;
  align-items: center;
}

.review-viewport {
  overflow: hidden;
}

.review-grid {
  display: flex;
  gap: 1.1rem;
  width: 100%;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 calc((100% - 2.2rem) / 3);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.review-card p {
  color: var(--text);
  margin: 0.7rem 0 1rem;
}

.review-card cite {
  font-style: normal;
  font-weight: 650;
  color: var(--navy);
  font-size: 0.92rem;
  margin-top: auto;
}

.review-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}

.review-arrow svg {
  width: 20px;
  height: 20px;
}

.review-arrow:hover,
.review-arrow:focus-visible {
  background: var(--copper);
}

.review-arrow:focus-visible {
  outline: 2px solid var(--copper-2);
  outline-offset: 3px;
}

.review-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.5rem 1.5rem;
  margin-top: 1.2rem;
}

.review-box h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.review-form {
  margin-top: 1rem;
}

.review-form .fields {
  display: grid;
  gap: 0.95rem;
}

.star-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.star-fieldset legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.star-picker label {
  font-size: 2.15rem;
  line-height: 1;
  color: #d5cdc2;
  cursor: pointer;
  padding: 0 0.08em;
}

.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label,
.star-picker input:focus-visible ~ label {
  color: #e0b15a;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.review-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.badge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.badge {
  background: var(--bone);
  border-radius: 14px;
  padding: 0.9rem;
}

.badge b {
  display: block;
  color: var(--navy);
}

.badge span {
  display: block;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.area-list li {
  background: var(--bone);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.section-bone .area-list li {
  background: var(--white);
}

/* Sections */
.section {
  padding: 5.2rem 0;
}

.section-bone {
  background: var(--bone);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.4rem;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 340px);
  gap: 1.5rem 2.2rem;
  align-items: center;
  margin-bottom: 2.4rem;
}

.services-intro .section-head {
  max-width: none;
  margin-bottom: 0;
}

.services-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 1.45rem 1.3rem 1.4rem;
  text-align: center;
}

.services-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/emergency-plumber.webp") center 58% / cover no-repeat;
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

.services-cta > * {
  position: relative;
  z-index: 1;
}

.services-cta h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 0 0 0.45rem;
  color: var(--white);
}

.services-cta p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.services-cta .btn {
  width: 100%;
}

.services-cta .btn-copper {
  margin-bottom: 0.65rem;
}

.section-head h2,
.prose h2 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.section-head h2,
.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.8rem;
}

.section-navy .section-head h2,
.section-navy h2 {
  color: var(--white);
}

.muted {
  color: var(--muted);
}

.section-navy .muted,
.section-navy p {
  color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.team-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.team-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 50% 30%;
  background: var(--sand);
}

.team-card-wide {
  grid-column: span 2;
}

.team-card-wide img {
  height: 280px;
}

.team-card-tall img {
  height: 320px;
  object-position: 50% 18%;
}

.team-card figcaption {
  padding: 0.7rem 0.85rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: 0.22s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bone);
  color: var(--copper);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  color: var(--navy);
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.card .more {
  margin-top: auto;
  color: var(--copper-deep);
  font-weight: 650;
  font-size: 0.92rem;
}

.service-cards .card {
  padding: 0;
  overflow: hidden;
}

.service-cards .card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 62%;
  background: var(--sand);
}

.service-cards .card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 300px;
}

.service-cards .card p {
  min-height: 4.2em;
}

.service-cards .card .more {
  text-decoration: none;
}

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.split-top {
  align-items: start;
}

.media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: #ddd;
  position: relative;
}

.media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.media-portrait img {
  object-position: 50% 62%;
}

.media-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(7, 17, 31, 0.82);
  color: var(--white);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
}

.feature-list li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  left: 0;
  top: 0.95rem;
}

/* Emergency band */
.emergency {
  background:
    linear-gradient(120deg, rgba(154, 76, 38, 0.94), rgba(12, 34, 64, 0.92)),
    url("../assets/images/emergency-plumber.webp") center/cover;
  color: var(--white);
  border-radius: 28px;
  padding: 2.4rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.emergency h2 {
  font-family: var(--serif);
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.emergency p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  color: var(--white);
}

.page-cta-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: 0;
}

.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(154, 76, 38, 0.94), rgba(12, 34, 64, 0.92));
  pointer-events: none;
}

.page-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.4rem;
}

.page-cta h2 {
  font-family: var(--serif);
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: var(--white);
}

.page-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
}

.step b {
  color: var(--copper-2);
  display: block;
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.step h3,
.step h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-family: var(--serif);
  color: inherit;
}

.steps-light .step {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow);
}

.steps-light .step p {
  color: var(--muted);
  margin: 0;
}

.not-found-links {
  margin-top: 2rem;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 3.4rem 0 3.6rem;
}

.page-hero::before {
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.9), rgba(12, 34, 64, 0.72));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 340px);
  gap: 2.4rem;
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero h1 {
  font-family: var(--serif);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}

.hero-cta {
  background: var(--paper);
  color: var(--text);
  text-align: center;
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 252, 247, 0.9);
  border-top: 4px solid var(--copper);
}

.hero-cta h2 {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: var(--navy);
}

.hero-cta-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin: 0 0 1.05rem;
  padding: 0;
}

.hero-cta-points li {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.hero-cta-points li::before {
  content: "";
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: inset 0 0 0 2px var(--ok);
  vertical-align: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M4.7 8.6 2.4 6.3l.9-.9 1.4 1.4 3.3-3.3.9.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.72rem;
}

.hero-cta-call {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.7rem;
}

.hero-cta-book {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  margin-bottom: 0.95rem;
}

.hero-cta-book:hover {
  color: var(--copper-deep);
}

.hero-cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 0.84rem;
}

.hero-cta-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(47, 107, 79, 0.16);
  flex-shrink: 0;
}

.hero-cta-tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 560;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.page-hero .lede {
  margin-bottom: 1.3rem;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.2rem;
  align-items: start;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose .subhead-img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 0 1rem;
  background: var(--sand);
}

.prose .subhead-img-full {
  height: 540px;
  object-position: 50% 68%;
}

.prose .subhead-img-hvac-tech,
.prose .subhead-img-commercial {
  object-position: 48% 36%;
}

.prose .subhead-img-repairs {
  object-position: 58% 36%;
}

.prose .subhead-img-drain {
  object-position: 38% 48%;
}

.prose .subhead-img-leak {
  object-position: 64% 36%;
}

.prose .subhead-img-heater {
  object-position: 48% 26%;
}

.prose .subhead-img-boiler {
  object-position: 60% 28%;
}

.prose .subhead-img-bathroom {
  object-position: 46% 38%;
}

.prose .subhead-img-kitchen {
  object-position: 50% 56%;
}

.prose .subhead-img-pipe {
  object-position: 50% 64%;
}

.prose .subhead-img-jetting {
  object-position: 52% 86%;
}

.prose .subhead-img-inspect {
  object-position: 50% 78%;
}

.prose .subhead-img-emdrain {
  object-position: 58% 76%;
}

.prose .subhead-img-ptrap {
  object-position: 62% 48%;
}

.prose .subhead-img-sewer {
  object-position: 48% 92%;
}

.prose .subhead-img-comdrain {
  object-position: 42% 86%;
}

.prose .subhead-img-prodrain {
  object-position: 48% 78%;
}

.prose .subhead-img-leakpro {
  object-position: 46% 72%;
}

.prose .subhead-img-leaksy {
  object-position: 62% 52%;
}

.prose .subhead-img-leakconc {
  object-position: 38% 48%;
}

.prose .subhead-img-leakslab {
  object-position: 58% 48%;
}

.prose .subhead-img-leakug {
  object-position: 50% 88%;
}

.prose .subhead-img-leakfix {
  object-position: 62% 48%;
}

.prose .subhead-img-leakmethod {
  object-position: 42% 68%;
}

.prose .subhead-img-leakres {
  object-position: 72% 78%;
}

.prose .subhead-img-leakcom {
  object-position: 55% 72%;
}

.prose .subhead-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.prose .subhead-img-pair .subhead-img {
  margin: 0;
  height: 220px;
  object-position: 50% 62%;
}

.prose h2 + .subhead-img,
.prose h3 + .subhead-img {
  margin-top: 0.15rem;
}

.prose h3 {
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose a {
  color: var(--copper-deep);
  font-weight: 600;
}

.sidebar {
  position: sticky;
  top: calc(var(--header) + 18px);
  display: grid;
  gap: 1rem;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
}

.side-card.why-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.side-card.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/home-hero.webp") center 58% / cover no-repeat;
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

.side-card.why-card > * {
  position: relative;
  z-index: 1;
}

.side-card.why-card-about::before {
  background: url("../assets/images/team/a-good-team.png") center 42% / cover no-repeat;
  opacity: 0.45;
}

.side-card.related-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.side-card.related-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--related-bg) center 58% / cover no-repeat;
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

.side-card.related-card > * {
  position: relative;
  z-index: 1;
}

.related-bg-leak { --related-bg: url("../assets/images/sub/plumbing-services-leak.webp"); }
.related-bg-drain { --related-bg: url("../assets/images/sub/plumbing-services-drain.webp"); }
.related-bg-emergency { --related-bg: url("../assets/images/emergency-plumber.webp"); }
.related-bg-plumbing { --related-bg: url("../assets/images/sub/plumbing-services-repairs.webp"); }
.related-bg-pipe { --related-bg: url("../assets/images/sub/plumbing-services-pipe.webp"); }
.related-bg-heater { --related-bg: url("../assets/images/sub/water-heater-service-sub.webp"); }
.related-bg-residential { --related-bg: url("../assets/images/residential-plumbing.webp"); }
.related-bg-hvac { --related-bg: url("../assets/images/sub/heating-repair.webp"); }
.related-bg-commercial-hvac { --related-bg: url("../assets/images/commercial-hvac.webp"); }
.related-bg-frozen { --related-bg: url("../assets/images/sub/frozen-pipe-issues.webp"); }

.side-card.cta {
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.side-card.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.side-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}

.side-links {
  display: grid;
  gap: 0.35rem;
}

.related-card .side-links {
  max-height: 11rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) rgba(12, 34, 64, 0.12);
}

.related-card .side-links::-webkit-scrollbar {
  width: 6px;
}

.related-card .side-links::-webkit-scrollbar-track {
  background: rgba(12, 34, 64, 0.08);
  border-radius: 99px;
}

.related-card .side-links::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 99px;
}

.side-links a {
  text-decoration: none;
  color: var(--navy);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.phone-xl {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--white);
  text-decoration: none;
}

/* Forms */
.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.86rem;
  color: var(--muted);
}

.form-success {
  display: none;
  background: #e8f4ee;
  color: var(--ok);
  border-radius: 14px;
  padding: 1rem;
}

.form-error {
  display: none;
  background: #fdecea;
  color: var(--danger);
  border-radius: 14px;
  padding: 1rem;
  margin: 0 0 0.85rem;
}

.form-error.is-visible {
  display: block;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form.is-sent .form-success,
.review-form.is-sent .form-success {
  display: block;
}

.form.is-sent .fields,
.review-form.is-sent .fields {
  display: none;
}

.form.is-sent .form-error,
.review-form.is-sent .form-error {
  display: none;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.7rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
}

.faq p {
  margin: 0.7rem 0 0.2rem;
  color: var(--muted);
}

.prose .faq {
  margin: 1.1rem 0 1.6rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 2rem;
}

.info-card a {
  color: var(--copper-2);
}

.map {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: 24px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 1.4rem;
}

.info-card h2,
.info-card h3 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  display: block;
  padding: 0.22rem 0;
}

.site-footer a:hover {
  color: var(--copper-2);
}

.footer-contact {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--copper-2);
}

.site-footer .footer-contact a {
  display: inline;
  padding: 0;
  overflow-wrap: anywhere;
}

.site-footer .footer-bottom a {
  display: inline;
  padding: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin: 0.85rem 0 0.15rem;
}

.site-footer .footer-social-link {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1;
}

.site-footer .footer-social-link:hover {
  background: none;
  color: var(--copper-2);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-social-x span {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.74);
}

.site-footer .footer-social-x:hover span {
  -webkit-text-stroke-color: var(--copper-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
}

.mobile-cta {
  display: none;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

.note {
  background: var(--bone);
  border-left: 3px solid var(--copper);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.1rem;
  margin: 1.4rem 0;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.panel-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: 12px;
  margin: 0 0 1rem;
  background: var(--sand);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  background: var(--bone);
  border-radius: 24px;
  padding: 1.6rem 1.8rem;
}

@media (max-width: 980px) {
  .related,
  .two-col,
  .cta-band,
  .review-form-grid,
  .badge-row {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-inner,
  .services-intro,
  .split,
  .layout,
  .cards,
  .cards-4,
  .team-gallery,
  .steps,
  .trust-row,
  .footer-grid,
  .contact-grid,
  .emergency,
  .page-cta-inner {
    grid-template-columns: 1fr;
  }

  .review-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 0.45rem;
  }

  .review-arrow {
    width: 36px;
    height: 36px;
  }

  .review-card {
    flex-basis: 100%;
  }

  .team-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .team-card-wide {
    grid-column: span 2;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    min-height: 64px;
  }

  .logo img,
  .logo svg {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    padding: 2px;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    display: none;
    padding: 0.6rem 1.25rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.nav-open .nav-panel {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown {
    position: static;
    transform: none;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    background: transparent;
    box-shadow: none;
    padding: 0.2rem 0 0.6rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .dropdown::before {
    display: none;
  }

  .nav-item.open .dropdown {
    display: grid;
  }

  .dropdown a {
    color: var(--white);
  }

  .dropdown a small {
    color: rgba(255, 255, 255, 0.62);
  }

  .hero-grid {
    min-height: auto;
  }

  .prose .subhead-img {
    height: 180px;
  }

  .prose .subhead-img-full {
    height: 400px;
  }

  .prose .subhead-img-pair {
    grid-template-columns: 1fr;
  }

  .prose .subhead-img-pair .subhead-img {
    height: 180px;
  }

  .sidebar {
    position: static;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: var(--ink);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    gap: 0.6rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  }

  .mobile-cta .btn {
    flex: 1;
  }

  body {
    padding-bottom: 84px;
  }
}

@media (max-width: 640px) {
  .team-gallery {
    grid-template-columns: 1fr;
  }

  .team-card-wide {
    grid-column: auto;
  }

  .team-card-wide img,
  .team-card-tall img {
    height: 240px;
  }
}

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

  * {
    transition: none !important;
  }
}
