/* ==========================================================================
   Kalgi Care - design system
   Palette derived from the Kalgi Care logo (deep royal blue + care orange).
   All foreground/background pairs verified against WCAG 2.2 AA.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Brand */
  --blue-900: #08214f;
  --blue-800: #0b2a66;
  --blue-700: #123b8c;
  --blue-600: #1a4bad;
  --blue-500: #2e6be0;
  --blue-100: #dfe8fb;
  --blue-50:  #eef3fd;

  --orange-700: #b8410f;   /* text-safe on white (5.2:1) */
  --orange-600: #d94f14;
  --orange-500: #f26522;   /* brand orange - fills only */
  --orange-300: #ff9d68;
  --orange-100: #ffe7d8;
  --orange-50:  #fff4ed;

  /* Neutrals */
  --ink:        #0e1b33;
  --ink-soft:   #2a3550;
  --muted:      #48546e;
  --line:       #e3e8f2;   /* decorative dividers and card edges */
  --line-soft:  #eef1f7;
  --line-input: #7f8da9;   /* form control boundaries - 3.34:1 on white (WCAG 1.4.11) */
  --placeholder:#69738a;   /* 4.75:1 on white */

  --surface:      #ffffff;
  --surface-alt:  #f4f7fc;
  --surface-warm: #fdf9f5;
  --bg:           #fdfcfb;

  /* Semantic */
  --primary: var(--blue-700);
  --on-primary: #ffffff;
  --accent: var(--orange-500);
  --on-accent: #17130f;
  --success: #12694a;
  --success-bg: #e6f5ee;
  --danger: #b3261e;
  --danger-bg: #fdecea;
  --ring: #2e6be0;

  /* Type */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.45rem, 1.55rem + 3.5vw, 4.1rem);
  --fs-h1:      clamp(2.05rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-h2:      clamp(1.72rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h3:      clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --fs-h4:      1.0625rem;
  --fs-body:    1.0625rem;
  --fs-lede:    clamp(1.06rem, 1rem + 0.34vw, 1.24rem);
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* Space */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --space-9: 96px;  --space-10: 128px;
  --section-y: clamp(56px, 6.5vw, 104px);
  --gutter: clamp(20px, 4vw, 40px);
  --wrap: 1200px;

  /* Shape + depth */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(14,27,51,.05), 0 2px 8px rgba(14,27,51,.05);
  --sh-2: 0 2px 4px rgba(14,27,51,.05), 0 10px 26px -8px rgba(14,27,51,.14);
  --sh-3: 0 4px 8px rgba(14,27,51,.06), 0 22px 48px -14px rgba(14,27,51,.22);
  --sh-blue: 0 12px 30px -10px rgba(18,59,140,.45);
  --sh-orange: 0 12px 30px -10px rgba(242,101,34,.5);

  /* Motion */
  --ease: cubic-bezier(.22,.72,.24,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 140ms;
  --t-mid: 240ms;
  --t-slow: 620ms;

  /* Layers */
  /* The drawer lives inside .header, so it is trapped in the header's
     stacking context. The scrim must therefore sit BELOW the header. */
  --z-base: 1; --z-sticky: 40; --z-scrim: 50; --z-header: 60; --z-drawer: 80; --z-top: 100;
}

/* --- 2. Reset + base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  /* `clip` contains the off-canvas drawer without creating a scroll
     container, so the sticky header keeps working. `hidden` is the
     fallback for browsers that do not support `clip`. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.021em;
  font-weight: 800;
  text-wrap: balance;
}
h3, h4 { font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
p { text-wrap: pretty; overflow-wrap: anywhere; }

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--orange-100); color: var(--ink); }

/* --- 3. Layout utilities ------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 800px); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--surface-alt); }
.section--warm { background: var(--surface-warm); }
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(40px, 4.5vw, 68px); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-head);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
}
.eyebrow--light { color: var(--orange-300); }
.eyebrow { max-width: 100%; flex-wrap: wrap; }
.section__head--center .eyebrow { justify-content: center; }

.lede { font-size: var(--fs-lede); color: var(--muted); line-height: 1.65; max-width: 62ch; }
.section__head--center .lede { margin-inline: auto; }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  z-index: var(--z-top);
  background: var(--blue-700); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
  transition: transform var(--t-mid) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 1.5em; height: 1.5em; }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: -.005em; line-height: 1.2; text-align: center; text-decoration: none;
  white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              background-color var(--t-mid) var(--ease),
              color var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { stroke-width: 2; }

.btn--primary { --btn-bg: var(--blue-700); box-shadow: var(--sh-blue); }
.btn--primary:hover { --btn-bg: var(--blue-600); box-shadow: 0 16px 34px -10px rgba(18,59,140,.55); }

.btn--accent { --btn-bg: var(--orange-500); --btn-fg: var(--on-accent); box-shadow: var(--sh-orange); }
.btn--accent:hover { --btn-bg: var(--orange-300); box-shadow: 0 16px 34px -10px rgba(242,101,34,.6); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--blue-700);
  border-color: var(--line-input);
}
.btn--ghost:hover { --btn-bg: var(--blue-50); border-color: var(--blue-100); }

.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.14); border-color: #fff; }

.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }

.btn--loading .btn__label { opacity: .65; }
.btn__spinner { display: none; width: 18px; height: 18px; }
.btn--loading .btn__spinner { display: block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.linkarrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--blue-700); text-decoration: none;
}
.linkarrow .ico { transition: transform var(--t-mid) var(--ease); }
.linkarrow:hover .ico { transform: translateX(4px); }
.linkarrow:hover { color: var(--blue-500); }

/* --- 5. Top bar ---------------------------------------------------------- */
.topbar {
  background: var(--blue-800);
  color: #dfe8fb;
  font-size: var(--fs-xs);
  position: relative; z-index: var(--z-header);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: 42px; flex-wrap: wrap;
}
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .01em; }
.topbar__badge .ico { color: var(--orange-300); }
.topbar__contact { display: inline-flex; align-items: center; gap: var(--space-4); }
.topbar__contact a {
  display: inline-flex; align-items: center; gap: 7px;
  color: #dfe8fb; text-decoration: none; font-weight: 700;
  transition: color var(--t-fast) var(--ease);
}
.topbar__contact a:hover { color: #fff; text-decoration: underline; }
.topbar__sep { width: 1px; height: 14px; background: rgba(223,232,251,.3); }
@media (max-width: 860px) { .topbar { display: none; } }

/* --- 6. Header + navigation ---------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              background-color var(--t-mid) var(--ease);
}
.header.is-stuck { box-shadow: var(--sh-1); border-bottom-color: var(--line); background: rgba(255,255,255,.97); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: 78px;
}
.header.is-stuck .brand__img { transform: scale(.9); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__img {
  width: 56px; height: 56px; object-fit: contain; flex: none;
  /* The supplied logo is a circular badge on a white square. Masking it to a
     circle keeps those white corners off the dark footer, and is harmless if a
     transparent version is dropped in later. */
  border-radius: 50%;
  background: #fff;
  transition: transform var(--t-mid) var(--ease);
}
.brand--footer .brand__img { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.32rem;
  color: var(--blue-700); letter-spacing: -.028em;
}
.brand__name em { font-style: normal; color: #c74a15; }
.brand__tag {
  font-size: 10.5px; letter-spacing: .055em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-top: 3px;
}

/* No logo file installed yet: the typeset wordmark stands alone, so give it a
   little more presence and a small brand rule in place of the badge. */
.brand--textonly { gap: 0; padding-left: 14px; position: relative; }
.brand--textonly::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 68%; border-radius: 4px;
  background: linear-gradient(180deg, var(--blue-600), var(--orange-500));
}
.brand--textonly .brand__name { font-size: 1.5rem; }
.brand--textonly .brand__tag { font-size: 10.5px; letter-spacing: .06em; }
.brand--footer.brand--textonly::before { opacity: .9; }
@media (max-width: 400px) {
  .brand--textonly .brand__name { font-size: 1.22rem; }
}

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: block; white-space: nowrap;
  padding: 10px 13px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--orange-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--blue-700); font-weight: 700; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { padding-inline: 16px; }
