/* ==========================================================================
   ENOVEXERS LTD — site styles
   Layout concept: white header, dark-navy banner per page, white content
   sections on a 1200px grid, soft-blue bands for calls to action.
   Edit colours and fonts in :root only; every rule below reads from it.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #071D35;
  --navy-2: #0C2A4C;
  --blue: #1265B0;
  --blue-hover: #0E528F;
  --blue-soft: #E3EEF9;
  --sky: #9CC6F0;
  --white: #FFFFFF;
  --bg-soft: #F2F7FC;
  --text: #263445;
  --muted: #68778A;
  --border: #E4EAF1;
  --success: #17795A;
  --success-bg: #E7F5EF;
  --danger: #B42318;
  --danger-bg: #FDECEA;

  /* Type */
  --font-display: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  /* Scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 29, 53, .05), 0 8px 24px rgba(7, 29, 53, .06);
  --shadow-hover: 0 2px 4px rgba(7, 29, 53, .06), 0 14px 32px rgba(7, 29, 53, .10);
  --container: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  padding-block: 6px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2; min-height: 46px;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-hover); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-sm { padding: 9px 18px; min-height: 40px; }

/* ---------- Hero & page banners ---------- */
.hero, .banner {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--navy); color: var(--white);
}
.hero-media, .banner-media {
  position: absolute; inset: 0; z-index: -1;
}
.hero-media img, .banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero .container { padding-block: clamp(72px, 9vw, 128px) clamp(120px, 12vw, 168px); }
.hero-inner { max-width: 640px; display: grid; gap: 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { color: var(--white); font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.02em; }
.hero .lead { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 600; color: var(--white); line-height: 1.35; }
.hero p.support { color: #C8D6E6; font-size: var(--fs-md); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.banner .container { padding-block: clamp(56px, 7vw, 96px); }
.banner h1 { color: var(--white); font-size: var(--fs-2xl); font-weight: 800; }
.banner p { color: #C8D6E6; font-size: var(--fs-lg); margin-top: 12px; max-width: 620px; }
.breadcrumb { font-size: var(--fs-xs); color: var(--sky); margin-bottom: 14px; letter-spacing: .04em; }
.breadcrumb a { color: var(--sky); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--fs-xl); font-weight: 800; }
.section-head p { color: var(--muted); font-size: var(--fs-md); }
.kicker {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.prose { display: grid; gap: 16px; max-width: 66ch; }
.prose p { color: var(--text); }
.prose p.muted { color: var(--muted); }

/* ---------- Highlights strip (home) ---------- */
.highlights { position: relative; z-index: 2; margin-top: -84px; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.highlight { padding: 32px 28px; display: grid; gap: 12px; align-content: start; }
.highlight + .highlight { border-left: 1px solid var(--border); }
.highlight h3 { font-size: var(--fs-md); font-weight: 700; }
.highlight p { color: var(--muted); font-size: var(--fs-sm); }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.icon-badge .icon { width: 24px; height: 24px; }

/* ---------- Generic 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); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 12px; align-content: start;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card h3 { font-size: var(--fs-lg); font-weight: 700; }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card.lift:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #D3DFEB; }

/* ---------- Marketplace cards ---------- */
.market-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.market-grid.five { grid-template-columns: repeat(5, 1fr); }
.market-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0;
}
.market-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #C9D9EA; }
.market-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.market-region {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--muted);
  border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; font-variant-numeric: tabular-nums;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600;
  color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.market-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--navy);
  letter-spacing: -0.01em; line-height: 1.15;
}
.market-card p { color: var(--muted); font-size: var(--fs-sm); }
.market-foot { border-top: 1px solid var(--border); padding-top: 12px; font-size: var(--fs-xs); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.market-foot .icon { width: 16px; height: 16px; color: var(--blue); }

.notice {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px;
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm); padding: 16px 20px; color: var(--muted); font-size: var(--fs-sm);
}
.section-soft .notice { background: var(--white); }
.notice .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 2px; }
.notice strong { color: var(--navy); }

