/* LUXVIA GLOBAL — public website design system (corporate navy + gold)
   Navy is the primary corporate colour (header bar, hero panel, footer, headings, primary buttons);
   gold is the accent (rules, icons, highlights). Content sits on white and a cool light-grey alternate.
   Note: the variable names --green / --green-2 and the class names .btn-green / .panel--green are kept for
   compatibility with existing templates; they now carry the navy palette. */

@font-face { font-family: "Commissioner"; src: url("/fonts/commissioner-var.woff") format("woff"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Source Serif LX"; src: url("/fonts/sourceserif4-display.woff") format("woff"); font-weight: 500 700; font-display: swap; }

:root {
  /* Colour */
  --paper: #ffffff;
  --mist: #f4f6fa;          /* alternating sections */
  --line: #dfe4ec;
  --ink: #1f2733;           /* body text */
  --ink-soft: #566173;      /* secondary text */
  --green: #0b1f3a;         /* corporate navy (primary) */
  --navy: #0b1f3a;
  --green-2: #173b6b;       /* navy, lighter */
  --navy-3: #10294b;       /* navy panels */
  --gold: #c9a24e;          /* accent: fills, rules, icons */
  --gold-text: #8a6516;     /* gold used as text on white (5.3:1) */
  --gold-tint: #f7f1e3;
  --ok: #1f7a4d; --warn: #9a5212; --bad: #b3261e;
  /* Type */
  --serif: "Source Serif LX", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-0: .875rem; --fs-1: 1rem; --fs-2: 1.0625rem; --fs-3: 1.25rem; --fs-4: 1.5625rem; --fs-5: 1.953rem; --fs-6: 2.441rem; --fs-7: clamp(2.2rem, 4.6vw, 3.4rem);
  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --r-s: 6px; --r-m: 10px; --r-l: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px -12px rgba(11, 31, 58, .2);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 var(--fs-2)/1.6 var(--sans); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--green); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: var(--fs-7); }
h2 { font-size: var(--fs-5); }
h3 { font-size: var(--fs-3); font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
h4 { font-size: var(--fs-2); font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: var(--fs-4); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: var(--fs-1); }
.prose th, .prose td { text-align: left; padding: .6em .75em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--green); font-weight: 650; background: var(--mist); }
.lead { font-size: var(--fs-3); color: var(--ink-soft); line-height: 1.5; max-width: 62ch; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-0); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 7vw, 88px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4em 0 0; color: var(--ink-soft); max-width: 68ch; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); } .split--even { grid-template-columns: 1fr 1fr; } }
.stack > * + * { margin-top: 16px; }

