/* ==========================================================================
   Himark Computers — Apple-style concept
   Shared stylesheet for the multi-page site (home / about / services /
   support / contact). Design language: ultra-minimal, generous whitespace,
   Apple system blue, Inter, big calm typography.
   ========================================================================== */

:root {
  --white: #ffffff;
  --offwhite: #f5f5f7;
  --gray: #1d1d1f;
  --gray-soft: #6e6e73;
  --gray-line: #d2d2d7;
  --blue: #0071e3;
  --blue-dark: #0058b9;
  --blue-bright: #2997ff;
  --nav-h: 84px;
  --maxw: 1024px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

h1, h2, h3 { letter-spacing: -0.03em; font-weight: 700; line-height: 1.06; }

.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  top: 8px;
  background: var(--gray);
  color: #fff;
  padding: 10px 18px;
  border-radius: 980px;
  z-index: 2000;
  transition: transform .2s;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Without this the logo is squeezed by the nav's flex row on narrow
     desktops — it kept its height but lost width, distorting the badge. */
  flex: none;
}
.brand svg { color: var(--blue); }
.brand-img { height: 68px; width: auto; display: block; border-radius: 7px; }
.foot-brand .brand-img { height: 56px; }
@media (max-width: 480px) { .brand-img { height: 52px; } }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray);
  opacity: 0.86;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.current { opacity: 1; color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 980px;
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: transform .18s var(--ease), background .2s;
}
.nav-cta:hover { background: var(--blue-dark); transform: scale(1.04); }
.nav-cta:active { transform: scale(0.97); }

.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--gray);
  align-items: center;
  justify-content: center;
}
.hamburger svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  border-bottom: 1px solid var(--gray-line);
  padding: 14px 22px 26px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--gray-line); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mobile-menu .nav-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 24px;
  font-size: 1rem;
}

/* ---------- BUTTONS ---------- */
.btn-text {
  color: var(--blue);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.btn-text .chev { transition: transform .2s var(--ease); display: inline-block; }
.btn-text:hover .chev { transform: translateX(4px); }
.btn-text:hover { text-decoration: underline; }

.btn-fill {
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .18s var(--ease), background .2s;
}
.btn-fill:hover { background: var(--blue-dark); transform: scale(1.03); }
.btn-fill:active { transform: scale(0.97); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .18s var(--ease), background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: scale(1.03); }
.btn-ghost:active { transform: scale(0.97); }

/* Dark-on-light ghost variant for inner-page heroes */
.btn-ghost-dark {
  border: 1px solid var(--gray-line);
  color: var(--gray);
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .18s var(--ease), background .2s, border-color .2s;
}
.btn-ghost-dark:hover { background: var(--offwhite); border-color: var(--gray-soft); transform: scale(1.03); }
.btn-ghost-dark:active { transform: scale(0.97); }

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 20ch;
  margin: 0 auto 12px;
}
.section-head p {
  color: var(--gray-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 50ch;
  margin: 0 auto;
  font-weight: 500;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 34px) 0 30px;
  text-align: center;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  max-width: 20ch;
  margin: 0 auto 0.5rem;
}
.page-hero .sub {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: var(--gray-soft);
  font-weight: 500;
  max-width: 52ch;
  margin: 0 auto 1.2rem;
  letter-spacing: -0.01em;
}
.page-hero .hero-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- GENERIC SECTION ---------- */
.section { padding: 60px 0; }
.section.alt { background: var(--offwhite); }
.section.dark { background: var(--gray); color: #fff; }

/* ---------- STATS ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .figure {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--gray), #4a4a4f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section.dark .stat .figure {
  background: linear-gradient(120deg, #fff, #c7c7cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  margin-top: 10px;
  color: var(--gray-soft);
  font-weight: 500;
  font-size: 1rem;
}
.section.dark .stat .label { color: rgba(255,255,255,0.7); }

/* ---------- SERVICE / FEATURE CARDS ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.25); }
/* Illustration panel at the head of each service card. The tinted plate keeps
   the artwork sitting on a surface rather than floating on the white card, and
   the fixed height keeps every card's heading on the same baseline. */
.svc-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 124px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.07), rgba(0, 113, 227, 0.02));
  overflow: hidden;
}
.svc-art img {
  width: auto;
  height: 108px;
  transition: transform .35s var(--ease);
}
.svc-card:hover .svc-art img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .svc-art img { transition: none; }
  .svc-card:hover .svc-art img { transform: none; }
}
.svc-card h3 { font-size: 1.22rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.svc-card p { color: var(--gray-soft); font-size: 0.95rem; font-weight: 500; }
.svc-card ul { list-style: none; margin-top: 14px; }
.svc-card ul li {
  color: var(--gray-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding-left: 22px;
  position: relative;
  margin-bottom: 7px;
}
.svc-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- VALUES (about) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  padding: 34px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}
/* Value / process tiles carry the illustration without a tinted plate — the
   plate is what marks a service card, and these are a lighter component. */
.value .v-art {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.value .v-art img { width: auto; height: 88px; }
.value h3 { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.value p { color: var(--gray-soft); font-weight: 500; }

/* ---------- TIMELINE (about) ---------- */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--gray-line);
}
.tl-item { position: relative; padding: 0 0 42px 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 4px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.15);
}
.tl-item .yr { font-weight: 700; color: var(--blue); font-size: 1.05rem; letter-spacing: -0.01em; }
.tl-item h3 { font-size: 1.3rem; margin: 4px 0 8px; letter-spacing: -0.02em; }
.tl-item p { color: var(--gray-soft); font-weight: 500; }

