/* Mayan Plumbing: trial landing page */

:root {
  --paper: #07090c;
  --paper-2: #10161d;
  --card: #121920;
  --ink: #f4f8fb;
  --ink-soft: #c5d2db;
  --muted: #8ea0ad;
  --line: rgba(126, 198, 234, 0.22);
  --blue: #3cb4e6;
  --blue-ink: #8fd4f5;
  --deep: #0c1218;
  --deep-2: #163041;
  --white: #f7fbfe;
  --header-h: 72px;
  --font-display: "Zilla Slab", Rockwell, "Iowan Old Style", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 6.2vw, 3.7rem);
  margin: 0 0 1rem;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  margin: 0 0 0.85rem;
  max-width: 20ch;
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0 0 0.7rem;
}

h4 {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--blue);
  color: #041018;
  padding: 0.65rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(7, 9, 12, 0.94);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 12, 0.96);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand--footer img {
  height: 58px;
}

.nav {
  display: none;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-phone {
  display: none;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.header-phone-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--blue);
  color: #041018;
}

.btn-primary:hover {
  background: #6ac8f0;
  color: #041018;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--header-h));
  margin: 0;
  overflow: hidden;
  background: #07090c;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.2) 0%, rgba(7, 9, 12, 0.55) 46%, rgba(7, 9, 12, 0.94) 78%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.45) 0%, rgba(7, 9, 12, 0) 72%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 2.5rem 1.15rem 2.25rem;
  text-align: center;
}

.hero h1,
.hero .lead {
  max-width: 18rem;
  margin-inline: auto;
}

.lead {
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero h1 {
  color: var(--white);
}

.hero .lead {
  color: #e6eef3;
}

.hero .lead span {
  display: block;
  text-wrap: balance;
}

.hero .lead span + span {
  margin-top: 0.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.35rem 0 0;
}

.hero .btn-ghost {
  background: rgba(7, 9, 12, 0.35);
  color: var(--white);
  border-color: rgba(247, 251, 254, 0.38);
}

/* Sections */

.trust {
  background: #0c1218;
  border-bottom: 1px solid var(--line);
}

.trust ul {
  list-style: none;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: center;
}

.trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  text-align: center;
}

.trust img {
  width: 72px;
  height: auto;
}

.trust li:first-child img {
  width: 88px;
}

.trust p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.services,
.reviews,
.why {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.15rem 4.25rem;
}

