/* ADI service pages: the additions these pages need on top of the live site's own stylesheets
   (the public-clean homepage bundle, /css/reviews.css and /css/faq.css). Colours and type match those files.
   Built 23 October 2026 from the service page plans. Every rule is scoped to a ch- class, apart from the two
   overrides marked below. */

/* ---------- Header ---------- */

/* The homepage underlines Home as the current page; on a service page nothing in the top row is current */
.home-fold .nav-menu > li:first-child > a::after { content: none; }

/* ---------- Hero ---------- */

/* Award line above the H1: the homepage's subtitle slot, carrying a verified award instead of a slogan */
.home-fold .hero-subtitle.ch-award-line { font-size: 24px; letter-spacing: 0.02em; margin-bottom: 10px; text-wrap: balance; }

/* The keyword line carries the H1's weight; the promise sits under it at the homepage subtitle size */
/* long keyword lines break evenly instead of stranding a word */
.hero-title { text-wrap: balance; }

.ch-h1-sub {
  display: block;
  margin-top: 0.3em;
  font-size: 0.53em;
  line-height: 1.15;
  color: #4ecffb;
}

/* Each page sets how far its photo is darkened (--ch-hero-dim, --ch-hero-dim-mobile on the section),
   because some hero files are already dark */
@media (min-width: 769px) {
  .home-fold .hero-image.ch-hero-image { filter: brightness(var(--ch-hero-dim, 55%)); transform: scale(1.02); transform-origin: left center; }
}
@media (max-width: 1024px) {
  .home-fold .hero-subtitle.ch-award-line { font-size: 20px; }
}
@media (max-width: 768px) {
  .home-fold .hero-image.ch-hero-image { filter: brightness(var(--ch-hero-dim-mobile, 50%)); }
  .home-fold .hero-subtitle.ch-award-line { font-size: 15px; margin-bottom: 6px; }
}

/* ---------- Shared section pieces ---------- */

