/* =========================================================
   Milestone Eng. — site stylesheet
   Brand colours sampled from the Milestone Eng. logo
   ========================================================= */
:root {
  --ink: #0b1d26;          /* headings, dark sections */
  --ink-2: #13303d;
  --text: #33464f;         /* body copy */
  --muted: #5f727b;
  --line: #dde6e8;
  --bg: #ffffff;
  --bg-soft: #f3f7f7;
  --bg-tint: #e8f4f3;
  --teal: #0e98a6;         /* logo cyan-teal */
  --teal-dark: #0a7884;
  --green: #12906a;        /* logo green */
  --mint: #6fc0b0;         /* logo light teal */
  --grad: linear-gradient(120deg, #12906a 0%, #0e98a6 60%, #1aa9c4 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 29, 38, .06), 0 8px 24px rgba(11, 29, 38, .08);
  --shadow-lg: 0 2px 4px rgba(11, 29, 38, .06), 0 20px 48px rgba(11, 29, 38, .14);
  --wrap: 1180px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--ink); color: #c9d6db; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--grad); }
.section--dark .eyebrow { color: var(--mint); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: #a9bcc3; }
.head { max-width: 720px; margin-bottom: 44px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 .95rem/1 var(--font-head); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(14, 152, 166, .35); }
.btn--primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(14, 152, 166, .45); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--teal-dark); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,29,38,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none;
  font: 600 .95rem/1 var(--font-head); color: var(--ink);
}
.nav__links a:hover { background: var(--bg-soft); color: var(--teal-dark); }
.nav__links a[aria-current="page"] { color: var(--teal-dark); }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 6px; border-radius: 2px; background: var(--grad); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 12px 16px 20px; display: none;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 10px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d4e0e4; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,29,38,.96) 0%, rgba(11,29,38,.85) 42%, rgba(11,29,38,.25) 100%);
}
.hero__inner { position: relative; padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 110px); max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b3c5cb; font-size: 1.2rem; }
.hero .btn-row { margin-top: 30px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; color: var(--mint); flex-shrink: 0; }