@media (max-width: 1320px) { .nav__link { padding-inline: 10px; } .nav__phone { display: none; } }

.burger {
  display: none; align-items: center; gap: 9px;
  min-height: 48px; min-width: 48px; padding: 8px 12px;
  border-radius: var(--r-sm); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  transition: background-color var(--t-fast) var(--ease);
}
.burger:hover { background: var(--blue-50); }
.burger__box { position: relative; width: 22px; height: 16px; }
.burger__bar, .burger__bar::before, .burger__bar::after {
  position: absolute; left: 0; width: 22px; height: 2.5px;
  border-radius: 2px; background: currentColor;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger__bar { top: 7px; }
.burger__bar::before { content: ""; top: -7px; }
.burger__bar::after  { content: ""; top: 7px; }
.burger[aria-expanded="true"] .burger__bar { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar::before { transform: translateY(7px) rotate(-90deg); }
.burger[aria-expanded="true"] .burger__bar::after { opacity: 0; }

.nav-scrim {
  position: fixed; inset: 0; z-index: var(--z-scrim);
  background: rgba(11,42,102,.5);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--t-mid) var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

@media (max-width: 1200px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; z-index: var(--z-drawer);
    width: min(88vw, 380px); height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: var(--space-5);
    padding: calc(var(--space-7) + env(safe-area-inset-top)) var(--space-5)
             calc(var(--space-7) + env(safe-area-inset-bottom));
    background: var(--surface);
    box-shadow: -20px 0 60px -20px rgba(14,27,51,.4);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 340ms var(--ease-out), visibility 340ms;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    padding: 15px 16px; font-size: 1.0625rem; border-radius: var(--r-md);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }
  .nav__link.is-current { background: var(--blue-50); }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: auto; padding-top: var(--space-5); }
  .nav__cta .btn { width: 100%; }
  .brand__tag { display: none; }
}
@media (max-width: 400px) {
  .brand__img { width: 46px; height: 46px; }
  .brand__name { font-size: 1.14rem; }
  .burger__label { display: none; }
}

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(44px, 5.5vw, 88px) clamp(64px, 7vw, 112px);
  background:
    radial-gradient(1100px 640px at 88% -10%, var(--blue-50) 0%, rgba(238,243,253,0) 62%),
    radial-gradient(760px 520px at -8% 8%, var(--orange-50) 0%, rgba(255,244,237,0) 60%),
    var(--bg);
}
.hero__blob {
  position: absolute; border-radius: 50%; z-index: -1; pointer-events: none;
  filter: blur(2px); opacity: .5;
}
.hero__blob--a {
  width: 460px; height: 460px; right: -140px; top: -120px;
  background: radial-gradient(circle at 34% 34%, rgba(46,107,224,.24), rgba(46,107,224,0) 68%);
  animation: float-a 17s ease-in-out infinite;
}
.hero__blob--b {
  width: 360px; height: 360px; left: -120px; bottom: -110px;
  background: radial-gradient(circle at 60% 40%, rgba(242,101,34,.2), rgba(242,101,34,0) 66%);
  animation: float-b 21s ease-in-out infinite;
}
@keyframes float-a {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(-26px,30px,0) scale(1.07); }
}
@keyframes float-b {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(24px,-26px,0) scale(1.09); }
}

