/* Fix 'N' Flow — Eastern Suburbs · MAIN CSS (style.css)
   Below-the-fold: offers, triage, emergency CTA, services, local, suburbs, how, proof,
   guarantee, faq, final, footer, booking modal. Loaded via <link> in header.php. */

/* ---------- offers ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.offer {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: var(--shadow);
}
.offer-ico {
  font-size: 24px;
  margin-bottom: 6px;
}
.offer h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.offer p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.offer-link {
  font-weight: 800;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}
.offer-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff3d6;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #ffe1a6;
}

/* ---------- coupons (Figma 13:1222) · carousel on mobile, 4-up on desktop ---------- */
.coupons {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px;
  margin: 0 -2px;
  scrollbar-width: none;
}
.coupons::-webkit-scrollbar {
  display: none;
}
.coupon {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  flex: 0 0 100%;
  max-width: 420px;
  aspect-ratio: 350/481;
  border-radius: 30px;
  scroll-snap-align: center;
}
.coupon--sky {
  background: #5ab2f8;
  color: #000;
}
.coupon--amber {
  background: #ffae35;
  color: #000;
}
.coupon--blue {
  background: #0067b9;
  color: #fff;
}
.coupon--black {
  background: #000;
  color: #fff;
}
.coupon-photo {
  position: absolute;
  top: 0;
  height: auto;
  max-width: none;
  z-index: 1;
  pointer-events: none;
}
.coupon-logo {
  position: absolute;
  left: 10%;
  top: 43%;
  width: 14cqw;
  height: 14cqw;
  z-index: 2;
}
.coupon-txt {
  position: absolute;
  left: 10%;
  right: 8%;
  top: 59%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}
.coupon-amt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21cqw;
  letter-spacing: -0.03em;
}
.coupon-amt--sm {
  font-size: 18cqw;
}
.coupon-lbl {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 9.1cqw;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-top: 2cqw;
}
.coupon-exp {
  position: absolute;
  left: 10%;
  bottom: 5.5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 5.7cqw;
}
.coupon-exp img {
  width: 6.8cqw;
  height: 6.8cqw;
  flex: 0 0 auto;
}
.coupon-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}
.coupon-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd6df;
  cursor: pointer;
  transition:
    background 0.2s,
    width 0.2s;
}
.coupon-dot[aria-current="true"] {
  background: var(--blue);
  width: 26px;
  border-radius: 5px;
}
@media (min-width: 768px) {
  .coupons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    overflow: visible;
    margin: 0;
  }
  .coupon {
    flex: none;
    max-width: none;
  }
  .coupon-dots {
    display: none;
  }
}

/* ---------- form ---------- */
.book {
  background: var(--surface);
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: -7px 9px 0 #eaeaea;
  max-width: 600px;
  margin: 0 auto;
}
.form-card h2 {
  text-align: center;
  color: var(--blue);
}
.emergency-hint {
  background: #fff3d6;
  border: 1px solid #ffe1a6;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  margin: 16px auto 0;
  max-width: 600px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.emergency-hint a {
  font-weight: 800;
  color: var(--brand);
}
.field {
  margin-bottom: 13px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--brand-ink);
}
.field input,
.field select {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
  font-family: inherit;
  padding: 0 14px;
  border: 1.5px solid #e4e7ec;
  border-bottom: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230067B9' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.field input:focus,
.field select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 103, 185, 0.12);
}
.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 26px 10px;
}
.form-success .tick {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--good);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 14px;
}
.form-success h3 {
  font-size: 22px;
}
.is-done .form-body {
  display: none;
}
.is-done .form-success {
  display: block;
}