.services {
  padding-top: 2.75rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head p:last-child {
  max-width: 38rem;
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.service-grid li {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.service-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.svc-drain {
  object-position: 38% 40%;
}

.svc-emergency {
  object-position: center 42%;
}

.svc-fixture {
  object-position: 16% 40%;
}

.svc-sump {
  object-position: 42% 46%;
}

.svc-camera {
  object-position: 58% 68%;
}

.svc-valve {
  object-position: 50% 50%;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.05rem 1.15rem 1.2rem;
}

.service-grid h3 {
  font-size: 1.28rem;
  margin: 0 0 0.4rem;
}

.service-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0;
}

.service-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.service-call:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Reviews */

.review-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.review-grid li {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.15rem 1.15rem;
}

.review-stars {
  margin: 0 0 0.75rem;
  color: var(--blue);
  line-height: 0;
}

.review-stars svg {
  width: 88px;
  height: 16px;
}

.review-grid blockquote {
  margin: 0;
  flex: 1;
}

.review-grid blockquote p {
  margin: 0;
  font-size: 0.98rem;
}

.review-name {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Why choose */

.why h2 {
  max-width: none;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem 1rem;
}

.why-check {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(60, 180, 230, 0.16);
  color: var(--blue);
}

.why-check svg {
  width: 16px;
  height: 16px;
}

.why-list p {
  margin: 0;
  font-size: 1rem;
  min-width: 0;
}

.why-layout {
  display: grid;
  gap: 0.85rem;
}

.why-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.95 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  order: -1;
}

/* Contact */

.contact {
  background: #0c141c;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 3.25rem 1.15rem 3.5rem;
  display: grid;
  gap: 2rem;
}

.contact h2,
.contact .contact-copy p {
  color: var(--white);
}

.contact .contact-copy p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.contact-dl {
  margin: 1.5rem 0 0;
}

.contact-dl div {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(126, 198, 234, 0.18);
}

.contact-dl dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-dl dd {
  margin: 0;
  font-size: 1.08rem;
}

.contact-dl a {
  color: var(--white);
  text-decoration: none;
}

.contact-dl div:first-child a {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-dl a:hover {
  color: var(--blue);
}

.request-form {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem 1.1rem 1.25rem;
}

.form-row {
  margin-bottom: 0.85rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(126, 198, 234, 0.28);
  background: #0b1016;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-success {
  margin-top: 0.9rem;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  background: rgba(60, 180, 230, 0.14);
  color: var(--ink);
}

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

.form-success a {
  font-weight: 700;
}

/* Footer */

.site-footer {
  background: #05070a;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.15rem 2rem;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.footer-brand p {
  margin-top: 0.9rem;
  max-width: 22rem;
  color: var(--ink-soft);
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.7rem;
  max-width: none;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0.35rem 0;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  max-width: var(--max);
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(126, 198, 234, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: var(--blue);
}

/* Desktop */

@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .header-phone {
    display: inline-flex;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .header-phone {
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
    margin-right: 0.35rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-footer {
    padding-bottom: 1.6rem;
  }

  .brand img {
    height: 52px;
  }

  .hero {
    align-items: center;
    min-height: calc(100svh - var(--header-h));
  }

  .hero::before {
    background: linear-gradient(
      100deg,
      rgba(7, 9, 12, 0.94) 0%,
      rgba(7, 9, 12, 0.86) 24%,
      rgba(7, 9, 12, 0.5) 44%,
      rgba(7, 9, 12, 0.12) 64%,
      rgba(7, 9, 12, 0) 80%
    );
  }

  .hero-copy {
    padding: 4.5rem 1.15rem;
    text-align: left;
  }

  .hero h1,
  .hero .lead {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .trust ul {
    padding: 1rem 1.15rem;
  }

  .trust li {
    flex-direction: row;
    gap: 0.8rem;
    text-align: left;
  }

  .trust img {
    width: 84px;
  }

  .trust li:first-child img {
    width: 108px;
  }

  .trust p {
    font-size: 1.35rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero .lead {
    max-width: 33rem;
  }

  .hero .lead span {
    text-wrap: pretty;
  }

  .services,
  .reviews,
  .why {
    padding-bottom: 5.5rem;
  }

  .service-photo {
    height: 168px;
  }

  .services {
    padding-top: 3.75rem;
  }

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

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .contact {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.85fr);
    align-items: start;
    gap: 3rem;
    padding: 4.5rem 1.15rem;
  }

  .contact > * {
    max-width: 640px;
  }

  .contact {
    padding-left: max(1.15rem, calc((100% - var(--max)) / 2));
    padding-right: max(1.15rem, calc((100% - var(--max)) / 2));
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 760px) and (max-width: 980px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 979px) {
  .nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #07090c;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.25rem 1.3rem 2rem;
    gap: 0.25rem;
    z-index: 35;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
    position: static;
    inset: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
  }

  .nav a {
    font-family: var(--font-body);
    font-size: 0.98rem;
    padding: 0;
    border-bottom: 0;
  }

  .nav-toggle {
    display: none;
  }

  .why-layout {
    grid-template-columns: minmax(0, max-content) minmax(14rem, 1fr);
    justify-content: start;
    align-items: center;
    gap: 1.15rem;
  }

  .why-photo {
    order: 0;
  }

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

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

/* A tall PDF page treats 100svh as the whole sheet, which stretches the hero. */
@media print {
  .hero {
    min-height: 828px;
    height: 828px;
  }
}

/* ===== Inner pages (services, areas): added for the page build ===== */

/* Links added to existing home-page text: look exactly like the text they wrap. */

.service-grid li {
  position: relative;
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: inherit;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card-link:focus-visible {
  outline: none;
}

.service-grid li:has(.card-link:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.footer-col a.quiet-link,
.contact-dl a.quiet-link {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

.footer-col a.quiet-link:hover,
.contact-dl a.quiet-link:hover {
  color: var(--blue);
}

/* ---------------------------------------------------------------- shared */

.inner .eyebrow,
.sig .eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.hero--page {
  min-height: min(76svh, 660px);
}

.hero--page h1 {
  max-width: 15ch;
}

.hero--page .lead {
  max-width: 32rem;
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.15rem 1rem;
}

.page-section--tint {
  max-width: none;
  margin-top: 3rem;
  padding-bottom: 3.25rem;
  padding-left: max(1.15rem, calc((100% - var(--max)) / 2 + 1.15rem));
  padding-right: max(1.15rem, calc((100% - var(--max)) / 2 + 1.15rem));
  background: #0c1218;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.inner .reviews {
  padding-top: 3rem;
}

.inner .services {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.intro-layout {
  display: grid;
  gap: 1.5rem;
}

.prose p {
  max-width: 40rem;
}

.callout {
  align-self: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.15rem 1.25rem;
}

.callout h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.callout .btn {
  margin-top: 1.1rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.42em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 2px solid var(--blue);
}

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.card-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.05rem 1.15rem 1.15rem;
}

.card-grid h3 {
  font-size: 1.22rem;
  margin: 0 0 0.4rem;
}

.card-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.2rem 0.9rem;
  align-items: start;
  align-content: start;
}

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(60, 180, 230, 0.16);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.steps h3 {
  font-size: 1.2rem;
  margin: 0.35rem 0 0.15rem;
}

.steps p {
  margin: 0;
  font-size: 0.98rem;
}

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 48rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  font-weight: 650;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  border-radius: 16px;
}

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  font-size: 0.98rem;
}

.area-groups {
  display: grid;
  gap: 1.4rem;
}

.area-groups h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

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

.chip-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 550;
  text-decoration: none;
}

.chip-list a:hover,
.chip-list a[aria-current="page"] {
  border-color: var(--blue);
  color: var(--white);
}

.areas-note {
  margin-top: 1.25rem;
  font-size: 0.96rem;
}

.inner .contact {
  margin-top: 3.5rem;
}

/* ---------------------------------------------------------------- signature sections */

.sig .section-head p:last-child {
  max-width: 36rem;
}

.sig-note {
  margin-top: 1.25rem;
  font-size: 0.96rem;
  max-width: 44rem;
}

.dg-figure {
  margin: 0;
  background: #0a0f14;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.75rem;
}

.dg {
  display: block;
  width: 100%;
  height: auto;
}

.dg-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  fill: var(--muted);
}

.dg-ground {
  stroke: #3b4954;
  stroke-width: 2;
}

.dg-street {
  fill: #2a333c;
}

.dg-house {
  fill: #121920;
  stroke: #5b6b77;
  stroke-width: 2;
}

.dg-basement {
  fill: #10161d;
  stroke: #5b6b77;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.dg-pipe {
  stroke: #1d4a60;
  stroke-width: 16;
  stroke-linecap: round;
}

.dg-joint {
  fill: #3cb4e6;
  opacity: 0.85;
}

.dg-sewer {
  fill: #163041;
  stroke: #3cb4e6;
  stroke-width: 3;
}

.dg-root {
  fill: none;
  stroke: #e3a857;
  stroke-width: 3;
  stroke-linecap: round;
}

.dg-arrow-up,
.dg-flow,
.dg-discharge {
  fill: none;
  stroke: #8fd4f5;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dg-arrow-up {
  stroke: #e3a857;
}

.dg-discharge {
  stroke: #3cb4e6;
  stroke-width: 7;
}

.dg-rain {
  stroke: #5b8aa3;
  stroke-width: 2;
  stroke-linecap: round;
}

.dg-seep {
  fill: none;
  stroke: rgba(143, 212, 245, 0.55);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

.dg-wall {
  fill: #3a444d;
}

.dg-floor {
  fill: #3a444d;
}

.dg-tile {
  fill: #163041;
  stroke: #3cb4e6;
  stroke-width: 2;
  stroke-dasharray: 3 3;
}

.dg-pit {
  fill: #0b1016;
  stroke: #5b6b77;
  stroke-width: 2;
}

.dg-marker circle {
  fill: #3cb4e6;
}

.dg-marker text {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  fill: #041018;
}

.dg-legend {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

#how-it-blocks .dg-legend {
  margin-top: 2.5rem;
}

.dg-legend li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.dg-num {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #041018;
  font-weight: 700;
}

.dg-legend h3 {
  font-size: 1.15rem;
  margin: 0.15rem 0 0.2rem;
}

.dg-legend p {
  margin: 0;
  font-size: 0.97rem;
}

.sig-split {
  display: grid;
  gap: 1rem;
}

.sig-photo {
  margin: 0;
}

.sig-photo img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.sig-photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Emergency */

.em-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: em;
}

.em-tiles li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid #e3a857;
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.25rem;
}

.em-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  background: rgba(227, 168, 87, 0.14);
}

.em-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: #e3a857;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.em-tiles h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.em-tiles p {
  margin: 0;
  font-size: 0.98rem;
}

.em-call {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(120deg, #163041, #0f1d27);
  border: 1px solid rgba(60, 180, 230, 0.4);
}

.em-call-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.em-call-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.15;
  color: var(--white);
}

.em-call-btn {
  justify-self: start;
  font-size: 1.1rem;
  min-height: 54px;
  padding: 0.8rem 1.5rem;
}

/* Fixtures */

.rr-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.rr-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.rr-table th,
.rr-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(126, 198, 234, 0.14);
}

.rr-table tbody tr:last-child th,
.rr-table tbody tr:last-child td {
  border-bottom: 0;
}

.rr-table thead th {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #0f151b;
}

.rr-table tbody th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--ink);
  width: 28%;
}