.hero__grid {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(32px, 4.5vw, 72px); align-items: center;
}
.hero__title { font-size: var(--fs-display); margin-bottom: var(--space-5); }
/* Highlight is painted as a background so it survives line wrapping on
   narrow screens - an absolutely positioned bar cannot. */
.hero__title .hl {
  color: var(--blue-700);
  background-image: linear-gradient(90deg, var(--orange-100), var(--orange-50));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% .28em;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: underline-in 900ms 500ms var(--ease-out) forwards;
}
@keyframes underline-in { to { background-size: 100% .28em; } }

.hero__lede { font-size: var(--fs-lede); color: var(--muted); max-width: 56ch; margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero__points { display: grid; gap: 11px; }
.hero__points li { display: flex; align-items: flex-start; gap: 11px; font-size: var(--fs-sm); color: var(--ink-soft); }
.hero__points .ico {
  color: var(--success); margin-top: .28em; stroke-width: 2.2;
  width: 1.05em; height: 1.05em;
}

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-3);
  background: linear-gradient(135deg, var(--blue-50), var(--orange-50));
  aspect-ratio: 4 / 3;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__arc {
  position: absolute; inset: auto -26px -26px auto;
  width: 74%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  border: 16px solid var(--orange-100);
  border-right-color: transparent; border-top-color: transparent;
  transform: rotate(-18deg);
}
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  padding: 12px 18px 12px 13px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; color: var(--ink);
  line-height: 1.3;
}
.hero__chip span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--muted); }
.hero__chip .chip__ico {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 10px; color: #fff;
}
.hero__chip--one { left: -14px; top: 12%; animation: bob 6.5s ease-in-out infinite; }
.hero__chip--one .chip__ico { background: linear-gradient(140deg, var(--blue-600), var(--blue-700)); }
.hero__chip--two { right: -10px; bottom: 9%; animation: bob 7.5s ease-in-out .8s infinite; }
.hero__chip--two .chip__ico { background: linear-gradient(140deg, var(--orange-500), var(--orange-600)); }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-9px); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero__media { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__chip--one { left: -6px; }
  .hero__chip--two { right: -6px; }
}
@media (max-width: 520px) {
  .hero__chip { padding: 9px 13px 9px 10px; font-size: 11.5px; }
  .hero__chip .chip__ico { width: 28px; height: 28px; }
  .hero__chip span { font-size: 10.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* --- 8. Trust strip ------------------------------------------------------ */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
}
.trust__item {
  display: flex; align-items: center; gap: 14px;
  padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2vw, 28px);
  background: var(--surface);
}
.trust__ico {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 14px; background: var(--blue-50); color: var(--blue-700);
}
.trust__item:nth-child(even) .trust__ico { background: var(--orange-50); color: var(--orange-700); }
.trust__item strong { display: block; font-family: var(--font-head); font-size: var(--fs-sm); color: var(--ink); font-weight: 700; }
.trust__item span { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust__grid { grid-template-columns: 1fr; } }

