/* ==========================================================================
   KirtSoft Technologies — kirtsoft.com
   Design tokens taken verbatim from BRAND-GUIDE.md
   ========================================================================== */

:root {
  --navy: #091A44;
  --gold: #C9A227;
  --ink: #0E1B33;

  --navy-50: #F0F1F4;
  --navy-100: #DDDFE5;
  --navy-200: #BABFCB;
  --navy-300: #9098AB;
  --navy-400: #586380;
  --navy-600: #08163A;
  --navy-800: #050F27;
  --navy-900: #040B1E;

  --gold-100: #F7F2E1;
  --gold-200: #F0E5C3;
  --gold-300: #E7D59E;
  --gold-400: #DAC06C;
  --gold-700: #91751C;   /* accessible gold for text on white — 4.41:1 */
  --gold-800: #755E17;

  --body: #48506B;
  --line: #E4E7EE;

  --wrap: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r: 14px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(9,26,68,.04), 0 12px 32px -12px rgba(9,26,68,.14);
  --shadow-lg: 0 2px 4px rgba(9,26,68,.05), 0 24px 56px -20px rgba(9,26,68,.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p  { text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.eyebrow {
  font-size: .75rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-700); margin-bottom: 1rem;
}
.on-navy .eyebrow { color: var(--gold-400); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .975rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-300); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-300); }
.btn-outline { border-color: var(--navy-200); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(9,26,68,.5); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 148px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--navy);
  padding: .4rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .25s ease;
}
.nav a:hover::after { right: 0; }
.nav .btn { padding: .7rem 1.35rem; font-size: .9rem; }
.nav .btn::after { display: none; }
/* .nav a sets colour on every link — restore the button's own colour */
.nav a.btn-navy { color: #fff; }
.nav a.btn-gold { color: var(--navy); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: .5rem;
  cursor: pointer; color: var(--navy);
}

/* ---------- hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 11vw, 9rem);
}
.hero::before,
.hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before {
  width: 620px; height: 620px; right: -180px; top: -240px;
  background: radial-gradient(circle, rgba(201,162,39,.20) 0%, rgba(201,162,39,0) 68%);
}
.hero::after {
  width: 460px; height: 460px; left: -200px; bottom: -220px;
  background: radial-gradient(circle, rgba(201,162,39,.10) 0%, rgba(201,162,39,0) 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: rgba(255,255,255,.78); margin-top: 1.6rem; font-size: clamp(1.05rem,1.8vw,1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .92rem; color: rgba(255,255,255,.62);
}
.hero-meta strong { color: var(--gold-300); font-weight: 600; }

/* ---------- services ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 2rem 1.9rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .975rem; }
.card ul { margin: 1.1rem 0 0; padding: 0; list-style: none; font-size: .9rem; }
.card ul li { padding-left: 1.15rem; position: relative; color: var(--navy-400); }
.card ul li + li { margin-top: .3rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-100); color: var(--gold-800);
  display: grid; place-items: center; margin-bottom: 1.4rem;
}
.card-icon svg { width: 23px; height: 23px; }

/* ---------- approach ---------- */
.approach { background: var(--navy-50); }
.step { position: relative; padding-top: 2.6rem; }
.step .num {
  position: absolute; top: 0; left: 0;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  color: var(--gold-700);
}
.step::before {
  content: ""; position: absolute; top: 1.55rem; left: 0; right: 0;
  height: 1px; background: var(--navy-200);
}
.step h3 { margin-bottom: .55rem; }
.step p { font-size: .95rem; }

/* ---------- why ---------- */
.why { background: var(--navy); color: rgba(255,255,255,.72); }
.why h2, .why h3 { color: #fff; }
.why .card {
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.10);
}
.why .card:hover { background: rgba(255,255,255,.07); box-shadow: none; border-color: rgba(201,162,39,.4); transform: translateY(-4px); }
.why .card p { color: rgba(255,255,255,.68); }
.why .card-icon { background: rgba(201,162,39,.14); color: var(--gold-300); }

/* ---------- leadership ---------- */
.person {
  display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem;
}
.person .mono {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.person h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.person .role { color: var(--gold-700); font-weight: 500; font-size: .92rem; }
.person p { font-size: .95rem; margin-top: .7rem; }

/* ---------- contact ---------- */
.contact { background: var(--navy-50); }
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

.form-card { background: #fff; border-radius: var(--r); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; font-size: .975rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy-400);
  box-shadow: 0 0 0 4px rgba(9,26,68,.07);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .82rem; color: var(--navy-400); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 500; display: none; }
.form-status.ok { display: block; color: #1B7A4B; }
.form-status.err { display: block; color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; gap: .95rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .ico { flex-shrink: 0; color: var(--gold-700); margin-top: .18rem; }
.contact-list .ico svg { width: 19px; height: 19px; }
.contact-list .k { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-400); margin-bottom: .1rem; }
.contact-list a { color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold-300); }
.contact-list a:hover { border-bottom-color: var(--gold); }
.contact-list address { font-style: normal; color: var(--navy); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.55); padding-block: 3.5rem 2rem; font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.site-footer .flogo { width: 168px; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-bottom {
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.42);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- mobile nav ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.5rem;
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- statutory disclosure block (Companies Act s.12(3)(c)) ---------- */
.footer-legal {
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: .82rem; line-height: 1.85; color: rgba(255,255,255,.50);
}
.footer-legal .legal-name {
  color: rgba(255,255,255,.86); font-weight: 600;
  letter-spacing: .01em; margin-bottom: .35rem;
}
.footer-legal .k {
  color: var(--gold-400); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; font-size: .72rem;
}
.footer-bottom a { text-decoration: none; border-bottom: 1px solid rgba(201,162,39,.5); }
.footer-bottom a:hover { color: var(--gold-300); }

/* ---------- legal / policy pages ---------- */
.legal-page { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6rem); }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { margin-bottom: .4rem; }
.legal-page .legal-meta { font-size: .88rem; color: var(--navy-300); margin-bottom: 2rem; }
.legal-page .lede { margin-bottom: 2.5rem; max-width: none; }
.legal-page h2 {
  font-size: 1.28rem; margin-top: 2.6rem; margin-bottom: .75rem;
  letter-spacing: -0.005em;
}
.legal-page p { margin-bottom: 1rem; }
.legal-page ul { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.legal-page li { margin-bottom: .45rem; }
.legal-page strong { color: var(--navy); font-weight: 600; }
.legal-page a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--gold-800); }
.legal-page .contact-block {
  background: var(--navy-50); border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem; border-radius: 0 8px 8px 0; line-height: 1.9;
}
.legal-page .back { margin-top: 3.5rem; font-weight: 500; }
