:root {
  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --primary-blue-light: #eff6ff;
  --primary-blue-border: #bfdbfe;
  --navy-dark: #0f172a;
  --navy-slate: #1e293b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --emerald-green: #10b981;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--slate-800);
  background-color: #ffffff;
  padding-bottom: 95px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background-color: var(--navy-slate);
  color: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.btn-primary-call {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border: 1px solid #1d4ed8;
  border-radius: 10px;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}
.btn-primary-call:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.btn-secondary-custom {
  background-color: #ffffff;
  color: var(--slate-800) !important;
  border: 1.5px solid var(--slate-300);
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-secondary-custom:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-400);
  color: var(--slate-900) !important;
}

.hero-card-accent {
  border-top: 4px solid var(--primary-blue) !important;
  border-radius: 16px;
  background-color: #ffffff;
}

.trust-badge-pill {
  background-color: var(--primary-blue-light);
  border: 1px solid var(--primary-blue-border);
  color: #1e40af;
  border-radius: 50px;
  font-weight: 600;
}

.issue-filter-pill {
  border: 1px solid var(--slate-200);
  background-color: var(--slate-50);
  color: var(--slate-700);
  font-weight: 600;
  transition: all 0.15s ease-in-out;
}
.issue-filter-pill:hover {
  background-color: var(--slate-200);
  color: var(--slate-900);
}
.issue-filter-pill.active {
  background-color: var(--primary-blue) !important;
  color: #ffffff !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pricing-card {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.pricing-card.featured {
  border: 2px solid var(--primary-blue) !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.sticky-call-bar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
  body {
    padding-bottom: 85px;
  }
  .sticky-call-bar .btn-primary-call {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .hero-heading {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }
}

body {
  padding-bottom: 0;
}
.hero-box {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}
.btn-main {
  background: #2563eb;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
}
.btn-main:hover {
  background: #1d4ed8;
  color: white;
}
.btn-outline-dark-custom {
  border: 1.5px solid #cbd5e1;
  background: white;
  color: #1e293b;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
}
.brand-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.content-wrap {
  max-width: 1140px;
  margin: auto;
  padding: 48px 12px;
}
.page-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 35px;
}
.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 15px 0;
}
.eyebrow {
  font-size: 12px;
  color: #2563eb;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.page-head .lead {
  color: #64748b;
  font-size: 17px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.card {
  padding: 25px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 4px #00000008;
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
}
.card p {
  font-size: 14px;
  color: #64748b;
}
.number {
  font-size: 13px;
  color: #2563eb;
  margin-bottom: 18px;
  display: block;
  font-weight: 700;
}
.note,
.contact-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
}
.note h3 {
  font-size: 19px;
  font-weight: 700;
}
.note p {
  color: #64748b;
  font-size: 14px;
}
.cta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin-top: 30px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
}
.button {
  display: inline-block;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  background: #1d4ed8;
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}
.contact-panel {
  margin: 0;
}
.contact-panel h2,
form h2 {
  font-size: 23px;
  font-weight: 700;
}
.contact-panel p {
  margin: 25px 0;
}
form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 16px 0 5px;
}
form input,
form select,
form textarea {
  display: block;
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
}
.legal {
  max-width: 900px;
  margin: auto;
}
.legal section {
  margin-bottom: 28px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
}
.legal p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  z-index: 9999;
}
body.landing {
  padding-bottom: 95px;
}
@media (max-width: 767px) {
  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cta {
    display: block;
  }
  .cta .button {
    margin-top: 12px;
  }
  .content-wrap {
    padding: 35px 16px;
  }
}

/* Preserve the original fixed action bar on the landing page. */
body.landing .sticky-call-bar .container-xl {
  padding-right: 100px;
}
@media (max-width: 576px) {
  body.landing .sticky-call-bar .container-xl {
    padding-right: 90px;
  }
}

/* Compact network artwork and wordmark for headers and footers. */
.brand-logo {
  display: block;
  width: 188px;
  height: 46px;
  max-width: 100%;
  object-fit: contain;
}
.brand-logo-footer {
  width: 188px;
  height: 46px;
}
@media (max-width: 575.98px) {
  .navbar-brand .brand-logo,
  header .brand-logo {
    width: 166px;
    height: 41px;
  }
}