.rr-table td {
  color: var(--ink-soft);
}

.rr-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.rr-tag--repair {
  background: rgba(60, 180, 230, 0.16);
  color: var(--blue-ink);
}

.rr-tag--replace {
  background: rgba(227, 168, 87, 0.16);
  color: #f0c38a;
}

/* Camera */

.cam-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.cam-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.cam-grid svg {
  display: block;
  width: 84px;
  height: 84px;
  margin-bottom: 0.7rem;
}

.cam-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.cam-grid p {
  margin: 0;
  font-size: 0.94rem;
}

.cam-pipe {
  fill: #0b1016;
  stroke: #5b6b77;
  stroke-width: 6;
}

.cam-root {
  fill: none;
  stroke: #e3a857;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.cam-crack {
  fill: none;
  stroke: #e3a857;
  stroke-width: 4;
  stroke-linejoin: round;
}

.cam-side {
  fill: none;
  stroke: #5b6b77;
  stroke-width: 5;
  stroke-linecap: round;
}

.cam-side-seg {
  fill: #0b1016;
  stroke: #5b6b77;
  stroke-width: 5;
}

.cam-ok {
  fill: none;
  stroke: #3cb4e6;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Backwater valve */

.bv-grid {
  display: grid;
  gap: 0.85rem;
}

.bv-panel {
  margin: 0;
  background: #0a0f14;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1rem 1.15rem;
}

.bv-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

.bv-panel figcaption {
  margin-top: 0.6rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.bv-panel figcaption strong {
  color: var(--white);
}

.bv-pipe {
  fill: #1d4a60;
}

.bv-body {
  fill: #121920;
  stroke: #8fd4f5;
  stroke-width: 2.5;
}

.bv-flap {
  stroke: #f4f8fb;
  stroke-width: 6;
  stroke-linecap: round;
}

.bv-flap--closed {
  stroke: #e3a857;
}

.bv-arrow {
  fill: none;
  stroke: #8fd4f5;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bv-arrow--back {
  stroke: #e3a857;
}

.bv-sewer {
  fill: #163041;
  stroke: #3cb4e6;
  stroke-width: 3;
}

.bv-sewer--full {
  fill: rgba(227, 168, 87, 0.45);
  stroke: #e3a857;
}

/* ---------------------------------------------------------------- area pages */

.area-hero {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.15rem 0;
  gap: 1.5rem;
}

.area-hero-photo {
  margin: 0;
  order: -1;
}

.area-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.area-hero-copy h1 {
  max-width: 13ch;
}

.area-hero--service .area-hero-copy h1 {
  max-width: 20ch;
}

.glance {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 0 1.15rem;
}

.glance ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0c1218;
  overflow: hidden;
}

.glance li {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.glance li:last-child {
  border-bottom: 0;
}

.glance-label {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.glance-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--white);
}

/* Areas hub */

.hub-grid {
  display: grid;
  gap: 1rem;
}

.hub-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.15rem 0.6rem;
}