/* --- 9. Cards ------------------------------------------------------------ */
.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.card__ico {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 16px; margin-bottom: var(--space-4);
  background: linear-gradient(140deg, var(--blue-600), var(--blue-700));
  color: #fff; box-shadow: var(--sh-blue);
  transition: transform var(--t-mid) var(--ease-out);
}
.card__ico .ico { width: 26px; height: 26px; }
.card--accent .card__ico { background: linear-gradient(140deg, var(--orange-500), var(--orange-600)); box-shadow: var(--sh-orange); }
.card h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card__list { margin-top: var(--space-4); display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 24px; font-size: var(--fs-sm); color: var(--ink-soft); }
.card__list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-500);
}
.card__foot { margin-top: auto; padding-top: var(--space-5); }

/* Linked service card */
.card--link { text-decoration: none; color: inherit; overflow: hidden; }
.card--link::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease-out);
}
.card--link:hover, .card--link:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: var(--blue-100);
}
.card--link:hover::after, .card--link:focus-visible::after { transform: scaleX(1); }
.card--link:hover .card__ico { transform: scale(1.06) rotate(-4deg); }
.card--link:hover .linkarrow .ico { transform: translateX(4px); }

.card__flag {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--orange-50); color: var(--orange-700);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}

/* Feature / split blocks */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 72px); align-items: center;
}
.split--flip .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--flip .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3; object-fit: cover;
  background: linear-gradient(135deg, var(--blue-50), var(--orange-50));
}
.split__badge {
  position: absolute; left: -18px; bottom: -18px;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; border-radius: var(--r-md);
  background: var(--blue-700); color: #fff;
  box-shadow: var(--sh-blue);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
}
.split__badge .ico { color: var(--orange-300); width: 1.5em; height: 1.5em; }
@media (max-width: 560px) { .split__badge { left: 12px; bottom: -14px; padding: 13px 18px; } }