/* Homepage detail sections: same blue/white visual system, readable text and generous spacing. */
.home-section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}
.home-section-heading h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin: 12px 0 16px;
}
.home-section-heading p {
  color: #596675;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}
.home-service-card,
.home-property-card,
.home-estimate-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
}
.home-service-card h3,
.home-property-card h3,
.home-step h3,
.home-inquiry-form h3,
.home-inquiry-aside h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}
.home-service-card p,
.home-property-card p,
.home-step p,
.home-inquiry-aside p {
  color: #596675;
  font-size: 16px;
  line-height: 1.7;
}
.home-service-card p {
  margin-bottom: 0;
}
.home-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 22px;
  margin-bottom: 22px;
}
.home-step {
  padding: 8px 16px 8px 0;
}
.home-step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background: #fff;
  color: #2563eb;
  margin-bottom: 18px;
}
.home-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.home-inquiry-form {
  padding: 30px;
}
.home-inquiry-form p {
  font-size: 16px;
  line-height: 1.65;
}
.home-inquiry-form label {
  font-size: 15px;
}
.home-inquiry-form input,
.home-inquiry-form select,
.home-inquiry-form textarea {
  min-height: 48px;
  font-size: 16px;
  padding: 12px;
}
.home-inquiry-form .form-disclosure {
  font-size: 14px;
  line-height: 1.7;
  margin: 22px 0;
}
.home-inquiry-form button {
  min-height: 50px;
  font-size: 16px;
}
.home-inquiry-aside {
  padding: 10px 0;
}
.home-inquiry-aside h3 {
  margin-top: 14px;
}
.home-inquiry-aside a[href^="mailto:"] {
  overflow-wrap: anywhere;
}
.home-contact-note {
  border-top: 1px solid #dbe2ea;
  margin-top: 28px;
  padding-top: 24px;
}
.home-contact-note h4 {
  font-size: 18px;
  font-weight: 700;
}
.home-check-list {
  padding-left: 21px;
  margin-bottom: 0;
  color: #596675;
  font-size: 16px;
  line-height: 1.75;
}
.home-check-list li {
  margin-bottom: 15px;
  padding-left: 3px;
}
.home-faq {
  max-width: 940px;
}
.home-faq details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
}
.home-faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  padding: 20px 24px;
}
.home-faq details p {
  font-size: 16px;
  line-height: 1.75;
  color: #596675;
  padding: 0 24px 20px;
  margin: 0;
}
.home-faq summary:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}
.home-final-cta {
  padding: 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.home-final-cta h2 {
  font-size: 27px;
  font-weight: 700;
  margin-top: 12px;
  max-width: 650px;
}
.home-final-cta p {
  color: #596675;
  font-size: 16px;
  margin-bottom: 0;
}
#project-inquiry {
  scroll-margin-top: 110px;
}
@media (max-width: 767.98px) {
  .home-inquiry-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .home-inquiry-form,
  .home-final-cta {
    padding: 24px;
  }
  .contact-grid > form {
    order: -1;
  }
  form input,
  form select,
  form textarea {
    font-size: 16px;
    min-height: 46px;
  }
  form label {
    font-size: 15px;
  }
  .home-service-card,
  .home-property-card {
    padding: 24px;
  }
}

.home-coverage-strip p {
  font-size: 16px;
  color: #596675;
  max-width: 780px;
  line-height: 1.65;
}

/* Independent email inquiry feedback and passive spam trap. */
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status-message {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
}
.form-status-error {
  border-left: 3px solid #b45309;
  padding: 12px 16px;
  background: #fffbeb;
  color: #78350f;
}
.form-status-success {
  border-left: 3px solid #15803d;
  padding: 12px 16px;
  background: #f0fdf4;
  color: #14532d;
}
button[aria-busy="true"] {
  opacity: 0.75;
  cursor: wait;
}

