@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* ==========================================================================
   NOWUSA — Labour & Trade Union website
   Design system: deep navy, union red, gold accents, warm grey, white.
   Fonts: Montserrat (headings) / Inter (body).
   ========================================================================== */

:root {
  /* Brand palette (logo-inspired) */
  --navy:        #0f2c52;
  --navy-900:    #0a1f3a;
  --navy-800:    #122f57;
  --red:         #d12027;
  --red-dark:    #a8161c;
  --gold:        #f0b32a;
  --gold-dark:   #d49b1c;
  --green:       #1f8a4c;

  /* Neutrals (warm grey) */
  --white:   #ffffff;
  --grey-50: #f7f6f4;
  --grey-100:#efedea;
  --grey-200:#e2dfd9;
  --grey-300:#cfcbc3;
  --grey-500:#8a857c;
  --ink:     #1c2532;
  --ink-soft:#46505f;

  /* Tokens */
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 44, 82, .07);
  --shadow:    0 14px 40px rgba(15, 44, 82, .12);
  --shadow-lg: 0 26px 70px rgba(10, 31, 58, .22);
  --t: .28s cubic-bezier(.4, 0, .2, 1);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-btn:  "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
i.fa-icon { display: inline-block; line-height: 1; text-align: center; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 900; letter-spacing: -.5px; }
/* Body section titles */
h2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -.3px; }
/* Card titles */
h3 { font-size: 24px; line-height: 31px; font-weight: 600; }
p  { color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2.5px;
  font-weight: 700; font-size: .8rem; color: var(--red);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--gold); border-radius: 3px; }
.eyebrow.center { justify-content: center; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }
.bg-grey { background: var(--grey-50); }
.bg-navy { background: var(--navy); color: #dce6f2; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.grid { display: grid; gap: 16px; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 50px; transition: var(--t);
  text-align: center; white-space: nowrap; line-height: 1;
}
.btn svg, .btn i { width: 14px; height: 14px; font-size: 14px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(209, 32, 39, .3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--grey-300); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ----- Announcement bar ----- */
.announce {
  background: var(--navy-900); color: #eaf1fb; font-size: .9rem;
  text-align: center; padding: 9px 16px;
}
.announce a { color: var(--gold); font-weight: 700; }
.announce strong { color: #fff; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--grey-100);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; position: relative; z-index: 5; }
.brand img { height: 107px; width: auto; }   /* +30%; taller than the 76px header so the emblem overlaps the bars above & below */
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  padding: 9px 14px; border-radius: 8px; color: var(--navy); transition: var(--t);
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links > a, .nav-links .dropdown-toggle { white-space: nowrap; }
/* Smooth gradient dividers between top-level menu items */
.nav-links > * { position: relative; }
.nav-links > *:not(:first-child)::before {
  content: ""; position: absolute; left: -1px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 16px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--grey-300) 50%, transparent);
}
.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta .btn { padding: 10px 18px; font-size: .72rem; min-width: 124px; }
/* Header "Join Now": outline style like Get Support, but red border, no shadow */
.nav-cta .btn-primary { background: transparent; color: var(--red); border: 2px solid var(--red); box-shadow: none; }
.nav-cta .btn-primary:hover { background: var(--red); color: #fff; box-shadow: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: var(--t); }
.mobile-menu { display: none; }   /* hidden on desktop; shown via media query below */

/* Dropdown navigation */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.dropdown-toggle .caret { width: 11px; height: 11px; transition: transform var(--t); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px 0; display: flex; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--t); z-index: 70;
  overflow: hidden;
}
/* invisible bridge across the gap so hover doesn't drop (kept on parent so it survives overflow:hidden) */
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown a { padding: 11px 20px; border-radius: 0; font-size: .76rem; white-space: nowrap; }
.dropdown a:hover { background: #111418; color: #fff; }

/* Mobile submenu groups */
.m-group-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 13px 12px; font-family: var(--font-head); font-weight: 600; color: var(--navy); border-radius: 8px; }
.m-group-toggle .caret { width: 14px; height: 14px; color: var(--red); transition: transform var(--t); }
.m-group-toggle.open .caret { transform: rotate(180deg); }
.m-group-toggle:hover { background: var(--grey-100); }
.m-sub { display: none; flex-direction: column; padding-left: 12px; border-left: 2px solid var(--grey-200); margin: 2px 0 6px 12px; }
.m-sub.open { display: flex; }
.m-sub a { padding: 11px 12px; font-size: .92rem; color: var(--ink-soft); border-radius: 8px; }
.m-sub a:hover { color: var(--red); background: var(--grey-50); }