/* Utility bar + header */
.utility { background: var(--green); color: #dfe6f1; font-size: var(--fs-0); }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between; padding-block: 7px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--gold); }
.utility .ra { color: #d9c9a0; }
.utility .ra b { color: #fff; font-weight: 600; }
.utility-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); flex: 0 0 auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; letter-spacing: .06em; line-height: 1; }
.brand-word small { display: block; font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .32em; color: var(--gold-text); margin-top: 3px; }
.nav { flex: 1 1 auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-item > button, .nav-item > a { font: 600 .95rem/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 12px 10px; border-radius: var(--r-s); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.nav-item > button:hover, .nav-item > a:hover, .nav-item.open > button { color: var(--green); background: var(--mist); }
.nav-item > button svg { width: 14px; transition: transform .15s; }
.nav-item.open > button svg { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold); box-shadow: 0 24px 40px -24px rgba(11, 31, 58, .35); display: none; }
.nav-item.open .mega { display: block; }
.mega .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-block: 28px 32px; align-items: start; }
.mega-intro h3 { font-family: var(--serif); font-size: var(--fs-4); font-weight: 600; margin-bottom: .3em; }
.mega-intro p { color: var(--ink-soft); font-size: var(--fs-1); }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 24px; }
.mega-cols a { display: block; padding: 8px 10px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.mega-cols a:hover { background: var(--gold-tint); color: var(--green); }
.mega-cols a span { display: block; font-size: var(--fs-0); color: var(--ink-soft); }
.mega-cols a strong { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 6px; font: 600 .9rem/1 var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; }
.lang > button:hover { border-color: var(--gold); }
.lang > button svg { width: 18px; color: var(--gold-text); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); width: min(92vw, 420px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 10px; display: none; grid-template-columns: repeat(2, 1fr); gap: 2px; z-index: 50; }
.lang.open .lang-menu { display: grid; }
.lang-menu a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-size: var(--fs-1); }
.lang-menu a:hover { background: var(--mist); }
.lang-menu a[aria-current="true"] { background: var(--gold-tint); color: var(--green); font-weight: 650; }
.lang-menu a small { color: var(--ink-soft); }
.lang-note { grid-column: 1 / -1; font-size: .78rem; color: var(--ink-soft); padding: 6px 10px 2px; border-top: 1px solid var(--line); margin-top: 6px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-s); padding: 9px; cursor: pointer; color: var(--green); }
.menu-toggle svg { width: 22px; display: block; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; overflow-y: auto; padding: 72px 16px 24px; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .3); z-index: 60; }
  body.nav-open .nav { transform: none; visibility: visible; transition: transform .2s ease; }
  @media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
  .nav-close { display: block !important; position: absolute; top: 14px; right: 14px; }
  .nav-list { flex-direction: column; }
  .nav-item > button, .nav-item > a { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 1.02rem; }
  .mega { position: static; border: 0; box-shadow: none; border-left: 2px solid var(--gold); margin: 0 0 8px 10px; }
  .mega .wrap { grid-template-columns: 1fr; padding: 4px 0 8px 8px; gap: 8px; }
  .mega-intro { display: none; }
  .mega-cols { grid-template-columns: 1fr; }
  .header-actions .btn-login { display: none; }
  .nav-portal { display: grid !important; gap: 8px; margin-top: 18px; }
}
.nav-close, .nav-portal { display: none; }
.scrim { position: fixed; inset: 0; background: rgba(11, 31, 58, .45); z-index: 55; display: none; }
body.nav-open .scrim { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 .97rem/1.1 var(--sans); padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #d8b566; color: var(--green); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); color: #fff; }
.btn-line { border-color: var(--green); color: var(--green); background: transparent; }
.btn-line:hover { background: var(--green); color: #fff; }
.btn-ghost { color: var(--green); background: transparent; padding-inline: 12px; }
.btn-ghost:hover { background: var(--mist); }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 26px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--paper) 0, var(--paper) 60%, var(--mist) 100%); }
.hero .wrap { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); } }
.hero h1 { margin-bottom: .3em; }
.hero-verbs { font-family: var(--serif); font-size: var(--fs-4); color: var(--gold-text); margin: 0 0 18px; letter-spacing: .01em; }
.hero .lead { margin-bottom: 26px; }
.pathways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
@media (min-width: 560px) { .pathways { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pathway span { min-width: 0; overflow-wrap: normal; hyphens: manual; line-height: 1.25; }
.pathway { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); text-decoration: none; color: var(--green); font-weight: 650; }
.pathway svg { width: 22px; height: 22px; color: var(--gold-text); flex: 0 0 auto; }
.pathway:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--green); }
.hero-portal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: var(--fs-1); color: var(--ink-soft); }