/* ---------- SPLIT (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.3);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.split-text p { color: var(--gray-soft); font-size: 1.1rem; font-weight: 500; margin-bottom: 14px; }

/* ---------- BRANDS ---------- */
.brands p.kicker {
  color: var(--gray-soft);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  text-transform: uppercase;
}

/* ---------- FAQ ACCORDION (support) ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-line);
}
.faq-item:first-child { border-top: 1px solid var(--gray-line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 26px 44px 26px 4px;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gray);
  position: relative;
  display: block;
}
.faq-q .ico {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  transition: transform .35s var(--ease);
  color: var(--blue);
}
.faq-item.open .faq-q .ico { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner {
  padding: 0 44px 26px 4px;
  color: var(--gray-soft);
  font-size: 1.05rem;
  font-weight: 500;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--gray);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--gray);
  background: var(--offwhite);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .2s, background .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--gray-soft); margin-top: 6px; font-weight: 500; }
.form-status {
  margin-top: 16px;
  font-weight: 600;
  color: var(--blue);
  min-height: 1.2em;
}
.form-status.err { color: #b3261e; }
/* Honeypot — hidden from people, still filled in by bots. Kept out of the
   layout without display:none, which some bots detect and skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-card {
  background: var(--offwhite);
  border-radius: 20px;
  padding: 30px 28px;
  margin-bottom: 18px;
}
.info-card h3 { font-size: 1.15rem; margin-bottom: 16px; letter-spacing: -0.02em; }
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--gray-soft);
  font-weight: 500;
}
.info-row:last-child { margin-bottom: 0; }
.info-row svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.info-row a { color: var(--gray); }
.info-row a:hover { color: var(--blue); }
.map-embed {
  width: 100%;
  border: 0;
  border-radius: 20px;
  aspect-ratio: 2 / 1;
  margin-top: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.3);
  filter: grayscale(0.15) contrast(1.03);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 740px) { .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- TESTIMONIAL ---------- */
/* --- Google reviews marquee -----------------------------------------------
   Same mechanism as the brand-logo strip: one track holding two identical
   groups, slid exactly -50% on a linear loop so the seam is invisible. Slower
   than the logos (these carry text that has to be readable in passing) and it
   pauses on hover/focus so anyone can stop to read a card. */
.rv-marquee { padding: 4px 0 6px; }
.marquee-track.rv-marquee-track {
  /* .marquee-track sets the `animation` SHORTHAND later in this file, which
     would otherwise reset these to the logo strip's 46s brandScroll. */
  animation-name: reviewScroll;
  animation-duration: var(--rv-loop, 240s);
  align-items: stretch;
}
.rv-marquee:hover .marquee-track.rv-marquee-track { animation-play-state: paused; }
/* Deliberately :focus-visible, not :focus-within. Closing the review dialog
   returns focus to the button that opened it — which lives inside the marquee —
   so :focus-within would leave the track frozen until the user clicked away.
   Keyboard users still get a pause (their focus ring is visible); mouse users
   do not, so it resumes the moment the dialog closes.
   Kept as its own rule: if :has() is unsupported the hover pause still works. */
