/* ==========================================================================
   Drain Chasers Plumbing — styles.css
   Palette: Deep Navy #0F172A · Slate Blue #1E3A8A · Safety Blue #0284C7 ·
            Accent Amber #F59E0B
   Mobile-first. No dependencies.
   ========================================================================== */

:root {
  --navy: #0F172A;
  --slate-blue: #1E3A8A;
  --safety: #0284C7;
  --safety-dark: #0369A1;
  --amber: #F59E0B;
  --amber-dark: #D97706;

  --ink: #0F172A;
  --ink-soft: #334155;
  --ink-muted: #64748B;
  --line: #E2E8F0;
  --paper: #FFFFFF;
  --paper-tint: #F1F5F9;
  --paper-soft: #F8FAFC;

  --success: #15803D;
  --success-bg: #DCFCE7;
  --danger: #DC2626;

  --logo-blue: #4D9BD6;
  --logo-gray: #7D8795;
  /* the logo's script red (#C02424) only hits 2.5:1 on the navy hero, so the
     headline uses the same hue brightened to ~4:1 */
  --brand-red: #E64D4D;
  /* sampled from the logo file's own background so the image sits seamlessly */
  --logo-bg: #04081c;
  --logo-h: 58px;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.22);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
figure,
blockquote,
fieldset {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: var(--safety);
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

section[id],
div[id="contact"] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  transition: background 0.18s, color 0.18s, transform 0.12s, box-shadow 0.18s;
  text-align: center;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn--primary:hover {
  background: var(--amber-dark);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.btn--dark {
  background: var(--navy);
  color: #fff;
}

.btn--dark:hover {
  background: var(--slate-blue);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--ghost-dark:hover {
  background: var(--navy);
  color: #fff;
}

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

.btn--outline-dark:hover {
  border-color: var(--safety);
  color: var(--safety);
}

.btn--lg {
  padding: 16px 26px;
  font-size: 17px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

/* ---------- Alert banner ---------- */
.alert-banner {
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  color: var(--navy);
}

.alert-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 8px;
  text-align: center;
}

.alert-banner__text {
  font-size: 14px;
  font-weight: 600;
}

.alert-banner__link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.alert-banner__pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(15, 23, 42, 0);
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--logo-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.2s;
}

.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  transition: height 0.22s ease;
}

/* The logo art is a JPEG on its own dark ground; surrounding surfaces match that
   ground so it reads as artwork, not a pasted rectangle. The 4% top inset drops a
   light strip and a grey border baked into the source file — artwork starts at
   6.1%, so this trims dead space only. */
.logo__img {
  height: var(--logo-h);
  width: auto;
  clip-path: inset(4% 0 0 0);
  transition: height 0.22s ease;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--navy);
}

.nav {
  display: none;
  gap: 26px;
}

.nav__link {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 15px;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav__link:hover {
  color: #fff;
  border-color: var(--amber);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
}

.header__phone small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--amber);
}

.header__phone svg {
  width: 21px;
  height: 21px;
  color: var(--amber);
}

.header__cta {
  display: none;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-toggle svg {
  width: 23px;
  height: 23px;
}

/* ---------- Drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.25s;
}

.drawer-overlay.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(84vw, 340px);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.35, 1);
  display: flex;
  flex-direction: column;
  padding: 18px 22px 22px;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.drawer__title {
  font-weight: 800;
  font-size: 17px;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--ink-soft);
}

.drawer__close:hover {
  background: var(--paper-tint);
}

.drawer__close svg {
  width: 22px;
  height: 22px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
}

.drawer__link {
  padding: 13px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}

.drawer__link:hover {
  background: var(--paper-tint);
  color: var(--safety);
}

.drawer__cta {
  margin-top: 14px;
}

.drawer__call {
  margin-top: 10px;
}

.drawer__office {
  margin-top: 12px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.drawer__note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(2, 132, 199, 0.35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(30, 58, 138, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 30%, #16244d 100%);
  color: #fff;
  padding-block: 48px 64px;
}

.hero__grid {
  display: grid;
  gap: 40px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  font-size: 13.5px;
  font-weight: 700;
}

.hero__eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero__highlight {
  color: var(--amber);
}

/* Sits on its own line, and the fluid size keeps it to a single line all the
   way down to a 320px phone. */
.hero__emergency {
  display: block;
  margin-top: 0.12em;
  color: var(--brand-red);
  white-space: nowrap;
  /* 3.6vw keeps it clear of the hero's narrowest column (~900-1100px, where the
     two-column layout starts) instead of forcing that column open. */
  font-size: clamp(17px, 3.6vw, 42px);
}

.hero__sub {
  margin-top: 16px;
  font-size: clamp(16px, 2.5vw, 18.5px);
  color: #CBD5E1;
  max-width: 54ch;
}

/* Short brand line, so it gets more presence than the old paragraph of body copy. */
.hero__tagline {
  font-size: clamp(17px, 2.6vw, 22px);
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.01em;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 30px;
}

.trust-badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #E2E8F0;
}