/* ---------- triage ---------- */
.triage {
  background: #fff6e6;
  border-left: 5px solid var(--cta);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
.triage h2 {
  color: var(--navy);
}
.triage ol {
  margin: 0;
  padding-left: 1.1em;
}
.triage li {
  margin-bottom: 12px;
}
.triage .gas {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
  font-size: 15px;
}

/* ---------- emergency CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  box-shadow: -7px 9px 0 #eaeaea;
  border: 1px solid var(--line);
  background: #fff;
}
.cta-content {
  padding: 26px 22px;
}
.cta-banner h2 {
  color: var(--brand-ink);
  margin-bottom: 16px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
}
.cta-banner ol {
  margin: 0 0 16px;
  padding-left: 1.15em;
}
.cta-banner li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
}
.cta-banner li strong {
  color: var(--brand-ink);
}
.cta-gas {
  background: var(--cta);
  border: 1px solid var(--cta-press);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.cta-gas-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.cta-gas-head svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
  flex: 0 0 auto;
}
.cta-gas-head strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--cta-text);
  line-height: 1;
}
.cta-gas p {
  margin: 0;
  font-size: 14.5px;
  color: var(--cta-text);
}
.cta-btn {
  width: auto;
  display: inline-flex;
}
.cta-media {
  position: relative;
}
.cta-media img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    align-items: stretch;
  }
  .cta-content {
    flex: 1;
    align-self: center;
    padding: 44px 48px;
  }
  .cta-media {
    flex: 0 0 42%;
  }
  .cta-media img {
    height: 100%;
  }
}

/* ---------- services (square-tile cards · carousel on mobile, 3-up on desktop) ---------- */
.svc-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 14px;
  margin: 0 -2px;
  scrollbar-width: none;
}
.svc-grid::-webkit-scrollbar {
  display: none;
}
/* dots stand in for the native scrollbar on mobile */
.svc-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
}
.svc-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfd6df;
  cursor: pointer;
  transition:
    background 0.2s,
    width 0.2s;
}
.svc-dot[aria-current="true"] {
  background: var(--blue);
  width: 26px;
  border-radius: 5px;
}
.svc {
  scroll-snap-align: start;
  flex: 0 0 78%;
  max-width: 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow);
}
.svc-media {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
}
.svc-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* brand mark, top right of the photo */
.svc-media .svc-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(16, 37, 60, 0.35));
}
.svc-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.svc h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 25px);
  margin: 0;
  color: var(--brand-ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.svc p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.svc-cta {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
}
.svc-cta:active {
  background: #0a4f8f;
}
@media (hover: hover) {
  .svc-cta:hover {
    background: #0a4f8f;
  }
}

/* ---------- local (text + icons left, image right) ---------- */
.local {
  background: var(--surface);
}
.local-grid {
  display: grid;
  gap: 26px;
}
.local-head .eyebrow {
  margin-bottom: 12px;
}
.local-head h2 {
  text-align: left;
  color: var(--brand-ink);
  margin-bottom: 22px;
}
/* accordion: lead is the summary, body reveals on open */
.local-point {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.local-point summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 34px;
  position: relative;
}
.local-point summary::-webkit-details-marker {
  display: none;
}
.local-point summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3fc;
  border-radius: 50%;
  font-size: 19px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1;
}
.local-point[open] summary::after {
  content: "–";
}
.local-point summary strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-ink);
}
.lp-ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue);
  box-shadow: 4px 4px 0 #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-ico svg {
  width: 24px;
  height: 24px;
  fill: var(--sky);
}
.lp-txt {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 60px;
}
/* .local-media stays unclipped so the 60-mins badge can hang outside;
   .local-frame does the rounding/clipping the photo needs. */
.local-media {
  position: relative;
}
.local-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sky), var(--blue));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: -7px 9px 0 #eaeaea;
}
.local-frame img {
  width: 100%;
  height: auto;
  display: block;
}
/* brand wave along the bottom of the photo - same asset as the hero */
.local-frame .local-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.local-60 {
  position: absolute;
  left: -20px;
  bottom: -18px;
  z-index: 2;
  width: 210px;
  height: auto;
  display: block;
  pointer-events: none;
}
@media (min-width: 768px) {
  .local-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 44px;
  }
  .local-points {
    max-width: 80%;
  }
  .local-media {
    align-self: stretch;
  }
  .local-frame {
    height: 100%;
  }
  .local-frame img:not(.local-wave) {
    height: 100%;
    object-fit: cover;
  }
}