.rv-marquee:has(:focus-visible) .marquee-track.rv-marquee-track { animation-play-state: paused; }
@keyframes reviewScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-group.rv-group {
  /* .marquee-group (logo strip) centres its items and is defined later in this
     file, so match on both classes to win regardless of source order. */
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding-right: 20px;   /* keeps the seam spacing equal to the inner gaps */
}

.rv-card {
  flex: 0 0 clamp(272px, 78vw, 348px);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px 26px 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.rv-stars { display: flex; gap: 3px; margin-bottom: 14px; color: #ff9f0a; }
.rv-stars svg { width: 16px; height: 16px; }
.rv-stars svg.off { color: var(--gray-line); }

.rv-quote {
  font-size: 0.97rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--gray);
  white-space: pre-line;   /* reviewers' own line breaks are part of the quote */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}
.rv-full {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}
.rv-full:hover { text-decoration: underline; }

.rv-name {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--gray-soft);
}

/* Full-review dialog. Native <dialog> so focus trapping, Escape and inertness
   of the page behind it are handled by the browser rather than re-implemented. */
.rv-dialog {
  /* The global `* { margin: 0 }` reset wipes out the UA's `margin: auto`, which
     is what centres a modal <dialog> — without this it pins to the top-left. */
  margin: auto;
  width: min(560px, calc(100vw - 40px));
  padding: 32px 30px 28px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--gray);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.rv-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.rv-dialog-quote {
  font-size: 1.05rem;
  line-height: 1.62;
  font-weight: 500;
  white-space: pre-line;   /* the reviewer's own line breaks */
  max-height: 60vh;
  overflow-y: auto;
}
.rv-dialog-name {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-soft);
}
.rv-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--offwhite);
  color: var(--gray);
  cursor: pointer;
  transition: background .2s var(--ease);
}
.rv-dialog-close:hover { background: var(--gray-line); }
.rv-dialog-close svg { width: 17px; height: 17px; }

/* Hold the marquee still while a review is open behind the dialog. */
.rv-marquee.is-paused .marquee-track.rv-marquee-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  /* Matches the logo strip: stop the drift, hand control back to the user. */
  .marquee-track.rv-marquee-track { animation: none; }
  .rv-marquee { overflow-x: auto; }
}

.testimonial { text-align: center; }
.testimonial blockquote {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 22ch;
  margin: 0 auto 30px;
}
.testimonial .stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 22px; color: var(--blue); }
.testimonial .stars svg { width: 22px; height: 22px; }
.testimonial .who { color: var(--gray-soft); font-weight: 600; font-size: 1.05rem; }
.testimonial .who span { display: block; font-weight: 500; color: #a1a1a6; font-size: 0.92rem; margin-top: 2px; }

/* ---------- CLOSING CTA ---------- */
.closing {
  padding: 68px 0;
  background: linear-gradient(160deg, #1d1d1f 0%, #2b2b30 100%);
  color: #fff;
  text-align: center;
}
.closing h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 16ch;
  margin: 0 auto 18px;
}
.closing p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  max-width: 44ch;
  margin: 0 auto 36px;
  font-weight: 500;
}
.closing-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.closing .meta {
  margin-top: 44px;
  display: flex;
  gap: 14px 40px;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.98rem;
}
.closing .meta a { display: inline-flex; align-items: center; gap: 8px; }
.closing .meta a:hover { color: #fff; }
.closing .meta svg { width: 18px; height: 18px; color: var(--blue-bright); }

/* ---------- FOOTER ---------- */
footer { background: var(--white); padding: 44px 0 32px; border-top: 1px solid var(--gray-line); }
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-line);
}
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { color: var(--gray-soft); font-size: 0.92rem; max-width: 34ch; font-weight: 500; }
.foot-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-soft); margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 0.92rem; color: var(--gray); opacity: 0.85; font-weight: 500; }
.foot-col a:hover { opacity: 1; color: var(--blue); }
.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- TRUST BAR ---------- */
.trust-bar { background: var(--offwhite); border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--blue); }
.trust-item strong { display: block; font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; }
.trust-item span { display: block; font-size: 0.82rem; color: var(--gray-soft); font-weight: 500; }