main h2 { text-wrap: balance; }
.ch-sub { display: block; color: #02b9f8; }

.ch-section { padding: 80px 20px; }
.ch-grey { background: #f3f5f6; }
.ch-section .container { max-width: 1200px; margin: 0 auto; }
.ch-section .container.ch-narrow { max-width: 880px; }

/* The answer box: every H2 opens with its direct answer, the answer itself in bold */
.ch-answer {
  font-size: 17px;
  line-height: 1.7;
  color: #1a2273;
  background: #eaf8fe;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 0 0 18px;
}
.ch-answer b { color: #161e6f; }
.services-detail-description b { color: #ffffff; }

.ch-lead { font-size: 16px; line-height: 1.7; color: #333; margin: 0 0 16px; }
.ch-center { text-align: center; margin-top: 28px; }
.ch-text { font-size: 16px; line-height: 1.8; color: #333; margin: 0 0 18px; }
.ch-h3 { color: #1a2273; font-size: 22px; font-weight: 700; line-height: 1.3; margin: 40px 0 12px; }

.ch-list { margin: 0 0 18px; padding-left: 22px; }
.ch-list li { font-size: 16px; line-height: 1.7; color: #333; margin: 0 0 10px; }
.ch-list li::marker { color: #02b9f8; }

/* Question headings run longer than the homepage's labels, so they step down a size */
@media (min-width: 1025px) {
  .benefits-section .benefits-title { font-size: 34px; }
  .ch-section .about-title, .ch-reviews .about-title { font-size: 40px; }
}

.ch-photo img { width: 100%; height: 100%; object-fit: cover; }
.ch-photo { cursor: default; }

/* Numbered steps: the process list counts instead of using the homepage's triangle markers */
.benefits-list.ch-steps { counter-reset: ch-step; }
.benefits-list.ch-steps li { counter-increment: ch-step; padding-left: 44px; }
.benefits-list.ch-steps li::before {
  content: counter(ch-step);
  top: 5px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a2273;
  color: #fff;
  font: 700 14px/28px "Inter", sans-serif;
  text-align: center;
}

/* Beside a long list the two photos stay in view instead of floating in the middle of the section */
@media (min-width: 1025px) {
  .benefits-section .benefits-container { align-items: flex-start; }
  .benefits-section .benefits-left { position: sticky; top: 130px; }
}
@media (max-width: 768px) {
  .benefits-left .ch-photo-second { margin-top: 14px; }
}

/* ---------- Navy panel ---------- */

.ch-methods .service-image-card img { aspect-ratio: 4 / 5; object-fit: cover; }
.ch-methods .service-image-card.offset img { aspect-ratio: 3 / 4; }

@media (min-width: 1025px) {
  /* the question heading needs a wider text column than the homepage's two-word title */
  .ch-methods .services-detail-content { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .ch-methods .services-detail-text { max-width: 680px; }
  .ch-methods .services-detail-title { font-size: 36px; }
  /* the equipment panel that follows overlaps this section by 250px; keep the copy clear of it */
  .services-detail-section.ch-has-panel { padding-bottom: 290px; }
}

.ch-cat-title {
  color: #1e3a5f;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}
.ch-card-link { text-decoration: none; }

/* ---------- Tables ---------- */

.ch-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid #dfe5ec; background: #fff; margin: 0 0 18px; }
.ch-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.ch-table th, .ch-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6ebf1; }
.ch-table thead th { background: #1a2273; color: #fff; font-weight: 700; }
.ch-table tbody th { color: #1a2273; font-weight: 700; white-space: nowrap; }
.ch-table tbody tr:last-child th, .ch-table tbody tr:last-child td { border-bottom: 0; }

/* Phones: each row becomes a card, every cell labelled with its column heading */
@media (max-width: 640px) {
  .ch-table-wrap { overflow-x: visible; }
  .ch-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ch-table, .ch-table tbody, .ch-table tr, .ch-table th, .ch-table td { display: block; width: 100%; box-sizing: border-box; }
  .ch-table tbody tr { padding: 8px 0 10px; border-bottom: 1px solid #e6ebf1; }
  .ch-table tbody tr:last-child { border-bottom: 0; }
  .ch-table tbody th { white-space: normal; padding: 10px 16px 4px; font-size: 16px; border: 0; }
  .ch-table td { padding: 4px 16px; border: 0; }
  .ch-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #5a6b85; }
}

/* ---------- Reviews ---------- */

.ch-reviews { padding: 80px 20px; }
.ch-reviews .rv-wrap { max-width: 1200px; margin: 0 auto; }

/* ---------- Case studies: each job told in its own photos ---------- */

.ch-cases { max-width: 1200px; margin: 8px auto 0; padding: 0 20px; display: grid; gap: 28px; }
.ch-case { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 6px 20px rgba(22, 30, 111, 0.06); }
.ch-case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 24px; }
.ch-case-photos.ch-two { grid-template-columns: repeat(2, 1fr); }
.ch-case-photo { margin: 0; position: relative; }
.ch-case-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ch-case-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #161e6f;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.ch-card-h { font-family: "Inter", sans-serif; font-weight: 700; font-size: 26px; line-height: 1.2; color: #161e6f; margin: 0 0 16px; }
.ch-card-h .number { color: #02b9f8; }
.ch-case-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; margin: 0 0 14px; }
.ch-case-cols.ch-solo { grid-template-columns: minmax(0, 860px); }
.ch-kit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.ch-kit-label { font-size: 14px; font-weight: 700; color: #1a2273; margin-right: 4px; }
.ch-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #eaf8fe; color: #161e6f; font-size: 14px; font-weight: 600; line-height: 1.2; }
.ch-case-quote { margin: 0; padding: 20px 22px; border-radius: 16px; background: #f2fcff; }
.ch-case-quote p { margin: 0 0 10px; font-style: italic; font-size: 16px; line-height: 1.7; color: #1a2273; }
.ch-case-quote footer { font-size: 14px; font-weight: 700; color: #1a2273; }
.ch-grey { padding-bottom: 80px; }

/* ---------- Why ADI ---------- */

.ch-promo-h2 { text-align: center; padding: 0 20px; }
.ch-promo .awards-photo img { max-height: 520px; object-fit: cover; object-position: 50% 85%; }
.ch-cite { display: inline-block; font-weight: 700; font-size: 14px; margin-top: 8px; font-style: normal; }

/* ---------- FAQs: the accordion from /leak-detection-faqs/, light card version ---------- */

.ch-faq { margin-top: 8px; }
.ch-faq .faq-item { background: #f2fcff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); margin: 0 0 12px; transition: background-color 0.2s ease; }
.ch-faq .faq-item:hover, .ch-faq .faq-item.active { background: #e2f7ff; }
.ch-faq .faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; color: #1a2273; font: 600 17px/1.5 "Inter", sans-serif; cursor: pointer; }
.ch-faq .faq-toggle-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ch-faq .faq-toggle-icon svg { width: 18px; height: 18px; }
.ch-faq .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out; }
.ch-faq .faq-item.active .faq-answer { max-height: 600px; }
.ch-faq .faq-answer p { margin: 0; padding: 0 22px 20px; color: #222; font-size: 16px; line-height: 1.8; }
.ch-faq .faq-item.active .faq-toggle-icon .v-line { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ch-faq .faq-answer, .ch-faq .faq-item { transition: none; }
}

/* ---------- Phones ---------- */

@media (max-width: 768px) {
  .ch-section, .ch-reviews { padding: 56px 16px; }
  .ch-table { font-size: 14px; }
  .ch-cases { padding: 0 16px; gap: 20px; }
  .ch-case { padding: 16px; border-radius: 20px; }
  .ch-case-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ch-case-photos > .ch-case-photo:first-child:not(:only-child) { grid-column: 1 / -1; }
  .ch-case-photos.ch-two > .ch-case-photo:first-child { grid-column: auto; }
  .ch-case-cols { grid-template-columns: 1fr; gap: 18px; }
  .ch-card-h { font-size: 21px; }
  .ch-faq .faq-question { padding: 16px 16px; font-size: 16px; }
  .ch-faq .faq-answer p { padding: 0 16px 16px; font-size: 15px; }
  .ch-grey { padding-bottom: 56px; }
}

/* Phones: the homepage hides the photo and customer quote in this section; on a service page the quote is
   proof, so the card stays (its own call button hides, the mobile one above it remains) */
@media (max-width: 768px) {
  .customers-section .customers-right { display: block; max-width: 100%; min-height: 0; padding: 20px; margin-top: 28px; border-radius: 24px; box-sizing: border-box; }
  .customers-section .customers-right .call-now-btn { display: none; }
  .customers-section .device-image { min-height: 0; max-height: none; margin: 0 0 16px; }
}

/* ---------- Informational pages ---------- */

/* Hero points that jump to the page's sections */
.hero-points .ch-jump { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-points .ch-jump:hover, .hero-points .ch-jump:focus-visible { text-decoration-thickness: 2px; }
html { scroll-padding-top: 110px; }

/* ADI's own data as a bar chart; every value is printed beside its bar */
.ch-bars { margin: 8px 0 22px; padding: 22px 24px; background: #fff; border: 1px solid #dfe5ec; border-radius: 16px; }
.ch-bars-cap { margin: 0 0 14px; font: 700 17px/1.4 "Inter", sans-serif; color: #161e6f; }
.ch-bars-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch-bar { display: grid; grid-template-columns: minmax(150px, 34%) 1fr 118px; align-items: center; gap: 14px; font-size: 15px; color: #1a2273; }
.ch-bar-label { font-weight: 600; line-height: 1.35; }
.ch-bar-track { height: 18px; background: #eaf3f9; border-radius: 9px; overflow: hidden; }
.ch-bar-fill { display: block; height: 100%; background: linear-gradient(90deg, #1a2273, #02b9f8); border-radius: 9px; }
.ch-bar-value { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ch-bar-count { font-weight: 500; color: #5a6b85; }
.ch-bars-source { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: #5a6b85; }

/* Numbered cards for a list of same-class items, each with its own photo */
.ch-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.ch-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px rgba(22, 30, 111, 0.06); display: flex; flex-direction: column; }
.ch-card-photo { margin: 0; }
.ch-card-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ch-card-body { padding: 20px 22px 22px; }
.ch-card .ch-card-h { font-size: 21px; }
.ch-card-sign { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #eaf8fe; font-size: 15px; line-height: 1.55; color: #161e6f; }
.ch-card-stat { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #5a6b85; }
/* causes with no photo of their own (not a pipe) sit on a tinted card */
.ch-card-nophoto { background: #f2fcff; }

.ch-figure { margin: 6px 0 22px; }
.ch-figure img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; }
.ch-figure figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #5a6b85; }

@media (max-width: 768px) {
  .ch-cards { grid-template-columns: 1fr; gap: 16px; }
  .ch-bars { padding: 16px; }
  .ch-bar { grid-template-columns: 1fr 100px; gap: 6px 10px; }
  .ch-bar-label { grid-column: 1 / -1; }
  .ch-card .ch-card-h { font-size: 19px; }
}
