:root {
  --contractor-navy: #12385F;
  --logo-navy: #174C78;
  --deep-navy: #0D2A47;
  --quiet-surface: #F1F4F5;
  --work-surface: #FAFBFC;
  --white: #FFFFFF;
  --ink: #17232B;
  --muted-copy: #53616A;
  --steel: #7C8991;
  --border-steel: #D5DDE1;
  --error: #A9232C;
  --state-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

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

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a {
  color: var(--logo-navy);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--logo-navy) !important;
  outline-offset: 3px !important;
}

.contractor-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border-steel);
}

.contractor-header__inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contractor-header__brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.contractor-header__brand img {
  width: 148px;
  height: 58px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.contractor-header__contact {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: right;
}

.contractor-header__status {
  display: grid;
  gap: 0;
  color: var(--muted-copy);
  font-size: 12px;
  line-height: 1.4;
}

.contractor-header__status strong {
  color: var(--ink);
  font-size: 13px;
}

.contractor-header__phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--contractor-navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.hero {
  min-height: 0;
  padding: 58px 0 0;
  display: block;
  background: var(--white);
  color: var(--ink);
}

.hero-container {
  width: min(1060px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.hero-copy {
  max-width: 790px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.service-kicker {
  margin: 0 0 14px;
  display: block;
  color: var(--muted-copy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-headline {
  max-width: 790px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-sub {
  max-width: 730px;
  margin: 0 0 14px;
  color: var(--muted-copy);
  font-size: 19px;
  line-height: 1.55;
}

.tech-available {
  min-height: 0;
  margin: 0 0 24px;
  display: block;
  color: var(--contractor-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-cta-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.phone-button,
.final-phone-button,
.ty-call-btn {
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--contractor-navy);
  border-radius: 3px;
  background: var(--contractor-navy);
  color: var(--white);
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms var(--state-ease);
}

.phone-button:hover,
.final-phone-button:hover,
.ty-call-btn:hover {
  background: var(--deep-navy);
  color: var(--white);
  box-shadow: none;
  transform: none;
}

.hero-cta-secondary,
.final-estimate-link {
  min-height: 44px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--logo-navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-cta-secondary:hover,
.final-estimate-link:hover {
  background: transparent;
  color: var(--deep-navy);
}

.hero-owner-photo {
  margin: 42px 0 0;
}

.hero-owner-photo picture {
  display: block;
}

.hero-owner-photo img {
  width: 100%;
  height: clamp(330px, 36vw, 455px);
  display: block;
  border: 1px solid var(--border-steel);
  border-radius: 2px;
  background: var(--quiet-surface);
  object-fit: cover;
  object-position: 50% 44%;
}

.hero-owner-photo figcaption {
  margin: 0;
  padding: 11px 2px 21px;
  color: var(--muted-copy);
  font-size: 13px;
  line-height: 1.45;
}

.hero-owner-photo figcaption strong {
  color: var(--ink);
}

.verification-strip {
  background: var(--white);
  border-top: 1px solid var(--border-steel);
  border-bottom: 1px solid var(--border-steel);
}

.verification-inner {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.verification-item {
  min-height: 0;
  padding: 0;
  display: block;
  border: 0;
  color: var(--muted-copy);
  font-size: 12px;
  line-height: 1.4;
}

.verification-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.verification-item a {
  color: inherit;
}

.quote-section {
  padding: 76px 0 82px;
  background: var(--quiet-surface);
}

.quote-section__inner {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(470px, 1.08fr);
  gap: 72px;
  align-items: start;
}

.quote-section__intro {
  max-width: 410px;
  padding-top: 26px;
}

.quote-section__kicker {
  margin: 0 0 11px;
  color: var(--logo-navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-section__intro h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
}

.quote-section__intro > p:last-child {
  margin: 0;
  color: var(--muted-copy);
  font-size: 17px;
  line-height: 1.6;
}

.quote-section__form {
  min-width: 0;
}

.form-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border-steel);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 7px 20px rgba(23, 35, 43, 0.07);
  color: var(--ink);
  text-align: left;
  scroll-margin-top: 22px;
}

.dispatch-indicator {
  min-height: 0;
  margin: 0 0 7px;
  display: block;
  color: var(--muted-copy);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.dispatch-dot,
.pulse-dot {
  display: none;
}

.form-card h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
}

.gq-flat-section {
  margin: 0 0 18px;
}

.gq-flat-label,
.form-group label {
  margin: 0 0 7px;
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.gq-flat-label .opt {
  color: var(--muted-copy);
  font-size: 12px;
  font-weight: 400;
}

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

.gq-issue-btn {
  min-height: 54px;
  padding: 10px 11px;
  border: 1px solid var(--border-steel);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: 700 14px/1.25 Arial, Helvetica, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms var(--state-ease), background-color 150ms var(--state-ease);
}

.gq-issue-btn:hover {
  border-color: var(--steel);
  background: var(--work-surface);
}

.gq-issue-btn.selected,
.gq-issue-btn[aria-pressed="true"] {
  border-color: var(--contractor-navy);
  background: #EAF0F4;
  color: var(--contractor-navy);
  box-shadow: none;
}

.gq-issue-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.gq-issue-icon {
  display: none;
}

.gq-flat-section input,
.form-group input,
.form-group select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-steel);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  caret-color: var(--ink);
  font: 400 16px/1.35 Arial, Helvetica, sans-serif;
}

.gq-flat-section input::placeholder,
.form-group input::placeholder {
  color: #78858E;
  opacity: 1;
}

.gq-flat-section input:focus,
.form-group input:focus,
.form-group select:focus {
  border-color: var(--logo-navy) !important;
  outline: 2px solid rgba(23, 76, 120, 0.16) !important;
  outline-offset: 1px !important;
  box-shadow: none;
}

.gq-error {
  min-height: 0;
  margin: 5px 0 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.35;
}

.gq-error:empty {
  display: none;
}

.submit-btn {
  width: 100%;
  min-height: 51px;
  margin: 2px 0 0;
  padding: 13px 18px;
  border: 1px solid var(--contractor-navy) !important;
  border-radius: 3px;
  background: var(--contractor-navy) !important;
  color: var(--white) !important;
  box-shadow: none;
  font: 800 16px/1.25 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.submit-btn:hover {
  background: var(--deep-navy) !important;
  color: var(--white) !important;
  box-shadow: none;
  transform: none;
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: 12px 0 0 !important;
  color: var(--muted-copy);
  font-size: 13px;
  text-align: center;
}

.form-note a,
.form-privacy a {
  color: var(--logo-navy);
}

.form-privacy {
  margin: 8px 0 0;
  color: var(--muted-copy);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.form-error-block {
  margin: 0 0 16px;
  padding: 12px 13px;
  border: 1px solid var(--error);
  border-radius: 3px;
  background: #F9ECEE;
  color: var(--ink);
  font-size: 14px;
}

.work-proof-section,
.local-proof-section,
.faq-section {
  padding: 72px 0 78px;
  background: var(--white);
}

.work-proof-container,
.why-container,
.local-proof-container,
.faq-container,
.final-cta-container,
.footer-content,
.footer-nap__container {
  width: min(1060px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
}

.section-heading,
.why-heading,
.local-proof-container h2,
.faq-header {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.16;
  text-align: left;
}

.section-intro,
.local-proof-intro {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--muted-copy);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.work-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.work-proof-figure {
  min-width: 0;
  margin: 0;
}

.work-proof-figure img {
  width: 100%;
  height: clamp(235px, 21vw, 285px);
  display: block;
  border: 1px solid var(--border-steel);
  border-radius: 2px;
  background: var(--quiet-surface);
  object-fit: cover;
}

.work-proof-figure:nth-child(1) img {
  object-position: 50% 32%;
}

.work-proof-figure:nth-child(2) img {
  object-position: 50% 64%;
}

.work-proof-figure:nth-child(3) img {
  object-position: 50% 48%;
}

.work-proof-figure figcaption {
  padding: 11px 2px 0;
  color: var(--muted-copy);
  font-size: 14px;
  line-height: 1.45;
}

.work-proof-figure figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 15px;
}

.why-section {
  padding: 68px 0 72px;
  background: var(--quiet-surface);
  color: var(--ink);
}

.why-heading {
  max-width: 720px;
  margin-bottom: 31px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.why-card {
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid var(--steel);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.why-card-icon {
  display: none;
}

.why-card-title {
  margin: 0 0 7px;
  color: var(--contractor-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.why-card-sub {
  color: var(--muted-copy);
  font-size: 15px;
  line-height: 1.6;
}

.local-proof-grid {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.local-proof-item {
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--border-steel);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.local-proof-service {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.local-proof-town {
  color: var(--muted-copy);
  font-size: 14px;
}

.local-proof-link {
  color: var(--logo-navy);
  font-size: 15px;
  font-weight: 700;
}

.faq-section {
  background: var(--work-surface);
}

.faq-container {
  max-width: 820px;
}

.faq-header {
  margin-bottom: 24px;
  text-align: left;
}

.faq-item {
  margin: 0;
  border-bottom: 1px solid var(--border-steel);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border-steel);
}

.faq-question {
  width: 100%;
  min-height: 61px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 16px/1.4 Arial, Helvetica, sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--contractor-navy);
}

.faq-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--steel);
  border-radius: 50%;
  color: var(--contractor-navy);
  transition: transform 160ms var(--state-ease);
}

.faq-icon::after {
  content: "+";
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 72ch;
  padding: 0 44px 17px 0;
  display: none;
  color: var(--muted-copy);
  font-size: 15px;
  line-height: 1.65;
}

.faq-answer.active {
  display: block;
}

.final-cta {
  padding: 58px 0;
  background: var(--quiet-surface);
  color: var(--ink);
  text-align: left;
  border-top: 1px solid var(--border-steel);
}

.final-cta-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.final-cta-copy {
  min-width: 0;
}

.final-headline {
  max-width: 720px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.22;
}

.service-areas {
  max-width: 760px;
  margin: 0 0 7px;
  color: var(--muted-copy);
  font-size: 13px;
  line-height: 1.55;
}

.final-hours {
  color: var(--muted-copy);
  font-size: 13px;
  font-weight: 700;
}

.final-cta-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.final-phone-button,
.final-estimate-link {
  min-width: 230px;
}

.footer {
  padding: 30px 0 38px;
  background: var(--deep-navy);
  color: #E5EBEF;
  text-align: left;
}

.footer-content {
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(232, 236, 239, 0.22);
  font-size: 13px;
}

.footer-phone,
.footer-nap a,
.footer-nap__map-link a {
  color: #E5EBEF;
}

.footer-nap {
  padding: 22px 0 0;
  border: 0;
  background: transparent;
  color: #D1DCE3;
}

.footer-nap__grid,
.footer-nap__grid--single {
  display: block;
  padding: 0;
}

.footer-nap__heading {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 17px;
}

.footer-nap__tag {
  margin: 0 0 11px;
  color: #C8D4DC;
  font-size: 13px;
}

.footer-nap__lines {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  list-style: none;
  font-size: 13px;
}

.footer-nap__map-link {
  margin: 9px 0 0;
  font-size: 13px;
}

.mobile-sticky {
  display: none;
}

.thank-you-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 42, 71, 0.78);
}

.thank-you-message {
  width: min(520px, 100%);
  margin: 0;
  padding: 30px;
  border: 1px solid var(--border-steel);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.thank-you-message h2 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 27px;
}

.thank-you-message p {
  margin: 0 0 17px;
  color: var(--muted-copy);
}

.ty-close-link {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--logo-navy);
  font: 700 14px Arial, Helvetica, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .quote-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quote-section__intro {
    max-width: 620px;
    padding-top: 0;
  }

  .quote-section__form {
    width: 100%;
    max-width: 620px;
  }

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

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  body {
    padding-bottom: 0;
    font-size: 16px;
  }

  .contractor-header__inner,
  .hero-container,
  .verification-inner,
  .quote-section__inner,
  .work-proof-container,
  .why-container,
  .local-proof-container,
  .faq-container,
  .final-cta-container,
  .footer-content,
  .footer-nap__container {
    width: min(100% - 28px, 680px);
  }

  .contractor-header__inner {
    min-height: 70px;
    gap: 12px;
  }

  .contractor-header__brand img {
    width: 112px;
    height: 46px;
  }

  .contractor-header__contact {
    gap: 8px;
  }

  .contractor-header__status {
    display: none;
  }

  .contractor-header__phone {
    min-height: 42px;
    font-size: 13px;
  }

  .hero {
    padding-top: 32px;
  }

  .service-kicker {
    margin-bottom: 11px;
    font-size: 12px;
  }

  .hero-headline {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .hero-sub {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.5;
  }

  .tech-available {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 7px;
  }

  .phone-button {
    width: 100%;
  }

  .hero-cta-secondary {
    width: auto;
  }

  .hero-owner-photo {
    margin-top: 26px;
  }

  .hero-owner-photo img {
    height: 265px;
    object-position: 50% 42%;
  }

  .hero-owner-photo figcaption {
    padding-bottom: 17px;
  }

  .verification-inner {
    padding: 16px 0;
    gap: 15px 18px;
  }

  .quote-section,
  .work-proof-section,
  .why-section,
  .local-proof-section,
  .faq-section {
    padding: 52px 0 57px;
  }

  .quote-section__intro h2,
  .section-heading,
  .why-heading,
  .local-proof-container h2,
  .faq-header {
    font-size: 27px;
  }

  .form-card {
    padding: 23px 18px 21px;
  }

  .form-card h2 {
    font-size: 24px;
  }

  .gq-issue-grid {
    gap: 7px;
  }

  .gq-issue-btn {
    min-height: 57px;
    padding-inline: 7px;
    font-size: 13px;
  }

  .work-proof-grid,
  .why-grid,
  .local-proof-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .work-proof-figure img {
    height: 260px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .final-cta {
    padding: 48px 0 53px;
  }

  .final-cta-container {
    display: block;
  }

  .final-headline {
    font-size: 25px;
  }

  .final-cta-actions {
    margin-top: 22px;
  }

  .final-phone-button,
  .final-estimate-link {
    width: 100%;
    min-width: 0;
  }

  .footer {
    padding-bottom: 86px;
  }

  .footer-content {
    display: grid;
    gap: 7px;
  }

  .footer-nap__lines {
    grid-template-columns: 1fr;
  }

  .mobile-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    min-height: 56px;
    padding: 7px 14px max(7px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border-steel);
    background: var(--white);
    box-shadow: 0 -3px 10px rgba(23, 35, 43, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 160ms var(--state-ease), transform 160ms var(--state-ease);
  }

  .mobile-sticky.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--contractor-navy);
    font-size: 15px;
    font-weight: 800;
    text-decoration: underline;
  }
}

@media (max-width: 390px) {
  .contractor-header__brand img {
    width: 102px;
  }

  .contractor-header__phone {
    font-size: 12px;
  }

  .hero-headline {
    font-size: 31px;
  }

  .hero-owner-photo img {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