/* ---------- SERVICE AREA ---------- */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.area-col { background: var(--white); border: 1px solid var(--gray-line); border-radius: 18px; padding: 28px 30px; }
.area-col h3 { font-size: 1.15rem; margin-bottom: 6px; }
.area-col .area-note { font-size: 0.85rem; color: var(--gray-soft); font-weight: 500; margin-bottom: 16px; }
.suburb-list { list-style: none; columns: 2; column-gap: 26px; }
.suburb-list li { font-size: 0.88rem; color: var(--gray); opacity: 0.85; font-weight: 500; padding: 3px 0; break-inside: avoid; }

/* ---------- RESOURCE / TOOL CARDS ---------- */
.tool-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--gray-line); border-radius: 18px; padding: 26px 28px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.tool-card:hover { border-color: var(--blue); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07); }
.tool-card .t-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 113, 227, 0.1); color: var(--blue); }
.tool-card .t-icon svg { width: 22px; height: 22px; }
.tool-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tool-card p { font-size: 0.92rem; color: var(--gray-soft); font-weight: 500; margin-bottom: 12px; }

/* ---------- CALLOUT ---------- */
.callout { display: flex; gap: 22px; align-items: flex-start; background: rgba(0, 113, 227, 0.06); border: 1px solid rgba(0, 113, 227, 0.22); border-radius: 20px; padding: 30px 34px; }
.callout-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--blue); color: #fff; }
.callout-icon svg { width: 23px; height: 23px; }
.callout h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 8px; }
.callout p { color: var(--gray-soft); font-weight: 500; }
.callout a { color: var(--blue); font-weight: 600; }

/* ---------- DOWNLOAD CARDS ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.dl-card { background: var(--white); border: 1px solid var(--gray-line); border-radius: 20px; padding: 30px 32px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.dl-card:hover { border-color: var(--blue); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08); }
.dl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.dl-head h3 { font-size: 1.25rem; }
.dl-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: 980px; }
.dl-tag { font-size: 0.82rem; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.dl-card p { color: var(--gray-soft); font-weight: 500; font-size: 0.95rem; }
.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn-os { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 980px; background: var(--gray); color: #fff; font-size: 0.9rem; font-weight: 600; transition: background .25s var(--ease), transform .25s var(--ease); }
.btn-os:hover { background: var(--blue); transform: translateY(-2px); }
.btn-os svg { width: 16px; height: 16px; }
.dl-note { text-align: center; margin-top: 28px; font-size: 0.85rem; color: var(--gray-soft); font-weight: 500; }

/* ---------- OS INSTRUCTIONS ---------- */
.os-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.os-col { background: var(--white); border: 1px solid var(--gray-line); border-radius: 20px; padding: 30px 34px; }
.os-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-line); }
.os-head svg { width: 22px; height: 22px; color: var(--blue); }
.os-head h3 { font-size: 1.15rem; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; margin-bottom: 16px; font-size: 0.94rem; color: var(--gray-soft); font-weight: 500; line-height: 1.55; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 113, 227, 0.1); color: var(--blue); font-size: 0.8rem; font-weight: 700; }
.steps strong { color: var(--gray); font-weight: 600; }

@media (max-width: 860px) {
  .dl-grid, .os-grid { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 16px; padding: 26px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-line); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--gray-soft); font-weight: 500; font-size: 0.95rem; }

/* ---------- FOOTER (mega) ---------- */
/* The footer runs wider than the 1024px body grid — five columns need the room,
   and a full-width footer reads as a deliberate base to the page. */
footer .wrap { max-width: 1340px; padding: 0 40px; }
.foot-top.mega { grid-template-columns: 1.45fr 1.2fr 1.35fr 1fr 1.3fr; gap: 40px; }
.foot-brand p { max-width: 30ch; }
.foot-col h4 { white-space: nowrap; }
.foot-col .foot-contact { list-style: none; }
.foot-col .foot-contact li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; font-size: 0.9rem; color: var(--gray); opacity: 0.85; font-weight: 500; }
.foot-col .foot-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--blue); }
.foot-social { display: flex; gap: 12px; margin-top: 16px; }
.foot-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gray-line); color: var(--gray-soft); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.foot-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.foot-social svg { width: 16px; height: 16px; }