.hub-col h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.hub-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hub-col li {
  border-top: 1px solid rgba(126, 198, 234, 0.14);
}

.hub-col a {
  display: block;
  padding: 0.75rem 0 0.1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
}

.hub-col a:hover {
  color: var(--blue);
}

.hub-col span {
  display: block;
  padding-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* 404 */

.notfound,
.credits {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.credits h1 {
  max-width: 14ch;
}

.credits > p {
  max-width: 38rem;
  color: var(--ink-soft);
}

.credit-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.credit-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem 1.2rem;
}

.credit-list h2 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

.credit-list p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.notfound .hero-actions {
  margin-bottom: 2rem;
}

/* ---------------------------------------------------------------- larger screens */

@media (min-width: 760px) {
  .page-section {
    padding-top: 4rem;
  }

  .page-section--tint {
    margin-top: 4rem;
    padding-bottom: 4rem;
  }

  .intro-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 1fr);
    gap: 2.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }

  .area-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .dg-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  #how-a-sump-works .dg-legend {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .em-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .em-call {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.6rem 1.75rem;
  }

  .cam-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .bv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

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

  .glance li {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 1.2rem 1.4rem;
  }

  .glance li:last-child {
    border-right: 0;
  }

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

@media (min-width: 900px) {
  .area-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2.75rem;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
  }

  .area-hero-photo {
    order: 0;
  }

  .area-hero-img {
    aspect-ratio: 5 / 4;
  }

  .sig-split {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .sig-photo img {
    max-height: none;
    height: calc(100% - 2rem);
  }
}