/* --- 10. Process steps --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: var(--space-6); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  line-height: 1; color: #c3d3f2;
  transition: color var(--t-mid) var(--ease);
}
.step:hover::before { color: var(--orange-300); }
.step::after {
  content: ""; position: absolute; top: 18px; left: 62px; right: -14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.steps > .step:last-child::after { display: none; }
@media (max-width: 1000px) { .steps > .step:nth-child(2n)::after { display: none; } }
@media (max-width: 620px)  { .step::after { display: none; } }
.step h3 { font-size: 1.14rem; margin-bottom: 8px; margin-top: var(--space-3); }
.step p { font-size: var(--fs-sm); color: var(--muted); }

/* --- 11. Stats ----------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  text-align: center;
}
.stat__num {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1;
  color: #fff; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat__num .suffix { color: var(--orange-300); }
.stat__label { display: block; margin-top: 10px; font-size: var(--fs-sm); color: #c9d6f0; }

.band-navy {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(46,107,224,.35), rgba(46,107,224,0) 60%),
    radial-gradient(700px 420px at 90% 100%, rgba(242,101,34,.22), rgba(242,101,34,0) 62%),
    var(--blue-800);
  color: #dfe8fb;
}
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .lede { color: #c9d6f0; }

/* --- 12. Testimonials ---------------------------------------------------- */
.tcarousel { position: relative; }
.tcarousel__viewport { overflow: hidden; border-radius: var(--r-xl); }
.tcarousel__track {
  display: flex;
  transition: transform 520ms var(--ease-out);
}
.tcarousel__slide { flex: 0 0 100%; min-width: 0; padding: 4px; }
.quote {
  position: relative; height: 100%;
  padding: clamp(28px, 3.4vw, 46px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.quote__mark {
  font-family: var(--font-head); font-size: 5rem; font-weight: 800;
  line-height: .55; height: .42em; color: var(--orange-300); margin-bottom: 18px;
}
.quote p {
  font-size: clamp(1.05rem, .98rem + .5vw, 1.32rem);
  line-height: 1.6; color: var(--ink-soft); margin-bottom: var(--space-5);
}
.quote__by { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; background: var(--blue-50); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
}
.quote__by strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: var(--fs-sm); }
.quote__by span { font-size: var(--fs-xs); color: var(--muted); }

.tcarousel__controls {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: var(--space-5); flex-wrap: wrap;
}
.tcarousel__btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line-input); background: var(--surface); color: var(--blue-700);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.tcarousel__btn:hover { background: var(--blue-50); border-color: var(--blue-100); transform: translateY(-2px); }
.tcarousel__dots { display: flex; gap: 8px; margin-inline: 8px; }
.tcarousel__dot {
  width: 40px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-sm);
}
.tcarousel__dot::before {
  content: ""; width: 100%; max-width: 26px; height: 4px; border-radius: 3px;
  background: var(--line-input); transition: background-color var(--t-mid) var(--ease);
}
.tcarousel__dot[aria-selected="true"]::before { background: var(--orange-600); }
.tcarousel__status { font-size: var(--fs-xs); color: var(--muted); min-width: 5ch; text-align: center; }

/* --- 13. Accordion / FAQ ------------------------------------------------- */
.faq { display: grid; gap: var(--space-3); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--sh-1); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 18px clamp(18px, 2.2vw, 26px);
  min-height: 56px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  transition: background-color var(--t-fast) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--blue-50); }
.faq__sign {
  position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700);
}
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 2px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--t-mid) var(--ease);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__sign { background: var(--orange-50); color: var(--orange-700); }
.faq__item[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 clamp(18px, 2.2vw, 26px) 22px; color: var(--muted); font-size: var(--fs-sm); }
.faq__a > * + * { margin-top: 12px; }
.faq__item[open] .faq__a { animation: faq-in 320ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --- 14. Service areas --------------------------------------------------- */
.areafilter { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-end; margin-bottom: var(--space-6); }
.areafilter .field { flex: 1 1 280px; margin: 0; }
.areagroup + .areagroup { margin-top: var(--space-7); }
.areagroup__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-4); }
.areagroup__head h3 { font-size: 1.24rem; }
.areagroup__count {
  padding: 3px 11px; border-radius: var(--r-pill);
  background: var(--blue-50); color: var(--blue-700);
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.suburbs { display: flex; flex-wrap: wrap; gap: 9px; }
.suburb {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-soft);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.suburb .ico { color: var(--orange-500); width: 1em; height: 1em; }
.suburb:hover { transform: translateY(-2px); border-color: var(--blue-100); background: var(--blue-50); }
.suburb[hidden] { display: none; }
.areagroup[hidden] { display: none; }
.area-empty {
  padding: var(--space-6); border-radius: var(--r-md);
  background: var(--surface-alt); border: 1px dashed var(--line);
  text-align: center; color: var(--muted);
}

/* --- 15. Forms ----------------------------------------------------------- */
.formcard {
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.field { margin-bottom: var(--space-5); }
.field__label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--ink);
}
.field__req { color: var(--danger); margin-left: 2px; }
.field__hint { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
.field__control {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-input);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.field__control::placeholder { color: var(--placeholder); }
.field__control:hover { border-color: var(--ink-soft); }
.field__control:focus {
  /* The indicator is the border colour change (#2e6be0 is 4.89:1 on white).
     The inset ring thickens it without changing box size, so nothing reflows,
     and the outer halo makes it obvious at a glance. */
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46,107,224,.28), inset 0 0 0 1px var(--blue-500);
}
textarea.field__control { min-height: 140px; resize: vertical; line-height: 1.6; }
select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348546e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field--error .field__control { border-color: var(--danger); background: var(--danger-bg); }
.field--error .field__control:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179,38,30,.28), inset 0 0 0 1px var(--danger);
}
.field__error {
  display: none; align-items: center; gap: 7px;
  margin-top: 7px; font-size: var(--fs-xs); font-weight: 700; color: var(--danger);
}
.field--error .field__error { display: flex; }
.field__error .ico { width: 1.05em; height: 1.05em; stroke-width: 2; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.checkgroup { display: grid; gap: 10px; }
.checkline {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--line-input); border-radius: var(--r-sm);
  font-size: var(--fs-sm); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.checkline:hover { border-color: var(--blue-100); background: var(--blue-50); }
.checkline input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-700); }
.checkline:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); }
.checkline:has(input:focus-visible) {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46,107,224,.28);
}