.trust-badges svg {
  width: 19px;
  height: 19px;
  color: var(--amber);
  flex: none;
}

/* ---------- Hero cover photo ---------- */
.hero__cover {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 0;
}

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

/* ---------- Meet the team ---------- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Portraits are cropped from the team cards the owner supplied, so they vary in
   native resolution — a fixed 4:5 box with cover keeps the row even. */
.team-card__photo {
  aspect-ratio: 4 / 5;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-card__body {
  padding: 22px 22px 24px;
}

.team-card__body h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
}

.team-card__role {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--safety);
}

.team-card__body p + p {
  margin-top: 11px;
}

.team-card__body p:not(.team-card__role) {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.team-card__role + p {
  margin-top: 14px;
}

/* ---------- Hero reach card ---------- */
.reach-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 22px 22px;
}

.reach-card__title {
  font-size: 23px;
  letter-spacing: -0.01em;
}

.reach-card__sub {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.reach-option {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 14px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.reach-option:hover {
  border-color: var(--safety);
  background: #F8FBFF;
  transform: translateY(-1px);
}

.reach-option--urgent {
  border-color: rgba(245, 158, 11, 0.55);
  background: #FFFBEB;
}

.reach-option--urgent:hover {
  border-color: var(--amber-dark);
  background: #FEF3C7;
}

.reach-option__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: #E0F2FE;
  color: var(--safety-dark);
}

.reach-option--urgent .reach-option__icon {
  background: var(--amber);
  color: var(--navy);
}

.reach-option__icon svg {
  width: 21px;
  height: 21px;
}

.reach-option__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reach-option__body small {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.reach-option--urgent .reach-option__body small {
  color: var(--amber-dark);
}

.reach-option__body strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 1px;
}

.reach-option__body em {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.reach-card__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.reach-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.reach-mini:hover {
  border-color: var(--safety);
  color: var(--safety-dark);
  background: #F8FBFF;
}

.reach-mini svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.reach-card__hours {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-tint);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.reach-card__hours svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.reach-card__hours strong {
  color: var(--ink-soft);
}


/* ---------- Sections (shared) ---------- */
.section {
  padding-block: 68px;
}

.section--tint {
  background: var(--paper-tint);
}

.section--dark {
  background:
    radial-gradient(800px 400px at 110% 0%, rgba(2, 132, 199, 0.25), transparent 55%),
    var(--navy);
  color: #fff;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 10px;
}

.section__eyebrow--light {
  color: var(--amber);
}

.section__head h2,
.area__content h2 {
  font-size: clamp(26px, 4.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section__sub {
  margin-top: 12px;
  font-size: 16.5px;
  color: var(--ink-muted);
}

.section--dark .section__sub {
  color: #94A3B8;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E0F2FE, #DBEAFE);
  color: var(--safety-dark);
  margin-bottom: 18px;
}

.service-card__icon svg {
  width: 27px;
  height: 27px;
}

.service-card__icon--emergency {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: var(--amber-dark);
}

.service-card h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.service-card > p {
  margin-top: 9px;
  font-size: 15px;
  color: var(--ink-muted);
}

.service-card__list {
  margin-top: 14px;
  display: grid;
  gap: 7px;
}

.service-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--success-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-tint);
  font-weight: 800;
  font-size: 15px;
  color: var(--safety);
  margin-top: auto;
}

.service-card__cta:hover {
  color: var(--safety-dark);
}

.service-card__cta:hover svg {
  transform: translateX(3px);
}

.service-card__cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.15s;
}

/* give the description room so CTAs align at the bottom */
.service-card > p,
.service-card__list {
  flex: none;
}

.service-card h3 + p {
  min-height: 0;
}

/* ---------- Why choose us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.why__item h3 {
  font-size: 18px;
  margin-top: 14px;
}

.why__item p {
  margin-top: 8px;
  font-size: 14.5px;
  color: #94A3B8;
}

.why__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--amber);
}

.why__icon svg {
  width: 25px;
  height: 25px;
}

.why__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 13.5px;
  font-weight: 600;
  color: #94A3B8;
}

/* ---------- Service area ---------- */
.area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.area__content .section__sub {
  max-width: 46ch;
}

.area__towns {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.area__towns li {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.area__outside {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.area__outside a {
  font-weight: 700;
}

.area-checker {
  background: linear-gradient(160deg, var(--slate-blue), var(--navy));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.area-checker__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
}

.area-checker__icon svg {
  width: 27px;
  height: 27px;
}

.area-checker h3 {
  font-size: 21px;
  letter-spacing: -0.01em;
}

.area-checker > p {
  margin-top: 6px;
  font-size: 14.5px;
  color: #CBD5E1;
}

.area-checker__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.area-checker__form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.05em;
}

.area-checker__form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.area-checker__form input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.16);
}

.area-checker__result {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 10px;
}

.area-checker__result.is-yes,
.area-checker__result.is-maybe,
.area-checker__result.is-error {
  padding: 12px 14px;
}

.area-checker__result.is-yes {
  background: var(--success-bg);
  color: var(--success);
}

.area-checker__result.is-maybe {
  background: #FEF3C7;
  color: #92400E;
}

.area-checker__result.is-error {
  background: #FEE2E2;
  color: var(--danger);
}

.area-checker__result a {
  color: inherit;
  text-decoration: underline;
  font-weight: 800;
}

/* ---------- Reviews ---------- */
.reviews__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.reviews__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber-dark);
  flex: none;
}

