/* ==========================================================================
   agribroker.com.au shared stylesheet
   Mobile-first. Premium, editorial, specialist tone.
   Palette: Water Blue primary, Deep Slate, Charcoal, Soft Ghost, Leaf Bright.
   ========================================================================== */

/* ---- Self-hosted webfonts (Latin) ---------------------------------------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/playfair-display-600i.woff2') format('woff2');
}

:root {
  /* Brand */
  --blue:       #4A90D9;   /* Water Blue - highlights, icons, links */
  --blue-deep:  #2F6FB4;   /* hover / darker blue */
  --blue-tint:  #EAF2FB;   /* pale blue wash for chips and callouts */
  --slate:      #42505A;   /* Deep Slate - premium section backgrounds */
  --slate-deep: #333F48;   /* darker slate for gradients */
  --green:      #46AA7A;   /* Leaf Bright - buttons only */
  --green-deep: #389166;   /* button hover */

  /* Neutrals */
  --charcoal: #1C1C1E;     /* Apple Dark - text, footer, comparison panel */
  --ink:      #26262A;
  --mute:     #5E6A72;
  --line:     #E3E8ED;
  --soft:     #EFF3F7;
  --bg:       #F8FAFC;     /* Soft Ghost page background */
  --white:    #FFFFFF;

  /* Type */
  --font-head:   'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body:   'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-accent: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Layout */
  --maxw:   1140px;
  --pad:    1.25rem;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28,28,30,.05), 0 8px 28px rgba(66,80,90,.08);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Reset --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }

/* Typography ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; margin: 1.2em 0 .4em; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--mute); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .6rem;
}
.accent-line {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--blue);
}

/* Layout helpers ------------------------------------------------------------ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section--soft  { background: var(--soft); }
.section--white { background: var(--white); }
.section--slate {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: #E9EEF3;
}
.section--slate h2, .section--slate h3 { color: var(--white); }
.section--slate .eyebrow { color: #9CC4EC; }
.section--charcoal { background: var(--charcoal); color: #E6E6E8; }
.section--charcoal h2, .section--charcoal h3 { color: var(--white); }
.section--charcoal .eyebrow { color: var(--blue); }

/* Buttons --------------------------------------------------------------------
   Leaf Bright green is reserved for buttons (brand rule). */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .1s var(--ease), background .18s var(--ease), color .18s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.section--slate .btn-outline,
.section--charcoal .btn-outline { color: var(--white); border-color: rgba(255,255,255,.65); }
.section--slate .btn-outline:hover,
.section--charcoal .btn-outline:hover { background: var(--white); color: var(--charcoal); }

/* Skip link ------------------------------------------------------------------ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--white);
  padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header ---------------------------------------------------------------------- */
.site-header {
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; gap: 1.4rem;
  min-height: 68px;
}
.logo a { display: block; }
.logo img { width: 180px; height: 34px; }
.nav-primary { margin-left: auto; }
.nav-primary ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-primary a {
  font-family: var(--font-head);
  font-weight: 600; font-size: .98rem;
  color: var(--ink);
}
.nav-primary a:hover { color: var(--blue-deep); text-decoration: none; }
.nav-primary a[aria-current="page"] { color: var(--blue-deep); }
.header-phone {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.05rem;
  color: var(--charcoal); white-space: nowrap;
}
.header-phone:hover { color: var(--blue-deep); text-decoration: none; }
.hamburger {
  display: none;
  background: none; border: 0; padding: .5rem;
  color: var(--charcoal); cursor: pointer;
}
.hamburger svg { width: 26px; height: 26px; }

/* Mobile drawer (opened from bottom-bar Menu button) */
.drawer {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 64px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(28,28,30,.18);
  padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom));
  z-index: 120;
}
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 .8rem; padding: 0; }
.drawer li + li { border-top: 1px solid var(--line); }
.drawer ul a {
  display: block; padding: .85rem .2rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--charcoal);
}
.drawer ul a[aria-current="page"] { color: var(--blue-deep); }
.drawer .btn { width: 100%; text-align: center; }