/* ---------- Development stages (home) ---------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: stage; position: relative; }
.stage { padding: 0 24px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.stage-dot {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  background: var(--white); color: var(--navy); border: 2px solid var(--border); position: relative; z-index: 1;
}
.stage::before {
  content: ""; position: absolute; top: 17px; left: 36px; right: 0; height: 2px; background: var(--border);
}
.stage:last-child::before { display: none; }
.stage.done .stage-dot { background: var(--navy); color: var(--white); border-color: var(--navy); }
.stage.active .stage-dot { border-color: var(--blue); color: var(--blue); }
.stage.done::before { background: var(--navy); }
.stage h3 { font-size: var(--fs-md); font-weight: 700; margin-top: 6px; }
.stage p { color: var(--muted); font-size: var(--fs-sm); }
.stage-state { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stage.done .stage-state { color: var(--success); }
.stage.active .stage-state { color: var(--blue); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.panel {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: grid; gap: 18px;
}
.panel h2, .panel h3 { font-size: var(--fs-lg); font-weight: 800; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); font-size: var(--fs-sm); }

.mv-card { padding: 36px; }
.mv-card .icon-badge { background: var(--navy); color: var(--white); }
.mv-card p { font-size: var(--fs-md); color: var(--text); line-height: 1.7; }

.value-card .icon-badge { margin-bottom: 4px; }

/* ---------- Target market cards ---------- */
.region-card { padding: 32px; gap: 16px; }
.region-head { display: flex; align-items: center; gap: 14px; }
.region-code {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .06em;
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--white);
}
.region-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.region-card li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); color: var(--text); }
.region-card li .icon { width: 18px; height: 18px; color: var(--blue); }