/* ---------- suburbs ---------- */
.suburbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.suburbs li {
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.suburbs li svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: var(--sky);
}
.suburbs .note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}
.suburbs-map {
  margin-top: 22px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 #eaeaea;
}
.suburbs-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}

/* ---------- how (carousel on mobile, 3-up desktop - like coupons) ---------- */
/* brand wave from the hero, anchored to the bottom of the section */
.how {
  position: relative;
  overflow: hidden;
  background: #eaf3fc;
}
/* eyebrow's default fill is this same light blue, so give it a white chip here */
.how .eyebrow {
  background: #fff;
}
.how-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.how > .wrap {
  position: relative;
  z-index: 1;
}
.steps {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  margin: 0 -2px;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar {
  display: none;
}
/* connector runs behind the cards, showing through the gaps - desktop only,
   because the mobile track scrolls and an absolute line can't follow it */
.steps-line {
  display: none;
}
.step {
  scroll-snap-align: start;
  flex: 0 0 84%;
  max-width: 360px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 4px 4px 0 #eaeaea;
}
.step .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 58px;
  line-height: 0.95;
  color: #cbd3de;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--brand-ink);
  margin-bottom: 5px;
  font-size: 20px;
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- proof ---------- */
.proof {
  background: var(--surface);
  color: var(--text);
}
.proof h2 {
  color: var(--brand-ink);
}
/* three feature tiles: light, light-blue, navy */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.stat {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 6px 6px 0 #eaeaea;
}
.stat-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 30ch;
}
.stat-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.stat-logos img {
  height: 22px;
  width: auto;
  display: block;
}
.stat-ico {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
}
.stat-ico svg {
  width: 26px;
  height: 26px;
  fill: var(--sky);
}
.stat--open {
  background: #eaf3fc;
  border-color: #d6e6f6;
}
.stat--speed {
  background: var(--navy);
  border-color: var(--navy);
}
.stat--speed .stat-eyebrow {
  color: var(--sky);
}
.stat--speed b {
  color: #fff;
}
.stat--speed .stat-sub {
  color: #c2d0dc;
}
.stat--speed .stat-ico {
  background: rgba(255, 255, 255, 0.12);
}
.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}
.review {
  flex: 0 0 min(340px, 80vw);
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 0;
  box-shadow: 6px 6px 0 #eaeaea;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}
.review figcaption {
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-ink);
}
.review .stars {
  color: #f59e0b;
  font-size: 14px;
}
.review blockquote {
  margin: 0;
  font-size: 15px;
  color: #333c47;
}

/* ---------- guarantee (page-width banner, spinning seal on the right) ---------- */
.g-banner {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: -7px 9px 0 #eaeaea;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  overflow: hidden;
}
/* grain overlay - same texture/opacity as the hero */
.g-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../../img/hero/texture.webp") center/cover no-repeat;
  opacity: 0.06;
}
/* van sits in the banner background, behind both the copy and the plumber,
   clipped by the banner's left edge so it reads as driving in */
