:root {
  --navy: #073b5c;
  --navy-dark: #052c45;
  --blue: #087fc3;
  --blue-bright: #149be0;
  --ice: #eaf4fa;
  --orange: #ef8a20;
  --text: #152b3a;
  --muted: #62727e;
  --border: #d7e1e7;
  --light: #f4f7f9;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(5, 44, 69, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
textarea { resize: vertical; }

.container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.utility-bar {
  background: var(--navy-dark);
  color: #dcebf4;
  font-size: 13px;
}

.utility-inner,
.main-header-inner,
.nav-inner {
  display: flex;
  align-items: center;
}

.utility-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 24px;
}

.utility-location { font-weight: 700; }

.utility-nav {
  display: flex;
  gap: 26px;
}

.utility-nav a:hover { color: #fff; }

.main-header {
  background: var(--navy);
  color: #fff;
}

.main-header-inner {
  min-height: 90px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 26px;
  letter-spacing: -1px;
}

.brand-copy span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.site-search {
  display: flex;
  flex: 1;
  max-width: 650px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.site-search input {
  width: 100%;
  height: 46px;
  border: 0;
  padding: 0 16px;
  outline: none;
  color: var(--text);
}

.site-search button {
  border: 0;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 4px;
}

.simple-header-text {
  flex: 1;
  color: #d9e8f0;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav {
  background: #075178;
  color: #fff;
}

.nav-inner {
  min-height: 52px;
  gap: 34px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.nav-inner a:hover { color: #bfe7fb; }

.hero-section {
  padding: 30px 0 0;
}

.hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(20,155,224,.3), transparent 32%),
    linear-gradient(120deg, #041f32 0%, #073b5c 62%, #0a628f 100%);
  color: #fff;
}

.hero-copy {
  padding: 60px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #91d8fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.eyebrow.blue { color: var(--blue); }

.hero h1,
.part-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: .98;
  letter-spacing: -2.6px;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 28px;
  color: #dfeef6;
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover { background: #056ba4; }

.btn-outline {
  border: 1px solid rgba(255,255,255,.68);
  background: transparent;
}

.btn-outline:hover { background: rgba(255,255,255,.08); }

.btn-small {
  min-height: 38px;
  padding: 0 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: #bfe3f4;
  font-size: 12px;
  font-weight: 600;
}

.hero-points span::before {
  content: "•";
  margin-right: 7px;
  color: var(--orange);
}

.hero-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.025) 49px 50px);
}

.hero-panel-inner {
  width: min(100%, 360px);
  padding: 34px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(4,31,50,.46);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.small-label {
  color: #8dd8fb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.hero-panel h2 {
  margin: 7px 0 12px;
  font-size: 31px;
  line-height: 1.05;
}

.hero-panel p {
  margin: 0 0 18px;
  color: #dcebf2;
  font-size: 13px;
}

.panel-link {
  color: #9cdefe;
  font-size: 13px;
  font-weight: 800;
}

.trust-strip {
  min-height: 90px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-strip > div:first-child {
  display: flex;
  flex-direction: column;
}

.trust-strip strong { font-size: 16px; }

.trust-strip span {
  color: var(--muted);
  font-size: 12px;
}

.trust-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}

.trust-actions > a:not(.btn) { color: var(--blue); }

.section { padding: 58px 0; }
.section-muted { background: var(--light); }

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.quote-copy h2,
.contractor-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.section-heading p,
.heading-copy {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: end;
}

.heading-copy {
  margin: 0;
  max-width: 620px;
}

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

.category-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--border);
  background: #fff;
  transition: .2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b7d7e8;
}

.category-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.category-card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.category-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.category-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

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

.process-card {
  min-height: 220px;
  padding: 28px;
  background: var(--navy);
  color: #fff;
}

.process-card > span {
  color: #78cef6;
  font-size: 13px;
  font-weight: 800;
}

.process-card h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.process-card p {
  margin: 0;
  color: #d6e5ec;
  font-size: 13px;
}

.contractor-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  padding: 42px;
  background:
    radial-gradient(circle at 90% 20%, rgba(20,155,224,.22), transparent 24%),
    linear-gradient(115deg, #052c45 0%, #073b5c 70%, #0a628f 100%);
  color: #fff;
}

.contractor-copy p {
  max-width: 670px;
  color: #dcebf2;
}

.contractor-list {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 24px;
  margin: 22px 0 26px;
  color: #c9e4f0;
  font-size: 13px;
}

.contractor-list span::before {
  content: "✓";
  margin-right: 8px;
  color: #8ed9fb;
}

.contractor-box {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(3,28,45,.45);
}

.contractor-box ul {
  margin: 15px 0 0;
  padding-left: 18px;
  color: #e8f2f7;
}

.contractor-box li {
  margin-bottom: 12px;
}

.brand-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-cloud span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.brand-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.quote-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.quote-copy > p {
  color: var(--muted);
}

.quote-help {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.quote-help strong {
  margin-bottom: 4px;
}

.quote-help span {
  color: #405563;
  font-size: 13px;
}

.quote-help span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 800;
}

.quote-form {
  padding: 30px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  color: #2a4252;
  font-size: 12px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #bfcbd2;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.quote-form input {
  height: 44px;
  padding: 0 12px;
}

.quote-form textarea {
  padding: 11px 12px;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(8,127,195,.12);
}

.form-button { width: 100%; }

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.service-area-section {
  background: #f7f9fa;
  border-top: 1px solid var(--border);
}

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

.location-grid span {
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 52px;
}

.brand-footer { color: var(--navy); }

.footer-brand p {
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: .7px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid > div:not(.footer-brand) a {
  color: #435866;
  font-size: 13px;
}

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

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.part-hero {
  padding: 72px 0 54px;
  background: linear-gradient(180deg, #eff6fa 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}

.part-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.info-box {
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: var(--ice);
}

.info-box p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .main-header-inner {
    flex-wrap: wrap;
    padding: 15px 0;
  }

  .site-search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 260px;
  }

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

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

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

@media (max-width: 800px) {
  .utility-nav,
  .simple-header-text {
    display: none;
  }

  .header-actions > a:first-child {
    display: none;
  }

  .split-heading,
  .process-grid,
  .contractor-panel,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .contractor-list {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-copy strong { font-size: 21px; }
  .brand-copy span { font-size: 8px; }

  .nav-inner { gap: 22px; }

  .hero-copy {
    padding: 42px 24px;
  }

  .hero h1,
  .part-hero h1 {
    font-size: 42px;
  }

  .category-grid,
  .brand-cloud,
  .location-grid,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .section { padding: 44px 0; }

  .contractor-panel {
    padding: 28px 22px;
  }

  .quote-form { padding: 22px; }

  .footer-bottom {
    flex-direction: column;
  }
}