/* Compact callback popup. Only the modal scrolls on short screens or when a keyboard is open. */
body.callback-open {
  overflow: hidden;
}
.callback-dialog {
  width: min(460px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: #1e293b;
  background: #fff;
  box-shadow: 0 24px 80px #0f172a45;
  overflow: auto;
  overscroll-behavior: contain;
}
.callback-dialog::backdrop {
  background: #0f172a99;
}
.callback-shell {
  padding: 24px;
}
.callback-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.callback-heading h2 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
.callback-close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.callback-close:hover {
  background: #e2e8f0;
}
#callback-tagline {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin: 9px 0 18px;
}
.callback-form {
  margin: 0;
}
.callback-field {
  margin-bottom: 12px;
}
.callback-form label {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  display: block;
}
.callback-form input:not([type="hidden"]),
.callback-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #1e293b;
  padding: 9px 11px;
  font-size: 16px;
  line-height: 1.4;
}
.callback-form input:not([type="hidden"]) {
  height: 42px;
  min-height: 42px;
}
.callback-form textarea {
  height: 74px;
  min-height: 64px;
  max-height: 160px;
  resize: vertical;
}
.callback-form input:focus,
.callback-form textarea:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
  border-color: #2563eb;
}
.callback-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  padding: 11px 14px;
  cursor: pointer;
}
.callback-submit:hover {
  background: #1d4ed8;
}
.callback-privacy {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  margin: 10px 0 0;
}
.callback-privacy a {
  color: #1d4ed8;
}
.callback-close:focus-visible,
.callback-submit:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}
.callback-form #form-status:empty {
  display: none;
}
.callback-form #form-status:not(:empty) {
  margin-top: 12px;
  font-size: 13px;
}
@media (max-width: 480px) {
  .callback-shell {
    padding: 18px;
  }
  .callback-heading h2 {
    font-size: 23px;
  }
  #callback-tagline {
    margin: 7px 0 14px;
  }
  .callback-field {
    margin-bottom: 10px;
  }
}
@media (max-height: 600px) {
  .callback-shell {
    padding: 14px 18px;
  }
  .callback-heading h2 {
    font-size: 22px;
  }
  #callback-tagline {
    font-size: 13px;
    margin: 5px 0 10px;
  }
  .callback-field {
    margin-bottom: 8px;
  }
  .callback-form label {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .callback-form textarea {
    height: 64px;
  }
  .callback-privacy {
    margin-top: 8px;
    font-size: 11px;
  }
}

/* Landing-page callback access: keep the form reachable while scrolling. */
.landing-hero-actions > a {
  flex-shrink: 0;
}
@media (max-width: 575.98px) {
  .landing-callback-actions {
    width: 100%;
  }
  .landing-callback-actions > [data-callback-open] {
    flex: 1;
    white-space: nowrap;
    padding: 10px 12px !important;
    font-size: 14px;
  }
}
body.landing .sticky-call-bar .container-xl {
  padding-right: 12px;
}

/* The thank-you view replaces the form within the same responsive dialog. */
.callback-form[hidden],
.callback-thanks[hidden] {
  display: none !important;
}
.callback-thanks {
  text-align: center;
  padding: 8px 0 0;
  outline: none;
}
.callback-thanks p {
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  margin: 16px 0 24px;
}
.callback-thanks-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 34px;
}

.callback-device-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;}
.callback-device-row .callback-field {min-width:0;}

/* Accessible text-and-icon header identity. */
.nav-text-brand{display:inline-flex;align-items:center;gap:10px;color:#0f172a;white-space:nowrap;vertical-align:middle;}
.nav-brand-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:10px;background:#2563eb;color:#fff;font-size:22px;}
.nav-brand-words{display:flex;flex-direction:column;line-height:1.1;}
.nav-brand-title{font-size:25px;font-weight:800;letter-spacing:-.5px;}
.nav-brand-subtitle{font-size:10px;font-weight:700;letter-spacing:1.7px;margin-top:4px;color:#475569;}
@media(max-width:575px){body.landing header .nav-text-brand{gap:7px;}body.landing header .nav-brand-icon{width:34px;height:34px;flex-basis:34px;font-size:18px;}body.landing header .nav-brand-title{font-size:21px;}body.landing header .nav-brand-subtitle{font-size:8px;letter-spacing:1px;}}
