/* BENEFITS SECTION */
body.location-page .loc-benefits .equipment-items li {
  margin-bottom: 0.35rem;
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
}

body.location-page .loc-benefits .equipment-items li::before {
  content: "✓";
  color: #2b71b9; /* Brand Blue */
  position: absolute;
  left: 0;
  font-weight: bold;
}

body.location-page .loc-benefits {
  background-color: #f8fafc; /* Light background to distinguish it */
}

body.location-page .loc-benefits .benefits-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

body.location-page .loc-benefits .benefits-image {
  position: relative;
  background: #ffffff;
  padding: 8px; /* White "matting" between video and border */
  border-radius: 24px; /* Outer radius */
  /* Brand Blue Ring + Deep Shadow */
  box-shadow: 0 0 0 4px #2b71b9, 0 25px 50px -12px rgba(43, 113, 185, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.location-page .loc-benefits .benefits-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 4px #2b71b9, 0 35px 60px -12px rgba(43, 113, 185, 0.5);
}

body.location-page .loc-benefits .benefits-image img,
body.location-page .loc-benefits .benefits-image iframe {
  width: 100%;
  height: auto;
  border-radius: 18px; /* Inner radius */
  object-fit: cover;
  display: block;
  border: none; /* Remove direct border on element */
}

body.location-page .loc-benefits .benefits-image iframe {
  aspect-ratio: 16 / 9;
}

@media (min-width: 992px) {
  body.location-page .loc-benefits .benefits-layout {
    flex-direction: row;
    align-items: flex-start; /* Align map to top */
  }

  body.location-page .loc-benefits .benefits-list {
    flex: 1;
    padding-right: 2rem;
  }

  body.location-page .loc-benefits .benefits-image {
    flex: 0 0 45%;
    max-width: 500px;
  }
}
body.location-page {
  /* feel free to tweak later, e.g.:
  background-color: #020b1f;
  */
}

/* INTRO SECTION TWEAKS */
body.location-page .loc-intro h2 {
  max-width: 900px;
  margin-bottom: 1rem;
}

body.location-page .loc-intro ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

/* BOOKING SECTION IMPROVEMENTS */
body.location-page .loc-booking .process-title {
  margin-bottom: 0.75rem;
}

body.location-page .loc-booking .step-description {
  margin-bottom: 0.5rem;
}

body.location-page .loc-booking .process-steps {
  gap: 1rem;
}

/* LEAK-TYPE BLOCKS – MAKE H4s LOOK LIKE CARDS */
body.location-page .loc-leak-types .equipment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  body.location-page .loc-leak-types .equipment-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body.location-page .loc-leak-types .equipment-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.location-page .loc-leak-types .leak-type-block {
  background: #ffffff; /* White card */
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 6px solid #2b71b9; /* Brand Blue Accent */
  position: relative;
  overflow: hidden;
}

body.location-page .loc-leak-types .leak-type-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(43, 113, 185, 0.15); /* Blue tinted shadow */
}

body.location-page .loc-leak-types .leak-type-block h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #2b71b9; /* Brand Blue Text */
  font-weight: 800;
  min-height: 3.5rem; /* Reserve space for 2 lines of text */
  line-height: 1.3;
  display: flex;
  align-items: flex-start; /* Top align text */
}

body.location-page .loc-leak-types .leak-type-block .card-image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #f1f5f9;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  /* Subtle diagonal stripe pattern using brand colors very lightly */
  background-image: repeating-linear-gradient(
    45deg,
    #f8fafc,
    #f8fafc 10px,
    #f1f5f9 10px,
    #f1f5f9 20px
  );
  border: 1px solid #e2e8f0;
}

body.location-page .loc-leak-types .leak-type-block img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid #e2e8f0;
}

body.location-page .loc-leak-types .leak-type-block p {
  color: #4b5563; /* Dark Grey Text */
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Pushes content to fill height if needed */
}

/* Add a visual "Read More" indicator (optional visual flourish) */
body.location-page .loc-leak-types .leak-type-block::after {
  content: "→";
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  background: #f0f7ff;
  color: #2b71b9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

body.location-page .loc-leak-types .leak-type-block:hover::after {
  background: #2b71b9;
  color: white;
}

/* TOOLKIT LIST – 2 COLUMNS ON DESKTOP */
body.location-page .loc-toolkit .equipment-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

body.location-page .loc-toolkit .equipment-list {
  flex: 1;
}

body.location-page .loc-toolkit .equipment-video {
  width: 100%;
}

body.location-page .loc-toolkit .equipment-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  height: auto;
  margin-bottom: 1.5rem; /* Space between video and image */
}

body.location-page .loc-toolkit .video-placeholder-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  /* border: 1px solid #e2e8f0; */
}

body.location-page .loc-toolkit .equipment-items li {
  margin-bottom: 0.4rem; /* Reduced spacing */
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4; /* Slightly tighter line height */
  color: #4b5563;
}

body.location-page .loc-toolkit .equipment-items li:first-child {
  margin-top: 1rem;
}

body.location-page .loc-toolkit .equipment-items li::before {
  content: "•"; /* Use a simple bullet or change to checkmark */
  color: #00b4d8; /* Light Blue / Cyan */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2rem;
  top: 0.1rem;
}

body.location-page .loc-toolkit .equipment-items strong {
  color: #020b1f; /* Dark Blue for emphasis */
  font-weight: 700;
}

@media (min-width: 900px) {
  body.location-page .loc-toolkit .equipment-list-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }

  body.location-page .loc-toolkit .equipment-video {
    flex: 0 0 500px;
    position: sticky;
    top: 2rem;
  }
}

