/* ==========================================================================
   Anytime Fingerprints — design system
   Single stylesheet for the whole site. Authored from the approved
   "Interactive Live Style Preview". Colours live in :root; everything else
   is a flat, class-per-component layer.
   ========================================================================== */

:root {
  --navy: #0d1b30;
  --navy-2: #11233d;
  --navy-hero: #1c2533;   /* heroes only: the shade the home hero has always used */
  --navy-3: #10213b;
  --ink: #12223a;
  --red: #e9383e;
  --red-2: #d83239;
  --red-3: #ed3e42;
  --red-light: #f54b50;
  --muted: #66758b;
  --muted-2: #65748a;
  --line: #e1e7ee;
  --line-2: #dce5ed;
  --tint: #f4f6fa;
  --tint-blue: #eef4fa;
  /* Corporate only, and three weights because each has a different job.
     --gold is the fill (navy on it: 9.3:1). --gold-ink is text on white, where
     the 16px bold nav link needs 4.5:1 -- #916713 is 5.06, and anything
     brighter fails, so this one is capped by legibility, not taste.
     --gold-icon is for card icons: graphics need only 3:1, so they run
     brighter at 3.62. The fill on white would be 2.25:1 -- never use it there. */
  --gold: #f0b429;
  --gold-2: #fac944;
  --gold-ink: #916713;
  --gold-icon: #b07d1f;
  --nav-h: 64px;
  --shadow-sm: 0 1px 3px rgba(13, 27, 48, .08);
  /* Jost is the brand face: nav, body copy, buttons. Headings are Arial bold.
     This pairing matches the hand-built GoHighLevel sections, so exported
     sections and native ones read as one page. */
  --font-display: 'Jost', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Jost', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-head: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

/* scroll-padding keeps anchor targets clear of the sticky nav bar. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
}

/* Typography -----------------------------------------------------------
   Headings state their own weight on purpose. GoHighLevel's reset renders
   h1-h6 at 500, so anything relying on the browser's default bold comes out
   visibly lighter than the sections built natively in the builder beside it. */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; }
h1, h2 { letter-spacing: -.5px; line-height: 1.25; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* Skip link ------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 800;
  z-index: 200;
}
.skip:focus { left: 10px; top: 10px; }

/* Layout ---------------------------------------------------------------- */
.wrap { max-width: 1180px; margin: auto; padding: 0 26px; }
.section { padding: 76px 0; }
.alt { background: var(--tint); }

/* Top bar + navigation -------------------------------------------------- */
.top {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 12px;
}
.top a { color: #fff; }

/* ---- Navigation — the v2 bar: logo, links, Services mega-menu, Book Now.
   It is `sticky` rather than `fixed` (v2 used fixed) so the announcement
   strip above it scrolls away first and the bar then pins to the top. The
   mobile panel is positioned against the bar for the same reason. ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-container {
  max-width: 1340px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}
.nav-logo img { width: 38px; height: 38px; object-fit: contain; }
.nav-logo-text { font-size: 1.06rem; letter-spacing: .01em; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .8rem .25rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  border-bottom: 2px solid transparent;
  transition: color .15s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); border-bottom-color: var(--red); }

/* Corporate: the one B2B entry in an otherwise consumer nav ---------------- */
/* Gold is used nowhere else on the site, so it marks Corporate without
   competing: red stays reserved for Book Now, and a second red would split
   the primary action. --gold-ink is the darker weight for text on white. */
.nav-link.nav-biz {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}
.nav-link.nav-biz::after {
  content: "For business";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-ink);
  line-height: 1;
}
.nav-link.nav-biz:hover { color: var(--red); border-left-color: var(--red); }
.nav-link.nav-biz:hover::after { color: var(--red); }

/* The hero's second action: solid gold, the one place this colour appears, so
   the B2B route is findable at a glance. Navy text on it runs 7.7:1, and the
   gold reads 6.9:1 against the hero. Red stays the primary action. */