@media (max-width: 1120px) {
  /* Five columns stop breathing before the body grid does — collapse earlier. */
  .foot-top.mega { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
@media (max-width: 1000px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { padding: 0 28px; }
}
@media (max-width: 740px) {
  .area-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-top.mega { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { padding: 0 22px; }
  .tool-card { flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .foot-top.mega { grid-template-columns: 1fr; }
  .suburb-list { columns: 1; }
}

/* ---------- REMOTE SUPPORT TABS (both edges) ----------
   Vertical tabs on the page edges, but the label reads horizontally — stacked
   under the icon rather than rotated, which is far easier to read at a glance.
   A slow pulse draws the eye without becoming a distraction. */
.remote-support {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 96px;
  padding: 18px 10px;
  background: linear-gradient(160deg, var(--blue-bright), var(--blue));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0, 113, 227, 0.36);
  animation: rsPulse 3.2s ease-in-out infinite;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .34s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.remote-support:hover,
.remote-support:focus-visible {
  background: linear-gradient(160deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 40px rgba(0, 88, 185, 0.55);
  animation-play-state: paused;
}
.remote-support:hover::before,
.remote-support:hover::after { animation-play-state: paused; opacity: 0; }
.remote-support:hover svg { animation-play-state: paused; transform: scale(1.16); }
.remote-support svg {
  width: 30px;
  height: 30px;
  flex: none;
  animation: rsFloat 3.2s ease-in-out infinite;
}

/* A light sweeps across the tab. Animating background-position keeps the
   highlight inside the element, so no overflow clipping is needed — which
   matters because the tooltip lives inside this same element. */
.remote-support::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 68%);
  background-size: 260% 100%;
  animation: rsShine 4.2s ease-in-out infinite;
}

/* A ripple expanding out of the icon, like a signal being sent. */
.remote-support::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
  animation: rsRing 2.6s ease-out infinite;
}

@keyframes rsPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(0, 113, 227, 0.36); }
  50%      { box-shadow: 0 8px 38px rgba(41, 151, 255, 0.78); }
}
@keyframes rsFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1.14) translateY(-2px); }
}
@keyframes rsShine {
  0%        { background-position: 160% 0; }
  55%, 100% { background-position: -60% 0; }
}
@keyframes rsRing {
  0%   { transform: scale(0.55); opacity: 0.85; }
  70%  { opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Each tab hugs its own edge, rounds on the inward side and slides out on
   hover — so both read as attached to the edge they sit on. */
.rs-left  { left: 0;  border-radius: 0 16px 16px 0; }
.rs-right { right: 0; border-radius: 16px 0 0 16px; }
/* Hovering pulls the tab out from its edge and grows it slightly, so it feels
   like a drawer being opened rather than a flat link. */
.rs-left:hover,  .rs-left:focus-visible  { transform: translateY(-50%) translateX(15px) scale(1.06); }
.rs-right:hover, .rs-right:focus-visible { transform: translateY(-50%) translateX(-15px) scale(1.06); }

.rs-tip {
  position: absolute;
  top: 50%;
  width: 232px;
  padding: 13px 15px;
  background: var(--gray);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.rs-tip strong { color: var(--blue-bright); font-weight: 700; }
.rs-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
}
/* The tooltip always opens away from its edge, arrow pointing back at the tab. */
.rs-left  .rs-tip { left: calc(100% + 13px);  transform: translateY(-50%) translateX(-8px); }
.rs-right .rs-tip { right: calc(100% + 13px); transform: translateY(-50%) translateX(8px); }
.rs-left  .rs-tip::after { right: 100%; border-right-color: var(--gray); }
.rs-right .rs-tip::after { left: 100%;  border-left-color: var(--gray); }

.remote-support:hover .rs-tip,
.remote-support:focus-visible .rs-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ---------- INLINE REMOTE SUPPORT LINK ---------- */
.rs-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 14px;
  border-radius: 980px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
.rs-inline:hover { background: rgba(0, 113, 227, 0.18); transform: translateY(-1px); }
.rs-inline svg { width: 16px; height: 16px; }
.rs-inline .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #1a7f37; flex: none;
  box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.18);
}
.hero .rs-inline, .page-hero .rs-inline { margin-bottom: 16px; }