/* REVIEWS SECTION – TIGHTEN WIDTH */
body.location-page .loc-reviews p {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

/* CONTACT SECTION – NEATER BULLETS */
body.location-page .loc-contact ul.equipment-items {
  margin-top: 0.5rem;
}

body.location-page .loc-contact ul.equipment-items li {
  margin-bottom: 0.35rem;
}

body.location-page .loc-contact .promotional-headline {
  color: #020b1f;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* INTRO LAYOUT ON DESKTOP:
   swap image/text so text is on the left, image on the right */
@media (min-width: 992px) {
  body.location-page .loc-intro .roof-surveying-panel {
    flex-direction: row-reverse; /* image moves to the right */
  }

  body.location-page .loc-intro .roof-surveying-text {
    padding-left: 3rem; /* gap between text and image */
    padding-right: 0; /* remove old right padding hack */
    max-width: 40rem; /* sensible line length */
  }
}
/* Stack video above image in the intro image block */
body.location-page .loc-intro .roof-surveying-image {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible !important;
  aspect-ratio: auto !important;
  max-width: 500px !important;
  flex: 0 0 500px;
  height: auto !important;
  min-height: auto !important;
  margin-top: 0;
  max-height: unset !important;
}

body.location-page .loc-intro .roof-surveying-panel {
  overflow: visible !important;
  display: flex !important;
  flex-direction: row !important; /* Force Text Left, Image Right */
  align-items: flex-start !important;
  justify-content: space-between; /* Add space between columns */
  gap: 2rem;
}

/* Ensure text column takes remaining space */
body.location-page .loc-intro .roof-surveying-content {
  flex: 1;
  max-width: none !important; /* Let flex handle width */
}

@media (min-width: 992px) {
  body.location-page .loc-intro .roof-surveying-text {
    padding-left: 0; /* Remove padding since we use gap now */
    padding-right: 0;
    max-width: none; /* Let flex handle width */
  }
}
body.location-page .loc-intro .roof-surveying-image iframe,
body.location-page .loc-intro .roof-surveying-image img {
  width: 100%;
  max-width: 100%;
}

body.location-page .loc-intro .roof-surveying-image img {
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 20px;
  height: auto;
}

/* Quote Form Styling */
.quote-form-container {
  background-color: #2b71b9; /* Blue background matching screenshot */
  padding: 1.5rem;
  border-radius: 8px;
  color: white;
  width: 100%;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.quote-form-header h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.quote-form .form-group {
  margin-bottom: 1rem;
}

.quote-form label {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: white;
}

.quote-form label .required {
  color: #ff4d4f;
  margin-left: 2px;
}

.quote-form input,
.quote-form select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box; /* Ensure padding doesn't affect width */
  font-family: inherit;
}

.quote-form input::placeholder {
  color: #888;
}

/* Fake reCAPTCHA styling */
.fake-recaptcha {
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  width: fit-content;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  height: 74px;
  box-sizing: border-box;
  min-width: 300px; /* Standard reCAPTCHA width */
  position: relative;
}

.recaptcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background-color: white;
  margin-right: 12px;
}

.recaptcha-label {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  flex-grow: 1;
}

.recaptcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
}

.recaptcha-logo img {
  width: 32px !important;
  height: 32px !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  margin-bottom: 2px;
}

.recaptcha-text {
  font-size: 10px;
  color: #555;
}

.recaptcha-links {
  font-size: 8px;
  color: #555;
}

.submit-button {
  width: 100%;
  background-color: #f0ad4e; /* Orange button */
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: #ec971f;
}

/* Make the video taller on location pages */
body.location-page .loc-intro .roof-surveying-image iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
}

/* CONTACT SECTION REDESIGN */
body.location-page .loc-contact .promotional-banner-container {
  display: flex !important; /* Restore flex layout */
  flex-direction: row;
  align-items: center;
  max-width: 1200px !important; /* Wider max-width for 2 columns */
  margin: 0 auto !important;
  padding: 2rem !important;
  gap: 3rem; /* Add spacing between columns */
}

body.location-page .loc-contact .promotional-banner-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

body.location-page .loc-contact .promotional-banner-right {
  flex: 1.5; /* Give text more space */
}

body.location-page .loc-contact .awards-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.location-page .loc-contact .promotional-headline {
  color: #020b1f !important;
  font-size: 2.2rem !important; /* Slightly smaller to fit layout */
  line-height: 1.1 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
}

body.location-page .loc-contact .promotional-description {
  color: #020b1f !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
  font-weight: 500 !important;
}

body.location-page .loc-contact .promotional-button {
  display: block !important;
  width: 100% !important;
  max-width: 400px; /* Prevent button from being too wide */
  background-color: #ffffff !important;
  color: #020b1f !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  padding: 1.2rem !important;
  text-align: center !important;
  margin-top: 2rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

body.location-page .loc-contact .promotional-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 900px) {
  body.location-page .loc-contact .promotional-banner-container {
    flex-direction: column;
    text-align: center;
  }

  body.location-page .loc-contact .promotional-headline,
  body.location-page .loc-contact .promotional-description {
    text-align: center !important;
  }

  body.location-page .loc-contact .promotional-button {
    margin: 2rem auto 0 auto !important;
  }
}

/* Ensure next section doesn't overlap due to pushed down image */
body.location-page .loc-intro {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.location-card-title {
  font-size: 20px;
  color: #00fffd;
  letter-spacing: normal;
}

.faq-area-list a {
  color: #222222 !important;
}

.equipment-section ul li:before {
  color: #222222 !important;
}

@media (max-width: 480px) {
  .roof-surveying-content {
    padding: 25px 15px;
    gap: 20px;
    padding-top: 0 !important;
  }
}

.faq-answer ul a {
  color: #222222 !important;
}

.faq-answer ul li:before {
  color: #222222 !important;
}

.faq-answer ul li {
  line-height: 1.5;
}
