* {
  box-sizing: border-box;
}

:root {
  --navy: #0b2d4d;
  --blue: #0d5f9a;
  --bright-blue: #1678b9;
  --pale-blue: #edf6fb;
  --ink: #17212b;
  --muted: #61717f;
  --line: #d9e3ea;
  --white: #ffffff;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(11,45,77,.08);
  backdrop-filter: blur(10px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -1px;
}

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

.brand-name {
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .4px;
  color: var(--navy);
}

.brand-sub {
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a:not(.btn):hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--navy);
  border-color: var(--navy);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(22,120,185,.17), transparent 28%),
    linear-gradient(130deg, #f7fbfd 0%, #edf6fb 52%, #ffffff 100%);
  padding: 88px 0 80px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 80px solid rgba(13,95,154,.045);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: "League Spartan", sans-serif;
  margin-top: 0;
  color: var(--navy);
}

h1 {
  margin: 14px 0 20px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -2px;
}

h1 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 720px;
  font-size: 20px;
  color: #4d6273;
  margin-bottom: 30px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #506272;
}

.hero-card {
  padding: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(11,45,77,.18);
}

.hero-card-top {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #8bc6ec;
}

.hero-card h2 {
  color: var(--white);
  font-size: 36px;
  margin: 10px 0;
}

.hero-card p {
  color: #d8e5ee;
}

.phone-display {
  display: block;
  margin-top: 24px;
  color: var(--white);
  font-weight: 800;
  font-size: 23px;
}

.small-note {
  font-size: 12px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.about h2,
.service-area h2,
.contact h2 {
  margin: 10px 0 16px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
}

.section-heading p,
.service-area p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11,45,77,.04);
}

.service-card:hover {
  border-color: #b9d4e5;
  box-shadow: 0 12px 30px rgba(11,45,77,.08);
}

.service-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

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

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.about h2 {
  color: var(--white);
}

.about p {
  margin-top: 0;
  color: #dbe8f1;
  font-size: 18px;
}

.eyebrow-light {
  color: #8bc6ec;
}

.area-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 60px;
  align-items: center;
}

.area-list {
  font-weight: 700;
  color: var(--navy) !important;
}

.area-callout {
  background: var(--pale-blue);
  padding: 32px;
  border-left: 5px solid var(--blue);
  border-radius: 0 12px 12px 0;
}

.area-callout strong {
  font-size: 20px;
  color: var(--navy);
}

.text-link {
  font-weight: 800;
  color: var(--blue);
}

.contact {
  background: #f7fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  font-weight: 800;
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 15px;
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(11,45,77,.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd8e1;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(13,95,154,.18);
  border-color: var(--blue);
}

.form-message {
  margin: 0 !important;
  font-size: 12px !important;
}

.cta-strip {
  background: var(--blue);
  color: var(--white);
  padding: 28px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-inner div {
  display: flex;
  flex-direction: column;
}

.cta-inner strong {
  font-family: "League Spartan", sans-serif;
  font-size: 30px;
}

.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

footer {
  background: #071d31;
  color: #b9cad6;
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-wrap > div:first-child {
  display: flex;
  flex-direction: column;
}

.footer-wrap strong {
  color: var(--white);
}

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px 4%;
  }

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

  .nav-links a {
    padding: 14px 0;
  }

  .hero {
    padding: 62px 0;
  }

  .hero-grid,
  .service-grid,
  .about-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 14px;
  }

  .about-grid,
  .area-grid,
  .contact-grid {
    gap: 30px;
  }

  .hero-card {
    padding: 28px;
  }

  .cta-inner,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Wilson Plumbing logo */
.brand-mark.brand-logo {
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark.brand-logo img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .brand-mark.brand-logo img {
    width: 68px;
    height: 68px;
  }
}