/* Full-width remote support row for info cards */
.rs-card-link {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  margin-top: 16px; padding: 12px 18px; border-radius: 12px;
  background: var(--blue); color: #fff; font-size: 0.9rem; font-weight: 600;
  transition: background .25s var(--ease);
}
.rs-card-link:hover { background: var(--blue-dark); }
.rs-card-link svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
  /* Two fixed tabs squeeze the reading column on smaller screens — keep the
     left one, which is where the reference design put it. */
  .rs-right { display: none; }
}
@media (max-width: 740px) {
  .remote-support { width: 78px; padding: 14px 8px; font-size: 0.82rem; gap: 7px; }
  .remote-support svg { width: 24px; height: 24px; }
  .remote-support::after { top: 14px; width: 24px; height: 24px; margin-left: -12px; }
}
@media (max-width: 480px) {
  .rs-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .remote-support, .rs-tip, .rs-inline { transition: none !important; }
  .remote-support, .remote-support svg,
  .remote-support::before, .remote-support::after { animation: none !important; }
  .remote-support::after { display: none; }
  .remote-support:hover, .remote-support:focus-visible { transform: translateY(-50%) !important; }
}

/* ---------- ANCHOR OFFSET ----------
   The nav is fixed, so jumping to an #anchor would otherwise hide the target
   underneath it. Every element that can be linked to keeps clear. */
[id] { scroll-margin-top: calc(var(--nav-h) + 26px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .svc-grid, .svc-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 34px; }
  .split.flip .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
/* Logo (188px) + the seven links (~713px) + padding need ~960px. Below that
   they wrapped onto a second row, so the hamburger takes over here. */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 740px) {
  .page-hero { padding-top: calc(var(--nav-h) + 26px); }
  .section { padding: 44px 0; }
}
@media (max-width: 480px) {
  .svc-grid, .svc-grid.cols-2, .svc-grid.cols-3 { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Staff login sits quietly in the footer — findable by staff, not a shout. */
.foot-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: .75; }
.foot-bottom a:hover { color: var(--blue); opacity: 1; }

/* Staff shortcut in the header — outlined, so it reads as a utility rather
   than competing with the Get a Quote call to action beside it. */
.nav-admin {
  border: 1px solid var(--gray-line);
  padding: 6px 15px;
  border-radius: 980px;
  font-weight: 600 !important;
  font-size: 0.82rem;
  opacity: 1 !important;
  color: var(--gray-soft) !important;
  transition: color .2s, border-color .2s, background .2s;
}
.nav-admin:hover { color: var(--blue) !important; border-color: var(--blue); background: rgba(0,113,227,.06); }
.mobile-menu .nav-admin { display: inline-block; margin-top: 18px; margin-left: 10px; padding: 12px 22px; font-size: 1rem; }

/* ---------- BRAND MARQUEE ----------
   Two identical runs of logos sit side by side and the track slides exactly
   half its width, so the loop is seamless with no jump. */
/* White background matches the logos' own white boxes, so no blend mode is
   needed to make them sit flush — one less thing to render inconsistently. */
.brands { padding: 48px 0 52px; background: var(--white); border-top: 1px solid var(--gray-line); overflow: hidden; }
.brands-lede {
  text-align: center; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-soft); margin-bottom: 34px;
}
.marquee {
  overflow: hidden;
  /* Fade the logos out at both edges so they do not appear to collide with
     the page sides as they enter and leave. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: brandScroll 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; list-style: none; }
.brand-item { flex: none; padding: 0 40px; }
.brand-item img {
  height: 86px; width: auto; max-width: 200px; object-fit: contain;
  transition: transform .3s var(--ease);
}
.brand-item:hover img { transform: scale(1.08); }

@keyframes brandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 740px) {
  .brands { padding: 48px 0 52px; }
  .brand-item { padding: 0 24px; }
  .brand-item img { height: 62px; max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