/* Mobile bottom bar: two thumb-zone buttons, Menu + Call Adrian ---------------- */
.bottom-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1.4fr; gap: .7rem;
}
.bottom-bar .bb-menu,
.bottom-bar .bb-call {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  transition: transform .1s var(--ease);
}
.bottom-bar .bb-menu:active, .bottom-bar .bb-call:active { transform: scale(.97); }
.bb-menu {
  background: var(--white); color: var(--charcoal);
  border: 2px solid var(--charcoal); cursor: pointer;
}
.bb-call { background: var(--green); color: var(--white); }
.bb-call:hover, .bb-call:focus { color: var(--white); text-decoration: none; }
.bb-menu svg, .bb-call svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-primary, .header-phone { display: none; }
  .bottom-bar { display: grid; }
  body { padding-bottom: 76px; } /* keep content clear of the bottom bar */
  .header-inner { min-height: 60px; }
  .logo img { width: 150px; height: 29px; }
}

/* Hero ------------------------------------------------------------------------ */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--slate);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,30,.25) 0%, rgba(28,28,30,.55) 70%, rgba(28,28,30,.72) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(5rem, 14vw, 10rem) 0 clamp(3.4rem, 9vw, 6.5rem);
  max-width: 780px;
}
.hero h1 { color: var(--white); text-wrap: balance; }
.hero .accent-line {
  color: #BFD9F4;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  display: block; margin-top: .4rem;
}
.hero .hero-sub { font-size: 1.1rem; color: #E4ECF4; max-width: 560px; }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: var(--white); color: var(--charcoal); }

/* Page hero (interior pages, slimmer) */
.page-hero {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: #E9EEF3;
  padding: clamp(2.8rem, 7vw, 4.6rem) 0;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #C9D4DD; }

/* Split hero (text + portrait, interior pages) --------------------------------- */
.split-hero {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: #E9EEF3;
}
.split-hero .split-hero-inner {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: clamp(2.4rem, 6vw, 4.2rem) 0;
}
.split-hero h1 { color: var(--white); }
.split-hero h1 .accent-line {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: #BFD9F4;
  margin-top: .45rem;
}
.split-hero .lead { color: #C9D4DD; }
.split-hero .split-hero-img img {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 18px 50px rgba(28,28,30,.35);
  width: 100%; max-height: 520px; object-fit: cover;
}
@media (max-width: 820px) {
  .split-hero .split-hero-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .split-hero .split-hero-img img { max-height: 420px; }
}

/* Feature rows (alternating image/text) ----------------------------------------- */
.feature-row {
  display: grid; gap: clamp(1.6rem, 4vw, 3.2rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
}
.feature-row .feature-img img {
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  width: 100%; object-fit: cover; aspect-ratio: 16 / 10;
}
.feature-row .feature-img--portrait img { aspect-ratio: 4 / 5; max-height: 480px; }
.feature-row.reverse .feature-img { order: 2; }
.feature-row .feature-kicker {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  color: var(--blue); font-size: 1.15rem; margin: 0 0 .3rem;
}
@media (max-width: 820px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-img { order: 0; }
}

/* Stat band (credentials) ------------------------------------------------------ */
.stat-band { background: var(--charcoal); color: var(--white); padding: 1.4rem 0; }
.stat-band .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  text-align: center;
}
.stat-band .stat b {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--blue);
}
.stat-band .stat span { font-size: .85rem; color: #C9CDD2; }
@media (max-width: 700px) {
  .stat-band .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
}

/* Cards ------------------------------------------------------------------------ */
.card-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}
.card h3 { margin-top: .4rem; }
.card .card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--blue-tint); color: var(--blue-deep);
  margin-bottom: .8rem;
}
.card .card-icon svg { width: 24px; height: 24px; }

