/* Kapadia Hospital — shared layout (header + footer + drawer)
   Used by every page. Edit here once, applies everywhere. */

:root {
  --blue: #d7263d;
  --blue-deep: #a81c2b;
  --blue-ink: #002D62;
  --blue-tint: #eaf4fa;
  --blue-soft: #d5e9f4;
  --red: #d7263d;
  --surface: #f7fafc;
  --ink: #16242e;
  --ink-2: #41535f;
  --ink-3: #6b7c87;
  --line: #e1e9ee;
  --white: #ffffff;
  --r: 8px;
  --shadow-sm:
    0 1px 3px rgba(8, 58, 86, 0.06), 0 4px 14px rgba(8, 58, 86, 0.05);
  --shadow-md: 0 6px 24px rgba(8, 58, 86, 0.09);
  --shadow-lg: 0 16px 48px rgba(8, 58, 86, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* NOTE: do NOT add a `.svc-page *{margin:0;padding:0}` reset here — it would
   override every section's padding on pages that use their own class system
   (e.g. the homepage's .about, .story, .spec, etc.). Service / contact pages
   already carry that armor in their own inline <style> blocks. */
.svc-page {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  box-sizing: border-box;
}
.svc-page .svc-wrap {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
/* Reset scoped strictly to header/footer/drawer descendants */
.svc-page .svc-topbar,
.svc-page .svc-topbar *,
.svc-page .svc-hdr,
.svc-page .svc-hdr *,
.svc-page .svc-drawer,
.svc-page .svc-drawer *,
.svc-page .svc-drawer-ov,
.svc-page .svc-ftr,
.svc-page .svc-ftr * {
  box-sizing: border-box;
}
.svc-page .svc-topbar a,
.svc-page .svc-hdr a,
.svc-page .svc-drawer a,
.svc-page .svc-ftr a {
  text-decoration: none;
  color: inherit;
}
.svc-page .svc-topbar ul,
.svc-page .svc-hdr ul,
.svc-page .svc-drawer ul,
.svc-page .svc-ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-page .svc-topbar button,
.svc-page .svc-hdr button,
.svc-page .svc-drawer button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
}
.svc-page .svc-topbar img,
.svc-page .svc-hdr img,
.svc-page .svc-drawer img,
.svc-page .svc-ftr img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Buttons */
.svc-page .svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s,
    background 0.25s;
  cursor: pointer;
}
.svc-page .svc-btn svg {
  transition: transform 0.25s var(--ease);
}
.svc-page .svc-btn:hover svg {
  transform: translateX(4px);
}
.svc-page .svc-btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 130, 190, 0.32);
}
.svc-page .svc-btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}
.svc-page .svc-btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.svc-page .svc-btn-ghost:hover {
  background: var(--blue-tint);
  transform: translateY(-2px);
}
.svc-page .svc-btn-white {
  background: #fff;
  color: var(--blue-ink);
  box-shadow: var(--shadow-md);
}
.svc-page .svc-btn-white:hover {
  transform: translateY(-2px);
}

/* HEADER + DRAWER */
/* ============ HEADER ============ */
.svc-page .svc-topbar {
  background: var(--blue-ink);
  color: #fff;
  font-size: 13px;
}
.svc-page .svc-topbar .svc-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
}
.svc-page .svc-topbar .l {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.svc-page .svc-topbar .l svg {
  color: #9bd4f0;
}
.svc-page .svc-topbar .r {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}
.svc-page .svc-topbar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.svc-page .svc-topbar a:hover {
  color: #9bd4f0;
}
/* #site-header is display:contents so the injected topbar + header become
   direct children of the page - the sticky header then sticks across the whole
   page instead of being trapped inside a short wrapper. */
#site-header {
  display: contents;
}
.svc-page .svc-topbar {
  position: relative;
  z-index: 60;
}
.svc-page .svc-hdr {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow:
    0 1px 0 #e1e9ee,
    0 4px 14px rgba(8, 58, 86, 0.05);
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
.svc-page .svc-hdr.scrolled {
  box-shadow:
    0 1px 0 #e1e9ee,
    0 10px 30px rgba(8, 58, 86, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.1) blur(6px);
}
.svc-page .svc-hdr .svc-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 14px;
  overflow: visible;
  transition: padding 0.3s;
}
.svc-page .svc-hdr.scrolled .svc-wrap {
  padding-top: 8px;
  padding-bottom: 8px;
}
/* header "Book Appointment" button must beat the nav-link colour rule so its
   text stays white (the .svc-nav>a rule is otherwise more specific) */