.form-summary {
  display: none; gap: 12px; align-items: flex-start;
  padding: 16px 20px; margin-bottom: var(--space-5);
  background: var(--danger-bg); border: 1.5px solid rgba(179,38,30,.35);
  border-left-width: 5px; border-radius: var(--r-sm);
}
.form-summary.is-visible { display: flex; }
.form-summary .ico { color: var(--danger); margin-top: 3px; stroke-width: 2; }
.form-summary h2 { font-size: 1rem; color: var(--danger); margin-bottom: 6px; }
.form-summary ol { list-style: none; display: grid; gap: 4px; }
.form-summary a { color: var(--danger); font-size: var(--fs-sm); font-weight: 700; }

.form-success {
  display: none; gap: 14px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--success-bg); border: 1.5px solid rgba(18,105,74,.3);
  border-left-width: 5px; border-radius: var(--r-sm);
}
.form-success.is-visible { display: flex; animation: faq-in 380ms var(--ease-out); }

/* Submission status: "Sending...", a delivery failure, or a success message
   when no success panel is present. role="status" + aria-live="polite". */
.form-status {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm); line-height: 1.55;
  background: var(--surface-alt); color: var(--ink-soft);
  border: 1px solid var(--line);
}
.form-status[hidden] { display: none; }
.form-status--ok  { background: var(--success-bg); color: var(--success); border-color: #bfe3d1; }
.form-status--bad { background: var(--danger-bg);  color: var(--danger);  border-color: #f3c6c1; }

.form-note {
  margin-top: 14px; text-align: center;
}
.form-success .ico { color: var(--success); margin-top: 3px; stroke-width: 2.2; }
.form-success h2 { font-size: 1.06rem; color: var(--success); margin-bottom: 6px; }
.form-success p { font-size: var(--fs-sm); color: var(--ink-soft); }

/* --- 16. Inner page hero + prose ---------------------------------------- */
.phero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 4.5vw, 72px) clamp(44px, 5vw, 80px);
  background:
    radial-gradient(900px 480px at 82% -20%, var(--blue-50), rgba(238,243,253,0) 65%),
    radial-gradient(600px 380px at 4% 110%, var(--orange-50), rgba(255,244,237,0) 62%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.phero__inner { max-width: 800px; }
.phero h1 { font-size: var(--fs-h1); margin-bottom: var(--space-4); }
.phero .lede { font-size: var(--fs-lede); }
.phero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--space-4); font-size: var(--fs-xs); }
.crumbs a {
  display: inline-flex; align-items: center; min-height: 30px; padding-block: 4px;
  color: var(--muted); text-decoration: none;
}
.crumbs a:hover { color: var(--blue-700); text-decoration: underline; }
.crumbs li { display: flex; align-items: center; gap: 8px; min-height: 30px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; color: #b6c0d3; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--space-7); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--space-6); }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: ""; position: absolute; left: 5px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .05em;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700);
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
}
.prose strong { color: var(--ink); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 980px) { .layout-aside { grid-template-columns: 1fr; } }
.sidecard {
  position: sticky; top: 104px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-2);
}
.sidecard h2 { font-size: 1.2rem; margin-bottom: 10px; }
.sidecard p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-4); }
.sidecard .btn { width: 100%; }
.sidecard .btn + .btn { margin-top: 10px; }
@media (max-width: 980px) { .sidecard { position: static; } }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--blue-50); border-left: 5px solid var(--blue-600);
  border-radius: var(--r-sm);
}
.callout--warm { background: var(--orange-50); border-left-color: var(--orange-500); }
.callout .ico { color: var(--blue-700); margin-top: 3px; width: 1.4em; height: 1.4em; }
.callout--warm .ico { color: var(--orange-700); }
.callout h3 { font-size: 1.05rem; margin-bottom: 6px; }
.callout p { font-size: var(--fs-sm); color: var(--ink-soft); }