.page-hero { background: var(--ink); color: #b3c5cb; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,152,166,.35), transparent 65%);
}
.page-hero .wrap { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #b3c5cb; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #8ea4ac; }
.crumbs a { color: #8ea4ac; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; align-items: center; gap: 28px; padding: 26px 0; flex-wrap: wrap; }
.trust__label { font: 700 .78rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 150px; }
.trust__names { display: flex; flex-wrap: wrap; gap: 10px 26px; flex: 1; align-items: center; }
.trust__names span { font: 800 1.05rem/1 var(--font-head); color: #8a9aa1; letter-spacing: -.01em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 28px 24px; }
.stat__num { font: 800 2.2rem/1 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.stat__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .92rem; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .97rem; }
.card__more svg { width: 16px; height: 16px; }
.card__more { margin-top: auto; font: 700 .9rem/1 var(--font-head); color: var(--teal-dark); display: inline-flex; gap: 6px; align-items: center; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg-tint); color: var(--teal-dark);
}
.icon svg { width: 26px; height: 26px; }
.section--dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section--dark .card p { color: #a9bcc3; }
.section--dark .icon { background: rgba(111,192,176,.14); color: var(--mint); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7884' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks--2 { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
@media (max-width: 680px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius);
  background: var(--grad); opacity: .18; z-index: -1;
}

/* ---------- Lifecycle ---------- */
.lifecycle { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.lifecycle::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--green), var(--teal)); opacity: .5; }
.lifecycle__step { text-align: center; padding: 0 10px; position: relative; }
.lifecycle__dot {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--teal); font: 800 1rem/1 var(--font-head); color: var(--teal-dark);
}
.section--dark .lifecycle__dot { background: var(--ink); color: var(--mint); border-color: var(--mint); }
.lifecycle__step h4 { font-size: .98rem; margin-bottom: 4px; }
.lifecycle__step p { font-size: .86rem; color: var(--muted); margin: 0; }
.section--dark .lifecycle__step p { color: #94a9b0; }
@media (max-width: 900px) {
  .lifecycle { grid-template-columns: 1fr; gap: 18px; }
  .lifecycle::before { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  .lifecycle__step { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .lifecycle__dot { margin: 0; grid-row: span 2; }
}

/* ---------- Project cards ---------- */
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-card__img { aspect-ratio: 16/10; background: var(--bg-tint); overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-card__img img { transform: scale(1.04); }
.project-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font: 700 .72rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; background: var(--bg-tint); color: var(--teal-dark);
}
.tag--loc { background: var(--bg-soft); color: var(--muted); }
.project-card .services-line { font-size: .88rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.project-card .services-line strong { color: var(--ink); }

/* Projects list (portfolio) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 9px 16px; font: 600 .9rem/1 var(--font-head); cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { opacity: .6; margin-left: 4px; font-weight: 500; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 28px; }
.search { position: relative; flex: 0 1 320px; }
.search input { width: 100%; padding: 12px 14px 12px 40px; border-radius: 999px; border: 1px solid var(--line); font: inherit; background: #fff; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio { grid-template-columns: 1fr; } }
.p-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; border-top: 4px solid var(--teal); }
.p-item[data-sector="Mining"] { border-top-color: #b07d2a; }
.p-item[data-sector="Oil & Gas"] { border-top-color: #12906a; }
.p-item[data-sector="Process & Chemical"] { border-top-color: #6b5fb5; }
.p-item[data-sector="Commercial"] { border-top-color: #d0613a; }
.p-item[data-sector="Defence & Infrastructure"] { border-top-color: #43627a; }
.p-item[data-sector="Digital & Systems"] { border-top-color: #1aa9c4; }
.p-item h3 { font-size: 1.08rem; }
.p-item p { font-size: .94rem; color: var(--muted); }
.p-item .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.p-item .phase { font-size: .85rem; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink); }
.empty { text-align: center; padding: 40px; color: var(--muted); display: none; }

/* ---------- Clients ---------- */
.client { display: flex; flex-direction: column; }
.client__name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.client__name a { font-size: .82rem; font-weight: 600; text-decoration: none; }
.client__type { font: 700 .7rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 10px; }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: 76px; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 9px 14px; border-radius: 999px; text-decoration: none; font: 600 .9rem/1 var(--font-head); color: var(--muted); }
.subnav a:hover, .subnav a.is-active { background: var(--bg-tint); color: var(--teal-dark); }
.svc-group { scroll-margin-top: 150px; }
.svc-group__head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: end; margin-bottom: 36px; }
@media (max-width: 900px) { .svc-group__head { grid-template-columns: 1fr; gap: 0; } }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.svc h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; }
.svc p { color: var(--muted); font-size: .95rem; }
.svc .deliverables { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.svc .deliverables h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 8px; }
.svc .deliverables ul { margin: 0; padding-left: 1.1em; font-size: .9rem; color: var(--text); }
.svc .deliverables li { margin-bottom: 3px; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: 10px; font: 700 .92rem/1 var(--font-head); color: var(--ink); display: flex; align-items: center; gap: 8px; }
.tool small { font: 500 .75rem/1 var(--font-body); color: var(--muted); }
.section--dark .tool { background: var(--ink-2); border-color: rgba(255,255,255,.1); color: #fff; }
.section--dark .tool small { color: #94a9b0; }

/* Engagement */
.engage { border-radius: var(--radius); padding: 32px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.engage::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.engage .ticks { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--grad); color: #fff; border-radius: 22px; padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.08rem; max-width: 56ch; }
.cta .btn-row { position: relative; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #08161d; color: #93a7af; font-size: .93rem; padding: 64px 0 28px; }
.site-footer a { color: #c4d3d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 50px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 30px; }
.steps li { flex: 1; }
.steps .bar { height: 5px; border-radius: 3px; background: var(--line); transition: background .3s; }
.steps li.is-done .bar, .steps li.is-current .bar { background: var(--grad); }
.steps .lbl { font: 700 .75rem/1.2 var(--font-head); color: var(--muted); margin-top: 8px; display: block; }
.steps li.is-current .lbl { color: var(--ink); }
@media (max-width: 560px) { .steps .lbl { display: none; } .steps li.is-current .lbl { display: block; } }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step legend { font: 800 1.4rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 6px; padding: 0; }
.step .hint { color: var(--muted); margin-bottom: 24px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font: 600 .9rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 7px; }
.field .req { color: #c2410c; }
.field .opt { font-weight: 500; color: var(--muted); font-size: .82rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="url"],
.field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #cfdcdf; border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,152,166,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; }
.field .error { display: none; color: #c2410c; font-size: .84rem; margin-top: 6px; }
.field.has-error .error { display: block; }
.field input[type="file"] { width: 100%; padding: 14px; border: 1.5px dashed #b9cbcf; border-radius: 10px; background: var(--bg-soft); font: inherit; font-size: .9rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .choice-grid, .choice-grid--3 { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice > span {
  display: flex; gap: 10px; align-items: flex-start; height: 100%;
  padding: 13px 14px; border: 1.5px solid #cfdcdf; border-radius: 10px; font-size: .93rem; color: var(--ink); cursor: pointer; transition: all .15s;
}
.choice > span small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.choice > span::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid #9fb3b8; border-radius: 5px; background: #fff center/12px no-repeat;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--teal); background: #f1fafa; }
.choice input:checked + span::before {
  border-color: var(--teal); background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(14,152,166,.2); }
.svc-pick { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.svc-pick h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav .btn[hidden] { display: none; }
.review { background: var(--bg-soft); border-radius: 12px; padding: 20px; font-size: .92rem; }
.review dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; }
.review dt { font-weight: 600; color: var(--ink); }
.review dd { margin: 0; color: var(--text); word-break: break-word; }
@media (max-width: 560px) { .review dl { grid-template-columns: 1fr; } .review dd { margin-bottom: 8px; } }
.aside-card { background: var(--ink); color: #b3c5cb; border-radius: 18px; padding: 28px; position: sticky; top: 100px; }
.aside-card h3 { color: #fff; }
.aside-card .ticks li::before { background-color: rgba(111,192,176,.18); }
.aside-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 22px 0; }
.aside-card a { color: var(--mint); }
.hp { display: none; }
.notice { background: var(--bg-tint); border-left: 4px solid var(--teal); padding: 14px 16px; border-radius: 8px; font-size: .92rem; }

/* ---------- Misc ---------- */
.badge-24 { display: inline-flex; align-items: center; gap: 8px; background: rgba(111,192,176,.15); color: var(--mint); border: 1px solid rgba(111,192,176,.35); padding: 8px 14px; border-radius: 999px; font: 700 .82rem/1 var(--font-head); margin-bottom: 22px; }
.badge-24 svg { width: 16px; height: 16px; }
.quote-block { font: 600 1.3rem/1.5 var(--font-head); color: var(--ink); border-left: 4px solid var(--teal); padding-left: 22px; margin: 0; }
.industry { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.industry .icon { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.industry .icon svg { width: 22px; height: 22px; }
.industry h4 { margin: 0 0 2px; }
.industry p { margin: 0; font-size: .88rem; color: var(--muted); }
.feature-case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 24px; }
.feature-case__img { min-height: 320px; background: var(--bg-tint); }
.feature-case__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-case__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.feature-case:nth-child(even) .feature-case__img { order: 2; }
@media (max-width: 860px) { .feature-case { grid-template-columns: 1fr; } .feature-case:nth-child(even) .feature-case__img { order: 0; } .feature-case__img { min-height: 220px; aspect-ratio: 16/9; } }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.kv div { font-size: .88rem; }
.kv dt { font: 700 .72rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mb-0 { margin-bottom: 0; }
.big-404 { font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Organisation chart ---------- */
.org { display: grid; gap: 12px; max-width: 980px; }
.org__row { display: grid; }
.org__box { background: var(--ink); color: #fff; border-radius: 12px; padding: 16px; text-align: center; font: 700 1rem/1.2 var(--font-head); }
.org__box--top { background: var(--ink-2); }
.org__row--depts { grid-template-columns: 3fr 1fr 1fr 1fr; gap: 12px; align-items: start; }
.org__dept { display: grid; gap: 12px; }
.org__dept .org__box { background: var(--teal-dark); min-height: 64px; display: grid; place-items: center; }
.org__dept--main .org__box { background: var(--grad); }
.org__subs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.org__sub { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 10px; padding: 12px 6px; text-align: center; font: 700 .86rem/1.2 var(--font-head); color: var(--ink); }
.org__sub small { display: block; font: 500 .72rem/1.2 var(--font-body); color: var(--muted); margin-top: 3px; }
@media (max-width: 820px) {
  .org__row--depts { grid-template-columns: 1fr 1fr 1fr; }
  .org__dept--main { grid-column: 1 / -1; }
  .org__subs { grid-template-columns: repeat(3, 1fr); }
}

.section:not(.section--soft):not(.section--dark):not(.section--tint) + .section--cta { padding-top: 0; }
.feature-case > * { min-width: 0; }
@media (max-width: 900px) { .media-frame::before { inset: 12px -10px -12px 12px; } }
.nav__links a.btn, .nav__links a.btn:hover { color: #fff; padding: 10px 16px; background: var(--grad); }
.nav__links a.btn::after { display: none; }
.nav__links a.btn--ghost { color: var(--ink); background: transparent; padding: 8px 14px; }
.nav__links a.btn--ghost:hover { color: #fff; background: var(--ink); }
.site-footer a.btn--primary, .site-footer a.btn--primary:hover { color: #fff; }
@media (max-width: 700px) {
  .trust .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust__label { max-width: none; }
  .trust__names { gap: 8px 18px; }
  .trust__names span { font-size: .95rem; }
}