.g-van {
  display: block;
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -70px;
  width: 350px;
  height: auto;
  pointer-events: none;
}
.g-content {
  position: relative;
  z-index: 1;
}
.g-content h2 {
  color: var(--blue);
  margin-bottom: 12px;
}
.g-content .foot {
  font-size: 12.5px;
  color: var(--muted);
  margin: 14px 0 0;
}
.g-media {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 250px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* own keyframes: badgespin bakes in translate(-50%,-50%) for the hero badge's
   centred anchor, which would drag this top/right-anchored seal off position. */
.g-media .g-seal {
  position: absolute;
  top: 40px;
  right: -10px;
  width: 120px;
  height: auto;
  z-index: 1;
  transform-origin: center;
  animation: sealspin 18s linear infinite;
}
@keyframes sealspin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.g-media .g-plumber {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  max-height: 300px;
  max-width: 100%;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .g-media .g-seal {
    animation: none;
  }
}
@media (min-width: 768px) {
  .g-banner {
    flex-direction: row-reverse;
    text-align: left;
    gap: 44px;
    padding: 42px 52px;
    align-items: stretch;
    min-height: 331px;
  }
  .g-content {
    flex: 1;
    align-self: center;
  }
  .g-media {
    flex: 0 0 300px;
    width: auto;
    min-height: 0;
    align-self: stretch;
  }
  .g-media .g-seal {
    width: 150px;
    right: auto;
    left: 0;
    top: 0;
  }
  /* copy column starts at 52(pad)+300(media)+44(gap)=396px, so the van's
     right edge stops just short of it at every desktop width */
  .g-van {
    left: -374px;
    width: 760px;
  }
  .g-media .g-plumber {
    position: absolute;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
    height: calc(100% + 42px);
    max-height: none;
    width: auto;
    max-width: none;
  }
}

/* ---------- faq ---------- */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 0 #eaeaea;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 18px;
  font-weight: 800;
  font-size: 16px;
  color: var(--brand-ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3fc;
  border-radius: 50%;
  font-size: 20px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq .faq-a {
  padding: 0 18px 18px;
}
.faq .faq-a p {
  margin: 0;
  color: #333c47;
  font-size: 15.5px;
}

/* ---------- final cta (page-width banner, image on the right) ---------- */
.final {
  background: var(--surface);
}
.final-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  box-shadow: 0 18px 44px rgba(16, 37, 60, 0.22);
}
.final-content {
  padding: 30px 24px;
  text-align: center;
}
.final-banner h2 {
  color: #fff;
}
.final-banner p {
  color: #dce6ee;
  max-width: 44ch;
  margin: 0 auto 22px;
}
.final-banner .hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  max-width: 440px;
}
.final-banner .btn-ghost {
  background: #141414;
  color: #fff;
  border-color: #141414;
}
@media (hover: hover) {
  .final-banner .btn-ghost:hover {
    background: #2b2b2b;
  }
}
.final-banner .fine {
  font-size: 13px;
  color: #c2d0dc;
  margin-top: 14px;
}
.final-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.final-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .final-banner {
    flex-direction: row;
    align-items: stretch;
  }
  .final-content {
    flex: 1;
    align-self: center;
    text-align: left;
    padding: 44px 12px 44px 52px;
  }
  .final-banner p {
    margin: 0 0 22px;
  }
  .final-banner .hero-cta {
    flex-direction: row;
    margin: 0;
    justify-content: flex-start;
  }
  .final-media {
    flex: 0 0 38%;
    align-items: flex-end;
    padding-top: 24px;
  }
  /* soften the photo's left edge into the banner so it doesn't read as a cutout */
  .final-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28%);
  }
}