/* ---------- Category tiles ---------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; background: var(--white);
  display: grid; gap: 12px; justify-items: start; transition: border-color .2s, box-shadow .2s;
}
.category:hover { border-color: #C9D9EA; box-shadow: var(--shadow); }
.category h3 { font-size: var(--fs-md); font-weight: 700; }
.category span { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-soft); }
.cta-band .container { padding-block: clamp(56px, 7vw, 88px); }
.cta-inner { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 680px; margin-inline: auto; }
.cta-inner h2 { font-size: var(--fs-xl); font-weight: 800; }
.cta-inner p { color: var(--muted); font-size: var(--fs-md); }
.cta-inner .btn { margin-top: 10px; }

.cta-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.cta-dark .media { position: absolute; inset: 0; z-index: -1; }
.cta-dark .media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.cta-dark .body { padding: clamp(36px, 5vw, 64px); display: grid; gap: 14px; max-width: 620px; }
.cta-dark h2 { color: var(--white); font-size: var(--fs-xl); font-weight: 800; }
.cta-dark p { color: #C8D6E6; font-size: var(--fs-md); }
.cta-dark .btn { justify-self: start; margin-top: 8px; }

/* ---------- Partner side card ---------- */
.partner-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.partner-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.partner-card .body { padding: 28px; display: grid; gap: 12px; }
.partner-card h3 { font-size: var(--fs-lg); font-weight: 800; }
.partner-card p { color: var(--muted); font-size: var(--fs-sm); }
.partner-card .btn { justify-self: start; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list .value { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.contact-list .value a { color: var(--blue); text-decoration: none; }
.contact-list .value a:hover { text-decoration: underline; }
.placeholder {
  display: inline-block; font-weight: 500; font-size: var(--fs-sm); color: #8A5A00;
  background: #FFF6E0; border: 1px dashed #E8C66A; border-radius: 6px; padding: 1px 8px;
}
.footer .placeholder { color: #F2D58A; background: rgba(242, 213, 138, .08); border-color: rgba(242, 213, 138, .35); }
.enquiry-tips { margin-top: 32px; }
.enquiry-tips ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: var(--fs-sm); display: grid; gap: 6px; }

.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); display: grid; gap: 8px;
}
.form-card h2 { font-size: var(--fs-xl); font-weight: 800; }
.form-card > p { color: var(--muted); font-size: var(--fs-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.field label .req { color: var(--danger); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2368778A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9D6E4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 101, 176, .15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { font-size: var(--fs-xs); color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { min-width: 180px; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.form-status { grid-column: 1 / -1; border-radius: var(--radius-sm); padding: 14px 16px; font-size: var(--fs-sm); display: flex; gap: 10px; align-items: flex-start; }
.form-status .icon { width: 20px; height: 20px; margin-top: 1px; }
.form-status.success { background: var(--success-bg); color: var(--success); }
.form-status.error { background: var(--danger-bg); color: var(--danger); }
.form-status.info { background: var(--blue-soft); color: var(--navy-2); }
.privacy-note { font-size: var(--fs-xs); color: var(--muted); grid-column: 1 / -1; }

/* ---------- Privacy policy ---------- */
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.policy { display: grid; gap: 40px; max-width: 72ch; }
.policy section { display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.policy h2 { font-size: 1.35rem; font-weight: 800; }
.policy h3 { font-size: var(--fs-md); font-weight: 700; margin-top: 6px; }
.policy p, .policy li { color: var(--text); font-size: var(--fs-sm); line-height: 1.75; }
.policy ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.policy .meta { font-size: var(--fs-sm); color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.policy table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: var(--fs-sm); }
.policy th, .policy td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.policy th { background: var(--bg-soft); color: var(--navy); font-weight: 600; }
.policy tr:last-child td { border-bottom: 0; }
.toc {
  position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px));
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.toc h2 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: var(--fs-sm); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #AFC1D6; font-size: var(--fs-sm); }
.footer .container { padding-block: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { max-width: 34ch; }
.footer h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #AFC1D6; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .contact-mini li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; overflow-wrap: anywhere; }
.footer .contact-mini .icon { width: 18px; height: 18px; color: var(--sky); margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--fs-xs); color: #8DA2BA;
}
.footer-legal { max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .market-grid.five { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter-r) 24px var(--gutter-l);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav .btn { margin-top: 12px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--border); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stage:nth-child(2)::before { display: none; }
  .split, .contact-layout, .policy-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand img { height: 28px; }
  .highlights { margin-top: -64px; }
  .highlights-grid, .market-grid, .market-grid.five, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--border); }
  .highlight { grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; padding: 22px 20px; }
  .highlight .icon-badge { grid-row: span 2; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: 1fr; gap: 28px; }
  .stage { padding: 0 0 0 52px; }
  .stage-dot { position: absolute; left: 0; top: 0; }
  .stage::before { top: 36px; bottom: -28px; left: 17px; right: auto; width: 2px; height: auto; }
  .stage:nth-child(2)::before { display: block; }
  .stage h3 { margin-top: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-media img { object-position: 78% 50%; opacity: .55; }
  .banner-media img { opacity: .5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Motion: 3D globe, banner network, card tilt (js/hero-globe.js, js/motion.js) ---------- */
.hero-canvas, .banner-canvas { position: absolute; inset: 0; display: block; pointer-events: none; }
.hero.has-globe .hero-media {
  background:
    radial-gradient(60% 70% at 72% 50%, rgba(20, 70, 122, .55), rgba(7, 29, 53, 0) 70%),
    var(--navy);
}
.hero.has-globe .hero-media img { display: none; }
.hero.has-globe .hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(7, 29, 53, .7) 32%, rgba(7, 29, 53, 0) 55%);
}
.banner-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(7, 29, 53, .5) 40%, rgba(7, 29, 53, 0) 70%);
}

.tilt {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --gx: 50%; --gy: 50%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .25s ease-out, box-shadow .25s, border-color .25s;
  will-change: transform; position: relative;
}
.tilt:hover { --lift: -4px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); box-shadow: var(--shadow-hover); }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(18, 101, 176, .08), transparent 55%);
}
.tilt:hover::after { opacity: 1; }
.tilt .icon-badge { transition: transform .25s ease-out; transform: translateZ(0); }
.tilt:hover .icon-badge { transform: translateY(-2px) scale(1.06); }

@media (max-width: 640px) {
  .hero.has-globe .hero-media::after { background: linear-gradient(180deg, rgba(7, 29, 53, .2) 0%, rgba(7, 29, 53, .85) 45%, var(--navy) 100%); }
  .hero-canvas { opacity: .8; }
}