.svc-page .svc-hdr .svc-btn-primary,
.svc-page .svc-hdr a.svc-btn-primary {
  background: var(--blue);
  color: #fff;
}
.svc-page .svc-hdr .svc-btn-primary:hover,
.svc-page .svc-hdr a.svc-btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}
.svc-page .svc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.svc-page .svc-logo img {
  height: 75px;
  width: auto;
}
.svc-page .svc-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.svc-page .svc-nav > a,
.svc-page .svc-nav-item > a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 9px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s;
}
.svc-page .svc-nav > a:hover,
.svc-page .svc-nav-item:hover > a {
  color: var(--blue);
  background: var(--blue-tint);
}
.svc-page .svc-nav-item {
  position: relative;
}
.svc-page .svc-nav .has::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-top: -3px;
  opacity: 0.5;
  transition: transform 0.25s;
}
.svc-page .svc-nav-item:hover .has::after {
  transform: rotate(225deg);
  margin-top: 2px;
}
/* mega panel — hover bridge (18px) + close delay (180ms) so the cursor can
   travel diagonally from trigger → panel without the panel snapping shut */
.svc-page .svc-mega {
  position: fixed;
  top: auto;
  left: 32px;
  right: 32px;
  margin-top: 14px;
  width: auto;
  max-width: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 32px 36px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s var(--ease) 0.16s,
    transform 0.28s var(--ease) 0.16s,
    visibility 0s linear 0.42s;
  z-index: 210;
  max-height: 78vh;
  overflow-y: auto;
}
.svc-page .svc-nav-item:hover .svc-mega,
.svc-page .svc-nav-item:focus-within .svc-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.2s var(--ease),
    transform 0.28s var(--ease),
    visibility 0s linear 0s;
}
.svc-page .svc-mega::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 22px;
}
.svc-page .svc-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 28px;
}
.svc-page .svc-mega-col {
  display: flex;
  flex-direction: column;
}
.svc-page .svc-mega-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  padding: 5px 0;
  border-radius: 6px;
  transition:
    color 0.2s,
    padding 0.2s;
}
.svc-page .svc-mega-col a:hover {
  color: var(--blue);
}
.svc-page .svc-mega-hub {
  font-weight: 800 !important;
  color: var(--blue-ink) !important;
  margin-top: 12px;
  font-size: 13.5px !important;
}
.svc-page .svc-mega-hub:first-of-type {
  margin-top: 8px;
}
.svc-page .svc-mega-sub {
  padding-left: 12px !important;
  position: relative;
  color: var(--ink-3) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}
.svc-page .svc-mega-sub::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 5px;
  height: 1px;
  background: var(--blue-soft);
}
.svc-page .svc-mega-sub:hover {
  color: var(--blue) !important;
}
.svc-page .svc-mega-h {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-ink) !important;
  margin-bottom: 6px;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--line);
}
.svc-page .svc-mega-h:hover {
  padding-left: 0 !important;
  color: var(--blue) !important;
}
.svc-page .svc-mega .star {
  color: var(--blue);
}
.svc-page .svc-mega-more {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--blue) !important;
  margin-top: 6px;
}
.svc-page .svc-mega-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px -28px 0;
  padding: 16px 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.svc-page .svc-mega-foot a {
  color: var(--blue);
  font-weight: 700;
}
.svc-page .svc-mega-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
/* simple dropdown — same hover-stability pattern as mega */
.svc-page .svc-drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0s linear 0.18s;
  z-index: 210;
}
.svc-page .svc-nav-item:hover .svc-drop,
.svc-page .svc-nav-item:focus-within .svc-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0s linear 0s;
}
.svc-page .svc-drop::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.svc-page .svc-drop a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 10px 14px;
  border-radius: 8px;
  transition: 0.2s;
}
.svc-page .svc-drop a:hover {
  background: var(--blue-tint);
  color: var(--blue);
}
.svc-page .svc-hdr-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.svc-page .svc-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.svc-page .svc-burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
/* mobile drawer */
/* Drawer + overlay must sit ABOVE the sticky header (z-index:999) or the
   header pokes through the open menu on mobile (looked "distorted"). */
