/* ==========================================================================
   BS GATEWAY PRIVATE LIMITED — DESIGN SYSTEM
   Single source of truth. Brand colours sampled from the official logo.
   No !important overrides. Edit tokens below to restyle the whole site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from BS Gateway logo */
  --brand-blue:        #00a3e2;
  --brand-blue-dark:   #00719f;   /* WCAG AA: 5.44:1 on white, 5.10:1 on --surface-alt */
  --brand-blue-light:  #4cc4f0;
  --brand-orange:      #fba319;
  --brand-orange-dark: #e08c05;
  --brand-green:       #38af74;
  --brand-blue-fill:   #00789f;   /* button fill: white text 5.02:1 */
  --amber-text:        #94590c;   /* readable amber for tinted chips: 5.14:1 */
  --green-text:        #1b6b43;   /* readable green for tinted chips */

  /* Navy scale — the dark surface family */
  --navy-950: #03141f;
  --navy-900: #041f33;
  --navy-800: #062a43;
  --navy-700: #093857;
  --navy-600: #0e4c74;

  /* Neutrals */
  --ink:     #0f1c26;
  --body:    #46596b;
  --muted:   #5f7083;   /* WCAG AA: 5.08:1 on white, 4.77:1 on --surface-alt */
  --line:    #e3e9ef;
  --line-2:  #f0f4f8;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;

  /* Semantic */
  --primary: var(--brand-blue);
  --accent:  var(--brand-orange);

  /* Type */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-hero:  clamp(2.25rem, 1.35rem + 3.1vw, 3.9rem);
  --fs-h1:    clamp(2rem, 1.35rem + 2.2vw, 3.1rem);
  --fs-h2:    clamp(1.65rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-h3:    clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lead:  clamp(1.02rem, 0.97rem + 0.28vw, 1.2rem);

  /* Space */
  --sp-section: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(6, 42, 67, .06);
  --shadow:    0 12px 30px rgba(6, 42, 67, .09);
  --shadow-lg: 0 24px 60px rgba(6, 42, 67, .16);

  --header-h: 84px;
  --container: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.18rem; }
h5 { font-size: 1.05rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-blue-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-orange-dark); }

ul, ol { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: .45rem; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--accent); color: #101010; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.container-narrow { max-width: 820px; }