@media (min-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .steps li {
    grid-template-columns: 1fr;
  }

  .steps li::before {
    grid-row: auto;
    margin-bottom: 0.4rem;
  }
}

/* ---------------------------------------------------------------- header dropdowns (JR pattern) */

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.18rem) rotate(45deg);
}

.nav .nav-dropdown-menu a[aria-current="page"] {
  color: var(--blue);
}

.nav-dropdown-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Phone menu: every service and area listed under its heading. */
@media (max-width: 979px) {
  .nav {
    overflow-y: auto;
  }

  .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-dropdown > a::after {
    display: none;
  }

  .nav-dropdown-menu {
    padding: 0.4rem 0 0.8rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown-group + .nav-dropdown-group {
    margin-top: 0.5rem;
  }

  .nav-dropdown-label {
    padding: 0.6rem 0 0.2rem;
  }

  .nav .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0;
    border-bottom: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 550;
    color: var(--ink-soft);
  }

  .nav .nav-dropdown-menu a.nav-dropdown-all {
    color: var(--blue-ink);
  }
}

/* Desktop: grouped grid that opens on hover or keyboard focus. */
@media (min-width: 980px) {
  .nav {
    align-items: center;
  }

  .nav .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0 2.25rem;
    width: max-content;
    margin-top: 0.9rem;
    padding: 1.25rem 1.5rem 1rem;
    background: #0c1218;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  }

  .nav .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .nav-dropdown-group {
    display: flex;
    flex-direction: column;
    min-width: 8rem;
  }

  .nav-dropdown-label {
    margin-bottom: 0.55rem;
  }

  .nav .nav-dropdown-menu a {
    display: block;
    padding: 0.32rem 0;
    white-space: nowrap;
    font-size: 0.95rem;
    color: var(--ink-soft);
  }

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

  .nav .nav-dropdown-menu a.nav-dropdown-all {
    grid-column: 1 / -1;
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    color: var(--blue-ink);
  }
}