.svc-page .svc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 88vw;
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(8, 58, 86, 0.18);
}
.svc-page .svc-drawer.open {
  transform: translateX(0);
}
.svc-page .svc-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.svc-page .svc-drawer-head img {
  height: 40px;
}
.svc-page .svc-drawer-x {
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}
.svc-page .svc-acc {
  padding: 12px 20px;
  flex: 1;
}
.svc-page .svc-acc > a,
.svc-page .svc-acc summary {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}
.svc-page .svc-acc summary::-webkit-details-marker {
  display: none;
}
.svc-page .svc-acc summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 800;
}
.svc-page .svc-acc details[open] summary::after {
  content: "–";
}
.svc-page .svc-acc details a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 10px 0 10px 16px;
  border-bottom: none;
}
.svc-page .svc-acc details a:hover {
  color: var(--blue);
}
.svc-page .svc-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.svc-page .svc-drawer-foot .svc-btn-primary {
  justify-content: center;
  width: 100%;
  color: #fff;
}
.svc-page .svc-drawer-foot-row {
  display: flex;
  gap: 10px;
}
.svc-page .svc-drawer-foot-row a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}
.svc-page .svc-drawer-ov {
  position: fixed;
  inset: 0;
  background: rgba(8, 46, 68, 0.5);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.svc-page .svc-drawer-ov.open {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 1240px) {
  .svc-page .svc-nav {
    display: none;
  }
  .svc-page .svc-burger {
    display: flex;
  }
}
/* Mobile header: hamburger only — hide the Book Appointment button
   (it still lives inside the mobile drawer). Removes the horizontal
   overflow the button caused on narrow screens. */
@media (max-width: 640px) {
  .svc-page .svc-hdr-cta .svc-btn-primary {
    display: none;
  }
  .svc-page .svc-hdr .svc-wrap {
    gap: 10px;
  }
  .svc-page .svc-logo img {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .svc-page .svc-topbar .l {
    display: none;
  }
  /* hide the phone number; keep Ambulance + Chat on one clean line */
  .svc-page .svc-topbar .svc-wrap {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .svc-page .svc-topbar .r {
    width: 100%;
    justify-content: center;
    gap: 22px;
    font-size: 12px;
    flex-wrap: nowrap;
  }
  .svc-page .svc-topbar .r a[href^="tel:"] {
    display: none;
  }
  .svc-page .svc-topbar .r a {
    white-space: nowrap;
    gap: 6px;
  }
  .svc-page .svc-topbar .r a svg {
    width: 14px;
    height: 14px;
    flex: none;
  }
}
@media (max-width: 360px) {
  .svc-page .svc-topbar .r {
    font-size: 11px;
    gap: 16px;
  }
}

/* ============ FOOTER ============ */

/* FOOTER */
.svc-page .svc-ftr {
  background: var(--blue-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 0;
}
.svc-page .svc-ftr-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.05fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
/* .svc-ftr-h is the class carried by the footer column headings. They are
   <div> rather than <h2> so the footer contributes no headings to the document
   outline; the class is listed here so the visual styling is identical. */
.svc-page .svc-ftr h4,
.svc-page .svc-ftr h2,
.svc-page .svc-ftr .svc-ftr-h {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
/* second heading inside an existing footer column (e.g. Our Association) */
.svc-page .svc-ftr .svc-ftr-h-sub {
  margin-top: 28px;
}
.svc-page .svc-ftr-brand img {
  height: 48px;
  margin-bottom: 18px;
}
.svc-page .svc-ftr-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 34ch;
  margin-bottom: 18px;
}
.svc-page .svc-ftr-emg {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  border: none;
  color: #ffb3bd;
  padding: 0;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 20px;
  transition: color 0.25s;
}
.svc-page .svc-ftr-emg:hover {
  color: #fff;
}
.svc-page .svc-ftr-emg svg {
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: content-box;
  padding: 8px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.svc-page .svc-ftr-soc {
  display: flex;
  gap: 12px;
}
.svc-page .svc-ftr-soc a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: 0.25s;
}
.svc-page .svc-ftr-soc a:hover {
  background: var(--blue);
}
.svc-page .svc-ftr ul li {
  margin-bottom: 11px;
}
.svc-page .svc-ftr ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}
.svc-page .svc-ftr ul li a:hover {
  color: #fff;
  padding-left: 3px;
}
.svc-page .svc-ftr-contact .it {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}
.svc-page .svc-ftr-contact .it svg {
  flex: none;
  color: #9bd4f0;
  margin-top: 2px;
}
.svc-page .svc-ftr-contact a {
  color: rgba(255, 255, 255, 0.78);
}
.svc-page .svc-ftr-contact a:hover {
  color: #fff;
}
/* The back-to-top button (fixed, bottom-left) and the call/WhatsApp stack
   (fixed, bottom-right) sit ON TOP of this bar once the page is scrolled to the
   end — they were clipping the copyright on the left and the credit on the
   right. Reserve both corners so the text always lands between them:
   totop is 46px at left:22 (=68), the fab 54px at right:22 (=76); 96px leaves
   a comfortable gap either side. */
.svc-page .svc-ftr-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 96px;
  font-size: 12.5px;
}
/* Below 640px there is not enough width to give up 192px, so clear the buttons
   vertically instead. Measured: the call/WhatsApp stack occupies the bottom
   126px of the viewport (bottom:16 + 50 + 10 + 50). 148px of bottom padding
   parks that whole stack in empty space below the text with ~22px to spare —
   132px would have cleared it by only 6px, which any font-size or safe-area
   difference on a real handset would eat. */
@media (max-width: 640px) {
  .svc-page .svc-ftr-bot {
    padding: 22px 0 148px;
    justify-content: center;
    text-align: center;
  }
}
.svc-page .svc-ftr-bot a {
  color: rgba(255, 255, 255, 0.78);
}
.svc-page .svc-ftr-bot a:hover {
  color: #fff;
}
/* Developer credit. The studio name is lifted a shade above the surrounding
   copyright text so it reads as a signature rather than another nav link. */
.svc-page .svc-ftr-bot .svc-ftr-credit a {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.svc-page .svc-ftr-bot .svc-ftr-credit a:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 1180px) {
  .svc-page .svc-ftr-top {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px 40px;
  }
  .svc-page .svc-ftr-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 820px) {
  .svc-page .svc-ftr-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .svc-page .svc-ftr-brand {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  .svc-page .svc-ftr-top {
    grid-template-columns: 1fr;
  }
}

/* --- mega-menu IA v2 (curated, 4-column, hero-card promo) --- */
.svc-page .svc-mega-grid {
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: 0 36px;
}
.svc-page .svc-mega-col {
  padding-bottom: 8px;
}
.svc-page .svc-mega-col + .svc-mega-col {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.svc-page .svc-mega-h {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px !important;
  margin-bottom: 10px;
}
.svc-page .svc-mega-h .pill {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  background: var(--blue-tint);
  color: var(--blue) !important;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}
.svc-page .svc-mega-hub {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0 !important;
}
.svc-page .svc-mega-hub .meta {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--ink-3) !important;
  display: block;
  margin-top: 1px;
  letter-spacing: 0;
  text-transform: none;
}
.svc-page .svc-mega-hub:hover {
  color: var(--blue) !important;
}
.svc-page .svc-mega-hub:hover .meta {
  color: var(--blue) !important;
}
.svc-page .svc-mega-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--blue) !important;
  padding: 8px 0 !important;
}
.svc-page .svc-mega-viewall:hover {
  gap: 9px;
}
.svc-page .svc-mega-promo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--blue-ink) 0%,
    var(--blue-deep) 100%
  );
  color: #fff;
  padding: 22px 22px 20px;
  margin: -4px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
}
.svc-page .svc-mega-promo::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(155, 212, 240, 0.12);
}
.svc-page .svc-mega-promo .tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9bd4f0;
  position: relative;
}
.svc-page .svc-mega-promo b {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  color: #fff;
}
.svc-page .svc-mega-promo p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  margin: 0 !important;
}
.svc-page .svc-mega-promo a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px !important;
  border-radius: 8px;
  width: fit-content;
  position: relative;
}
.svc-page .svc-mega-promo a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  padding-left: 14px !important;
}
@media (max-width: 1180px) {
  .svc-page .svc-mega-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .svc-page .svc-mega-col + .svc-mega-col {
    border-left: none;
    padding-left: 0;
  }
}