.section { padding-block: var(--sp-section); }
.section--alt  { background: var(--surface-alt); }
.section--dark { background: var(--navy-900); color: #c9d8e4; }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.grid { display: grid; gap: clamp(1.15rem, .8rem + 1.1vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   4. TYPE HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
  margin-bottom: .85rem;
}
.section--dark .eyebrow { color: var(--brand-orange); }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.65; }
.section--dark .lead { color: #a8bece; }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); }
.section-head.text-center { margin-inline: auto; }
.section-head p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #14202b; box-shadow: 0 8px 22px rgba(251, 163, 25, .3); }
.btn--primary:hover { background: var(--brand-orange-dark); color: #14202b; box-shadow: 0 12px 30px rgba(251, 163, 25, .42); }

.btn--blue { background: var(--brand-blue-fill); color: #fff; box-shadow: 0 8px 22px rgba(0, 163, 226, .3); }
.btn--blue:hover { background: var(--brand-blue-dark); color: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand-blue); color: var(--brand-blue-dark); }

.btn--wide { width: 100%; }
.btn--sm { padding: .68rem 1.25rem; font-size: .92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.nav__brand { display: flex; align-items: center; flex: 0 0 auto; margin-right: auto; }
.nav__brand img { width: clamp(190px, 20vw, 250px); height: auto; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center; justify-content: center;
}

.nav__menu { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__menu li { margin: 0; }

.nav__link {
  display: block;
  padding: .6rem .82rem;
  border-radius: 9px;
  color: #d3e2ee;
  font-size: .97rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav__link.is-active { color: #fff; background: rgba(0, 163, 226, .22); }

.nav__cta { flex: 0 0 auto; margin-left: .5rem; }

/* Dropdown */
.nav__item--has-menu { position: relative; }
.nav__item--has-menu > .nav__link::after {
  content: '\f107';
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: .78em;
  margin-left: .4rem;
  opacity: .75;
}
.nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-menu:hover .nav__sub,
.nav__item--has-menu:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .75rem; border-radius: 9px;
  color: var(--ink); font-size: .93rem; font-weight: 600;
}
.nav__sub a:hover { background: var(--surface-alt); color: var(--brand-blue-dark); }
.nav__sub i { width: 18px; color: var(--brand-blue); font-size: .95rem; }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; order: 3; }
  .nav__cta { display: none; }
  .nav__menu {
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .15rem;
    padding: .5rem 0 1.2rem;
    max-height: min(72vh, 620px);
    overflow-y: auto;
  }
  .nav { flex-wrap: wrap; }
  .nav.is-open .nav__menu { display: flex; }
  .nav__link { padding: .78rem .9rem; font-size: 1.02rem; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; border: 0;
    background: rgba(255, 255, 255, .06); margin: .2rem 0 .4rem .6rem;
  }
  .nav__item--has-menu.is-open .nav__sub { display: block; }
  .nav__sub a { color: #cfe0ec; }
  .nav__sub a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 80% 35%, rgba(0, 163, 226, .28), transparent 65%),
    radial-gradient(ellipse 55% 60% at 12% 78%, rgba(56, 175, 116, .16), transparent 62%),
    linear-gradient(140deg, var(--navy-950) 0%, var(--navy-800) 52%, var(--navy-600) 100%);
  color: #cfe0ec;
  padding-block: clamp(3.2rem, 2rem + 5vw, 5.6rem);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.5px);
  background-size: 46px 46px;
  opacity: .13;
  -webkit-mask-image: linear-gradient(100deg, transparent, #000 45%, #000);
  mask-image: linear-gradient(100deg, transparent, #000 45%, #000);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1, .hero h2 { color: #fff; }

.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (max-width: 992px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(251, 163, 25, .16);
  border: 1px solid rgba(251, 163, 25, .45);
  color: var(--brand-orange);
  font-size: .87rem; font-weight: 700;
  letter-spacing: .02em;
}
.hero__title { font-size: var(--fs-hero); margin: 1.15rem 0 0; letter-spacing: -.03em; }
.hero__title .hl {
  /* clone makes each wrapped line repeat the full gradient instead of getting a muddy slice */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(96deg, #5cd0f7 0%, #7fd8ef 34%, #ffc55c 78%, #ffb43a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__rule { width: 74px; height: 5px; border-radius: 5px; background: var(--brand-orange); margin: 1.35rem 0; }
.hero__copy { font-size: var(--fs-lead); color: #b3c8d8; max-width: 60ch; margin-bottom: 1.9rem; }

/* Hero stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.4rem;
  border: 1px solid rgba(0, 163, 226, .35);
  border-radius: var(--radius-lg);
  background: rgba(4, 31, 51, .5);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero__stat { padding: 1.1rem 1rem; display: flex; align-items: center; gap: .75rem; min-width: 0; position: relative; }
.hero__stat + .hero__stat::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
  background: rgba(255, 255, 255, .16);
}
.hero__stat i { font-size: 1.4rem; color: var(--brand-orange); flex: 0 0 auto; }
.hero__stat > div { min-width: 0; }
.hero__stat .num { font-size: clamp(1.15rem, .75rem + .9vw, 1.55rem); font-weight: 800; color: #fff; line-height: 1.1; }
.hero__stat .num--word { font-size: clamp(.95rem, .7rem + .5vw, 1.15rem); letter-spacing: -.01em; }
.hero__stat .lbl { font-size: .76rem; color: #9fb7c9; line-height: 1.3; }
@media (max-width: 700px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stat:nth-child(odd) + .hero__stat::before { background: rgba(255, 255, 255, .16); }
  .hero__stat:nth-child(3)::before, .hero__stat:nth-child(1)::before { display: none; }
}

/* Hero orbit visual */
.orbit-visual {
  position: relative;
  width: min(520px, 90vw);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.orbit-visual .ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0, 163, 226, .55);
  animation: spin 42s linear infinite;
}
.orbit-visual .ring:nth-child(1) { inset: 0; border-width: 2px; }
.orbit-visual .ring:nth-child(2) { inset: 8%; border-style: dashed; animation-duration: 58s; animation-direction: reverse; }
.orbit-visual .ring:nth-child(3) { inset: 18%; border-color: rgba(0, 163, 226, .3); }
.orbit-visual .ring:nth-child(4) { inset: 28%; border-color: rgba(251, 163, 25, .6); animation-duration: 70s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-visual .ring { animation: none; } }

.orbit-visual .core {
  position: relative; z-index: 3;
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(0, 163, 226, .1) 68%, transparent 70%);
  box-shadow: 0 0 60px rgba(0, 163, 226, .35);
}
.orbit-visual .core img { width: 92%; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .3)); }

.orbit-visual .node {
  position: absolute; z-index: 4;
  width: 62px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(6, 42, 67, .92);
  border: 2px solid var(--brand-blue);
  color: #fff; font-size: 1.25rem;
  box-shadow: 0 0 24px rgba(0, 163, 226, .4);
}
.orbit-visual .node span {
  position: absolute; top: calc(100% + 7px);
  font-size: .74rem; font-weight: 700; color: #d8e8f3; white-space: nowrap;
}
.orbit-visual .n1 { top: 2%;  left: 15%; }
.orbit-visual .n2 { top: 4%;  right: 10%; }
.orbit-visual .n3 { top: 44%; left: -1%; }
.orbit-visual .n4 { top: 44%; right: -1%; }
.orbit-visual .n5 { bottom: 8%; left: 16%; }
.orbit-visual .n6 { bottom: 6%; right: 11%; }
@media (max-width: 520px) { .orbit-visual .node { width: 50px; font-size: 1rem; } .orbit-visual .node span { font-size: .66rem; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 75% at 82% 40%, rgba(0, 163, 226, .26), transparent 64%),
    linear-gradient(135deg, var(--navy-950), var(--navy-700));
  color: #b8ccdb;
  padding-block: clamp(2.8rem, 2rem + 3.5vw, 4.6rem);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .5) 1px, transparent 1.5px);
  background-size: 44px 44px; opacity: .1; pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero .lead { color: #a9c1d3; max-width: 62ch; }
.page-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

.page-hero__icon {
  width: min(230px, 60vw); aspect-ratio: 1; margin-inline: auto;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 163, 226, .1);
  border: 2px dashed rgba(0, 163, 226, .45);
  color: var(--brand-blue-light); font-size: 4.6rem;
}

/* Breadcrumb */
.crumb { font-size: .87rem; margin-bottom: 1.1rem; color: #8fa9bd; }
.crumb a { color: #b6cfe0; }
.crumb a:hover { color: var(--brand-orange); }
.crumb span { margin-inline: .45rem; opacity: .55; }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + .8vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0, 163, 226, .4); }
.card h3, .card h4 { margin-bottom: .6rem; }
.card p { color: var(--body); font-size: .97rem; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #fff; font-size: 1.5rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 20px rgba(0, 163, 226, .28);
}
.card--accent .card__icon { background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark)); box-shadow: 0 8px 20px rgba(251, 163, 25, .3); }
.card__link {
  margin-top: auto; padding-top: 1.1rem;
  font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--brand-blue-dark);
}
.card__link i { transition: transform .2s var(--ease); }
.card:hover .card__link i { transform: translateX(4px); }

