:root {
  --brand-black: #000000;
  --white: #FFFFFF;
  --accent: #0973B9;
  --accent-dark: #0869AA;
  --accent-hover: #12629D;
  --tone-1: #F0F4FA;
  --tone-2: #E8EEF7;
  --tone-3: #FCFCFD;
  --text: #404040;
  --muted: #A0A0B0;
  --body: #FDFDFD;
  --link: #4B86B1;
  --button: #111827;
  --button-hover: #1F2937;
  --footer-text: #B8B8BF;
  --footer-link: #5B9AD1;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--body);
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px clamp(6px, 2vw, 18px);
  background: var(--brand-black);
  border-bottom: 2px solid var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  max-width: 1220px;
  min-height: 32px;
  background: var(--brand-black);
  border-radius: 3px;
}

.main-nav a,
.social-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a:hover,
.social-nav a:hover {
  color: #bfe3f8;
}

.home-link {
  width: 44px;
  justify-content: center;
  padding: 0;
}

.home-link svg,
.social-nav svg,
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-nav {
  display: flex;
  align-items: center;
  min-height: 32px;
  background: var(--brand-black);
}

.hero {
  position: relative;
  min-height: calc(100vh - 44px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--brand-black);
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(82px, 12vh, 132px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d6e9f8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-black);
  line-height: 1.05;
  font-weight: 900;
}

h1 {
  color: var(--white);
  font-size: clamp(3rem, 9vw, 6.9rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.35rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 300;
}

.hero-actions,
.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--button);
  color: var(--white);
}

.button-primary:hover {
  background: var(--button-hover);
  color: var(--white);
}

.button-inverted {
  border-color: #D1D5DB;
  background: transparent;
  color: #D1D5DB;
}

.button-inverted:hover {
  background: var(--button-hover);
  color: var(--white);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--tone-2);
  background: var(--white);
}

.service-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
  width: 100%;
  padding: clamp(70px, 9vw, 118px) max(20px, calc((100vw - var(--max)) / 2));
  background: var(--brand-black);
}

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

.service-strip ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.15);
}

.service-strip li {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: #080808;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.quick-contact a {
  min-height: 112px;
  padding: 26px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--tone-2);
  color: var(--brand-black);
}

.quick-contact span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.quick-contact strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.25;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0;
}

.intro,
.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.intro-copy p,
.request-copy p {
  margin: 0;
  font-size: 1.18rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--tone-2);
}

.facts div {
  min-height: 124px;
  padding: 22px;
  background: var(--tone-3);
}

.facts strong {
  display: block;
  color: var(--brand-black);
  font-size: 2.1rem;
  line-height: 1;
}

.facts span {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.advisor-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--tone-3);
  border-top: 1px solid var(--tone-2);
  border-bottom: 1px solid var(--tone-2);
}

.zip-finder {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-bottom: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--brand-black);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d7dce5;
  border-radius: 3px;
  background: var(--white);
  color: var(--brand-black);
  font: inherit;
  padding: 13px 14px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(9, 115, 185, 0.26);
  border-color: var(--accent);
}

.zip-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.advisor-result {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 760px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--tone-2);
  border-radius: 8px;
}

.advisor-result img {
  width: 190px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.advisor-result h3 {
  color: var(--brand-black);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--link);
  font-weight: 700;
}

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

.reference-card,
.testimonial-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--tone-2);
  border-radius: 8px;
}

.reference-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.reference-card div,
.testimonial-card div {
  padding: 18px;
}

.reference-card h3,
.testimonial-card h3 {
  color: var(--brand-black);
  font-size: 1.05rem;
}

.reference-card p,
.testimonial-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.testimonials {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--brand-black);
}

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

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

.testimonial-card {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.testimonial-card h3 {
  color: var(--white);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.request-form .full,
.request-form button {
  grid-column: 1 / -1;
}

.site-footer {
  position: relative;
  display: block;
  padding: 46px max(28px, calc((100vw - var(--max)) / 2)) 18px;
  background: var(--brand-black);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.footer-company img {
  width: 260px;
  margin-bottom: 26px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 9px;
  color: var(--footer-text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer-company p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-company span {
  width: 20px;
  flex: 0 0 20px;
  color: var(--white);
  line-height: 1.2;
}

.site-footer a[href^="tel"],
.site-footer a[href^="mailto"] {
  color: var(--footer-link);
}

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

.footer-social {
  position: absolute;
  top: 16px;
  right: max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  gap: 16px;
}

.footer-social a {
  margin: 0;
  color: #7d8490;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.copyright {
  margin: 42px 0 0;
  color: #6f8c90;
  text-align: center;
  font-size: 0.82rem;
}

.mobile-cta {
  display: none;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.status-box {
  width: min(620px, calc(100% - 40px));
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--tone-2);
  border-radius: 8px;
}

.status-box h1 {
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3.4rem);
}

@media (max-width: 980px) {
  .site-header {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav {
    flex: 0 0 auto;
  }

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

  .intro,
  .request-section,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-grid,
  .service-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .site-header {
    min-height: 42px;
    padding: 5px 6px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.2));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 58px;
  }

  .hero-actions,
  .advisor-actions,
  .zip-row,
  .advisor-result,
  .facts,
  .request-form,
  .quick-contact,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .advisor-result {
    padding: 18px;
  }

  .advisor-result img {
    width: 100%;
    max-height: 360px;
  }

  .main-nav a,
  .social-nav a {
    padding: 0 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .footer-company img {
    width: 230px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--button);
  }

  .mobile-cta a {
    min-height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .mobile-cta a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }
}