/* ============ MEGA-MENU v2 — two-pane (categories | services) ============
   Left column = L1 categories; hovering one swaps the right pane which
   shows every L2 hub + L3 sub-page in that category. Every page in the
   162-page sitemap is reachable in two hovers max. */
.svc-page .svc-mega-v2 {
  padding: 0 !important;
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
}
.svc-page .svc-mega-v2 .svc-mega-cats {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  padding: 18px 14px 18px 16px;
  border-right: 1px solid var(--line);
  min-height: 520px;
}
.svc-page .svc-mega-v2 .svc-mega-cats ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.svc-page .svc-mega-v2 .svc-mega-cats li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  position: relative;
}
.svc-page .svc-mega-v2 .svc-mega-cats li:hover,
.svc-page .svc-mega-v2 .svc-mega-cats li.active {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.svc-page .svc-mega-v2 .svc-mega-cats li.active::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: translateY(-50%) rotate(-45deg);
}
.svc-page .svc-mega-v2 .svc-mega-cats li .i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.svc-page .svc-mega-v2 .svc-mega-cats li.active .i,
.svc-page .svc-mega-v2 .svc-mega-cats li:hover .i {
  background: var(--blue);
  color: #fff;
}
.svc-page .svc-mega-v2 .svc-mega-cats li .tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.svc-page .svc-mega-v2 .svc-mega-cats li .tx b {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -0.005em;
}
.svc-page .svc-mega-v2 .svc-mega-cats li .tx em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 2px;
  display: block;
  white-space: normal;
  line-height: 1.4;
}
.svc-page .svc-mega-v2 .svc-mega-cats li.active .tx b {
  color: var(--blue) !important;
}
.svc-page .svc-mega-v2 .svc-mega-cats .badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--blue);
  color: #fff;
  padding: 2px 6px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-left: 4px;
  align-self: center;
}