.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Icon-tile card (industries) */
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem; text-align: center; height: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: block; color: inherit;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0, 163, 226, .45); color: inherit; }
.tile i { font-size: 2.1rem; color: var(--brand-blue); margin-bottom: .9rem; display: block; width: 100%; text-align: center; }
.tile h4 { margin-bottom: .4rem; font-size: 1.06rem; }
.tile p { font-size: .89rem; color: var(--muted); margin: 0; }

/* Feature row */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.feature__icon {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(0, 163, 226, .1); color: var(--brand-blue-dark); font-size: 1.15rem;
}
.feature h5 { margin-bottom: .28rem; }
.feature p { font-size: .95rem; margin: 0; color: var(--muted); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; font-size: .97rem; }
.checklist li::before {
  content: '\f00c'; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
  color: var(--brand-green); font-size: .82rem; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(56, 175, 116, .14);
  display: grid; place-items: center; margin-top: .18rem;
}
.section--dark .checklist li { color: #bed2e0; }

/* Stat band */
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.statband__item { text-align: center; padding: 1.4rem 1rem; }
.statband__num { font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem); font-weight: 800; color: var(--brand-orange); line-height: 1; }
.statband__lbl { font-size: .93rem; color: #a9c1d3; margin-top: .55rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem 1.4rem; }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.4rem; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem 1.4rem 1.5rem; text-align: center; }
.step__num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 16px rgba(6, 42, 67, .28);
}
.step i { font-size: 1.6rem; color: var(--brand-blue); margin-bottom: .7rem; display: block; width: 100%; text-align: center; }
.step h5 { margin-bottom: .35rem; }
.step p { font-size: .89rem; color: var(--muted); margin: 0; }