/* ----- Hero ----- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10,31,58,.92) 0%, rgba(15,44,82,.78) 45%, rgba(15,44,82,.45) 100%);
}
/* Two-column hero: text left, red counter card right */
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding: clamp(64px, 9vw, 120px) 0; }
.hero-inner { max-width: 600px; }
.hero h1 { color: #fff; font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: 0; }
.hero .btn { font-family: var(--font-btn); font-size: 18px; line-height: 27px; font-weight: 500; }
.hero p { color: #d8e3f2; font-size: 1.18rem; margin-top: 20px; max-width: 600px; }
.hero .btn-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Red stats card */
.hero-stats-card { background: var(--red); border-radius: 26px; padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 26px 70px rgba(0,0,0,.38); display: flex; flex-direction: column; gap: clamp(14px, 2.2vw, 24px); }
.hstat .num { font-family: var(--font-head); font-weight: 600; font-size: 48px; line-height: 48px; color: #fff; }
.hstat .num span { color: #fff; }
.hstat .label { color: rgba(255,255,255,.92); font-weight: 600; font-size: 1rem; margin-top: 5px; }
.hstat + .hstat { border-top: 1px solid rgba(255,255,255,.2); padding-top: clamp(14px, 2.2vw, 24px); }

/* Page hero (inner pages, shorter) */
.page-hero { position: relative; color: #fff; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,31,58,.93), rgba(15,44,82,.7));
}
.page-hero-inner { padding: clamp(56px, 9vw, 110px) 0; max-width: 720px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d8e3f2; font-size: 1.15rem; margin-top: 16px; }
.breadcrumb { font-size: .85rem; color: #aebfd6; margin-bottom: 16px; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }

/* ----- Stats ----- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 26px 14px; }
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: var(--red); line-height: 1; }
.stat .num span { color: var(--gold); }
.stat .label { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.bg-navy .stat .label { color: #b9c8de; }

/* ----- Cards ----- */
.cards { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius);
  padding: 30px; transition: var(--t); height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 51px; height: 51px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red); color: #fff; margin-bottom: 18px;
  transition: transform var(--t), background var(--t); }
.card .ico svg, .card .ico i { width: 30px; height: 30px; font-size: 30px; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }
.card .ico i.card-thin-icon {
  width: 24px; height: 24px; font-size: 24px; font-weight: 400; opacity: .95;
}
.card .ico i.fa-solid.card-thin-icon {
  font-weight: 900; opacity: .88;
}
.card:hover .ico { background: var(--red-dark); transform: translateY(-3px); }
.card:hover .ico svg, .card:hover .ico i { transform: scale(1.08); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .97rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.card .more:hover { gap: 10px; }

/* Pathway / link cards */
.support-pathways { background: #102f54; }
.support-pathways .section-head { margin-bottom: 40px; }
.support-pathways .eyebrow {
  font-family: var(--font-body); letter-spacing: .18em; font-size: .73rem; color: var(--gold);
}
.support-pathways .eyebrow::before { background: var(--gold); }
.support-pathways .section-head h2 {
  font-family: var(--font-body); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08;
  font-weight: 600; letter-spacing: 0; color: #fff;
}
.support-pathways .cards { gap: 18px; }
.pathway {
  position: relative; display: flex; align-items: flex-start; gap: 18px; min-height: 116px;
  background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--radius-sm); padding: 24px 56px 24px 24px; transition: var(--t); height: 100%;
}
.pathway::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
  border-top: 2px solid var(--red); border-right: 2px solid var(--red);
  transform: translateY(-50%) rotate(45deg); opacity: .55; transition: var(--t);
}
.pathway:hover {
  transform: translateY(-4px); border-color: rgba(240,179,42,.72);
}
.pathway:hover::after { right: 20px; opacity: 1; }
.pathway .ico {
  width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0; display: grid; place-items: center;
  background: var(--red); color: #fff; transition: var(--t);
}
.pathway .ico svg, .pathway .ico i { width: 23px; height: 23px; font-size: 23px; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }
.pathway .ico i.card-thin-icon {
  width: 20px; height: 20px; font-size: 20px; font-weight: 400; opacity: .95;
}
.pathway .ico i.fa-solid.card-thin-icon {
  font-weight: 900; opacity: .88;
}
.pathway:hover .ico { background: var(--red-dark); transform: translateY(-2px); }
.pathway:hover .ico svg, .pathway:hover .ico i { transform: scale(1.08); }
.pathway h3 {
  margin: 0 0 5px; color: var(--navy); font-family: var(--font-body);
  font-size: 1rem; line-height: 1.25; font-weight: 600; letter-spacing: 0;
}
.pathway p { margin: 0; color: var(--ink-soft); font-size: .91rem; line-height: 1.45; }

/* Sector pills */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--grey-200);
  border-radius: 50px; padding: 11px 20px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); transition: var(--t);
}
.sector:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.sector svg, .sector i { width: 14px; height: 14px; font-size: 14px; color: var(--gold); }