.reviews__badge svg {
  width: 19px;
  height: 19px;
}

.reviews__link {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.reviews__count {
  font-size: 15.5px;
  color: var(--ink-soft);
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  flex: 1;
}

.review-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-tint);
  font-size: 14.5px;
}

.review-card figcaption span {
  color: var(--ink-muted);
  font-size: 13.5px;
}

/* ---------- Photo gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-tint);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.78));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  max-width: min(1040px, 94vw);
  text-align: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  margin-inline: auto;
}

.lightbox__figure figcaption {
  margin-top: 12px;
  color: #CBD5E1;
  font-size: 14.5px;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(760px 380px at 50% 0%, rgba(2, 132, 199, 0.22), transparent 60%),
    var(--navy);
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.contact-card--urgent {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.contact-card--urgent:hover {
  background: #FBBF24;
  border-color: #FBBF24;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
  margin-bottom: 15px;
}

.contact-card--urgent .contact-card__icon {
  background: rgba(15, 23, 42, 0.14);
  color: var(--navy);
}

.contact-card__icon svg {
  width: 23px;
  height: 23px;
}

.contact-card__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-card--urgent .contact-card__label {
  color: rgba(15, 23, 42, 0.7);
}

.contact-card__value {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.contact-card__value--email {
  font-size: 13.5px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.contact-card__note {
  margin-top: 9px;
  font-size: 13.5px;
  color: #94A3B8;
}

.contact-card--urgent .contact-card__note {
  color: rgba(15, 23, 42, 0.75);
}

.contact__footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 14px;
  color: #94A3B8;
  text-align: center;
}

.contact__footnote svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--amber);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #94A3B8;
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-block: 56px 40px;
}

.logo--footer {
  color: #fff;
}

/* The footer is a lighter navy than the logo's own ground, so the mark sits on a
   plate of that ground colour rather than showing a darker rectangle. */
.logo--footer {
  display: inline-flex;
  background: var(--logo-bg);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.logo--footer .logo__img {
  height: 72px;
}

.footer__about p {
  margin-top: 16px;
  max-width: 38ch;
}

.footer__about address {
  font-style: normal;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.footer__phone svg {
  width: 17px;
  height: 17px;
  color: var(--amber);
}

.footer__phone--office {
  font-size: 15px;
  color: #CBD5E1;
}

.footer__col h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer__col h3 + ul + h3 {
  margin-top: 24px;
}

.footer__col ul {
  display: grid;
  gap: 9px;
}

.footer__col a {
  color: #94A3B8;
  transition: color 0.15s;
}

.footer__col a:hover {
  color: var(--amber);
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 240px;
}

.footer__hours strong {
  color: #E2E8F0;
  font-weight: 600;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 18px;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  text-align: center;
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.18);
}

.mobile-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  font-weight: 800;
  font-size: 15.5px;
}

.mobile-callbar svg {
  width: 18px;
  height: 18px;
}

.mobile-callbar__call {
  background: var(--amber);
  color: var(--navy);
}

.mobile-callbar__quote {
  background: var(--navy);
  color: #fff;
}

body {
  padding-bottom: 54px; /* room for the mobile call bar */
}

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  .hero__ctas {
    flex-direction: row;
  }

  .area-checker__form {
    flex-direction: row;
  }

  .area-checker__form input {
    text-align: left;
  }

}

@media (min-width: 640px) {
  .services__grid,
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid,
  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 900px) {
  .header__phone {
    display: flex;
  }

  .hero {
    padding-block: 72px 88px;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
  }

  .reach-card {
    padding: 30px 28px 26px;
  }

  .trust-badges {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 10px 26px;
  }

  .services__grid,
  .reviews__grid,
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .area__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }

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

  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  }

  .mobile-callbar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

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

  .header__cta {
    display: inline-flex;
    padding: 11px 18px;
    font-size: 14.5px;
  }

  .menu-toggle {
    display: none;
  }
}

/* Roomier header on wider screens so the three-line logo stays legible;
   it shrinks back down once the user scrolls. */
@media (min-width: 900px) {
  :root {
    --header-h: 96px;
    --logo-h: 76px;
  }

  .header.is-scrolled .header__inner {
    height: 74px;
  }

  .header.is-scrolled .logo__img {
    height: 58px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