/* Routes board (signature element) */
.routes { background: var(--green); color: #eef2f8; border-radius: var(--r-l); padding: 22px 22px 14px; position: relative; overflow: hidden; }
.routes::before { content: ""; position: absolute; inset: auto -40px -60px auto; width: 260px; height: 260px; border: 1px solid rgba(201, 162, 78, .35); border-radius: 50%; }
.routes h2 { color: #fff; font-size: var(--fs-3); font-family: var(--serif); margin-bottom: 4px; }
.routes .sub { color: #b6c3d6; font-size: var(--fs-0); margin-bottom: 14px; }
.route-list { list-style: none; margin: 0; padding: 0; }
.route-list li + li { border-top: 1px solid rgba(255, 255, 255, .09); }
.route { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 2px; text-decoration: none; color: #fff; }
.route:hover { color: var(--gold); }
.route-code { font: 700 .82rem/1 var(--sans); letter-spacing: .08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.route-name { font-weight: 600; }
.route-name small { display: block; color: #a8b6cb; font-weight: 400; font-size: .8rem; }
.route-arc { width: 64px; height: 18px; color: rgba(201, 162, 78, .8); }

/* Content blocks */
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); text-decoration: none; color: var(--ink); height: 100%; }
a.tile:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.tile h3 { margin: 0; color: var(--green); }
.tile p { margin: 0; color: var(--ink-soft); font-size: var(--fs-1); }
.tile-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-tint); color: var(--gold-text); display: grid; place-items: center; }
.tile-icon svg { width: 22px; height: 22px; }
.tile-foot { margin-top: auto; padding-top: 8px; font-weight: 650; color: var(--green-2); font-size: var(--fs-1); }

.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 15px 4px; text-decoration: none; color: var(--ink); }
.rows a:hover { background: var(--mist); }
.rows a svg { width: 22px; color: var(--gold-text); }
.rows strong { color: var(--green); font-weight: 650; display: block; }
.rows span { color: var(--ink-soft); font-size: var(--fs-1); }

.dest { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--green); font-weight: 650; background: var(--paper); }
.dest:hover { border-color: var(--gold); color: var(--green); }
.flag { width: 30px; height: 22px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); object-fit: cover; flex: 0 0 auto; }
.dest small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--green); font-size: var(--fs-0); font-weight: 600; text-decoration: none; border: 1px solid transparent; }
a.chip:hover { border-color: var(--gold); color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 650; background: var(--gold-tint); color: var(--gold-text); }
.badge--green { background: #e6eef9; color: var(--green-2); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.fact { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.fact dt { font-size: var(--fs-0); color: var(--ink-soft); }
.fact dd { margin: 4px 0 0; font-weight: 650; color: var(--green); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-text); font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.steps strong { display: block; color: var(--green); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 2px; font-weight: 650; color: var(--green); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 12px; font-size: 1.4rem; color: var(--gold-text); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 2px 18px; color: var(--ink); max-width: 72ch; }

/* Panels & CTAs */
.panel { border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 30px); background: var(--paper); }
.panel--gold { background: var(--gold-tint); border-color: #eadbb7; }
.panel--green { background: var(--green); border: 0; color: #e6ecf5; }
.panel--green h2, .panel--green h3 { color: #fff; }
.panel--green a:not(.btn) { color: var(--gold); }
.sticky { position: sticky; top: 92px; }
.portal-cta { display: grid; gap: 10px; }
.portal-cta p { margin: 0; }
.portal-cta .label { font-weight: 650; color: var(--green); }
.advisor { display: grid; gap: 12px; }
.advisor-line { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: var(--r-m); border: 1px solid var(--line); }
.advisor-line:hover { border-color: var(--gold); color: var(--ink); }
.advisor-line svg { width: 22px; color: var(--gold-text); flex: 0 0 auto; }
.advisor-line b { display: block; color: var(--green); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-m); background: var(--gold-tint); border: 1px solid #eadbb7; font-size: var(--fs-1); }
.notice svg { width: 20px; flex: 0 0 auto; color: var(--gold-text); margin-top: 2px; }
.notice--info { background: #eef3fa; border-color: #d3deee; }
.estimate-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: #fff3e0; color: var(--warn); font-weight: 700; font-size: .8rem; border: 1px solid #f0d3a8; }

.breadcrumbs { font-size: var(--fs-0); color: var(--ink-soft); padding-top: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #b3bccb; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); text-decoration: underline; }

.page-head { padding-block: 18px clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 12px; }
.page-head .lead { margin-bottom: 0; }
.page-head-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; align-items: center; }

.coming-soon { text-align: left; padding: clamp(24px, 4vw, 40px); border: 1.5px dashed #d8c48f; border-radius: var(--r-l); background: var(--gold-tint); }
.coming-soon h2 { font-size: var(--fs-4); }

/* Jobs */
.job { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.job h3 { margin: 0; font-size: var(--fs-3); }
.job h3 a { text-decoration: none; color: var(--green); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-soft); font-size: var(--fs-1); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 16px; color: var(--gold-text); }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.filters { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--mist); margin-bottom: 22px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pager a, .pager span { padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.pager [aria-current] { background: var(--green); color: #fff; border-color: var(--green); }

/* Forms */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 650; font-size: var(--fs-1); color: var(--green); }
.field .hint { font-size: var(--fs-0); color: var(--ink-soft); }
.req { color: var(--bad); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid #cbd3df; border-radius: var(--r-s); padding: 12px 13px; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238a6516'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(201, 162, 78, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.error { color: var(--bad); font-size: var(--fs-0); font-weight: 600; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-1); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
fieldset { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px 18px; margin: 0; }
fieldset legend { padding: 0 6px; }
.form-section { border-top: 1px solid var(--line); padding-top: 18px; }
.form-section h3 { margin-bottom: 4px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-errors { padding: 14px 16px; border-radius: var(--r-m); background: #fdecea; border: 1px solid #f3c4bf; color: #7b1b14; }
.quick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: end; }

/* Eligibility */
.wizard-step { display: none; }
.wizard-step.active { display: grid; gap: 16px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; background: var(--gold); width: 0; transition: width .2s; }
.result { padding: 24px; border-radius: var(--r-l); border: 1px solid var(--line); }
.result--potentially_suitable { background: #eef3fa; border-color: #d3deee; }
.result--further_assessment { background: var(--gold-tint); border-color: #eadbb7; }
.result--more_information { background: #f2f3f7; border-color: #dcdfe8; }
.score { font: 700 3rem/1 var(--serif); color: var(--green); font-variant-numeric: tabular-nums; }

/* Compare */
.compare-table { overflow-x: auto; }
.compare-table table { min-width: 640px; }

/* Footer */
.footer { background: var(--green); color: #c4cfdf; font-size: var(--fs-1); padding-block: 56px 28px; margin-top: 0; }
.footer a { color: #e6ecf5; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer h3 { color: #fff; font-size: var(--fs-1); font-family: var(--sans); font-weight: 650; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 34ch; }
.credentials-strip { margin-top: 36px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--fs-0); }
.credentials-strip b { color: #fff; font-weight: 600; }
.credentials-strip .ra { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 20px; font-size: var(--fs-0); color: #9eadc4; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: #c4cfdf; }
.newsletter { display: flex; gap: 8px; margin-top: 10px; }
.newsletter input { min-height: 44px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.newsletter input::placeholder { color: #9eadc4; }

/* WhatsApp + mobile action bar */
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 999px; background: #1f8f53; color: #fff; text-decoration: none; font-weight: 650; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); }
.wa-fab:hover { background: #187744; color: #fff; }
.wa-fab svg { width: 26px; height: 26px; }
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .wa-fab span { display: none; }
  .wa-fab { padding: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); }
  body { padding-bottom: 72px; }
  .utility .ra { display: none; }
}

/* Language notice for untranslated pages */
.lang-banner { background: var(--gold-tint); border-bottom: 1px solid #eadbb7; font-size: var(--fs-1); }
.lang-banner .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-block: 10px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .header, .utility, .footer, .wa-fab, .mobile-bar { display: none; } }

/* ===================================================================
   V2 corporate layer (navy + gold): header contact bar, hero, homepage
   sections, services directory, request forms, justified reading text.
   =================================================================== */

/* Justified long-form reading text (never navigation, buttons, headings, cards' short labels or contact details) */
.prose p, .prose li > p, .faq .answer p, .faq .answer, .justify, .intro-text p, .svc-group > p, .split-text p {
  text-align: justify; text-justify: inter-word; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal;
}
.prose p:has(> .btn), .prose p.small { text-align: left; }
/* (Phase 2: the former ≤380px "align left" override was removed — content stays justified on phones; see the global rule at the end.) */

/* Utility bar: phone + WhatsApp icon only */
.utility .wrap { padding-block: 6px; }
.utility-tag { color: #b6c3d6; letter-spacing: .02em; }
.utility-contact { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.utility-contact a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.utility-contact svg { width: 16px; height: 16px; color: var(--gold); }
.icon-btn-wa { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1f8f53; color: #fff !important; }
.icon-btn-wa svg { width: 18px; height: 18px; color: #fff !important; }
.icon-btn-wa:hover { background: #187744; }
@media (max-width: 720px) { .utility-tag { display: none; } .utility-contact { margin-left: 0; width: 100%; justify-content: space-between; } }

/* Header: navy brand mark word, slimmer nav */
.brand-word { color: var(--green); }
.nav-item > button, .nav-item > a { letter-spacing: .01em; }
@media (min-width: 1081px) and (max-width: 1240px) { .nav-item > button, .nav-item > a { padding-inline: 8px; font-size: .9rem; } .header .wrap { gap: 12px; } }

/* WhatsApp floating button: icon only */
.wa-fab { padding: 13px; }
.wa-fab span { display: none; }

/* Hero (navy) */
.hero-corp { background: var(--green); color: #e6ecf5; position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 92px) clamp(44px, 7vw, 88px); }
.hero-corp::after { content: ""; position: absolute; right: -260px; top: -260px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(201, 162, 78, .16); pointer-events: none; }
.hero-corp::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); }
.hero-corp .wrap { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: center; position: relative; z-index: 1; }
@media (min-width: 1000px) { .hero-corp .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); } }
.hero-corp h1 { color: #fff; margin-bottom: .35em; }
.hero-corp .eyebrow { display: inline-block; font: 650 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero-corp .lead { color: #c9d4e4; max-width: 60ch; margin-bottom: 28px; }
.hero-corp .btn-line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero-corp .btn-line:hover { background: #fff; color: var(--green); border-color: #fff; }
.hero-corp .hero-portal { color: #b6c3d6; margin-top: 22px; }
.hero-corp .hero-portal a { color: var(--gold); font-weight: 600; }
.hero-corp .pathways { margin: 26px 0 0; }
.hero-corp .pathway { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #fff; }
.hero-corp .pathway svg { color: var(--gold); }
.hero-corp .pathway:hover { background: rgba(201, 162, 78, .12); border-color: var(--gold); color: #fff; }
.globe-panel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-l); padding: 22px 22px 18px; }
.globe-panel h2 { color: #fff; font-size: var(--fs-3); margin-bottom: 4px; }
.globe-panel .sub { color: #b6c3d6; font-size: var(--fs-0); margin-bottom: 14px; }
.region-list { list-style: none; margin: 0; padding: 0; }
.region-list li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.region-list a, .region-list div { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 2px; color: #fff; text-decoration: none; }
.region-list a:hover strong { color: var(--gold); }
.region-list strong { font-weight: 650; }
.region-list span { display: block; color: #a8b6cb; font-size: .8rem; font-weight: 400; }
.region-list em { font-style: normal; color: var(--gold); font: 700 .78rem/1.6 var(--sans); letter-spacing: .08em; align-self: center; }

/* Section heading accent */
.kicker { display: block; font: 650 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.section-head--center { text-align: center; justify-content: center; }
.section-head--center p { margin-inline: auto; }

/* Service directory cards */
.svc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r-m); background: var(--paper); color: var(--ink); text-decoration: none; height: 100%; }
a.svc-card:hover { box-shadow: var(--shadow); border-color: var(--line); border-top-color: var(--gold); color: var(--ink); }
.svc-card h3 { margin: 0; color: var(--green); font-size: 1.12rem; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: var(--fs-1); }
.svc-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: var(--fs-0); color: var(--ink-soft); }
.svc-card ul li { padding-left: 14px; position: relative; }
.svc-card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.svc-card .tile-icon { background: #eef2f8; color: var(--green-2); }
.svc-card .tile-foot { color: var(--green-2); }

/* Services page: grouped directory */
.svc-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.svc-index a { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--green); font-size: var(--fs-0); font-weight: 600; background: var(--paper); }
.svc-index a:hover { border-color: var(--gold); }
.svc-group { padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-group:first-of-type { border-top: 0; }
.svc-group-head { display: grid; gap: 8px 32px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
@media (min-width: 900px) { .svc-group-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; } }
.svc-group-head h2 { margin: 0; font-size: var(--fs-4); }
.svc-group-head p { margin: 0; color: var(--ink-soft); text-align: justify; hyphens: manual; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a, .svc-list span { display: flex; align-items: center; gap: 10px; padding: 11px 2px; color: var(--ink); text-decoration: none; font-size: var(--fs-1); }
.svc-list a::before, .svc-list span::before { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--gold-text); border-left: 0; border-bottom: 0; transform: rotate(45deg); flex: 0 0 auto; }
.svc-list a:hover { color: var(--green-2); }

/* Journey ("one platform") */
.journeys { display: grid; gap: 16px; }
.journey { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
@media (min-width: 860px) { .journey { grid-template-columns: 170px minmax(0, 1fr); align-items: center; } }
.journey h3 { margin: 0; font-size: 1.02rem; color: var(--green); }
.journey ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; }
.journey li { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-0); font-weight: 600; color: var(--green); }
.journey li span { padding: 6px 11px; border-radius: 999px; background: #eef2f8; }
.journey li + li::before { content: ""; width: 14px; height: 1.5px; background: var(--gold); display: inline-block; }

/* Markets & professions */
.market-grid { display: grid; gap: 16px; align-items: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.market { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.market h3 { margin: 0 0 10px; font-size: 1.02rem; color: var(--green); display: flex; justify-content: space-between; gap: 8px; }
.market h3 small { color: var(--gold-text); font-weight: 650; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.market .chips { gap: 6px; }
.market .chip { background: #f1f4f9; font-weight: 600; }
.note-line { margin-top: 14px; font-size: var(--fs-0); color: var(--ink-soft); }

/* Two-audience band (employers / candidates) */
.audience { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.audience .panel { display: flex; flex-direction: column; gap: 12px; }
.audience .panel h2 { font-size: var(--fs-4); margin: 0; }
.audience .panel .btn-row { margin-top: auto; padding-top: 8px; }
.audience .panel--green .checklist li::before { border-color: var(--gold); }
.cols-2 { columns: 2 220px; column-gap: 28px; }
.cols-2 li { break-inside: avoid; }

/* Credentials band (employer pages only) */
.cred-band { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 18px; border: 1px solid #eadbb7; background: var(--gold-tint); border-radius: var(--r-m); font-size: var(--fs-1); color: var(--green); }
.cred-band b { font-weight: 700; }
.cred-band a { margin-left: auto; font-weight: 600; }

/* Request form extras */
.request-fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ext-link-btn svg { width: 16px; height: 16px; }

/* Contact page */
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); background: var(--paper); }
.contact-card:hover { border-color: var(--gold); color: var(--ink); }
.contact-card > svg, .contact-card .ico { width: 40px; height: 40px; flex: 0 0 auto; padding: 9px; border-radius: 50%; background: #eef2f8; color: var(--green-2); }
.contact-card .ico--wa { background: #1f8f53; color: #fff; }
.contact-card b { display: block; color: var(--green); }
.contact-card span { color: var(--ink-soft); font-size: var(--fs-1); overflow-wrap: anywhere; }

/* Tables inside content scroll on small screens instead of overflowing the page */
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 720px) { .prose table { display: table; } }

/* Footer (no credentials strip, no repeated contact numbers) */
.footer-legal-name { color: #fff; font-weight: 650; display: block; margin-top: 14px; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; }
.footer-contact-link svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }

/* Small-screen polish */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
  .section-head { margin-bottom: 20px; }
  .hero-corp h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .facts { grid-template-columns: 1fr 1fr; }
}
.footer-grid { padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-contact-link { margin-top: 0; }
.advisor-line .icon-btn-wa { flex: 0 0 auto; }
.advisor-line .icon-btn-wa svg { width: 15px; height: 15px; color: #fff; }
@media (min-width: 1081px) { .nav-item > button, .nav-item > a { white-space: nowrap; } }
.branch-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.branch { display: grid; gap: 10px; align-content: start; }
.branch h3 { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.branch address { font-style: normal; color: var(--ink-soft); }
.branch-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.branch-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; overflow-wrap: anywhere; }
.branch-contact svg { width: 18px; height: 18px; color: var(--gold-text); flex: 0 0 auto; }
.branch-contact .icon-btn-wa svg { width: 12px; height: 12px; color: #fff; }

/* No automatic hyphenation anywhere: words wrap whole at word boundaries */
html, body { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
.utility-phone { white-space: nowrap; }
.utility-contact { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
@media (max-width: 720px) { .utility-contact { gap: 10px 14px; } .utility .wrap { font-size: .82rem; } }
@media (max-width: 360px) { .utility-contact svg { display: none; } .utility .wrap { font-size: .78rem; } }
.advisor-phone { display: block; text-decoration: none; color: var(--ink); white-space: nowrap; }
.advisor-phone:hover { color: var(--gold-text); }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; }
.visa-gateway { display: grid; gap: 18px 32px; align-items: center; grid-template-columns: minmax(0, 1fr); background: var(--green); color: #dfe6f1; border-radius: var(--r-l); padding: clamp(22px, 4vw, 36px); border-bottom: 3px solid var(--gold); }
@media (min-width: 900px) { .visa-gateway { grid-template-columns: minmax(0, 1.4fr) auto; } }
.visa-gateway h2 { color: #fff; font-size: var(--fs-4); margin: 0 0 6px; }
.visa-gateway p { margin: 0; color: #c9d4e4; }
.visa-gateway .btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.visa-gateway .btn-line:hover { background: #fff; color: var(--green); }

/* ===== Phase 1 (2026-10-05): global safety rules =====
   1. Icons: every Heroicon / inline icon gets a default size. :where() has zero specificity, so each component's own
      icon rule (e.g. .contact-card .ico = 40px) still wins; an icon with no component rule can no longer grow to fill
      its container (root cause of the 1,018px Contact-page icons). */
:where(svg[data-slot="icon"], svg.lx-icon) { width: 1.25em; height: 1.25em; vertical-align: -0.2em; }

/* 2. Phone numbers: each number is its own block-level link, so two numbers can never run together. */
.advisor-line > span > .advisor-phone { display: block; }
.advisor-line > span > .advisor-phone + .advisor-phone { margin-top: 2px; }

/* 3. Content tables: narrow tables fit the screen; wide ones scroll sideways with a visible edge shadow. */
.compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%;
  background: linear-gradient(90deg, var(--paper) 30%, rgba(255,255,255,0)) left / 24px 100% no-repeat local,
              linear-gradient(270deg, var(--paper) 30%, rgba(255,255,255,0)) right / 24px 100% no-repeat local,
              radial-gradient(farthest-side at 0 50%, rgba(11,31,58,.18), transparent) left / 10px 100% no-repeat scroll,
              radial-gradient(farthest-side at 100% 50%, rgba(11,31,58,.18), transparent) right / 10px 100% no-repeat scroll; }
.compare-table:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.compare-table table { min-width: 0; width: 100%; }
.compare-table th, .compare-table td { min-width: 7.5rem; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.compare-table td.num, .compare-table th.num { min-width: 0; }

/* 4. Buttons on small screens: never wider than the screen; long labels wrap instead of growing the button. */
main .btn { max-width: 100%; }
@media (max-width: 560px) {
  main .btn { white-space: normal; text-align: center; line-height: 1.2; }
  main .btn-lg { padding: 12px 18px; font-size: 1rem; }
  main .form button[type="submit"].btn { width: 100%; }
}

/* 5. Header on very narrow phones (≤400px): the language button shows its icon only (its accessible name still
      says the language), so the menu button always fits on screen. */
@media (max-width: 400px) {
  .lang > button { padding: 9px 10px; }
  .lang > button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ===== Phase 2 (2026-10-06): shared contact components, nested menus, WhatsApp options ===== */
/* Phone / email lists — every number is its own item; numbers never wrap mid-number. */
.lx-phones, .lx-emails { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lx-phone, .lx-email, .lx-wa-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 24px; }
.lx-phone-number { white-space: nowrap; }
.lx-email span { overflow-wrap: anywhere; }
.lx-phone svg, .lx-email svg { width: 16px; height: 16px; flex: 0 0 auto; }
.lx-phones--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.utility-contact .lx-phone { font-weight: 600; }
.utility-contact .lx-phone svg { color: var(--gold); }
.branch-contact.lx-phones svg { width: 18px; height: 18px; color: var(--gold-text); }
.fact .lx-phones { gap: 4px; }

/* Footer contact column */
.footer-contact { display: grid; gap: 10px; }
.footer-contact-list { display: grid; gap: 8px; }
.footer-contact .lx-phone svg, .footer-contact .lx-email svg { color: var(--gold); }
.footer-contact .lx-phone, .footer-contact .lx-email { font-weight: 600; }
.footer-address { font-style: normal; display: flex; gap: 8px; align-items: flex-start; color: #c4cfdf; }
.footer-address svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.footer-hours { margin: 4px 0 0; color: #c4cfdf; }

/* Mobile menu contact block */
.nav-contact { display: grid; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.nav-contact .lx-phone, .nav-contact .lx-wa-link { color: var(--green); font-weight: 600; padding: 6px 2px; min-height: 44px; }
.nav-contact .lx-phone svg { color: var(--gold-text); }
.nav-contact .icon-btn-wa { width: 24px; height: 24px; }

/* Nested menus (third level). Desktop: sub-items listed under their item inside the mega panel.
   Mobile drawer: each item with sub-items gets its own expand/collapse button. */
.mega-group { display: grid; align-content: start; }
.mega-group-head { display: flex; align-items: flex-start; gap: 4px; }
.mega-group-head > a { flex: 1 1 auto; min-width: 0; }
.mega-sub-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--green); cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; flex: 0 0 auto; }
.mega-sub-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.mega-group.open > .mega-group-head .mega-sub-toggle svg { transform: rotate(180deg); }
.mega-sub { list-style: none; margin: 0 0 6px 10px; padding: 0 0 0 10px; border-left: 2px solid var(--gold-tint); display: grid; gap: 0; }
.mega-cols .mega-sub a { padding: 6px 10px; font-size: var(--fs-0); }
@media (min-width: 1081px) {
  /* Open on keyboard focus and on hover (mouse), as well as on click. */
  .nav-item:focus-within > .mega { display: block; }
  @media (hover: hover) { .nav-item:hover > .mega { display: block; } }
}
@media (max-width: 1080px) {
  .mega-sub-toggle { display: inline-flex; }
  .mega-sub { display: none; }
  .mega-group.open > .mega-sub { display: grid; }
  .mega-cols a { min-height: 44px; }
}

/* WhatsApp floating button options */
.wa-fab--left { right: auto; left: 18px; }
.wa-fab--sm { padding: 10px; } .wa-fab--sm svg { width: 22px; height: 22px; }
.wa-fab--lg { padding: 16px; } .wa-fab--lg svg { width: 32px; height: 32px; }
@media (min-width: 1081px) { .wa-fab.wa-fab--no-desktop { display: none; } }
@media (max-width: 1080px) { .wa-fab.wa-fab--no-mobile { display: none; } }

/* Mobile menu fix (found 2026-10-06; also present in the 4 Oct release): on screens ≤1080px the header's
   backdrop-filter made it the containing block of the fixed menu drawer, so the drawer was only as tall as the header,
   and the drawer sat under the page overlay (.scrim), which swallowed every tap. The header background is already
   97% opaque, so the blur is dropped on small screens, and the header is lifted above the overlay while the menu is open. */
@media (max-width: 1080px) {
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.nav-open .header { z-index: 70; }
}

/* ===== Global content justification (Phase 2) =====
   Paragraph content inside the page body (<main>) is justified: paragraphs, page introductions, rich text,
   article and service text, FAQ answers and card text. List items are not (owner's decision, 6 Oct). :where() keeps this rule at the
   lowest priority, so any component that sets its own alignment still wins.
   Justification only changes lines that wrap, so short one-line labels look the same. */
main :where(p, blockquote, figcaption), main .lead, main .faq .answer {
  text-align: justify; text-justify: inter-word;
}
/* Point-based items (bullet / numbered lists, steps, checklists) and short values stay normally aligned. */
main :is(li, li p, dd) { text-align: start; }
/* UI inside <main> keeps its normal alignment: navigation, breadcrumbs, forms, tables, buttons, chips, badges,
   pagers, contact rows (phones, emails, WhatsApp), the "Talk to our team" box and job metadata. */
main :is(nav, form, table, .breadcrumbs, .btn, .btn-row, .chip, .chips, .badge, .pager, .tabs, .lx-phones, .lx-emails,
  .contact-card, .contact-cards, .branch-contact, .advisor, .job-meta, .facts, .stats, .hero-actions, .legal-links, .mobile-bar)
  :is(p, li, dd, blockquote, figcaption, .lead) { text-align: start; }
/* Centred sections keep their centring. */
main :is(.section-head--center, .center, .text-center) :is(p, li, .lead) { text-align: inherit; }
/* Comfortable reading on small screens: slightly tighter word spacing range and a touch more line height. */
@media (max-width: 560px) {
  main :where(p, li, dd, blockquote), main .lead { line-height: 1.65; word-spacing: -0.01em; }
}

/* Branch / office facts: long email addresses wrap instead of pushing the box wider than the screen. */
.fact { min-width: 0; }
.fact dd, .fact dd a { overflow-wrap: anywhere; }
@media (max-width: 430px) { .facts { grid-template-columns: 1fr; } }
/* Headings and buttons are never justified, even inside justified content areas. */
main :is(h1, h2, h3, h4, h5, h6, .btn, button, summary) { text-align: start; }
main :is(.section-head--center, .center, .text-center) :is(h1, h2, h3, h4, .btn) { text-align: inherit; }
/* Phones (≤430px): justified lines are short, so long words would leave large gaps. Automatic hyphenation (browser
   dictionary for the page language) keeps the word spacing even. Remove this block to go back to whole-word wrapping. */
@media (max-width: 430px) {
  main :where(p, blockquote), main .lead, main .faq .answer { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
}

/* Very narrow phones (≤360px, e.g. 320px devices) */
.notice > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .header .wrap { gap: 10px; }
  .brand-word { font-size: 1.15rem; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 8px 10px; font-size: .84rem; }
  .menu-toggle { padding: 8px; }
  .mobile-bar { gap: 6px; padding-inline: 8px; }
  .mobile-bar .btn { padding: 10px 8px; font-size: .86rem; line-height: 1.15; }
  main .btn-lg { padding: 11px 14px; font-size: .95rem; }
}