/* Footer: four columns once the service-areas column is added. */
@media (min-width: 760px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

/* Illustrated scene diagrams (sump, drain, backwater) */
.scene {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-body);
}

.dg-figure:has(.scene) {
  padding: 0;
  overflow: hidden;
}

.bv-panel .scene {
  border-radius: 12px;
}

.scene .pin {
  display: none;
}

.scene .flow {
  stroke-dasharray: 10 12;
  animation: scene-flow 1.6s linear infinite;
  animation-play-state: paused;
}

.scene.is-visible .flow {
  animation-play-state: running;
}

@keyframes scene-flow {
  to {
    stroke-dashoffset: -44;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene .flow {
    animation: none;
  }
}

/* Phones: small in-picture labels become numbered pins that match the list below */
@media (max-width: 759px) {
  .dg-figure .scene .pill,
  .dg-figure .scene .tag {
    display: none;
  }

  .dg-figure .scene .pin {
    display: inline;
  }
}

/* Camera view thumbnails */
.cam-grid .cam-view {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
}

/* Drain page photo: keep the caption under the photo on phones */
@media (max-width: 899px) {
  .sig-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Repair or replace table: stacked cards on phones */
@media (max-width: 759px) {
  .rr-wrap {
    overflow: visible;
  }

  .rr-table {
    min-width: 0;
  }

  .rr-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .rr-table,
  .rr-table tbody,
  .rr-table tr,
  .rr-table th,
  .rr-table td {
    display: block;
    width: auto;
  }

  .rr-table tbody tr {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(126, 198, 234, 0.14);
  }

  .rr-table tbody tr:last-child {
    border-bottom: 0;
  }

  .rr-table tbody th,
  .rr-table td {
    padding: 0;
    border: 0;
  }

  .rr-table tbody th {
    width: auto;
    margin-bottom: 0.55rem;
  }

  .rr-table td + td {
    margin-top: 0.5rem;
  }

  .rr-table td::before {
    display: block;
    width: fit-content;
    margin-bottom: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .rr-table td:nth-of-type(1)::before {
    content: "Usually a repair";
    background: rgba(60, 180, 230, 0.16);
    color: var(--blue-ink);
  }

  .rr-table td:nth-of-type(2)::before {
    content: "Time to replace";
    background: rgba(227, 168, 87, 0.16);
    color: #f0c38a;
  }
}

/* Emergency first-five-minutes icons */
.em-icon:has(.em-art) {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(227, 168, 87, 0.22), rgba(227, 168, 87, 0.08));
  border: 1px solid rgba(227, 168, 87, 0.35);
}

.em-icon svg.em-art {
  width: 3rem;
  height: 3rem;
  stroke: none;
}

/* Homepage H1: keyword line shown as the small blue label above the headline */
.hero-kicker {
  display: block;
  margin: 0 0 0.7rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.hero-kicker .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Homepage FAQ (same spacing as the other homepage sections) */
.home-faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.15rem 4.25rem;
}

@media (min-width: 760px) {
  .home-faq {
    padding-bottom: 5.5rem;
  }
}

/* Contact form: send error message and hidden spam trap */
.form-error {
  margin-top: 0.9rem;
  padding: 0.8rem 0.85rem;
  border-radius: 12px;
  background: rgba(227, 168, 87, 0.16);
  color: var(--ink);
}

.form-error a {
  font-weight: 700;
}

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

.request-form button[disabled] {
  opacity: 0.7;
  cursor: progress;
}
