:root {
  --ink: #08265a;
  --muted: #52647a;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f2f7fb;
  --brand: #2f88c7;
  --brand-dark: #0b3b73;
  --accent: #5aa6dc;
  --accent-soft: #eaf5fd;
  --shadow: 0 18px 50px rgba(8, 38, 90, 0.14);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff url("assets/whole-home-services-logo.png") center / cover no-repeat;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(8, 38, 90, 0.16);
  overflow: hidden;
  text-indent: -999px;
}

.brand-name {
  display: block;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.55rem 0.7rem;
  font-weight: 700;
}

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

.site-nav a {
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

.site-nav .portal-link {
  background: var(--ink);
  color: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.dark {
  background: var(--ink);
}

.hero {
  background:
    linear-gradient(100deg, rgba(8, 38, 90, 0.95) 0 48%, rgba(47, 136, 199, 0.78)),
    url("assets/hero-owner-counter.png") center / cover;
  color: #fff;
}

.hero .section-inner {
  display: grid;
  gap: 2rem;
  min-height: 620px;
  padding: 6.5rem 0 4rem;
  align-content: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fed7aa;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
}

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

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 760px;
  margin: 1.25rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

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

.trust-strip div {
  padding: 1rem;
  background: linear-gradient(90deg, #f8fbff, #ffffff);
  text-align: center;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
}

.section {
  padding: 5rem 0;
}

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

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

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .section-heading p,
.dark p {
  color: rgba(255, 255, 255, 0.78);
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.3rem;
  background: #fff;
  border-top: 4px solid var(--brand);
}

.card.shadow {
  box-shadow: var(--shadow);
}

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

.service-list,
.area-list,
.check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.service-list li,
.area-list li,
.check-list li {
  padding-left: 1.45rem;
  position: relative;
}

.service-list li::before,
.area-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--brand);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  background: #dbeafe;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.review {
  display: grid;
  gap: 1rem;
}

.quote {
  font-size: 1.08rem;
  color: var(--ink);
}

.meta {
  color: var(--muted);
  font-weight: 700;
}

.page-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.content-flow {
  max-width: 860px;
}

.content-flow p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.form-placeholder {
  border: 1px dashed var(--brand);
  border-radius: 8px;
  padding: 1.4rem;
  background: #f0fdfa;
}

.jobber-form-panel {
  border-style: solid;
  background: #fff;
}

.jobber-form-panel h2 {
  margin-bottom: 0.75rem;
}

.form-fallback {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-fallback a {
  color: var(--brand-dark);
  font-weight: 800;
}

.site-footer {
  background: linear-gradient(135deg, #061d47, #0b3b73);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .trust-strip,
  .grid.three,
  .grid.four,
  .grid.two,
  .feature-band,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero .section-inner {
    min-height: 560px;
    padding-top: 4.5rem;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand-subtitle {
    display: none;
  }

  .section {
    padding: 3.4rem 0;
  }

  .trust-strip div {
    text-align: left;
  }
}
