:root {
      --teal: #007f95;
      --teal-dark: #006d80;
      --ink: #071827;
      --muted: #455765;
      --soft: #eef9fb;
      --line: #dbe9ee;
      --shadow: 0 18px 45px rgba(4, 29, 41, 0.10);
      --shadow-soft: 0 10px 25px rgba(4, 29, 41, 0.08);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--ink);
      background: #fff;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .page {
      min-height: 100vh;
      background:
        radial-gradient(circle at 75% 24%, rgba(0,127,149,.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfc 44%, #ffffff 100%);
    }

    .site-header {
      background: rgba(255,255,255,.97);
      border-bottom: 1px solid rgba(7,24,39,.10);
    }

    .nav {
      max-width: 1240px;
      min-height: 220px;
      margin: 0 auto;
      padding: 18px 30px 12px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 26px;
      overflow: visible;
    }

    .logo {
      width: 560px;
      max-width: 50vw;
      height: 190px;
      display: block;
      object-fit: contain;
      object-position: left center;
      margin-top: 6px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .01em;
      text-transform: uppercase;
      color: #071827;
      white-space: nowrap;
    }

    .nav-links a:hover {
      color: var(--teal);
    }

    .phone-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 22px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      color: #fff;
      font-size: 18px;
      font-weight: 900;
      box-shadow: 0 14px 32px rgba(0,127,149,.24);
      white-space: nowrap;
    }

    .hero {
      position: relative;
      max-width: 1240px;
      margin: 0 auto;
      padding: 72px 30px 68px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center;
    }

    .eyebrow {
      color: var(--teal);
      font-size: 14px;
      line-height: 1;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .13em;
      margin-bottom: 24px;
    }

    h1 {
      max-width: 560px;
      font-size: clamp(46px, 5.2vw, 67px);
      line-height: 1.08;
      letter-spacing: -0.06em;
      color: #051827;
      margin-bottom: 28px;
    }

    .hero-copy {
      max-width: 570px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.82;
    }

    .hero-copy strong {
      color: var(--teal);
      font-weight: 900;
    }

    .hero-right {
      position: relative;
    }

    .dot-grid {
      position: absolute;
      right: -28px;
      top: -28px;
      width: 118px;
      height: 380px;
      opacity: .23;
      background-image: radial-gradient(var(--teal) 2px, transparent 2px);
      background-size: 16px 16px;
      z-index: 0;
    }

    .photo-card {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 530px;
      margin-left: auto;
      padding: 13px;
      border-radius: 32px;
      background: #fff;
      box-shadow: var(--shadow);
    }

    .photo-card img {
      width: 100%;
      height: 330px;
      object-fit: cover;
      display: block;
      border-radius: 23px;
    }

    .contact-list {
      position: relative;
      z-index: 1;
      max-width: 505px;
      margin: 20px 6px 0 auto;
      display: grid;
      gap: 12px;
    }

    .contact-card {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 12px 20px;
      background: rgba(255,255,255,.95);
      border: 1px solid rgba(7,24,39,.08);
      border-radius: 10px;
      box-shadow: var(--shadow-soft);
      color: #071827;
      font-size: 16px;
      font-weight: 900;
    }


    .home-proof-list {
      position: relative;
      z-index: 1;
      max-width: 505px;
      margin: 20px 6px 0 auto;
      display: grid;
      gap: 12px;
    }

    .home-proof-card {
      min-height: 84px;
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 16px 20px;
      background: rgba(255,255,255,.96);
      border: 1px solid rgba(7,24,39,.08);
      border-radius: 12px;
      box-shadow: var(--shadow-soft);
      color: #071827;
    }

    .home-proof-card strong {
      display: block;
      font-size: 17px;
      font-weight: 900;
      color: var(--ink);
      margin-bottom: 4px;
    }

    .home-proof-card span span,
    .home-proof-card div span {
      display: block;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
      font-weight: 700;
    }

    .icon-box {
      width: 43px;
      height: 43px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      color: #fff;
    }

    .icon-box svg {
      width: 26px;
      height: 26px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.4;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .trust-section {
      border-top: 1px solid rgba(7,24,39,.11);
      border-bottom: 1px solid rgba(7,24,39,.11);
      background: linear-gradient(180deg, #f3fafb 0%, #ffffff 100%);
      padding: 48px 24px 34px;
    }

    .trust-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 25px;
      color: var(--teal);
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .25em;
      text-transform: uppercase;
      margin-bottom: 28px;
      text-align: center;
    }

    .trust-title::before,
    .trust-title::after {
      content: "";
      width: 150px;
      height: 1px;
      background: rgba(0,127,149,.70);
    }

    .trust-card {
      max-width: 760px;
      margin: 0 auto;
      padding: 0;
      border-radius: 22px;
      overflow: hidden;
      background: #fff;
      box-shadow: var(--shadow);
      border: 1px solid rgba(7,24,39,.08);
    }

    .trust-card img {
      display: block;
      width: 100%;
      height: auto;
    }

    .services {
      max-width: 1180px;
      margin: 0 auto;
      padding: 58px 30px 70px;
      background: #F7FAFC;
      border-top: 1px solid #E5EEF2;
      border-bottom: 1px solid #E5EEF2;
      border-radius: 24px;
    }

    .section-head {
      max-width: 780px;
      margin: 0 auto 42px;
      text-align: center;
    }

    .section-eyebrow {
      color: var(--teal);
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .25em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .section-head h2 {
      font-size: clamp(32px, 3vw, 40px);
      line-height: 1.12;
      letter-spacing: -0.045em;
      color: #051827;
      margin-bottom: 12px;
    }

    .section-head p {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.55;
    }

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

    .service-card {
      min-height: 224px;
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 22px;
      align-items: start;
      background: #FFFFFF;
      border: 1px solid #E5EEF2;
      border-radius: 16px;
      padding: 31px 26px;
      box-shadow: 0 12px 30px rgba(4,29,41,.08);
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(4,29,41,.12);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      color: #fff;
      flex: 0 0 auto;
    }

    .service-icon svg {
      width: 39px;
      height: 39px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .service-card h3 {
      font-size: 23px;
      line-height: 1.08;
      letter-spacing: -0.035em;
      color: #051827;
      margin-bottom: 13px;
    }

    .service-card p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
      margin-bottom: 18px;
    }

    @media (max-width: 1050px) {
      .nav {
        height: auto;
        padding: 14px 20px;
      }

      .nav-links {
        display: none;
      }

      .hero {
        grid-template-columns: 1fr;
        gap: 44px;
        padding-top: 46px;
      }

      .photo-card,
      .contact-list,
      .home-proof-list {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
      }

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

    @media (max-width: 720px) {
      .nav {
        min-height: 150px;
        padding: 12px 16px;
        gap: 14px;
      }

      .logo {
        width: 225px;
        max-width: 58vw;
        height: 96px;
        object-fit: contain;
      }

      .phone-button {
        padding: 12px 15px;
        font-size: 14px;
      }

      .hero {
        padding: 38px 18px 46px;
      }

      h1 {
        font-size: 42px;
      }

      .photo-card img {
        height: 270px;
      }

      .trust-title {
        gap: 14px;
        letter-spacing: .14em;
      }

      .trust-title::before,
      .trust-title::after {
        width: 48px;
      }

      .services {
        padding: 52px 18px 62px;
      }

      .service-card {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 520px) {
      .nav {
        min-height: 135px;
        gap: 10px;
        padding: 10px 12px;
      }

      .logo {
        width: 205px;
        max-width: 56vw;
        height: 86px;
      }

      .phone-button {
        font-size: 13px;
        width: auto;
        height: auto;
        padding: 11px 13px;
        gap: 7px;
      }

      .phone-button svg {
        width: 18px;
        height: 18px;
      }

      .contact-card {
        font-size: 14px;
        gap: 13px;
        padding: 10px 12px;
      }
    }
  
    .trust-card{position:relative;}
    .trust-link{position:absolute;top:0;bottom:0;width:50%;z-index:2;}
    .trust-link.isn{left:0;}
    .trust-link.bbb{right:0;}

    /* HBI polish upgrades */

    .site-footer {
      background: #071827;
      color: rgba(255,255,255,.82);
      padding: 44px 24px 30px;
      border-top: 5px solid var(--teal);
    }

    .footer-inner {
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 28px;
      align-items: start;
    }

    .site-footer h3,
    .site-footer h4 {
      color: #ffffff;
      margin-bottom: 12px;
      letter-spacing: -.02em;
    }

    .site-footer p,
    .site-footer a {
      color: rgba(255,255,255,.78);
      font-size: 15px;
      line-height: 1.8;
    }

    .site-footer a:hover { color: #ffffff; }

    .footer-phone {
      display: inline-flex;
      margin-top: 10px;
      padding: 12px 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      color: #ffffff !important;
      font-weight: 900;
      box-shadow: 0 14px 28px rgba(0,127,149,.20);
    }

    .footer-bottom {
      max-width: 1180px;
      margin: 30px auto 0;
      padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,.12);
      color: rgba(255,255,255,.62);
      font-size: 13px;
      text-align: center;
    }

    @media (max-width: 720px) {
      .experience-badge { position: static; margin-top: 14px; justify-content: center; }
    }


    .quote-form-card {
      opacity: 1;
      transform: translateY(0);
      transition: opacity .45s ease, transform .45s ease;
    }

    .quote-form-card.is-highlighted {
      opacity: .88;
      transform: translateY(-4px);
    }


    .quote-honeypot {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      opacity: 0;
      pointer-events: none;
    }


    .quote-spinner {
      width: 18px;
      height: 18px;
      border: 3px solid rgba(255,255,255,.45);
      border-top-color: #ffffff;
      border-radius: 999px;
      display: none;
      animation: quoteSpin .8s linear infinite;
    }

    .quote-submit.is-sending .quote-spinner {
      display: inline-block;
    }

    @keyframes quoteSpin {
      to { transform: rotate(360deg); }
    }

    .quote-success-card {
      display: none;
      background: #eaf8ef;
      color: #146c2e;
      border: 1px solid #bfe7ca;
      border-radius: 22px;
      padding: 30px;
      line-height: 1.65;
      box-shadow: var(--shadow-soft);
    }

    .quote-success-card.is-visible {
      display: block;
    }

    .quote-success-card h3 {
      font-size: 28px;
      margin-bottom: 10px;
      color: #146c2e;
      letter-spacing: -.03em;
    }

    .quote-form.is-hidden {
      display: none;
    }

    @media (max-width: 900px) {
      .footer-inner { grid-template-columns: 1fr; text-align: center; }
    }

    /* Request a Quote section */

    .quote-section {
      margin: 42px 0 0;
      padding: 78px 24px;
      background:
        radial-gradient(circle at 20% 18%, rgba(0,127,149,.10), transparent 26%),
        linear-gradient(180deg, #f6fbfc 0%, #eef6f8 100%);
      border-top: 1px solid #dbe9ee;
      border-bottom: 1px solid #dbe9ee;
    }

    .quote-wrap {
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 0.86fr 1.14fr;
      gap: 34px;
      align-items: start;
    }

    .quote-intro {
      background: #071827;
      color: #ffffff;
      border-radius: 28px;
      padding: 40px 34px;
      box-shadow: var(--shadow);
      position: sticky;
      top: 20px;
      overflow: hidden;
    }

    .quote-intro::after {
      content: "";
      position: absolute;
      right: -70px;
      bottom: -70px;
      width: 180px;
      height: 180px;
      border-radius: 999px;
      background: rgba(0,127,149,.22);
    }

    .quote-intro .section-eyebrow {
      color: #7dd7e5;
      margin-bottom: 14px;
    }

    .quote-intro h2 {
      font-size: clamp(34px, 3vw, 44px);
      line-height: 1.08;
      letter-spacing: -.045em;
      margin-bottom: 18px;
    }

    .quote-intro p {
      color: rgba(255,255,255,.84);
      font-size: 16px;
      line-height: 1.75;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
    }

    .quote-next {
      position: relative;
      z-index: 1;
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.14);
    }

    .quote-next h3 {
      color: #ffffff;
      font-size: 22px;
      margin-bottom: 16px;
      letter-spacing: -.025em;
    }

    .quote-points {
      display: grid;
      gap: 13px;
      color: rgba(255,255,255,.88);
      font-size: 15px;
      line-height: 1.45;
    }

    .quote-points span {
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .quote-points strong {
      color: #ffffff;
    }

    .quote-form-card {
      background: #ffffff;
      border: 1px solid rgba(7,24,39,.10);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 34px;
    }

    .quote-form {
      display: grid;
      gap: 24px;
    }

    .form-section-title {
      font-size: 20px;
      font-weight: 900;
      color: #051827;
      padding-bottom: 12px;
      border-bottom: 1px solid #e5eef2;
      letter-spacing: -.025em;
    }

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

    .form-field {
      display: grid;
      gap: 7px;
    }

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

    .form-field label {
      font-size: 13px;
      font-weight: 900;
      color: #071827;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
      width: 100%;
      border: 1px solid #dbe9ee;
      border-radius: 13px;
      padding: 14px 15px;
      font: inherit;
      color: #071827;
      background: #fbfdfe;
      outline: none;
      transition: border-color .2s ease, box-shadow .2s ease;
    }

    .form-field textarea {
      min-height: 170px;
      resize: vertical;
    }

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 4px rgba(0,127,149,.12);
      background: #ffffff;
    }

    .quote-submit {
      border: 0;
      cursor: pointer;
      justify-content: center;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 18px 28px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      color: #ffffff;
      font-size: 18px;
      font-weight: 900;
      box-shadow: 0 16px 34px rgba(0,127,149,.25);
    }

    .quote-submit:disabled {
      opacity: .65;
      cursor: not-allowed;
    }

    .form-note {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .form-message {
      display: none;
      border-radius: 18px;
      padding: 24px;
      font-weight: 800;
      line-height: 1.55;
    }

    .form-message.success {
      display: block;
      background: #eaf8ef;
      color: #146c2e;
      border: 1px solid #bfe7ca;
    }

    .form-message.error {
      display: block;
      background: #fff0f0;
      color: #9b1c1c;
      border: 1px solid #f3c5c5;
    }

    .form-message strong {
      display: block;
      font-size: 24px;
      margin-bottom: 8px;
      color: inherit;
    }

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

      .quote-intro {
        position: static;
      }
    }

    @media (max-width: 620px) {
      .quote-section {
        padding: 58px 18px;
      }

      .quote-form-card,
      .quote-intro {
        padding: 25px 19px;
        border-radius: 22px;
      }

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

      .quote-submit {
        width: 100%;
      }
    }

/* Payment Module v2.0 corrected: built to reuse original quote section proportions */

.payment-page-section {
  margin-top: 0;
}

.payment-help-box {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.payment-help-box h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -.025em;
}

.payment-help-box p {
  margin-bottom: 8px;
}

.payment-help-box a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-field-note {
  margin-top: -4px;
}

.payment-summary-card {
  border: 1px solid #dbe9ee;
  background: #f6fbfc;
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.payment-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #071827;
  font-size: 16px;
  line-height: 1.4;
}

.payment-summary-row strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.payment-summary-divider {
  height: 1px;
  background: #dbe9ee;
  margin: 2px 0;
}

.payment-summary-total {
  font-size: 20px;
  font-weight: 900;
}

.payment-agreement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #dbe9ee;
  background: #fbfdfe;
  border-radius: 16px;
  color: #071827;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
}

.payment-agreement input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.payment-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

.payment-submit.is-sending .quote-spinner {
  display: inline-block;
}

.payment-success-shell {
  max-width: 800px;
  margin: 0 auto;
}

.payment-success-card h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 12px 0 14px;
  color: #071827;
}

.payment-success-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.payment-help-inline {
  margin: 24px 0;
  padding: 18px;
  border-radius: 16px;
  background: #f6fbfc;
  border: 1px solid #dbe9ee;
}

.payment-help-inline p {
  margin: 6px 0;
}

.payment-return-link {
  text-decoration: none;
}

@media (max-width: 620px) {
  .payment-summary-row {
    font-size: 15px;
  }

  .payment-summary-total {
    font-size: 18px;
  }
}


/* Contact page */

.nav-links a[aria-current="page"] {
  color: var(--teal);
}

.contact-page-section {
  margin: 0;
  padding: 72px 24px 86px;
  background:
    radial-gradient(circle at 78% 16%, rgba(0,127,149,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfc 52%, #ffffff 100%);
}

.contact-page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.contact-page-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 10px;
}

.contact-page-hero h1,
.contact-main-title {
  font-size: clamp(46px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
  margin: 10px 0 18px;
  color: var(--teal);
  text-align: center;
}

.contact-page-hero p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-info-card,
.contact-map-card,
.service-area-card,
.contact-cta-card {
  background: #ffffff;
  border: 1px solid rgba(7,24,39,.10);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.contact-info-card {
  padding: 34px;
}

.contact-card-label {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-info-card h2,
.contact-section-heading h2 {
  color: #071827;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}

.contact-teal-heading {
  color: var(--teal);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}

.contact-small-heading {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: -8px 0 12px;
}

.contact-detail-list {
  display: grid;
  gap: 18px;
}

.contact-detail-list p,
.contact-detail-list a,
.hours-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.contact-detail-list strong {
  color: #071827;
}

.contact-detail-list a {
  color: var(--teal-dark);
  font-weight: 900;
}

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

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e5eef2;
}

.hours-list div:last-child {
  border-bottom: 0;
}

.hours-list span {
  color: var(--muted);
}

.hours-list strong {
  color: #071827;
  text-align: right;
}

.contact-map-card,
.service-area-card {
  padding: 34px;
}

.contact-section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.contact-section-heading p:not(.section-eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.map-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #dbe9ee;
  background: #eef9fb;
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-directions-button {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0,127,149,.20);
}

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

.county-grid span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6fbfc;
  border: 1px solid #dbe9ee;
  color: #071827;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.contact-cta-card {
  padding: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-action {
  min-width: 210px;
  text-decoration: none;
}

.contact-action-secondary {
  background: #071827;
  box-shadow: 0 16px 34px rgba(7,24,39,.20);
}

@media (max-width: 900px) {
  .contact-info-grid,
  .county-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .contact-page-section {
    padding: 46px 18px 62px;
  }

  .contact-info-card,
  .contact-map-card,
  .service-area-card,
  .contact-cta-card {
    padding: 24px 19px;
    border-radius: 22px;
  }

  .hours-list div {
    display: grid;
    gap: 4px;
  }

  .hours-list strong {
    text-align: left;
  }

  .map-frame iframe {
    height: 330px;
  }

  .contact-action {
    width: 100%;
  }
}


/* Contact page refinement patch */
.contact-page-hero {
  max-width: 100%;
  margin: 0 auto 18px;
  text-align: center;
}

.contact-page-hero h1,
.contact-main-title {
  color: var(--teal);
  font-size: clamp(54px, 6vw, 78px);
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
}

.contact-card-title {
  color: var(--teal);
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.contact-info-card h2.contact-card-title,
.contact-section-heading h2.contact-teal-heading,
.contact-teal-heading {
  color: var(--teal);
}

.contact-section-heading h2.contact-teal-heading {
  font-size: clamp(36px, 3.4vw, 48px);
  margin-bottom: 14px;
}

.contact-small-heading {
  font-size: 14px;
  margin: -2px 0 12px;
}

.service-area-card .contact-small-heading {
  color: var(--muted);
}

@media (max-width: 620px) {
  .contact-page-hero h1,
  .contact-main-title {
    font-size: 50px;
  }

  .contact-card-title,
  .contact-section-heading h2.contact-teal-heading {
    font-size: 34px;
  }
}


/* Contact page revision 4: alignment and contact card refinements */
.contact-page-wrap {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.contact-page-hero {
  max-width: 1060px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-info-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.contact-info-card,
.contact-map-card,
.service-area-card,
.contact-cta-card {
  box-shadow: 0 12px 30px rgba(4, 29, 41, 0.075);
}

.contact-info-card {
  min-height: 286px;
  padding: 36px;
}

.contact-card-title {
  font-size: clamp(34px, 3vw, 42px);
  margin-bottom: 24px;
}

.contact-detail-list {
  gap: 20px;
}

.contact-detail-list p {
  margin: 0;
}

.contact-address-value {
  color: var(--teal-dark);
  font-weight: 900;
}

.hours-list {
  gap: 0;
}

.hours-list div {
  padding: 16px 0;
}

.contact-map-card,
.service-area-card {
  width: 100%;
  padding: 36px;
}

.contact-section-heading h2.contact-teal-heading,
.contact-teal-heading {
  color: var(--teal);
  font-size: clamp(38px, 3.2vw, 48px);
}

.service-area-card .contact-small-heading {
  color: var(--muted);
  font-size: 13px;
}

.map-frame {
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(4, 29, 41, 0.07);
}

.county-grid span {
  box-shadow: 0 6px 16px rgba(4, 29, 41, 0.04);
}

@media (max-width: 900px) {
  .contact-page-wrap,
  .contact-page-hero {
    max-width: 680px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page final alignment and typography polish */
.contact-page-wrap {
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}

.contact-page-hero {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto 22px;
  text-align: center;
}

.contact-page-hero h1,
.contact-main-title {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto 18px;
  text-align: center;
  color: var(--teal);
}

.contact-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  width: 100%;
}

.contact-info-card {
  padding: 38px;
  min-height: 300px;
}

.contact-card-title,
.contact-info-card h2.contact-card-title {
  color: var(--teal);
  font-size: clamp(32px, 2.5vw, 39px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
}

.contact-detail-list {
  gap: 24px;
}

.contact-detail-list strong {
  color: #071827;
  font-weight: 900;
}

.contact-address-value {
  color: #071827;
  font-weight: 900;
}

.hours-list span {
  color: #071827;
  font-weight: 900;
}

.hours-list strong {
  color: #071827;
  font-weight: 900;
}

.contact-map-card,
.service-area-card {
  padding: 38px;
}

.contact-section-heading h2.contact-teal-heading,
.contact-teal-heading,
.service-area-card .contact-section-heading h2.contact-teal-heading {
  color: var(--teal);
  font-size: clamp(38px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.service-area-card .contact-small-heading {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .contact-page-wrap,
  .contact-page-hero {
    max-width: 680px;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile navigation and mobile spacing polish */
.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,127,149,.25);
  border-radius: 999px;
  background: #ffffff;
  color: var(--teal);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(4, 29, 41, 0.08);
}

.mobile-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
  .nav {
    position: relative;
    overflow: visible;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(7,24,39,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 45px rgba(4, 29, 41, 0.16);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 15px 16px;
    border-radius: 12px;
    color: #071827;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: #eef9fb;
    color: var(--teal);
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 120px;
    gap: 8px;
  }

  .logo {
    width: 190px;
    max-width: 42vw;
    height: 88px;
  }

  .mobile-menu-toggle {
    width: 43px;
    height: 43px;
  }

  .phone-button {
    font-size: 14px;
    padding: 12px 14px;
  }

  .services {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .service-grid {
    gap: 22px;
  }

  .service-card {
    min-height: auto;
    padding: 28px 26px;
  }

  .trust-section {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .quote-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }
}

@media (max-width: 520px) {
  .nav {
    min-height: 112px;
    padding: 10px 12px;
    grid-template-columns: 1fr auto auto;
  }

  .logo {
    width: 168px;
    max-width: 39vw;
    height: 78px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle span {
    width: 19px;
  }

  .phone-button {
    font-size: 13px;
    padding: 10px 11px;
    gap: 6px;
  }

  .phone-button svg {
    width: 17px;
    height: 17px;
  }

  .nav-links {
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .services {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card {
    padding: 26px 24px;
  }

  .footer-inner,
  .site-footer {
    padding-top: 46px;
  }
}

/* Mobile header final polish: menu left, larger centered logo, call icon right */
@media (max-width: 720px) {
  .nav {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    justify-items: center;
    min-height: 122px;
    padding: 10px 14px;
    gap: 8px;
  }

  .nav > a:first-child {
    order: 2;
    justify-self: center;
  }

  .mobile-menu-toggle {
    order: 1;
    justify-self: start;
    width: 46px;
    height: 46px;
  }

  .phone-button {
    order: 3;
    justify-self: end;
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 0;
    gap: 0;
    justify-content: center;
    font-size: 0;
    line-height: 0;
  }

  .phone-button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .logo {
    width: 250px;
    max-width: 58vw;
    height: 104px;
    margin: 0;
    object-position: center center;
  }

  .nav-links {
    left: 14px;
    right: 14px;
    top: calc(100% + 6px);
  }
}

@media (max-width: 520px) {
  .nav {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 116px;
    padding: 9px 12px;
  }

  .mobile-menu-toggle,
  .phone-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .phone-button svg {
    width: 20px;
    height: 20px;
  }

  .logo {
    width: 230px;
    max-width: 60vw;
    height: 96px;
  }
}

@media (max-width: 390px) {
  .logo {
    width: 215px;
    max-width: 58vw;
    height: 90px;
  }
}


/* Contact information icon list refinement */
.contact-info-grid .contact-info-card {
  min-height: 245px;
}

.contact-icon-list {
  display: grid;
  gap: 22px;
}

.contact-icon-list .contact-icon-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  column-gap: 15px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 127, 149, 0.10);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
}

.contact-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-icon-text {
  margin: 0;
  color: #071827;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 900;
}

.contact-icon-text a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.contact-icon-text a:hover {
  color: var(--teal-dark);
}

@media (max-width: 700px) {
  .contact-info-grid .contact-info-card {
    min-height: auto;
  }

  .contact-icon-list {
    gap: 19px;
  }

  .contact-icon-list .contact-icon-item {
    grid-template-columns: 30px 1fr;
    column-gap: 13px;
  }

  .contact-icon {
    width: 30px;
    height: 30px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-icon-text {
    font-size: 16px;
  }
}


/* Final contact icon sizing safety fix */
.contact-icon-list .contact-icon-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  column-gap: 15px;
}

.contact-icon-list .contact-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  overflow: hidden !important;
  border-radius: 999px;
  background: rgba(0, 127, 149, 0.10);
  color: var(--teal);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.contact-icon-list .contact-icon svg,
.contact-icon-list .contact-icon .contact-inline-icon {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  display: block !important;
  fill: currentColor !important;
}

.contact-icon-list .contact-icon svg path {
  fill: currentColor !important;
}

@media (max-width: 700px) {
  .contact-icon-list .contact-icon-item {
    grid-template-columns: 32px 1fr;
    column-gap: 13px;
  }

  .contact-icon-list .contact-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  .contact-icon-list .contact-icon svg,
  .contact-icon-list .contact-icon .contact-inline-icon {
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    max-width: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
  }
}