.btn.biz { background: var(--gold); color: var(--navy); border-color: transparent; }
.btn.biz:hover { background: var(--gold-2); }
.nav-book { margin: .75rem 0 0; font-family: var(--font-display); }
.nav-phone {
  display: none;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .5rem .85rem;
  white-space: nowrap;
}
.nav-phone:hover { border-color: var(--navy); }
.nav-phone .nav-icon { color: var(--red); }

/* Mobile panel: the links live in a sheet that slides down from the bar. */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); transition: all .25s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  padding: .5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(13, 27, 48, .10);
  transform: translateY(-130%);
  transition: transform .25s ease;
  visibility: hidden;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-menu.active { transform: translateY(0); visibility: visible; }
.nav-menu > .nav-link,
.nav-item.has-dropdown { border-bottom: 1px solid var(--tint); }

/* Services mega-menu. On phones it expands in place like an accordion; the
   desktop layer further down turns it into a floating two-column panel. */
.nav-item.has-dropdown {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.nav-item.has-dropdown .dropdown-toggle { flex: 1; }
.nav-item .dropdown-toggle .nav-icon { transition: transform .2s ease; display: none; }
.dropdown-caret {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: .4rem;
}
.dropdown-caret .nav-icon { transition: transform .2s ease; }
.nav-item.has-dropdown.open .dropdown-caret .nav-icon { transform: rotate(180deg); }
.dropdown-menu {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  width: 100%;
  padding: 0 0 0 .75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  visibility: hidden;
}
.nav-item.has-dropdown.open .dropdown-menu {
  visibility: visible;
  max-height: 1200px;
  padding: .25rem 0 .75rem .75rem;
}
.dropdown-col { display: flex; flex-direction: column; }
.dropdown-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .6rem .5rem .25rem;
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 500;
  font-size: .93rem;
}
.dropdown-link:hover { background: var(--tint); color: var(--navy); }
.dropdown-link .nav-icon { color: var(--red); flex-shrink: 0; }
.dropdown-all {
  margin-top: .4rem;
  padding: .6rem .5rem 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--red-2);
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  text-align: center;
  border-radius: 8px;
  padding: 14px 19px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.red { background: var(--red); color: #fff; }
.red:hover { background: var(--red-2); }
.white { background: #fff; color: #14243b; }
/* Doubled on purpose. In GoHighLevel a builder rule sets these anchors'
   border-color back to transparent and it lands after Custom CSS, so one
   class loses the tie and the outline disappears. Tested on the live
   preview: `.line` alone leaves it invisible, `.btn.line` shows it. */
.btn.line { border-color: #b8c4d2; }

/* Hero ------------------------------------------------------------------ */
.hero { background: var(--navy-hero); color: #fff; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 {
  font-size: 52px;
  letter-spacing: -1.8px;
  line-height: 1.08;
  margin: 18px 0;
}
.hero h1 span { color: var(--red-light); }
.hero p { color: #d2deeb; line-height: 1.8; font-size: 17px; }

/* Interior pages: a shorter, single-column hero with a smaller headline.
   Sized here rather than inline so the breakpoints below can shrink it. */
.hero-compact { padding-top: 55px; padding-bottom: 55px; }
.hero h1.page-title { font-size: 44px; max-width: 800px; margin: 12px 0; }
.hero .lede { max-width: 760px; }

/* Spacing utilities */
.spaced { margin-top: 28px; }
.flush { margin-top: 0; }
.centered { text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.eyebrow {
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
/* Hero CTAs carry the page's primary action, so they run one size up from the
   13px buttons used in cards and bands -- the scale the home page hero was
   already using before it moved onto the design system. */
.hero .btn { font-size: 15px; padding: 13px 22px; }

/* Three proof points under the hero CTAs: one line on a desktop, stacked on a
   phone -- so each is its own element rather than one string with gaps in it.
   Scoped to the hero so it outranks `.hero p { font-size: 17px }`. */
.hero .trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  font-size: 13px;
  margin-top: 20px;
}

/* Each proof point carries a stroked icon, so the span is a flex row rather
   than a run of text with a tick glyph in front of it. */
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust-icon { flex: none; opacity: .85; }

/* Google rating strip, directly under the hero CTAs: the proof a visitor wants
   at the moment they are deciding whether to tap Book. Stars are white rather
   than Google gold so the strip stays inside the navy/red palette. */
.hero .rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  color: #e3eaf3;
}
.hero .stars { display: inline-flex; gap: 3px; color: #fff; }

.photo {
  min-height: 370px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #273e57;
}
.photo img { width: 100%; height: 390px; object-fit: cover; display: block; }
.photo figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #fff;
  color: #17263a;
  padding: 17px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

/* Section headers ------------------------------------------------------- */
.head { text-align: center; max-width: 760px; margin: 0 auto 35px; }
.head h2 { font-size: 34px; letter-spacing: -.5px; margin: 12px 0; }
.head p { color: var(--muted); line-height: 1.7; }

/* Cards ----------------------------------------------------------------- */
/* Flex rather than grid so that a final row holding fewer cards than there
   are columns centres itself instead of hanging off to the left. A full row
   is unchanged: the basis is the width grid's 1fr columns already gave. */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.grid > * { flex: 0 1 calc((100% - 36px) / 3); }
.card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 6px 18px #14253a08;
}
.card h3 { font-size: 18px; margin: 8px 0 12px; }
/* The min-height keeps card titles aligned across a row of uneven copy; it
   must not apply to the icon or price lines, which are also <p>. */
.card p { font-size: 14px; color: var(--muted-2); line-height: 1.7; min-height: 62px; }
.card a { font-size: 13px; font-weight: 800; color: var(--red-2); }
/* These have to out-specify `.card p` above (0,1,1), or the card's muted body
   style wins and the icon and price render as grey 14px text with the title
   min-height still padding them out. */
.card p.icon { font-size: 28px; color: var(--red); margin: 0; min-height: 0; }
/* Corporate's gold carries into the business-solutions cards, so the section
   reads as one idea. Scoped: the same .icon rule paints the home and service
   grids, which stay red. --gold-ink, not --gold: a 2px stroke at 28px on a
   white card needs the darker weight to hold up (3:1 for graphics). */
.icons-gold .card p.icon { color: var(--gold-icon); }
.card p.price { font-size: 16px; font-weight: 800; color: var(--red-2); margin: 15px 0; min-height: 0; }
.price small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 4px; }

/* Split layouts --------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* A split whose panel holds an embedded form: the form runs ~1000px while the
   prose beside it runs ~600, and centring would push the heading hundreds of
   pixels down, below the fold, with empty space above it. Top-align instead. */
.split.split-top { align-items: start; }
/* A heading that opens a split column sits straight under the section's own
   padding, so the browser default top margin only doubles the gap.
   Scoped to :first-child: three splits lead with an eyebrow instead. */
.split h2 { font-size: 34px; }
.split h2:first-child { margin-top: 0; }
/* An eyebrow may open the column instead. Match the step that `.head`
   produces between its eyebrow and heading (13px), rather than the 34px
   heading's own default 0.83em, and sit the eyebrow flush with the
   section padding the way a leading h2 does. */
.split .eyebrow:first-child { margin-top: 0; }
.split .eyebrow + h2 { margin-top: 13px; }
.split p, .split li { color: var(--muted); line-height: 1.8; }

.panel {
  background: #fff;
  border: 1px solid #dfe6ee;
  padding: 28px;
  border-radius: 14px;
}
.panel h3 { margin-top: 0; }
/* The privacy note is a caveat, not a caption: give it room off the buttons. */
.panel .actions + .mini { margin-top: 24px; }
.mini { font-size: 12px; color: #6a798e; line-height: 1.7; }

/* Banner / pills -------------------------------------------------------- */
.banner { background: var(--navy-2); color: #fff; padding: 49px 0; }
.banner .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.banner h2 { margin: 0 0 10px; }
.banner p { margin: 0; color: #ccd6e2; }
/* The banner is a flex row and both columns can shrink, so a long heading
   was squeezing the CTA row until its buttons wrapped to a second line.
   The buttons are the point of the band: let the prose give way instead. */
.banner .actions { flex: none; }

.pills { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.pills span {
  border: 1px solid #e0e5ed;
  border-radius: 30px;
  padding: 12px 16px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Booking chooser strip ------------------------------------------------- */
.booking-strip {
  background: #fff;
  border: 1px solid #e0e5eb;
  border-radius: 17px;
  padding: 24px;
  box-shadow: 0 12px 40px #091d3b20;
  margin-top: -35px;
  position: relative;
  z-index: 2;
}
.booking-strip h2 { margin: 0 0 14px; font-size: 24px; }
.booking-steps {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.booking-steps label { font-size: 12px; font-weight: 700; display: block; }
.booking-steps select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #cdd7e4;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
}
.book-confirm { font-size: 13px; color: #5a6b80; margin-top: 9px; }

/* Local / directions bar ------------------------------------------------ */
.local-bar { background: var(--tint-blue); padding: 24px 0; }
.local-bar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.local-bar p { margin: 6px 0; color: #5a6a7f; font-size: 14px; }

/* SEO link grid --------------------------------------------------------- */
.seo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.seo-grid a {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  display: block;
}
.seo-grid a:hover { border-color: #b8c4d2; }
.seo-grid b { display: block; margin-bottom: 8px; }
.seo-grid small { color: #68788c; line-height: 1.6; }

/* Contact / lead column ------------------------------------------------- */
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; }
.contact-list li {
  padding: 9px 0 9px 24px;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.contact-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* Legal pages ----------------------------------------------------------- */
/* Same gutter as `.wrap`, so a legal page's content column lines up with
   every other page's instead of sitting 36px further in. */
.legal-shell { max-width: 1180px; margin: 40px auto 75px; padding: 0 26px; }
.legal-columns { display: grid; grid-template-columns: .34fr 1fr; gap: 34px; align-items: start; }

.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}
.legal-toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 14px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; }
.legal-toc li { margin-bottom: 9px; }
.legal-toc a { font-size: 13px; color: var(--muted); line-height: 1.5; }
.legal-toc a:hover { color: var(--red-2); }
.legal-others { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-others h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 10px; }
.legal-others a { display: block; font-size: 13px; font-weight: 700; color: var(--red-2); margin-bottom: 7px; }

.legal-body { max-width: 72ch; }
.legal-intro { font-size: 17px; line-height: 1.8; color: var(--ink); }
.legal-section { margin-top: 34px; }
.legal-section h2 { font-size: 23px; margin: 0 0 12px; }
.legal-section p, .legal-section li { color: var(--muted); line-height: 1.8; }
.legal-section ul { padding-left: 20px; }
.legal-section li { margin-bottom: 7px; }
.legal-section a { color: var(--red-2); font-weight: 700; }

/* Carrier/opt-out disclosures — the lines that must be easy to find. */
.legal-checks { list-style: none; padding: 0; }
.legal-checks li { position: relative; padding-left: 26px; }
.legal-checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

.legal-quote {
  margin: 16px 0 0;
  padding: 18px 20px;
  background: var(--tint-blue);
  border-left: 3px solid var(--red);
  border-radius: 0 9px 9px 0;
  color: var(--ink);
  line-height: 1.8;
}
.legal-note { font-size: 13px; }

/* Card photo ------------------------------------------------------------ */
/* Sits where the icon glyph used to. The source images are 3:2, so the fixed
   height crops rather than squashes. */
.card-banner {
  display: block;
  width: 100%;
  height: 152px;
  object-fit: cover;
  border-radius: 9px;
  margin: 0 0 17px;
  background: var(--tint);
}

/* Service detail pages -------------------------------------------------- */
.crumbs { font-size: 13px; color: #9fb1c6; margin-bottom: 18px; }
.crumbs a { color: #d2deeb; text-decoration: underline; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }

.svc-price {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--tint-blue);
  border: 1px solid var(--line-2);
  border-radius: 11px;
}
.svc-price strong { font-size: 26px; font-weight: 800; color: var(--red-2); display: block; }
.svc-price span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.svc-tier { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.svc-tier b { color: var(--ink); }
.svc-mobile { margin-top: 18px; font-size: 14px; }
.svc-mobile a { color: var(--red-2); font-weight: 800; }

/* Two columns of plain statements; a list rather than cards, because each
   line is a few words and cards would be mostly padding. */
.who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px;
}
.who-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.7;
}
.who-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* Reviews --------------------------------------------------------------- */
.reviews { background: var(--navy); color: #fff; }
.reviews .head h2 { color: #fff; }
.reviews .head p { color: #c3d0e0; }
/* A column wall rather than a grid: reviews vary a lot in length, and columns
   let a long one stay full length without stretching the row beside it. */
/* The review wall is a horizontal carousel: fifteen reviews stacked in a
   column ran to ~4,400px on a phone. One track, scroll-snapped, so a swipe
   (or the arrows the script adds) moves a page at a time. It needs no JS to
   work -- without it the track still scrolls and snaps, it just loses the
   arrows, which is why the script renders them rather than the HTML. */
.review-wall {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* The arrows and the swipe are the affordance; a scrollbar under a row of
     cards on a dark band reads as a stray line. */
  scrollbar-width: none;
  padding-bottom: 2px;
}
.review-wall::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .review-wall { scroll-behavior: auto; }
}
.review {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border-radius: 13px;
  padding: 22px;
  margin: 0;
  box-shadow: 0 6px 18px #0000001a;
}
.stars { display: block; color: #f5a623; line-height: 1; margin-bottom: 12px; }
.stars svg + svg { margin-left: 2px; }
/* Reviews run from 89 to nearly 700 characters. Side by side in one row every
   card is as tall as the longest, so the quote is clamped and the script adds
   a Read more button to the ones that actually overflow. */
.review blockquote {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}
.review.is-open blockquote { -webkit-line-clamp: unset; overflow: visible; }
.review-more {
  align-self: start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  cursor: pointer;
}
.review-more:hover { text-decoration: underline; }
.review figcaption { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 16px; }
/* The initials sit on the coloured circle underneath the photo, so a reviewer
   whose Google avatar fails to load still gets a proper avatar rather than a
   broken image. */
.review-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex: none;
}
.review-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.rv-1 { background: #2f5d8c; }
.rv-2 { background: #b4483f; }
.rv-3 { background: #3f7a63; }
.rv-4 { background: #7a5aa6; }
.rv-5 { background: #a8713a; }
.rv-6 { background: #3d6f8e; }
.rv-7 { background: #8a4f73; }
.rv-8 { background: #5d7a3f; }
.review-name { font-size: 14px; font-weight: 800; }
/* Added by the script, so these rules style nothing until it runs. */
.review-nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.review-nav button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffffff59;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.review-nav button:hover:not(:disabled) { background: #ffffff14; }
.review-nav button:disabled { opacity: .35; cursor: default; }
.reviews .btn.white.line { background: transparent; color: #fff; border-color: #ffffff59; }
.reviews .btn.white.line:hover { background: #ffffff14; }

/* Booking page ---------------------------------------------------------- */
/* Same gutter as `.wrap`, like the legal pages: the panel then lines up
   with every other page, and the calendar gets the extra 80px. */
.booking-shell { max-width: 1180px; margin: 40px auto 75px; padding: 0 26px; }
/* The calendar is the job; "Your visit" is reference text beside it, so the
   split leans harder towards the widget than an even 2:1. */
.booking-columns { display: grid; grid-template-columns: 1.7fr .68fr; gap: 25px; }
.booking-panel {
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 17px;
  padding: 27px;
  box-shadow: 0 12px 30px #12223a0d;
}
.booking-panel h2 { margin-top: 0; }
.booking-embed { min-height: 700px; }
.booking-summary {
  background: var(--navy-3);
  color: #fff;
  border-radius: 17px;
  padding: 28px;
  align-self: start;
}
.booking-summary h2 { margin-top: 0; }
.booking-summary p { color: #d5e0eb; line-height: 1.7; }
.booking-summary a:not(.btn) { color: #fff; text-decoration: underline; }
.booking-note {
  padding: 13px;
  background: #fff7e7;
  color: #785823;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 20px;
}
/* Both panes sit in the page so the panel still reads without JS; the rule
   below separates them in that case. JS hides one, and the second rule then
   drops the divider. */
.visit-pane + .visit-pane { margin-top: 26px; padding-top: 22px; border-top: 1px solid #ffffff26; }
.visit-pane[hidden] + .visit-pane { margin-top: 0; padding-top: 0; border-top: 0; }
.visit-switch { margin-bottom: 0; }
.visit-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #fff;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.visit-link:hover { color: #ffd7d8; }

.booking-picked {
  background: #eef4fa;
  border: 1px solid #cfdeec;
  border-radius: 9px;
  padding: 13px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Footer ---------------------------------------------------------------- */
.foot { background: var(--navy); color: #e0e7ef; padding: 43px 0; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot p, .foot a { font-size: 13px; line-height: 1.8; color: #c4d0df; }
.foot a:hover { color: #fff; }
.foot h3, .foot h4 { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.foot-brand img { width: 88px; height: 88px; object-fit: contain; flex: none; border-radius: 12px; }
.foot-brand h3 { margin: 0; }
.foot-contact { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 9px; line-height: 1.4; }
/* The glyphs carry fill: currentColor, so this is what tints them. */
.foot-contact svg { width: 15px; height: 15px; flex: none; color: var(--red); }
.legal {
  font-size: 11px;
  color: #7e8da0;
  border-top: 1px solid #334154;
  padding: 17px 0 0;
  margin-top: 30px;
}
.legal a { font-size: 11px; color: #9fb0c4; }

/* Sticky mobile CTA bar ------------------------------------------------ */
.sticky-bar { display: none; }

/* Floating Book Now tab (desktop only) ---------------------------------
   Phones get the sticky Book / Call bar along the bottom of the screen. That
   bar is hidden on desktop, so once the hero scrolls away there is no booking
   CTA on screen at all until the visitor reaches the footer. This tab keeps
   one at hand at any scroll depth.

   Right edge, vertically centred. Centring is deliberate: the LeadConnector
   chat bubble is pinned to the bottom-right corner, and a centred tab clears
   it without depending on the bubble's height.

   z-index sits just under the sticky bar's 99 — they are never visible at the
   same time, but the nav and the bar stay above it if that ever changes.
   text-decoration and color are set explicitly because the global `a` reset
   is scoped to the footer in the standalone export. */
.book-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  padding: 18px 11px;
  border-radius: 8px 0 0 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: -2px 2px 16px #0f1f3a33;
  transition: background .15s ease, padding-right .15s ease;
}
/* Only the label turns sideways, so the calendar glyph stays upright.
   vertical-rl reads top-to-bottom; the 180deg flip makes it read bottom-up,
   the usual direction for an edge tab. sideways-lr would do it in one
   property but is too new to rely on. */
.book-tab span { writing-mode: vertical-rl; transform: rotate(180deg); }
.book-tab svg { width: 17px; height: 17px; flex: none; }
.book-tab:hover { background: var(--red-light); color: #fff; padding-right: 15px; }
.book-tab:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
@media (max-width: 768px) {
  .book-tab { display: none; }
}


/* ---- Desktop navigation: the mobile sheet becomes a normal row and the
   Services accordion becomes a floating two-column mega-menu on hover. ---- */
/* The horizontal bar needs ~975px for the logo plus eight items; below that it
   overflowed the viewport and gave every page a horizontal scrollbar, so the
   hamburger stays in place until there is room for the full row. */
@media (min-width: 1000px) {
  .hamburger { display: none; }
  .dropdown-caret { display: none; }
  .nav-item .dropdown-toggle .nav-icon { display: inline-block; }
  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    max-height: none;
    overflow: visible;
  }
  .nav-link { font-size: .95rem; }
  .nav-menu > .nav-link, .nav-item.has-dropdown { border-bottom: none; }
  .nav-book { margin: 0 0 0 .25rem; padding: .6rem 1.2rem; font-size: .95rem; }
  .nav-item.has-dropdown { display: inline-flex; flex-wrap: nowrap; }
  .nav-item.has-dropdown:hover .dropdown-toggle .nav-icon,
  .nav-item.has-dropdown.open .dropdown-toggle .nav-icon { transform: rotate(180deg); }
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1200;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: .25rem 1.25rem;
    min-width: 500px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(13, 27, 48, .18);
    padding: 1.25rem;
    max-height: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .nav-item.has-dropdown:hover .dropdown-menu,
  .nav-item.has-dropdown:focus-within .dropdown-menu,
  .nav-item.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-all { grid-column: 1 / -1; }
}

/* Wide screens: roomier nav; the phone pill only fits at >=1320px. */
@media (min-width: 1140px) {
  .nav-menu { gap: 1.35rem; }
  .nav-link { font-size: 1rem; }
}
@media (min-width: 1320px) {
  .nav-phone { display: inline-flex; }
}

/* Very small phones: drop the logo wordmark so the bar does not overflow. */
@media (max-width: 360px) {
  .nav-logo-text { display: none; }
}

/* Tablet ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .legal-columns { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 41px; }
  .hero h1.page-title { font-size: 36px; }
  .grid > * { flex-basis: calc((100% - 18px) / 2); }
  .review { flex-basis: calc((100% - 18px) / 2); }
  .booking-steps { grid-template-columns: 1fr 1fr; }
  .local-bar .wrap { flex-direction: column; align-items: start; }
}

@media (max-width: 750px) {
  .booking-columns { grid-template-columns: 1fr; }
}

/* Phone ----------------------------------------------------------------- */
@media (max-width: 620px) {
  .card-banner { height: 180px; }
  .who-list { grid-template-columns: 1fr; }
  .review { flex-basis: 100%; }
  .wrap, .legal-shell, .booking-shell { padding: 0 18px; }
  .hero h1 { font-size: 35px; }
  .hero h1.page-title { font-size: 30px; }
  .hero-compact { padding-top: 40px; padding-bottom: 40px; }
  .foot .cols, .booking-steps, .seo-grid { grid-template-columns: 1fr; }
  .grid > * { flex-basis: 100%; }
  .section { padding: 55px 0; }
  .head h2 { font-size: 30px; }
  .banner .wrap { flex-direction: column; align-items: start; }
  .photo img { height: 310px; }
  .photo { min-height: 310px; }
  .booking-strip { margin-top: -15px; }

  /* The phone's primary conversion path: a full-width Call / Text / Book bar
     replaces the desktop floating button. The padding keeps the last line of
     content clear of the fixed bar — but if the bar is not on the page (in
     GoHighLevel each section is pasted separately, so it can simply be
     missing) that padding is 72px of empty white below the footer. The
     :has() rule takes it back in that case; browsers without :has() ignore
     it and keep today's behaviour, which is the safe side to fail on. */
  /* One source of truth for the bar's height: the strip the body reserves
     must be exactly what the fixed bar covers, or the difference shows as
     a band of page background below the footer. */
  body { --sticky-bar-h: 48px; padding-bottom: var(--sticky-bar-h); }
  body:not(:has(.sticky-bar)) { padding-bottom: 0; }
  .sticky-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    height: var(--sticky-bar-h);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: #22344d;
    box-shadow: 0 -4px 18px #0f1f3a33;
  }
  .sticky-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 800;
  }
  .sticky-bar a.book { background: var(--red); }
}

/* ==========================================================================
   Hero on a phone — the photo becomes the backdrop
   --------------------------------------------------------------------------
   Stacked, the photo pushed the CTAs most of a screen down (852px of hero on
   a 390px phone). Behind the copy under a scrim it halves that, and the whole
   block centres — which is how the GoHighLevel-built home hero behaved before
   03-hero.html replaced it.

   The padding is restated here because `.wrap { padding: 0 18px }` at 620px
   is shorthand, so it wipes the 64px top and bottom that `.hero-inner` sets:
   every hero on a phone was starting flush against the nav.
   ========================================================================== */
@media (max-width: 768px) {
  .hero { position: relative; }
  .hero .hero-inner {
    gap: 0;
    padding: 46px 18px 40px;
    text-align: center;
  }
  .hero .hero-inner > div { position: relative; z-index: 1; }
  /* Interior pages use the compact hero, which has no photo and so no
     backdrop -- but it centres with the others. */
  .hero .hero-compact { text-align: center; }
  .hero .actions { justify-content: center; }
  /* Three across, icon stacked over its label -- the proof points stay a
     single glanceable row on a phone rather than a third column of text. */
  .hero .trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
    font-size: 12px;
    line-height: 1.35;
  }
  /* A trust row with fewer than three items should not keep the three-column
     grid -- one item took a third of the width and wrapped onto two cramped
     lines. Centre them in a wrapping row instead, at their natural widths. */
  .hero .trust.trust-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    font-size: 13px;
  }
  .hero .trust.trust-compact span { flex-direction: row; gap: 8px; }
  .hero .trust span {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .hero .rating { justify-content: center; }

  .hero .photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    min-height: 0;
    border-radius: 0;
    background: none;
  }
  .hero .photo img { height: 100%; }
  /* Scrim: without it the white copy sits on the photo's bright centre. */
  .hero .photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 37, 51, .66) 0%, rgba(28, 37, 51, .86) 58%, rgba(28, 37, 51, .96) 100%);
  }
  /* The caption is pinned to the photo's bottom edge; as a backdrop it would
     land in the middle of the copy, and the announcement bar says as much. */
  .hero .photo figcaption { display: none; }
}

/* ==========================================================================
   Corporate inquiry panel and the bands below it, on a phone
   ========================================================================== */
@media (max-width: 768px) {
  /* The three ways to reach us read as a column of equal, full-width
     buttons -- the same shape as the "Ready to get started" banner, so a
     phone shows one button language throughout. */
  .panel .actions { flex-direction: column; align-items: stretch; }

  /* The tinted split bands -- the corporate quote, the home page's "Need
     fingerprinting for your employees" and the services page's mobile policy
     band -- centre like the hero, as do the banners. Keyed on .alt so the
     prose-heavy service overviews, which are plain sections, stay
     left-aligned unless a section opts in with .split-centre, as the
     mobile page's travel policy does. Lists keep their left alignment
     either way: the markers sit at the left edge, so centred text would
     drift away from them. */
  .alt .split,
  .split.split-centre { text-align: center; }
  .alt .split ul,
  .split.split-centre ul { text-align: left; }
  /* The split's buttons sit in an actions row like the hero's, so on a
     phone they stack to equal lengths rather than ragging left inside
     the centred block. */
  .split .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .banner .wrap { align-items: center; text-align: center; }
  /* One button per row, full width: a banner CTA is the last thing on the
     page, and a full-width target is easier to hit than a 2x2 grid. */
  .banner .actions { flex-direction: column; align-items: stretch; width: 100%; }
}
