/* ==========================================================================
   HKIVO website styles
   Logo colours: brand blue #004CFC, brand navy #012372
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue: #004CFC;
  --blue-soft: #6F9BFF;
  --navy: #012372;
  --navy-deep: #081A47;
  --ink: #0D1B3E;
  --muted: #47557A;
  --bg: #F3F6FF;
  --tint: #E5EDFF;
  --line: #D7E0F7;
  --white: #FFFFFF;
  --error: #B42318;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1200px;
  --header-h: 76px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 16px; height: 16px; stroke-width: 2.5; }
.ico-lg { width: 28px; height: 28px; stroke-width: 2.5; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem; border: 2px solid transparent; border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-secondary { background: var(--white); color: var(--navy); border-color: #B6C4E6; }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header and navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(1,35,114,.5); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo img { width: auto; height: 40px; }
.nav-list, .sub ul { list-style: none; padding: 0; margin: 0; }
.nav-list { display: flex; align-items: center; gap: .1rem; }
.nav-list a { text-decoration: none; }
.nav-list > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .975rem; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--blue); background: var(--bg); }
.has-sub { position: relative; display: flex; align-items: center; }
.nav-list > .has-sub > a { padding-right: .15rem; }
.sub-toggle { display: grid; place-items: center; width: 30px; height: 44px; padding: 0; background: none; border: 0; border-radius: 8px; color: var(--ink); cursor: pointer; }
.sub-toggle .ico { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .2s; }
.has-sub.is-open > .sub-toggle .ico { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 310px; padding-top: .5rem; z-index: 20; }
.sub ul { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 50px -20px rgba(1,35,114,.35); padding: .5rem; }
.sub a { display: flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--bg); color: var(--blue); }
.sub .has-sub > a { flex: 1; }
.sub .has-sub > .sub-toggle .ico { transform: rotate(-90deg); }
.sub .has-sub.is-open > .sub-toggle .ico { transform: rotate(-90deg); }
.sub .sub { top: -.5rem; left: 100%; padding-top: .5rem; padding-left: .35rem; }
.has-sub.is-open > .sub { display: block; }
@media (hover: hover) and (min-width: 1100px) { .has-sub:hover > .sub { display: block; } }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle .bar { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(1,35,114,.35); padding: .5rem clamp(1.1rem, 4vw, 2rem) 1.25rem; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { width: 100%; min-height: 48px; border-radius: var(--r-sm); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; }
  .sub, .sub .sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .35rem .85rem; }
  .sub ul { border: 0; box-shadow: none; padding: 0; border-left: 2px solid var(--line); border-radius: 0; }
  .sub .has-sub > .sub-toggle .ico { transform: none; }
  .sub .has-sub.is-open > .sub-toggle .ico { transform: rotate(180deg); }
  .nav-cta-mobile { display: block; margin-top: .75rem; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- Hero carousel ---------- */