/* Crop tiles (photo mosaic) ------------------------------------------------------ */
.crop-grid {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.crop-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--slate);
}
.crop-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.crop-tile:hover img { transform: scale(1.05); }
.crop-tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .8rem .7rem;
  background: linear-gradient(180deg, transparent, rgba(28,28,30,.72));
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.crop-tile--text {
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-tint); color: var(--blue-deep);
  font-family: var(--font-head); font-weight: 700;
  text-align: center; padding: 1rem;
}

/* Process steps ------------------------------------------------------------------ */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  position: relative;
}
.step .step-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2rem; color: var(--blue);
  line-height: 1; margin-bottom: .5rem;
}

/* Comparison table (Charcoal panel) ------------------------------------------------ */
.compare {
  background: var(--charcoal);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  color: #E6E6E8;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th {
  font-family: var(--font-head); font-weight: 800;
  text-align: left; font-size: 1.05rem;
  padding: .8rem .9rem; color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,.25);
}
.compare th:last-child { color: var(--blue); }
.compare td {
  padding: .8rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  vertical-align: top; font-size: .97rem;
}
.compare tr:last-child td { border-bottom: 0; }
.compare td:last-child { color: var(--white); font-weight: 500; }
/* Neutralise the light zebra striping + chrome inside the dark panel */
.compare .table-wrap table { background: transparent; border: 0; min-width: 640px; }
.compare .table-wrap th { background: transparent; }
.compare .table-wrap td { border-top: 0; }
.compare .table-wrap tr:nth-child(even) td { background: transparent; }

/* Flip cards ------------------------------------------------------------------------ */
.flip-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.flip-card { perspective: 1000px; height: 220px; cursor: pointer; }
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .6s var(--ease);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner, .flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.flip-front { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.flip-front h3,
.section--slate .flip-front h3,
.section--charcoal .flip-front h3 { margin: 0; color: var(--charcoal); }
.flip-front .flip-hint { color: var(--mute); font-size: .85rem; margin: .8rem 0 0; }
.flip-back {
  background: var(--slate); color: var(--white);
  transform: rotateY(180deg);
}
.flip-back p { margin: 0; font-weight: 500; }

/* FAQ accordion ------------------------------------------------------------------------ */
.faq-list { max-width: 820px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: var(--charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem; font-weight: 600; color: var(--blue);
  flex-shrink: 0; line-height: 1;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Guide pages: jump nav + callouts + q&a sections ------------------------------------- */
.jump-nav {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0 2.4rem;
}
.jump-nav h2 { font-size: 1.05rem; margin-bottom: .7rem; }
.jump-nav ol {
  margin: 0; padding-left: 1.2rem;
  columns: 2; column-gap: 2rem;
  font-size: .95rem;
}
.jump-nav li { margin-bottom: .35rem; break-inside: avoid; }
@media (max-width: 700px) { .jump-nav ol { columns: 1; } }

.guide-section { padding: 2.2rem 0 0; scroll-margin-top: 90px; }
.guide-section h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
.guide-section h3 { font-size: 1.12rem; }

.callout {
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  font-size: .97rem;
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
}
.callout > :last-child { margin-bottom: 0; }
.callout .callout-label {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  margin-bottom: .35rem; color: var(--blue-deep);
}
.callout--secret { border-left-color: var(--slate); background: var(--soft); }
.callout--secret .callout-label { color: var(--slate); }
.callout--agronomy { border-left-color: var(--green); background: #EAF6F0; }
.callout--agronomy .callout-label { color: var(--green-deep); }

/* Data tables (guides) */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; -webkit-overflow-scrolling: touch; }
.table-wrap table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
  min-width: 560px;
}
.table-wrap th {
  background: var(--slate); color: var(--white);
  font-family: var(--font-head); font-weight: 700;
  text-align: left; padding: .7rem .9rem;
}
.table-wrap td { padding: .7rem .9rem; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: var(--bg); }

/* Dark wrapper for carried-over guide components designed on dark sections ------------- */
.guide-dark-wrap {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  color: #E9EEF3;
  margin: 1.6rem 0;
}

/* Guide insight + CTA (converted from the WP hfg-leaf components) ----------------------- */
.guide-insight {
  font-size: 1.08rem;
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.2rem;
  margin: 1rem 0 1.2rem;
}
.guide-cta {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-deep);
  margin: .4rem 0 0;
}
.guide-body .guide-section + .guide-section { border-top: 1px solid var(--line); margin-top: 2rem; }

/* Ultimate Guide accordion groups */
.guide-group { max-width: 880px; padding: 1.2rem 0 .4rem; scroll-margin-top: 90px; }
.guide-group-title {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.guide-group .faq-item .faq-body h3 { font-size: 1.05rem; }
.guide-group .guide-insight { font-size: 1rem; }
.jump-nav .jump-count { color: var(--mute); font-size: .85rem; }
.back-top { margin: .4rem 0 0; }
.back-top a {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--mute);
}
.back-top a:hover { color: var(--blue-deep); }

/* Floating back-to-top button (guides) */
.back-top-fab {
  position: fixed; right: 1.1rem; bottom: 1.2rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--slate); color: var(--white);
  border: 0; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(28,28,30,.25);
  font-size: 1.2rem; line-height: 1;
  transition: transform .1s var(--ease), background .18s var(--ease);
}
.back-top-fab:hover { background: var(--blue-deep); }
.back-top-fab:active { transform: scale(.94); }
.back-top-fab.is-visible { display: flex; }
@media (max-width: 900px) { .back-top-fab { bottom: 86px; } } /* clear the bottom bar */

