:root {
  --ink: #000;
  --paper: #fff;
  --line: #e5e7eb;
  --wash: #f7f7f7;
  --muted: #4b5563;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo b {
  padding: 4px 6px;
  background: #000;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.logo small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
}

.phone-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}

.phone-button:hover,
.button:hover {
  background: #fff;
  color: #000;
}

.hero {
  padding: 76px 0;
  background: linear-gradient(110deg, #fff 0 52%, #f7f7f7 52%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

h1,
h2,
h3 {
  margin: 0 0 15px;
  line-height: 1.1;
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
}

h2 {
  font-size: clamp(30px, 4vw, 45px);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 19px;
  color: #333;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.check-list li {
  position: relative;
  margin: 11px 0;
  padding-left: 26px;
  font-weight: 700;
}

.check-list li::before {
  content: "+";
  position: absolute;
  left: 0;
}

.card-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  transform: none !important;
}

.card-image-wrapper img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
  transform: none !important;
  box-shadow: none !important; /* Remove if you want a shadow */
  border-radius: 8px;
}

.card-head,
.card-foot {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.card-content {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 192px;
  padding: 30px 23px;
}

.card-content i {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid #000;
  border-radius: 50%;
  font-style: normal;
  font-size: 32px;
}

.card-content b,
.card-content small,
.card-content em {
  display: block;
}

.card-content b {
  font-size: 25px;
  line-height: 1;
}

.card-content small {
  margin: 7px 0 18px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.card-content em {
  padding-top: 5px;
  border-top: 1px solid #000;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--wash);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.module-picker {
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #9ca3af;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #000;
  outline-offset: 1px;
}

.module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}

.module {
  border: 1px solid #aaa;
  background: #fff;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.module.selected,
.module:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.trust-grid article {
  min-height: 215px;
  padding: 23px;
  border: 1px solid #d1d1d1;
  background: #fff;
}

.trust-grid article > b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  background: #000;
  color: #fff;
  font-size: 12px;
}

.trust-grid p,
.service-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.button-outline {
  background: transparent;
  color: #000;
}

.button-outline:hover {
  background: #000;
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.steps li {
  border-top: 2px solid #000;
  padding-top: 18px;
}

.steps li b {
  display: block;
  margin-bottom: 30px;
  font-size: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0;
}

.service-grid article {
  min-height: 240px;
  padding: 34px;
  border: 1px solid #000;
}

.service-grid .dark {
  background: #000;
  color: #fff;
}

.service-grid .dark p {
  color: #eee;
}

.service-grid a {
  display: inline-block;
  margin-top: 34px;
  color: inherit;
  font-weight: 800;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.phone-inline {
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.form-panel {
  padding: 30px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 8px 8px #000;
}

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

.button-full {
  width: 100%;
}

.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
}

.consent input {
  width: auto;
  margin-top: 3px;
}

.booking-intro {
  padding: 62px 0;
  background: #000;
  color: #fff;
}

.booking-intro .lead {
  color: #fff;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.booking-aside {
  position: sticky;
  top: 20px;
}

.booking-form {
  box-shadow: none;
}

.thankyou {
  min-height: calc(100vh - 168px);
  display: grid;
  place-items: center;
  padding: 50px 20px;
  text-align: center;
}

.thankyou > div {
  max-width: 720px;
}

.thankyou-body {
  background: #f7f7f7;
}

footer {
  padding: 54px 0 0;
  background: #000;
  color: #fff;
}

footer .logo {
  color: #fff;
}

footer .logo b {
  background: #fff;
  color: #000;
}

footer a {
  display: block;
  margin: 8px 0;
  color: #fff;
  text-decoration: none;
}

footer p {
  color: #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 25px;
}

.footer-grid h3 {
  font-size: 16px;
}

.copyright {
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid #444;
  color: #ccc;
  font-size: 12px;
}

.copyright a {
  display: inline;
  margin: 0;
}

@media (max-width: 760px) {

  .site-header {
    height: 70px;
    padding: 0 16px;
  }

  .phone-button {
    padding: 9px 10px;
    font-size: 10px;
  }

  .logo {
    font-size: 18px;
  }

  .hero {
    padding: 48px 0;
    background: #fff;
  }

  .hero-grid,
  .form-layout,
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  
  .section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }

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

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

  .service-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 22px;
    box-shadow: 5px 5px #000;
  }

  .booking-aside {
    position: static;
  }
}

@media (max-width: 420px) {

  .trust-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .phone-button {
    font-size: 0;
  }

  .phone-button::before {
    content: "Call";
    font-size: 13px;
  }

  h1 {
    font-size: 40px;
  }
}

/* Logo Image */

.site-header .logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}
.phone-banner{
    border: 2px solid #000;
  background: #000;
  color: #fff;
  padding: 12px 18px;
  font-weight: 400;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.card-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image-wrapper img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Automatically stack columns on mobile/tablet screens */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.blue-card-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 50px;
        align-items: center;
    }

    /* Hide the image and make the text take full width on mobile */
    @media (max-width: 768px) {
        .blue-card-grid {
            grid-template-columns: 1fr;
        }
        .hide-on-mobile {
            display: none !important;
        }
    }
    
    .module-list .module {
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
  display: inline-block;
  margin: 4px;
}

.module-list .module:hover,
.module-list .module.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

 .site-header .logo img {
      max-height: 45px;
      width: auto;
      object-fit: contain;
    }

    /* Responsive Sticky Tap-to-Call Bottom Bar for Mobile */
    .mobile-sticky-call {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #111;
      border-top: 2px solid #ffc107;
      z-index: 9999;
      box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
      text-align: center;
      padding: 12px 15px;
    }

    .mobile-sticky-call a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background-color: #ffc107;
      color: #000;
      font-weight: bold;
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 4px;
      font-size: 16px;
      text-transform: uppercase;
    }

    @media (max-width: 768px) {
      .mobile-sticky-call {
        display: block;
      }
      body {
        padding-bottom: 70px;
      }
    }
    
    /* Base button style (Unselected state) */
.module-list button.module {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ccc !important;
}

/* Hover state */
.module-list button.module:hover {
  background-color: #f0f0f0 !important;
}

/* ONLY active when the JavaScript adds the 'selected' class */
.module-list button.module.selected {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.site-header .logo img {
      max-height: 45px;
      width: auto;
      object-fit: contain;
    }

    /* Hover effect for topic buttons: turns black with white text */
    .module-list .module:hover {
      background-color: #111 !important;
      color: #fff !important;
      border-color: #000 !important;
    }

    /* Responsive Sticky Tap-to-Call Bottom Bar for Mobile */
    .mobile-sticky-call {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #111;
      border-top: 2px solid #ffc107;
      z-index: 9999;
      box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
      text-align: center;
      padding: 12px 15px;
    }

    .mobile-sticky-call a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background-color: #ffc107;
      color: #000;
      font-weight: bold;
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 4px;
      font-size: 16px;
      text-transform: uppercase;
    }

    @media (max-width: 768px) {
      .mobile-sticky-call {
        display: block;
      }
      body {
        padding-bottom: 70px;
      }
    }
    
    /* Fix selected button text visibility */
.module.selected, 
.module:focus {
  background-color: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}