/* ----- Campaign cards ----- */
.campaign { background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius); overflow: hidden; transition: var(--t); height: 100%; display: flex; flex-direction: column; }
.campaign:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.campaign .media { aspect-ratio: 16/10; overflow: hidden; }
.campaign .media img { width: 100%; height: 100%; object-fit: cover; transition: var(--t); }
.campaign:hover .media img { transform: scale(1.05); }
.campaign .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(209,32,39,.1); color: var(--red); padding: 5px 11px; border-radius: 50px; margin-bottom: 12px; }
.campaign h3 { margin-bottom: 8px; }
.campaign p { font-size: .94rem; flex: 1; }
.progress { margin: 18px 0 6px; }
.progress-bar { height: 8px; background: var(--grey-200); border-radius: 50px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 50px; }
.progress-meta { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-soft); margin-top: 8px; font-weight: 600; }

/* ----- Feature / split sections ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split.governance-affiliations { align-items: start; }
.split.rights-preview { align-items: start; }
.rights-preview .split-media { margin-top: 8px; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split ul.ticks { margin-top: 20px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ticks li svg, .ticks li i { width: 18px; height: 18px; font-size: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ----- Victories / list items ----- */
.victory { display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--grey-100); height: 100%; }
.victory .num { font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; color: var(--gold); line-height: 1; }
.victory h3 { font-size: 1.08rem; margin-bottom: 6px; }
.victory p { font-size: .92rem; }

/* ----- Testimonials ----- */
.quote { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--grey-100); height: 100%; position: relative; }
.quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4.5rem; color: var(--gold); line-height: 1; position: absolute; top: 8px; right: 22px; opacity: .35; }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--red)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote .who strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.quote .who span { font-size: .84rem; color: var(--ink-soft); }

/* ----- Timeline ----- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 3px; background: var(--grey-200); border-radius: 3px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--grey-200); }
.tl-item .year { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 1.05rem; }
.tl-item h3 { font-size: 1.12rem; margin: 4px 0 6px; }

/* ----- Team / leadership ----- */
.person { text-align: center; background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 18px; height: 100%; transition: var(--t); }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.person .ph { aspect-ratio: 1; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--navy), var(--navy-800)); display: grid; place-items: center; color: var(--gold); font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; margin-bottom: 14px; overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person h3 { font-size: 1.1rem; margin-bottom: 2px; }
.person .role { color: var(--red); font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.person .region { font-size: .85rem; color: var(--ink-soft); }

/* ----- Forms ----- */
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--grey-100); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm);
  background: var(--grey-50); color: var(--ink); transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(15,44,82,.1);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--red); }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; background: rgba(31,138,76,.1); border: 1px solid var(--green); color: #14633a; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }
.captcha-field { display: flex; justify-content: flex-start; margin: 18px 0 4px; min-height: 78px; }

/* ----- FAQ accordion ----- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.faq-q .pm { width: 19px; height: 19px; flex-shrink: 0; position: relative; transition: var(--t); color: var(--red); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a p { padding: 0 22px 20px; font-size: .96rem; }

/* ----- Issue checker / quiz ----- */
.checker { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--grey-100); padding: clamp(24px, 4vw, 40px); max-width: 740px; margin-inline: auto; }
.checker .step { display: none; }
.checker .step.active { display: block; animation: fade .3s ease; }
.choice-grid { display: grid; gap: 12px; margin-top: 20px; }
.choice { text-align: left; width: 100%; padding: 16px 18px; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm); background: var(--grey-50);
  font-family: var(--font-head); font-weight: 600; color: var(--navy); transition: var(--t); display: flex; align-items: center; gap: 12px; }
.choice:hover { border-color: var(--red); background: #fff; transform: translateX(4px); }
.checker-result { display: none; }
.checker-result.show { display: block; animation: fade .3s ease; }
.result-box { background: var(--navy); color: #fff; padding: 26px; border-radius: var(--radius); }
.result-box h3 { color: #fff; }

/* ----- Download request modal ----- */
body.modal-open { overflow: hidden; }
.download-modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 22px; isolation: isolate; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--t), visibility var(--t);
}
.download-modal[aria-hidden="false"] { opacity: 1; visibility: visible; pointer-events: auto; }
.download-modal-backdrop {
  position: absolute; inset: 0; background: rgba(10,31,58,.72); backdrop-filter: blur(5px); z-index: -1;
}
.download-modal-panel {
  position: relative; width: min(100%, 640px); max-height: calc(100vh - 44px); overflow-y: auto;
  padding: clamp(18px, 3vw, 26px);
}
.download-modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1; z-index: 2; transition: var(--t);
}
.download-modal-close:hover { background: #111418; color: #fff; }
.download-modal-head { margin-bottom: 24px; }
.download-modal-head .eyebrow { color: var(--gold); }
.download-modal-head .eyebrow::before { background: var(--gold); }
.download-request-form .btn { margin-top: 4px; }

/* ----- Search / filter bar ----- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--grey-100); }
.filter-bar input, .filter-bar select { flex: 1; min-width: 160px; padding: 12px 14px; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm); background: var(--grey-50); }
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--navy); }
.resource { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 22px; transition: var(--t); height: 100%; }
.resource:hover { box-shadow: var(--shadow-sm); border-color: var(--grey-200); }
.resource .ftype { width: 46px; height: 56px; border-radius: 6px; background: var(--grey-100); color: var(--red); display: grid; place-items: center; flex-shrink: 0; font-family: var(--font-head); font-weight: 800; font-size: .7rem; }
.resource h3 { font-size: 1.02rem; margin-bottom: 4px; }
.resource p { font-size: .88rem; margin-bottom: 8px; }
.resource .meta { font-size: .78rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.no-results { text-align: center; padding: 40px; color: var(--ink-soft); display: none; }

/* ----- Branch cards ----- */
.branch { background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 26px; height: 100%; transition: var(--t); }
.branch:hover { box-shadow: var(--shadow); }
.branch h3 { display: flex; align-items: center; gap: 9px; }
.branch .region-tag { font-size: .78rem; color: var(--red); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.branch dl { margin: 16px 0; display: grid; gap: 8px; font-size: .92rem; }
.branch dl div { display: flex; gap: 10px; }
.branch dt { color: var(--gold); flex-shrink: 0; }
.branch dd { color: var(--ink-soft); }

/* Map placeholder */
.map-box { aspect-ratio: 21/9; border-radius: var(--radius); background:
  radial-gradient(circle at 30% 40%, rgba(240,179,42,.25), transparent 40%),
  radial-gradient(circle at 70% 65%, rgba(209,32,39,.25), transparent 40%),
  linear-gradient(135deg, var(--navy), var(--navy-900));
  display: grid; place-items: center; color: #cdd9ea; text-align: center; padding: 30px; position: relative; overflow: hidden; }
.map-box .pin { position: absolute; width: 16px; height: 16px; background: var(--red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 4px rgba(209,32,39,.3); }
.map-box.map-embed {
  display: block; padding: 0; background: #fff; border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm); min-height: 320px;
}
.map-box.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-box .map-link {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 8px 14px; border-radius: 999px;
  background: #ffa705; color: var(--navy-900); font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; box-shadow: 0 8px 18px rgba(10,31,58,.18);
}

/* ----- News / post cards (block style) ----- */
.post { background: var(--navy-900); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: var(--t); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.post:hover .post-media img { transform: scale(1.06); }
.post-body { position: relative; padding: 42px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-date { position: absolute; top: -32px; left: 22px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); color: var(--navy-900); display: grid; place-items: center; line-height: 1;
  font-family: var(--font-head); font-weight: 800; text-align: center; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.post-date strong { display: block; font-size: 1.35rem; }
.post-date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; }
.post-meta { display: flex; gap: 18px; color: #9fb1cc; font-size: .82rem; font-weight: 600; margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg, .post-meta i { width: 12px; height: 12px; font-size: 12px; color: var(--gold); }
.post h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.post p { color: #b9c8de; font-size: .94rem; flex: 1; margin-bottom: 18px; }
.post .btn { align-self: flex-start; }

/* ----- CTA band ----- */

/* ----- CTA band ----- */
.cta-band { position: relative; color: #fff; isolation: isolate; text-align: center; }
.cta-band-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(10,31,58,.9), rgba(15,44,82,.86)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8e3f2; max-width: 580px; margin: 16px auto 28px; font-size: 1.12rem; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* Light-theme variant (image stays, but with a soft white wash and dark text) */
.cta-band.light { color: var(--ink); }
.cta-band.light::after { background: linear-gradient(rgba(255,255,255,.93), rgba(247,246,244,.92)); }
.cta-band.light h2 { color: var(--navy); }
.cta-band.light p { color: var(--ink-soft); }
/* Gold/yellow-theme variant */
.cta-band.gold { color: var(--navy-900); }
.cta-band.gold::after { background: linear-gradient(135deg, rgba(240,179,42,.96), rgba(212,155,28,.97)); }
.cta-band.gold h2 { color: var(--navy-900); }
.cta-band.gold p { color: var(--navy-900); opacity: .85; }

/* contact info chips */
.info-row { display: flex; flex-wrap: wrap; gap: 14px; }
.info-chip { display: flex; gap: 13px; align-items: center; background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 18px 20px; flex: 1; min-width: 220px; }
.info-chip .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.info-chip strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.info-chip span { font-size: .88rem; color: var(--ink-soft); }

/* ----- Footer ----- */
.site-footer { background: var(--navy-900); color: #aebfd6; padding-top: 64px; font-size: .92rem; }
/* Footer block centered on the page (a fixed-width cluster), content left-aligned */
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 1.5fr; gap: 64px; padding-bottom: 44px; max-width: 1120px; margin-inline: auto; }
/* Smooth gradient dividers between footer columns */
.footer-grid > * { position: relative; }
.footer-grid > *:not(:first-child)::before {
  content: ""; position: absolute; left: -32px; top: 4px; bottom: 4px; width: 1px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.16) 18%, rgba(255,255,255,.16) 82%, transparent);
}
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.site-footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-brand img { height: 84px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #93a6c2; max-width: 340px; }
.socials { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; background: #ffa705; display: inline-grid; place-items: center; color: #06224a; border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 -2px 0 rgba(0,0,0,.16); transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.socials a:hover, .socials a:focus-visible { background: #ffbd3f; color: #031a3a; transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 10px 22px rgba(0,0,0,.18); }
.socials a:focus-visible { outline: 2px solid rgba(255,255,255,.78); outline-offset: 3px; }
.socials svg, .socials i { display: block; width: 22px; height: 22px; font-size: 22px; overflow: visible; stroke-width: 2.7; }
.socials svg [stroke] { stroke-linecap: round; stroke-linejoin: round; }
.site-footer .socials { gap: 8px; margin-top: 16px; }
.site-footer .socials a { width: 36px; height: 36px; border-radius: 11px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.14); }
.site-footer .socials svg, .site-footer .socials i { width: 18px; height: 18px; font-size: 18px; }
.contact-socials { gap: 7px; margin-top: 14px; }
.contact-socials a {
  width: 46px; height: 46px; border-radius: 13px; background: #ffa705; color: #06224a;
  box-shadow: none; border: 1px solid rgba(6,34,74,.12);
}
.contact-socials a:hover, .contact-socials a:focus-visible { background: #ffa705; color: #031a3a; box-shadow: 0 9px 20px rgba(10,31,58,.14); }
.contact-socials svg, .contact-socials i {
  width: 25px; height: 25px; font-size: 25px; font-weight: 400; opacity: .9;
}
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; white-space: nowrap; }
.footer-contact svg, .footer-contact i { width: 14px; height: 14px; font-size: 14px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .85rem; color: #7e93b2; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ----- Newsletter ----- */
.newsletter { background: linear-gradient(120deg, var(--navy), var(--red)); border-radius: var(--radius); padding: clamp(30px, 5vw, 54px); color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #e4ecf7; }
.newsletter form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; margin-top: 24px; }
.newsletter input, .newsletter select { padding: 14px; border-radius: var(--radius-sm); border: 0; background: rgba(255,255,255,.95); }
.newsletter .check { color: #e4ecf7; grid-column: 1 / -1; margin-top: 4px; }
.newsletter .check a { color: var(--gold); text-decoration: underline; }

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 28px; }
.disclaimer { background: var(--grey-100); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .9rem; color: var(--ink-soft); }
.disclaimer strong { color: var(--navy); }
.divider { height: 1px; background: var(--grey-200); border: 0; margin: 0; }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > *::before { display: none; }
  .newsletter form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--grey-100);
    padding: 16px 18px 24px; display: none; flex-direction: column; gap: 5px; z-index: 55; box-shadow: var(--shadow);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a,
  .m-group-toggle {
    padding: 11px 12px; font-family: var(--font-body); font-size: .82rem; line-height: 1.2;
    font-weight: 700; color: var(--navy); border-radius: 7px;
  }
  .mobile-menu > a:not(.btn):hover,
  .mobile-menu > a:not(.btn):focus-visible,
  .m-group-toggle:hover,
  .m-group-toggle:focus-visible,
  .m-group-toggle.open,
  .m-sub a:hover,
  .m-sub a:focus-visible {
    background: #111418; color: #fff;
  }
  .mobile-menu > a.active:not(.btn) { background: var(--grey-100); color: var(--red); }
  .mobile-menu > a.active:not(.btn):hover,
  .mobile-menu > a.active:not(.btn):focus-visible { background: #111418; color: #fff; }
  .m-group-toggle:hover .caret,
  .m-group-toggle:focus-visible .caret,
  .m-group-toggle.open .caret { color: #fff; }
  .m-sub { margin: 1px 0 6px 10px; padding-left: 10px; border-left-color: var(--grey-100); gap: 2px; }
  .m-sub a { padding: 10px 12px; font-size: .8rem; font-weight: 600; color: var(--navy); border-radius: 7px; }
  .mobile-menu .btn { margin-top: 8px; padding: 12px 16px; font-family: var(--font-body); font-size: .82rem; line-height: 1.2; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats-card { max-width: 460px; }
  .hero h1 { font-size: 42px; line-height: 44px; }
  h2 { font-size: 34px; line-height: 38px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 34px; line-height: 38px; }
  h2 { font-size: 28px; line-height: 32px; }
  .hstat .num { font-size: 38px; line-height: 38px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* NAV-UPPERCASE */
.nav-links a, .nav-cta .btn, .mobile-menu a, .m-group-toggle { text-transform: uppercase; letter-spacing: .4px; }