/* ---------- footer (light, matches hero) ---------- */
.footer {
  background: var(--surface);
  color: var(--muted);
  padding: 44px 0 24px;
  border-top: 1px solid var(--line);
}
.footer .cols {
  display: grid;
  gap: 26px;
}
.footer h4 {
  color: var(--brand-ink);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.footer .footer-logo {
  height: 46px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}
.footer .brandname {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}
.footer .brandname .n {
  color: var(--cta);
}
.footer a {
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--blue);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li {
  margin-bottom: 8px;
  font-size: 14.5px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.footer .badges span {
  background: #eef4fb;
  border: 1px solid #d6e6f6;
  color: var(--brand);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
}
.footer .rating {
  font-size: 14px;
  margin: 10px 0;
  color: var(--brand-ink);
}
.footer .rating .s {
  color: #f59e0b;
}
/* right padding clears the fixed chat bubble (right:14px + 56px wide), which
   otherwise sits straight on top of the AIIMS logo at full scroll */
.footer .bottom {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
  padding-right: 78px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
}
.footer .aiims {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer .aiims img {
  height: 26px;
  width: auto;
  display: block;
}
@media (hover: hover) {
  .footer .aiims:hover {
    opacity: 1;
  }
}

/* ---------- sticky bottom call bar ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: var(--callbar-h);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(16, 24, 40, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.callbar .cbtn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.callbar .cbtn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}
.callbar .cbtn-call {
  background: var(--blue);
  color: #fff;
}
.callbar .cbtn-book {
  background: #141414;
  color: #fff;
}
.callbar .cbtn-book svg {
  fill: var(--cta);
}

/* ---------- booking modal ---------- */
/* no backdrop-filter: blurring the whole animated page behind the scrim is
   expensive on mobile and the flat scrim reads the same */
.bmodal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(16, 37, 60, 0.6);
}
.bmodal[hidden] {
  display: none;
} /* [hidden] alone loses to display:flex */
.bmodal-inner {
  position: relative;
  width: min(520px, 100%);
  margin: auto;
}
.bmodal-inner .bookcard {
  box-shadow: 0 24px 60px rgba(16, 37, 60, 0.4);
}
.bmodal-close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
@media (hover: hover) {
  .bmodal-close:hover {
    background: #2b2b2b;
  }
}
body.modal-open {
  overflow: hidden;
}

/* ---------- chat bubble (injected after load) ---------- */
#chat-launch {
  position: fixed;
  right: 14px;
  bottom: calc(var(--callbar-h) + 12px);
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#chat-panel {
  position: fixed;
  right: 14px;
  bottom: calc(var(--callbar-h) + 12px);
  z-index: 46;
  width: min(340px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.22);
  overflow: hidden;
  display: none;
}
#chat-panel.open {
  display: block;
}
.chat-head {
  background: var(--brand);
  color: #fff;
  padding: 13px 15px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-head button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.chat-body {
  padding: 15px;
}
.chat-msg {
  background: #f1f5f8;
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.chat-qr {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-qr button {
  background: #fff;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.chat-qr button:hover {
  background: #f2f6fa;
}
.chat-call {
  display: block;
  background: var(--cta);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 10px;
  padding: 13px;
  margin-top: 6px;
}

/* ---------- desktop ---------- */
@media (min-width: 768px) {
  :root {
    --wrap: 1600px;
  }
  section {
    padding: 76px 0;
  }
  body {
    padding-bottom: 0;
  }
  .callbar {
    display: none;
  }
  #chat-launch,
  #chat-panel {
    bottom: 16px;
  }
  .hero {
    padding: 44px 0 0;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 56px;
  }
  .hero h1 {
    margin-bottom: 20px;
  }
  .hero .sub {
    font-size: 20px;
  }
  .hero-visual {
    margin-top: 0;
  }
  .hero-photo {
    aspect-ratio: 4/5;
  }
  .guar-badge {
    width: 134px;
    height: 134px;
    top: -26px;
    right: -18px;
  }
  .hero-wave {
    height: 66px;
  }
  .offers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    overflow: visible;
    margin: 0;
  }
  .svc {
    flex: none;
    max-width: none;
  }
  .svc-dots {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .stat {
    min-height: 210px;
    padding: 26px 24px;
  }
  .stat b {
    font-size: 54px;
  }
  .how .section-head {
    text-align: left;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    gap: 28px;
  }
  .step {
    flex: none;
    max-width: none;
  }
  /* line sits at the numerals' centre height and draws left to right */
  .steps-line {
    display: block;
    position: absolute;
    z-index: 0;
    left: 6%;
    right: 6%;
    top: 52px;
    height: 2px;
    background: var(--line);
    transform: scaleX(0);
    transform-origin: left center;
  }
  .steps.in .steps-line {
    transform: scaleX(1);
    transition: transform 1.1s ease 0.15s;
  }
  .steps .step {
    opacity: 0;
    transform: translateY(14px);
  }
  .steps.in .step {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
  }
  .steps.in .step:nth-of-type(2) {
    transition-delay: 0.35s;
  }
  .steps.in .step:nth-of-type(3) {
    transition-delay: 0.7s;
  }
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-cta {
    flex-wrap: nowrap;
  }
  .hero-cta .btn-pill {
    flex: 0 0 auto;
  }
  .footer .cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dot::before,
  .dot::after {
    animation: none;
    opacity: 0;
  }
  .fade {
    opacity: 1 !important;
    transform: none !important;
  }
  /* the observer never adds .in here, so the stepper must show unaided */
  .steps .step {
    opacity: 1 !important;
    transform: none !important;
  }
  .steps-line {
    transform: scaleX(1) !important;
  }
}
.fade {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.fade.in {
  opacity: 1;
  transform: none;
}