.svc-page .svc-mega-v2 .svc-mega-panels {
  padding: 28px 32px 16px;
}
.svc-page .svc-mega-v2 .svc-mega-pane {
  display: none;
  animation: svcPaneIn 0.25s var(--ease);
}
.svc-page .svc-mega-v2 .svc-mega-pane.active {
  display: block;
}
@keyframes svcPaneIn {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.svc-page .svc-mega-v2 .pane-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.svc-page .svc-mega-v2 .pane-title .pt-h {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -0.015em;
  margin: 0;
}
.svc-page .svc-mega-v2 .pane-title p {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0;
}
.svc-page .svc-mega-v2 .pane-title .go {
  margin-left: auto;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--blue) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 !important;
}
.svc-page .svc-mega-v2 .pane-title .go:hover {
  gap: 9px;
}
.svc-page .svc-mega-v2 .pane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 32px;
}
.svc-page .svc-mega-v2 .pane-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.svc-page .svc-mega-v2 .pane-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.svc-page .svc-mega-v2 .hubcol {
  padding: 0 0 14px;
}
.svc-page .svc-mega-v2 .hubcol .hub {
  display: block;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: var(--blue-ink) !important;
  padding: 8px 0 6px !important;
  letter-spacing: -0.005em;
  border: none !important;
}
.svc-page .svc-mega-v2 .hubcol .hub:hover {
  color: var(--blue) !important;
}
.svc-page .svc-mega-v2 .hubcol a {
  display: block;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--ink-2) !important;
  padding: 4px 0 4px 14px !important;
  position: relative;
  border-radius: 6px;
  transition:
    color 0.15s,
    padding 0.15s,
    background 0.15s;
}
.svc-page .svc-mega-v2 .hubcol a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 5px;
  height: 1px;
  background: var(--blue-soft);
}
.svc-page .svc-mega-v2 .hubcol a:hover {
  color: var(--blue) !important;
  background: var(--blue-tint);
  padding-left: 18px !important;
}
.svc-page .svc-mega-v2 .hubcol a.money::after {
  content: "★";
  color: var(--blue);
  font-size: 10px;
  margin-left: 5px;
}

