:root {
  --navy: #092a4a;
  --blue: #155aa8;
  --bright-blue: #2275d7;
  --red: #c82632;
  --deep-red: #9e1722;
  --white: #ffffff;
  --mist: #f4f7fb;
  --line: #d9e3ee;
  --ink: #142033;
  --muted: #607086;
  --gold: #d4a62a;
  --shadow: 0 22px 70px rgba(9, 42, 74, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 64px);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--blue));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.header-phone,
.quick-bar a,
.text-link {
  text-decoration: none;
}

.header-phone {
  padding: 12px 16px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100vh - 74px);
  overflow: hidden;
}

.hero img,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero img {
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-background {
  background: #ffffff;
}

.logo-background > img {
  object-fit: contain;
  padding: clamp(28px, 6vw, 80px);
  opacity: 0.32;
}

.logo-background .hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 42, 74, 0.96), rgba(9, 42, 74, 0.76) 52%, rgba(9, 42, 74, 0.28)),
    linear-gradient(0deg, rgba(9, 42, 74, 0.82), transparent 42%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 42, 74, 0.9), rgba(9, 42, 74, 0.58) 48%, rgba(9, 42, 74, 0.2)),
    linear-gradient(0deg, rgba(9, 42, 74, 0.78), transparent 38%);
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 44px 0;
  color: var(--white);
}

.hero-logo {
  display: block;
  width: min(65px, 18vw);
  height: auto;
  margin: 0 0 14px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffccd0;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 7vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  color: var(--navy);
}

h3 {
  font-size: 21px;
  color: var(--navy);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: #e8f2ff;
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--deep-red);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 640px;
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.22);
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
  font-size: 29px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: #d8e8f7;
  font-size: 13px;
  font-weight: 700;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}

.quick-bar a {
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 12px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  text-align: center;
}

.quick-bar a:hover {
  background: var(--blue);
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.split > div > p,
.proof-copy p,
.areas p,
.estimate-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.service-grid article,
.steps article,
.offers article {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-grid p,
.steps p,
.offers p,
.faq p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  color: var(--white);
  background: var(--navy);
}

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

.proof-copy p {
  color: #d6e6f5;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--red);
}

.proof-list strong {
  font-size: 18px;
}

.proof-list span {
  color: #d6e6f5;
}

.process {
  background: var(--mist);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offers article {
  border-top: 6px solid var(--blue);
  box-shadow: var(--shadow);
}

.offers article + article {
  border-top-color: var(--red);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
}

.section-toggle {
  display: none;
}

.areas {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 60px);
  background: var(--white);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 14px 16px;
  color: var(--navy);
  background: var(--mist);
  border-left: 4px solid var(--red);
  font-weight: 800;
}

.estimate-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, var(--mist), #ffffff);
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--navy);
  font-weight: 800;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  color: var(--ink);
  border: 1px solid #b9c7d5;
  font: inherit;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-output {
  min-height: 0;
  color: var(--navy);
  font-weight: 700;
  white-space: pre-wrap;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 22px 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: var(--navy);
}

.site-footer p,
.site-footer span {
  color: #c9d9e8;
}

.site-footer a {
  display: block;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.site-footer span {
  display: block;
}

.mobile-call {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  min-width: 78px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.mobile-explore {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 45;
  display: none;
  text-align: center;
  pointer-events: none;
}

.explore-toggle {
  min-width: 108px;
  min-height: 52px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  box-shadow: var(--shadow);
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
}

.explore-panel {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 78px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.explore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  background: var(--navy);
}

.explore-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.explore-links {
  display: grid;
  padding: 10px;
}

.explore-links a {
  padding: 15px 12px;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
  text-decoration: none;
}

.explore-links a:last-child {
  border-bottom: 0;
}

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

.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  font-family: Arial, Helvetica, sans-serif;
}

.chat-toggle {
  min-width: 88px;
  min-height: 52px;
  padding: 14px 20px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  box-shadow: var(--shadow);
  font-weight: 900;
  cursor: pointer;
}

.chat-toggle:hover,
.chat-toggle:focus-visible {
  background: var(--blue);
}

.chat-panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 96px));
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  background: var(--navy);
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  margin-top: 3px;
  color: #d8e8f7;
  font-size: 13px;
}

.chat-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 14px;
  overflow-y: auto;
  background: var(--mist);
}

.chat-message {
  max-width: 88%;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
}

.chat-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.chat-message.bot {
  justify-self: start;
}

.chat-message a {
  color: var(--blue);
  font-weight: 900;
}

.chat-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
  background: var(--white);
}

.chat-prompts button {
  min-height: 40px;
  padding: 9px 10px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
}

.chat-prompts button:hover,
.chat-prompts button:focus-visible {
  border-color: var(--blue);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px 14px;
  background: var(--white);
}

.chat-form input {
  min-height: 44px;
}

.chat-form button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--white);
  background: var(--red);
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .header-phone {
    margin-left: auto;
  }

  .split,
  .proof-band,
  .areas,
  .estimate-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    align-self: end;
    width: calc(100% - 36px);
    max-width: calc(100vw - 36px);
    min-width: 0;
    margin: 0 18px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-logo {
    width: min(64px, 22vw);
    margin-bottom: 12px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 42, 74, 0.96), rgba(9, 42, 74, 0.62) 62%, rgba(9, 42, 74, 0.18));
  }

  .logo-background .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 42, 74, 0.96), rgba(9, 42, 74, 0.82) 62%, rgba(9, 42, 74, 0.72));
  }

  .quick-bar {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

  .hero-stats div {
    padding: 12px 8px;
  }

  .hero-stats dt {
    font-size: 21px;
  }

  .hero-stats dd {
    font-size: 11px;
  }

  .service-grid,
  .steps,
  .offers,
  .area-list,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 18px;
  }

  .mobile-call {
    display: block;
  }

  .mobile-explore {
    display: block;
  }

  body.chat-is-open .mobile-call,
  body.chat-is-open .mobile-explore {
    display: none;
  }

  .section-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 18px;
    padding: 12px 16px;
    color: var(--white);
    background: var(--navy);
    border: 0;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-collapsible .service-grid {
    display: none;
  }

  .mobile-collapsible.is-open .service-grid {
    display: grid;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-toggle {
    min-width: 78px;
  }

  .chat-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 36px);
  }

  .chat-prompts {
    grid-template-columns: 1fr;
  }
}