.hero-slider { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.slides { display: grid; touch-action: pan-y; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.slide-bg { position: absolute; inset: 0 0 -14rem 0; z-index: -1; transform: scale(1.08); transition: transform 9s linear; background:
  radial-gradient(900px 520px at 78% 28%, rgba(0,76,252,.55), transparent 65%),
  radial-gradient(600px 420px at 8% 92%, rgba(111,155,255,.2), transparent 70%),
  linear-gradient(135deg, #0A2160 0%, var(--navy-deep) 60%); }
.slide-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 72%); }
.slide:nth-child(2) .slide-bg { background:
  radial-gradient(800px 520px at 82% 70%, rgba(0,76,252,.5), transparent 65%),
  radial-gradient(520px 380px at 20% 15%, rgba(111,155,255,.22), transparent 70%),
  linear-gradient(160deg, #0B2468 0%, var(--navy-deep) 62%); }
.slide:nth-child(3) .slide-bg { background:
  radial-gradient(900px 540px at 70% 20%, rgba(111,155,255,.38), transparent 65%),
  radial-gradient(640px 440px at 90% 90%, rgba(0,76,252,.5), transparent 70%),
  linear-gradient(120deg, #0A2160 0%, var(--navy-deep) 65%); }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-grid { display: grid; gap: 2rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem) 2.5rem; }
@media (min-width: 960px) { .slide-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.slide-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem; padding: .35rem .95rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .9rem; font-weight: 700; }
.slide-eyebrow .ico { width: 18px; height: 18px; color: var(--blue-soft); }
.slide h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; max-width: 15em; color: #fff; }
.slide-text { max-width: 33em; color: #D3DEF9; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.slide-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.slide .reveal { opacity: 0; }
.slide.is-active .reveal { animation: rise .85s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Slide visuals (decorative, built from CSS) */
.slide-visual { display: none; position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / .86; font-size: 16px; }
@media (min-width: 960px) { .slide-visual { display: block; } }
.vp { position: absolute; opacity: 0; }
.slide.is-active .vp { animation: panel-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 160ms + 450ms); }
@keyframes panel-in { from { opacity: 0; transform: translate3d(48px, 16px, 0) scale(.96); } to { opacity: 1; transform: none; } }
.glass { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: 1.1em; backdrop-filter: blur(10px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite alternate; }
.vp-b .glass { animation-delay: -2s; } .vp-c .glass { animation-delay: -4s; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-9px); } }
.sk { display: block; height: .5em; border-radius: .25em; background: rgba(255,255,255,.32); }
.sk.dim { background: rgba(255,255,255,.16); }
.sk.accent { background: var(--blue-soft); }
.w30 { width: 30%; } .w45 { width: 45%; } .w60 { width: 60%; } .w70 { width: 70%; } .w85 { width: 85%; }
.bar-top { display: flex; align-items: center; gap: .4em; padding: .7em .9em; border-bottom: 1px solid rgba(255,255,255,.14); }
.bar-top > i { width: .55em; height: .55em; border-radius: 50%; background: rgba(255,255,255,.35); }
.bar-top > b { flex: 1; margin-left: .6em; padding: .15em .7em; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .7em; font-weight: 600; color: #D3DEF9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pad { padding: .9em; }
.stack { display: grid; gap: .55em; }
.hero-block { padding: 1.1em; border-radius: .8em; background: linear-gradient(135deg, var(--blue), #2B6BFF); display: grid; gap: .5em; margin-bottom: .7em; }
.hero-block .sk { background: rgba(255,255,255,.85); }
.hero-block .pill { width: 5em; height: 1.4em; margin-top: .3em; border-radius: 999px; background: #fff; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.cards3 i { display: block; height: 3.4em; border-radius: .6em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.code { padding: .9em 1em; display: grid; gap: .5em; }
.code .sk { height: .45em; }
.code .in1 { margin-left: 1em; } .code .in2 { margin-left: 2em; }
.phone { padding: .55em; border-radius: 1.6em; width: 8.5em; }
.phone .screen { border-radius: 1.2em; background: rgba(255,255,255,.08); padding: .7em; display: grid; gap: .55em; min-height: 13em; }
.phone .head { height: 1.6em; border-radius: .5em; background: var(--blue); }
.phone .tile { height: 3em; border-radius: .6em; background: rgba(255,255,255,.14); }
/* slide 1 layout */
.s1 .vp-a { left: 0; top: 8%; width: 76%; }
.s1 .vp-b { right: 0; top: 0; width: 44%; }
.s1 .vp-c { right: 4%; bottom: 0; }
/* slide 2 */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.prod { border-radius: .8em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: .5em; display: grid; gap: .45em; }
.prod .img { height: 4.2em; border-radius: .55em; background: linear-gradient(135deg, rgba(111,155,255,.55), rgba(0,76,252,.35)); }
.chan { display: flex; align-items: center; justify-content: space-between; padding: .55em .7em; border-radius: .6em; background: rgba(255,255,255,.1); font-size: .85em; font-weight: 700; }
.toggle { position: relative; width: 1.9em; height: 1.05em; border-radius: 999px; background: var(--blue); }
.toggle::after { content: ""; position: absolute; right: .14em; top: .14em; width: .77em; height: .77em; border-radius: 50%; background: #fff; }
.step-row { display: flex; align-items: center; gap: .6em; font-size: .82em; font-weight: 600; }
.step-row i { width: .75em; height: .75em; border-radius: 50%; background: var(--blue-soft); }
.step-row.done i { background: #5FD39A; }
.s2 .vp-a { left: 0; top: 4%; width: 62%; }
.s2 .vp-b { right: 0; top: 14%; width: 46%; }
.s2 .vp-c { right: 10%; bottom: 0; width: 56%; }
/* slide 3 */
.chart { display: flex; align-items: flex-end; gap: .55em; height: 8em; padding: .6em .2em 0; }
.chart i { flex: 1; height: 100%; border-radius: .35em .35em 0 0; background: linear-gradient(180deg, var(--blue-soft), var(--blue)); transform-origin: bottom; transform: scaleY(.04); }
.slide.is-active .chart i { animation: grow 1.1s var(--ease) both; animation-delay: calc(var(--k) * 90ms + 900ms); }
@keyframes grow { to { transform: scaleY(var(--h)); } }
.serp .t { color: #BBD0FF; font-weight: 700; font-size: .9em; }
.serp .u { font-size: .7em; color: #A9BBE4; }
.chips { display: flex; flex-wrap: wrap; gap: .5em; }
.chips span { padding: .35em .8em; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .8em; font-weight: 700; }
.s3 .vp-a { left: 0; top: 0; width: 58%; }
.s3 .vp-b { right: 0; top: 18%; width: 50%; }
.s3 .vp-c { left: 6%; bottom: 0; width: 62%; }

/* Carousel controls */
.slider-controls { position: relative; z-index: 5; padding-bottom: clamp(5.5rem, 8vw, 6.5rem); }
.slider-controls .container { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ctl { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ctl:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.ctl:focus-visible, .dot:focus-visible { outline-color: #fff; }
.dots { display: flex; margin-inline: .25rem; }
.dot { position: relative; display: grid; align-items: center; width: 52px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.dot::before { content: ""; height: 4px; margin-inline: 6px; border-radius: 2px; background: rgba(255,255,255,.28); }
.dot[aria-current="true"]::before { background: rgba(255,255,255,.5); }
.dot .fill { position: absolute; left: 6px; right: 6px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot[aria-current="true"] .fill { transform: scaleX(1); }
.hero-slider.is-playing .dot[aria-current="true"] .fill { transform: scaleX(0); animation: fill var(--dur, 7s) linear forwards; }
.hero-slider.is-paused .dot[aria-current="true"] .fill { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.ctl-pause .i-play { display: none; }
.hero-slider.is-stopped .ctl-pause .i-play { display: block; }
.hero-slider.is-stopped .ctl-pause .i-pause { display: none; }
.count { white-space: nowrap; margin-left: .5rem; font-size: .9rem; font-weight: 700; color: #D3DEF9; font-variant-numeric: tabular-nums; }

@media (max-width: 520px) { .count { display: none; } .dot { width: 44px; } }

/* Hero tiles */
.hero-tiles { position: relative; z-index: 6; margin-top: calc(-1 * clamp(3.25rem, 5vw, 4rem)); }
.hero-tiles ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
@media (min-width: 900px) { .hero-tiles ul { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }
.hero-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; height: 100%; min-height: 138px; padding: 1.25rem 1rem; text-align: center; text-decoration: none; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 40px -28px rgba(1,35,114,.45); font-weight: 800; line-height: 1.25; transition: border-color .15s, transform .2s var(--ease); }
.hero-tile:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.hero-tile .ti { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--blue); }
.hero-tile small { display: block; margin-top: .15rem; font-size: .8rem; font-weight: 500; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--compact { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy); color: #fff; }
.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--navy .section-head p { color: #C7D4F5; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head-row .section-head { margin-bottom: 0; }

.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; } }
.about-lead { color: var(--muted); font-size: 1.125rem; max-width: 36em; }
.about-columns { display: grid; gap: 1.5rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--bg); }
@media (min-width: 520px) { .about-columns { grid-template-columns: 1fr 1fr; } }
.about-columns h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: .75rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .975rem; line-height: 1.45; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: .15em; width: .45rem; height: .8rem; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Category cards */
.cat-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat { position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cat .tile-icon { margin-bottom: 1.1rem; }
.cat h3 { color: var(--navy); font-size: 1.35rem; }
.cat > p { color: var(--muted); }
.cat .check-list { margin-bottom: 1.5rem; }
.cat .more { margin-top: auto; }

/* Service tiles */
.tile-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } .tile-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .15s; }
.tile:hover, .cat:hover { border-color: var(--blue); }
.section:not(.section--tint) .tile { background: var(--bg); border-color: transparent; }
.section:not(.section--tint) .tile:hover { border-color: var(--blue); }
.tile-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
.tile-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--blue); }
.section:not(.section--tint) .tile-icon { background: #fff; }
.tile h3 { margin: 0; font-size: 1.1rem; color: var(--navy); }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; }
.tile-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; min-height: 28px; font-weight: 700; color: var(--blue); }
.tile-link .ico { width: 16px; height: 16px; stroke-width: 2.5; }
.fine-print { max-width: 62em; margin: 2rem 0 0; color: var(--muted); font-size: .9rem; }

/* Approach */
.approach-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .approach-grid { grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; } }
.reasons { display: grid; gap: 1rem; }
.reason { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.section:not(.section--tint) .reason { background: var(--bg); border-color: transparent; }
.reason h3 { margin-bottom: .35em; color: var(--navy); }
.reason p { margin: 0; color: var(--muted); }
.reason-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; }

/* Process */
.steps { list-style: none; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding: 1.75rem; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.1rem; }
.step h3 { color: #fff; }
.step p { margin: 0; color: #D3DEF9; }
.process-note { margin: 2rem 0 0; color: #C7D4F5; }
.steps--light .step { background: var(--bg); border-color: transparent; }
.steps--light .step h3 { color: var(--navy); }
.steps--light .step p { color: var(--muted); }

/* FAQs */
.faq-layout { display: grid; gap: 1rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-size: 1.1rem; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 56px; padding: 1.1rem 0; background: none; border: 0; color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.faq-q:hover { color: var(--blue); }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 2.75rem 1.25rem 0; color: var(--muted); }
.faq-a p { margin: 0; }

/* Contact and forms */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; } }
.contact-intro > p { color: var(--muted); font-size: 1.125rem; }
.contact-details { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-details li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.contact-details .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.contact-details strong { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; }
.contact-details a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-details a:hover { color: var(--blue); text-decoration: underline; }
.form-card { padding: clamp(1.25rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.form-intro { color: var(--muted); font-size: .95rem; }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .4rem; font-size: .95rem; font-weight: 700; }
.optional { color: var(--muted); font-weight: 500; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; background: #fff; color: var(--ink); border: 1.5px solid #B6C4E6; border-radius: var(--r-sm); font: inherit; font-size: 1rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23012372' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field ::placeholder { color: #77849F; }
.hint { margin: .35rem 0 0; color: var(--muted); font-size: .875rem; }
.field-error { margin: .35rem 0 0; color: var(--error); font-size: .9rem; font-weight: 600; }
.field-error:empty { display: none; }
.checkbox { display: flex; align-items: flex-start; gap: .75rem; }
.checkbox input { flex: none; width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--blue); }
.checkbox label { margin: 0; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.privacy-note { flex: 1 1 240px; margin: 0; color: var(--muted); font-size: .9rem; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 1rem; border-radius: var(--r-sm); background: #FEF3F2; color: var(--error); font-weight: 600; }
.form-status a { color: inherit; }
.form-success { padding: 1rem 0; }
.form-success:focus { outline: none; }
.form-success h3 { color: var(--navy); }
.form-success p { margin: 0; color: var(--muted); }
.success-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 50%; background: #E3F5EA; color: #05603A; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Inner page banner ---------- */
.page-banner { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); background:
  radial-gradient(760px 420px at 85% 0%, rgba(0,76,252,.55), transparent 65%),
  linear-gradient(135deg, #0A2160 0%, var(--navy-deep) 70%); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.page-banner h1 { max-width: 18em; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.banner-lead { max-width: 40em; color: #D3DEF9; font-size: 1.15rem; }
.banner-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.banner-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.banner-icon .ico { width: 28px; height: 28px; }
.breadcrumb { margin-bottom: 1.5rem; font-size: .9rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(255,255,255,.5); }
.breadcrumb a { color: #D3DEF9; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; font-weight: 700; }

/* Service page layout */
.svc-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; } }
@media (min-width: 640px) { .svc-main .steps { grid-template-columns: repeat(2, 1fr); } }
.svc-main > section + section { margin-top: clamp(2.75rem, 5vw, 4rem); }
.svc-main h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.svc-lead { font-size: 1.2rem; color: var(--ink); }
.inc-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .inc-grid { grid-template-columns: 1fr 1fr; } }
.inc { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--bg); }
.inc .reason-icon { width: 32px; height: 32px; margin-top: .1rem; }
.inc h3 { font-size: 1.05rem; margin-bottom: .3em; color: var(--navy); }
.inc p { margin: 0; color: var(--muted); font-size: .98rem; }
.mods { list-style: none; padding: 0; display: grid; gap: .85rem; counter-reset: mod; }
.mod { counter-increment: mod; display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--bg); }
.mod::before { content: counter(mod); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.mod h3 { font-size: 1.05rem; margin-bottom: .2em; color: var(--navy); }
.mod p { margin: 0; color: var(--muted); font-size: .98rem; }
.who-list { display: grid; gap: .75rem; }
.side { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .side { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.side-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.side-card--cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-card--cta p { color: #D3DEF9; }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: .6em; }
.side-card--cta h2 { color: #fff; }
.side-list { list-style: none; padding: 0; display: grid; gap: .1rem; }
.side-list a { display: flex; align-items: center; min-height: 40px; padding: 0 .6rem; margin-inline: -.6rem; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.side-list a:hover { background: var(--bg); color: var(--blue); }
.side-list a[aria-current="page"] { background: var(--tint); color: var(--navy); }
.side-contact { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; font-size: .95rem; }
.side-contact a { color: #fff; font-weight: 700; }
.note-box { padding: 1rem 1.25rem; border-radius: var(--r-md); background: #FFF8E6; border: 1px solid #F3DFA2; color: #5C4300; font-size: .95rem; }
.note-box p { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; padding-block: clamp(2.75rem, 6vw, 4rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.cta-inner h2 { margin: 0 0 .35em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-inner p { margin: 0; color: #DCE6FF; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Compare table */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; background: #fff; }
.table-wrap th, .table-wrap td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--bg); color: var(--navy); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Principles */
.principles { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principle { padding: 1.5rem; border-radius: var(--r-md); background: var(--bg); }
.principle h3 { color: var(--navy); }
.principle p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 4rem 2rem; background: var(--ink); color: #C3CDE3; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.footer-about { max-width: 30em; margin-top: 1rem; }
.site-footer h2 { margin-bottom: 1rem; color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.site-footer a, .link-button { color: #fff; text-decoration: none; }
.site-footer a:hover, .link-button:hover { text-decoration: underline; color: #fff; }
.site-footer :focus-visible { outline-color: #8DB0FF; }
.link-button { padding: 0; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #A9B6D3; }
.footer-legal p { margin: 0 0 .6rem; max-width: 70em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom--plain { margin-top: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 560px; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 50px rgba(1,35,114,.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin-bottom: .4rem; font-size: 1.05rem; letter-spacing: 0; color: var(--navy); }
.cookie-banner p { color: var(--muted); font-size: .95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- Legal and 404 ---------- */
.legal .container { max-width: 820px; }
.legal h2 { margin-top: 2.25rem; font-size: 1.4rem; color: var(--navy); }
.legal p, .legal li { color: #33415C; }
.legal .updated { color: var(--muted); }
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound .big { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: .2em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .slide .reveal, .vp { opacity: 1 !important; }
  .chart i { transform: scaleY(var(--h)) !important; }
}

/* Mobile menu call-to-action keeps button colours */
.nav-list > li.nav-cta-mobile > a.btn { color: #fff; background: var(--blue); padding: .75rem 1.4rem; justify-content: center; }
.nav-list > li.nav-cta-mobile > a.btn:hover { color: #fff; background: var(--navy); }