.deftable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.deftable th, .deftable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.deftable th { font-family: var(--font-head); color: var(--ink); font-weight: 700; white-space: nowrap; }
.deftable tr:last-child th, .deftable tr:last-child td { border-bottom: 0; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }

/* --- 17. Careers --------------------------------------------------------- */
.role { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: center; }
@media (max-width: 720px) { .role { grid-template-columns: 1fr; } .role .btn { width: 100%; } }
.role__tag {
  display: inline-flex; padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--success-bg); color: var(--success);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.role__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
.role__meta span { display: inline-flex; align-items: center; gap: 6px; }
.role__meta .ico { width: 1em; height: 1em; color: var(--blue-600); }

/* --- 18. CTA band -------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 5.5vw, 84px);
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(46,107,224,.4), rgba(46,107,224,0) 62%),
    radial-gradient(620px 380px at 88% 100%, rgba(242,101,34,.28), rgba(242,101,34,0) 62%),
    var(--blue-800);
  color: #dfe8fb;
}
.cta-band__inner {
  display: grid; grid-template-columns: 1.35fr .65fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.cta-band .lede { color: #c9d6f0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 560px) { .cta-band__actions .btn { width: 100%; } }

/* --- 19. Footer ---------------------------------------------------------- */
.footer { background: var(--blue-900); color: #b9c8e6; font-size: var(--fs-sm); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 3.5vw, 56px);
  padding-block: clamp(48px, 5.5vw, 80px) clamp(32px, 3.5vw, 48px);
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__col--brand { grid-column: 1 / -1; } }
@media (max-width: 620px)  { .footer__grid { grid-template-columns: 1fr; } }

.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name em { color: var(--orange-300); }
.brand--footer .brand__tag { color: #8fa5cc; display: block; }
.footer__blurb { margin-block: var(--space-4); color: #9fb3d6; max-width: 44ch; }
.footer__creds { display: grid; gap: 10px; }
.footer__creds li {
  display: flex; flex-direction: column;
  padding: 11px 15px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.footer__creds span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8fa5cc; }
.footer__creds strong { font-family: var(--font-head); color: #fff; letter-spacing: .02em; }

.footer__head {
  font-size: var(--fs-sm); font-family: var(--font-head); font-weight: 700;
  color: #fff; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer__links { display: grid; gap: 0; }
.footer__contact { display: grid; gap: 14px; }
.footer__links a {
  display: flex; align-items: center; min-height: 44px; padding-block: 4px;
  color: #b9c8e6; text-decoration: none;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer__links a:hover { color: #fff; transform: translateX(3px); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ico { color: var(--orange-300); margin-top: .28em; flex: none; }
.footer__contact a { display: inline-flex; align-items: center; min-height: 44px; color: #b9c8e6; text-decoration: none; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__contact address { font-style: normal; }
.footer__contact strong { color: #fff; }

.footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bar-inner {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  justify-content: space-between; align-items: center;
  padding-block: var(--space-5);
  font-size: var(--fs-xs); color: #8fa5cc;
}
.footer__ack { max-width: 62ch; }

/* --- 20. Sticky mobile call bar ----------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: none; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px -10px rgba(14,27,51,.3);
}
.callbar__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 58px; padding: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  text-decoration: none;
}
.callbar__btn--call { background: var(--blue-700); color: #fff; }
.callbar__btn--enq { background: var(--orange-500); color: var(--on-accent); }
@media (max-width: 860px) {
  .callbar { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 92px; }
}

/* --- 21. Scroll reveal --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; will-change: auto; }
.reveal--left  { transform: translate3d(-30px, 0, 0); }
.reveal--right { transform: translate3d(30px, 0, 0); }
.reveal--zoom  { transform: scale(.955); }

[data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }

.js-off .reveal, .js-off [data-stagger] > * { opacity: 1; transform: none; }

/* --- 22. Reduced motion + print ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hero__title .hl { background-size: 100% .28em; }
  .hero__blob, .hero__chip { animation: none; }
  .btn:hover, .card--link:hover, .suburb:hover { transform: none; }
}

@media print {
  .topbar, .header, .callbar, .cta-band, .tcarousel__controls, .hero__blob { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