/* Phone CTA band (guides + section closers) ------------------------------------------- */
.cta-band {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin: 2.4rem 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: space-between;
}
.cta-band h2, .cta-band h3 { color: var(--white); margin: 0 0 .3rem; font-size: 1.3rem; }
.cta-band p { margin: 0; color: #C9D4DD; font-size: .98rem; }

/* Enquiry form ----------------------------------------------------------------------- */
.enquiry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 640px;
}
.enquiry label {
  display: block;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  margin: 1rem 0 .3rem; color: var(--charcoal);
}
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.enquiry .btn { margin-top: 1.4rem; width: 100%; text-align: center; }
.enquiry .form-note { font-size: .85rem; color: var(--mute); margin: .8rem 0 0; text-align: center; }

/* Footer ------------------------------------------------------------------------------ */
.site-footer {
  background: var(--charcoal);
  color: #C9CDD2;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 180px; height: 34px; margin-bottom: .9rem; }
.footer-brand p { max-width: 340px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin: 0 0 .7rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .45rem; }
.footer-list a { color: #C9CDD2; }
.footer-list a:hover { color: var(--white); }
.footer-legal { padding-top: 1.6rem; font-size: .82rem; color: #9BA1A8; }
.footer-legal p { margin-bottom: .7rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }
.footer-legal-links a { color: #C9CDD2; }
.footer-network { margin-top: 1rem; font-size: .8rem; }
.footer-network a { color: #9BA1A8; }

/* Legal page --------------------------------------------------------------------------- */
.legal-layout {
  display: grid; gap: 2.5rem;
  grid-template-columns: 220px 1fr;
  align-items: start;
  padding: 2.5rem 0 1rem;
}
@media (max-width: 820px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-nav {
  position: sticky; top: 90px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
@media (max-width: 820px) { .legal-nav { position: static; } }
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav a {
  display: block; padding: .4rem 0;
  color: var(--mute); font-size: .95rem;
}
.legal-nav li.is-active a { color: var(--blue-deep); font-weight: 600; }
.legal-content section { margin-bottom: 2.6rem; scroll-margin-top: 90px; }
.legal-content h2 { font-size: 1.4rem; }

/* Utility ------------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }

/* Reduced motion --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .flip-card:hover .flip-inner { transform: none; }
}