/* Partner logos */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
@media (min-width: 992px) { .partners { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem .8rem; text-align: center;
  font-weight: 700; color: var(--muted); font-size: 1rem;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.partner:hover { color: var(--navy-800); border-color: var(--brand-blue); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   9. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: .85rem; font-weight: 700;
  color: var(--ink); margin-bottom: .38rem;
}
.field label .req { color: #d14343; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .82rem 1rem;
  font-family: inherit; font-size: .97rem; color: var(--ink);
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 163, 226, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #9dadbb; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d14343; background: #fff6f6; }
.field__err { display: none; font-size: .8rem; color: #d14343; margin-top: .3rem; font-weight: 600; }
.field.has-error .field__err { display: block; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.form-status {
  display: none; margin-top: 1rem; padding: .95rem 1.15rem;
  border-radius: 10px; font-size: .93rem; font-weight: 600;
}
.form-status.is-ok  { display: block; background: rgba(56, 175, 116, .12); color: #1f7a4d; border: 1px solid rgba(56, 175, 116, .4); }
.form-status.is-err { display: block; background: #fdeaea; color: #b33; border: 1px solid #f0c2c2; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* --------------------------------------------------------------------------
   10. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem clamp(1.1rem, 1rem + .5vw, 1.6rem);
  background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.faq__q:hover { background: var(--surface-alt); color: var(--brand-blue-dark); }
.faq__q i { flex: 0 0 auto; color: var(--brand-blue); transition: transform .25s var(--ease); font-size: .9rem; }
.faq__q[aria-expanded="true"] i { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 clamp(1.1rem, 1rem + .5vw, 1.6rem) 1.3rem; color: var(--body); font-size: .97rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(ellipse 50% 80% at 85% 50%, rgba(0, 163, 226, .3), transparent 62%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #c2d6e4;
  padding-block: clamp(2.8rem, 2rem + 3vw, 4.4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #a9c1d3; margin-inline: auto; max-width: 62ch; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* --------------------------------------------------------------------------
   12. ARTICLE / PROSE
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.prose h3 { margin-top: 1.9rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: .55rem; }
.prose blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.5rem;
  border-left: 4px solid var(--brand-orange);
  background: var(--surface-alt); border-radius: 0 10px 10px 0;
  font-size: 1.04rem; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .94rem; }
.prose th, .prose td { padding: .75rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-alt); font-weight: 700; color: var(--ink); }

.post-meta { font-size: .87rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 1.6rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }

.pill {
  display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-pill);
  background: rgba(0, 163, 226, .12); color: var(--brand-blue-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.pill--amber { background: rgba(251, 163, 25, .16); color: var(--amber-text); }
.pill--green { background: rgba(56, 175, 116, .16); color: var(--green-text); }

/* Links inside running prose need a non-colour cue (WCAG 1.4.1) */
.prose p a, .prose li a, .feature p a, .footer__contact a, .card p a {
  text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px;
}
.prose p a:hover, .prose li a:hover { text-decoration-thickness: 2px; }

/* Sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .with-aside { grid-template-columns: 1fr; } }
.aside-card {
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
}
.aside-card + .aside-card { margin-top: 1.4rem; }
.aside-card h4 { font-size: 1.02rem; margin-bottom: .9rem; }
.aside-nav { list-style: none; padding: 0; margin: 0; }
.aside-nav li { margin-bottom: .3rem; }
.aside-nav a {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .7rem; border-radius: 9px;
  font-size: .93rem; font-weight: 600; color: var(--body);
}
.aside-nav a:hover { background: #fff; color: var(--brand-blue-dark); }
.aside-nav a.is-active { background: #fff; color: var(--brand-blue-dark); box-shadow: var(--shadow-sm); }
.aside-nav i { width: 18px; color: var(--brand-blue); font-size: .9rem; }

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #92aabd; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: .94rem; }
.site-footer h5 { color: #fff; font-size: .93rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.6rem, 1rem + 2vw, 3rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 215px; margin-bottom: 1.1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .55rem; }
.footer__list a { color: #92aabd; }
.footer__list a:hover { color: var(--brand-orange); }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; }
.footer__contact i { color: var(--brand-blue); width: 18px; margin-top: .28rem; flex: 0 0 auto; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #b9cddb;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: var(--brand-blue); color: #fff; transform: translateY(-3px); }
.footer__bottom {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem;
  justify-content: space-between; align-items: center;
  font-size: .87rem;
}
.footer__bottom a { color: #92aabd; }
.footer__bottom a:hover { color: var(--brand-orange); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
/* Statutory registration identifiers. Inherits the footer colour (#92aabd on
   --navy-950), which is already AA-compliant - do not lighten it. */
.footer__reg { display: block; margin-top: .35rem; font-size: .82rem; letter-spacing: .01em; }

/* --------------------------------------------------------------------------
   13b. RESTRICTED / INTERNAL-PREVIEW BANNER
   Only rendered on pages listed in DRAFT_PAGES.
   -------------------------------------------------------------------------- */
.draft-banner {
  background: repeating-linear-gradient(45deg, #fff4e0, #fff4e0 12px, #ffeccd 12px, #ffeccd 24px);
  border-bottom: 2px solid var(--brand-orange);
  color: #6f4208;
  font-size: .92rem;
  padding-block: .8rem;
}
.draft-banner .container { display: flex; align-items: flex-start; gap: .7rem; flex-wrap: wrap; }
.draft-banner i { color: var(--amber-text); margin-top: .22rem; flex: 0 0 auto; }
.draft-banner strong { color: #5c3606; }
.draft-banner code {
  background: rgba(111, 66, 8, .1); padding: .1rem .38rem;
  border-radius: 4px; font-size: .88em;
}
@media print { .draft-banner { display: none; } }

/* --------------------------------------------------------------------------
   14. FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.floaties { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: .65rem; }
.floaty {
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 1.15rem; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.floaty:hover { transform: scale(1.09); color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .32); }
.floaty--wa   { background: #25d366; }
.floaty--call { background: var(--brand-blue); }
.floaty--mail { background: var(--navy-700); }
.floaty--top  { background: var(--brand-orange); color: #14202b; display: none; }
.floaty--top.is-visible { display: grid; }
@media (max-width: 560px) { .floaty { width: 46px; height: 46px; font-size: 1rem; } .floaties { right: 12px; bottom: 12px; } }

/* --------------------------------------------------------------------------
   15. UTILITIES / MOTION
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .tile:hover { transform: none; }
}

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.4rem; } .mt-3 { margin-top: 2rem; }
.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;
}

/* Print */
@media print {
  .site-header, .floaties, .cta-band, .site-footer { display: none; }
  body { color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: .8em; }
}