.svc-page .svc-mega-v2 .svc-mega-foot {
  margin: 0 !important;
  border-radius: 0 !important;
  grid-column: 1/-1;
}

@media (max-width: 1180px) {
  .svc-page .svc-mega-v2 {
    grid-template-columns: 300px 1fr;
  }
  .svc-page .svc-mega-v2 .pane-grid,
  .svc-page .svc-mega-v2 .pane-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Floating quick-contact buttons (call + WhatsApp) — site-wide.
   Markup injected on every page via partials/footer.html.
   Kept here (loaded on ALL pages) so it is styled on index /
   contact-us too, not only the service pages. Service pages also
   carry a .svc-page-scoped copy in service-vital.css (same values).
   ============================================================ */
/* Back-to-top button — site-wide, bottom-left so it clears the .svc-fab
   call/WhatsApp stack at bottom-right. */
/* Both selectors are needed: service-vital.css later declares
   `.svc-page button{background:none}` (specificity 0-1-1), which outranks a
   bare `.svc-totop` (0-1-0) and would render this button transparent with a
   white arrow on a white page. `.svc-page .svc-totop` (0-2-0) wins it back. */
.svc-page .svc-totop,
.svc-totop {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 350;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--red, #d7263d);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(215, 38, 61, 0.38);
  transition:
    transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.25s;
}
.svc-page .svc-totop:hover,
.svc-totop:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(215, 38, 61, 0.5);
  background: var(--red, #d7263d);
}
.svc-page .svc-totop svg,
.svc-totop svg {
  stroke: #fff;
}
.svc-page .svc-totop[hidden],
.svc-totop[hidden] {
  display: none;
}
@media (max-width: 640px) {
  .svc-page .svc-totop,
  .svc-totop {
    left: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-page .svc-totop,
  .svc-totop {
    transition: none;
  }
}

.svc-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 350;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}
/* Hover only on real pointers — see the matching note in service-vital.css. */
@media (hover: hover) and (pointer: fine) {
  .svc-fab-btn:hover {
    transform: scale(1.08);
  }
}
.svc-fab-btn:focus {
  outline: none;
}
.svc-fab-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
/* One shared treatment for both buttons. The previous heavy coloured glow
   (26px blur of near-opaque green) read as a smudged square behind the circle,
   especially over the dark footer. A tighter neutral shadow keeps the lift
   without the halo. overflow+line-height guarantee a clean circular edge. */
.svc-fab-wa,
.svc-fab-call {
  background: #25d366;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(8, 25, 45, 0.28);
}
/* Fixed glyph box, centred in the 54px circle. Sizing the SVG here rather than
   trusting the width/height attributes keeps both icons optically identical
   and leaves an even ring of padding inside the circle. */
.svc-fab-wa svg,
.svc-fab-call svg {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto;
  flex: none;
}
@media (max-width: 640px) {
  .svc-fab-wa svg,
  .svc-fab-call svg {
    width: 23px;
    height: 23px;
  }
}
@media (max-width: 640px) {
  .svc-fab {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }
  .svc-fab-btn {
    width: 50px;
    height: 50px;
  }
}

/* ===== Book Appointment popup modal (all pages) ===== */
.svc-page .svc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 18px;
}
.svc-page .svc-modal.open {
  display: flex;
}
.svc-page .svc-modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(8, 25, 45, 0.55);
  animation: svcModalOv 0.2s ease;
}
.svc-page .svc-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(8, 25, 45, 0.55);
  padding: 34px 34px 30px;
  max-height: 90vh;
  overflow-y: auto;
  animation: svcModalIn 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes svcModalOv {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes svcModalIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.svc-page .svc-modal-x {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.18s;
  z-index: 2;
}
.svc-page .svc-modal-x:hover {
  background: var(--blue-tint);
  color: var(--blue);
  border-color: var(--blue-soft);
}
.svc-page .svc-modal-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.svc-page .svc-modal-sub {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 20px;
  line-height: 1.5;
}
.svc-page .svc-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.svc-page .svc-modal-fld {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  min-width: 0;
}
.svc-page .svc-modal-fld label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.svc-page .svc-modal-fld label b {
  color: var(--blue);
  letter-spacing: 0.14em;
  background: var(--blue-tint);
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 800;
}
.svc-page .svc-modal-fld input,
.svc-page .svc-modal-fld select,
.svc-page .svc-modal-fld textarea {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s;
  width: 100%;
}
.svc-page .svc-modal-fld input:focus,
.svc-page .svc-modal-fld select:focus,
.svc-page .svc-modal-fld textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.svc-page .svc-modal-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 2px 0 16px;
}
.svc-page .svc-modal-consent input {
  margin-top: 2px;
  flex: none;
}
.svc-page .svc-modal-form .bm-submit {
  width: 100%;
  justify-content: center;
}
@media (max-width: 560px) {
  .svc-page .svc-modal-row {
    grid-template-columns: 1fr;
  }
  .svc-page .svc-modal-box {
    padding: 28px 20px 24px;
  }
}

/* SEO25a — the booking-modal title is no longer an <h3> (headings are reserved
   for the document outline). Same visual treatment on the replacement div. */
.svc-page .svc-modal-form .svc-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ── Central enquiry form — includes/enquiry-form.php ────────────────────
   One component serves the inline panel, the CTA band and the booking popup,
   so these rules are deliberately variant-agnostic and unprefixed: the form
   also renders on pages that have no .svc-page wrapper (e.g. the homepage). */

/* Honeypot. Must stay invisible to people — bots fill it and get dropped.
   Kept off-screen rather than display:none, which some bots skip. */
.enq-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.enq-status {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.enq-status.is-ok {
  color: #a81c2b;
}
.enq-status.is-err {
  color: #d7263d;
}

/* Red asterisk marker for required-field labels. Same colour as the error
   state above so it reads as "must-fill" without any extra copy. */
.enq-req {
  color: #d7263d;
  font-weight: 700;
  margin-left: 2px;
}

/* Consent line for the panel + homepage forms. These two used to reuse the
   field class (.svc-fld / .fld) on this label, so `.svc-fld input{width:100%;
   border;padding}` stretched the checkbox into a full-width bordered box above
   the text. The attribute selector keeps this ahead of those rules regardless
   of stylesheet order. The cta and modal variants keep their own classes. */
.enq-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 18px;
  cursor: pointer;
}
.svc-page .enq-consent input[type="checkbox"],
.enq-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 2px 0 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  background: none;
  accent-color: #d7263d;
  cursor: pointer;
}
.enq-consent span {
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 600;
  color: #41535f;
}

/* ── reCAPTCHA v3 badge ────────────────────────────────────────────────────
   Google's own floating badge, left in Google's design. It also carries the
   Privacy Policy / Terms attribution their terms require, which is why no
   hand-written notice sits inside the form any more.

   The badge is fixed flush to the bottom-right — exactly where .svc-fab puts
   the WhatsApp and call buttons (two 54px circles, 12px gap, at right:22
   bottom:22, so the stack ends ~142px up). Lifting the badge clear of that
   stack is the only override; Google permits repositioning so long as the
   badge stays visible, and it must NOT be hidden again while the in-form
   attribution strip is gone. */
.grecaptcha-badge {
  bottom: 152px !important;
}
@media (max-width: 640px) {
  /* FAB shrinks to 50px at right:16 bottom:16 → stack ends ~126px up. */
  .grecaptcha-badge {
    bottom: 136px !important;
  }
}

.svc-ftr-logo { background: #fff; padding: 8px 12px; border-radius: 10px; max-width: 100%; height: auto; }
.svc-hdr-cta .svc-btn { padding: 11px 18px; }


.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 25px;
    padding: 12px 22px;
    background: #0b8f87;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: #fff;
    background: #08736d;
}

.read-more-btn:hover span {
    transform: translateX(5px);
}