:root {
  --navy: #004876;
  --navy-deep: #00345a;
  --navy-darker: #002339;
  --gold: #ffb819;
  --gold-soft: #ffcb55;
  --ink: #0f1b2d;
  --slate: #4a5a6e;
  --mist: #f4f7fb;
  --line: #e4ebf3;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 1px 3px rgba(15, 27, 45, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 72, 118, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--slate); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.utility-bar a { color: rgba(255, 255, 255, 0.85); }
.utility-bar a:hover { color: var(--gold); }
.utility-left { display: flex; gap: 18px; flex-wrap: wrap; }
.utility-right { display: flex; gap: 8px; }

.btn-utility {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s var(--ease);
}
.btn-utility.client { background: var(--gold); color: var(--ink); }
.btn-utility.client:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-utility.employee,
.btn-utility.support {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-utility.employee:hover,
.btn-utility.support:hover { border-color: var(--gold); color: var(--gold); }

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand svg { height: 42px; width: auto; }

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
}
.nav-links a:hover { background: var(--mist); color: var(--navy); }
.nav-links a.active { color: var(--navy); background: var(--mist); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 11px 20px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--navy-deep) !important; color: var(--white) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ============ FAQ accordion ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 32px auto 0;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--navy-tint, #d6e0ea); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  position: relative;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 300;
  transition: transform 0.18s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  padding: 4px 22px 20px;
  color: var(--slate);
  line-height: 1.65;
  font-size: 0.96rem;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 8px 0 8px 22px; padding: 0; }
.faq-answer li { margin-bottom: 6px; line-height: 1.55; }
.faq-answer strong { color: var(--ink); }

/* Submenu (Services dropdown) */
.has-submenu { position: relative; }
.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.has-submenu .caret {
  font-size: 0.7em;
  opacity: 0.65;
  transition: transform 0.18s var(--ease);
  display: inline-block;
}
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 27, 45, 0.10);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s var(--ease);
  z-index: 100;
}
/* Invisible bridge over the 6px gap between the parent link and the
   submenu. Without this, the cursor traveling from the link down to
   the submenu briefly hovers nothing, :hover flips off, and the menu
   closes mid-transition. */
.submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 500;
}
.submenu a:hover { background: var(--mist); color: var(--navy); }
.submenu-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 8px;
  list-style: none;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-submenu:hover > a .caret,
.has-submenu:focus-within > a .caret {
  transform: rotate(180deg);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--white); }
.btn-secondary:hover { background: transparent; color: var(--white); border-color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 184, 25, 0.18), transparent 60%),
    radial-gradient(800px 600px at 0% 10%, rgba(0, 72, 118, 0.95), transparent 70%),
    linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero h1, .hero h2 { color: var(--white); }
.hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.13rem; max-width: 560px; }
/* Body links inside the hero and page headers: the global link colour is
   navy, which is invisible on those navy backgrounds. Gold underlined
   instead. Declared next to .hero p / .page-header p so the two stay
   together; .page-header itself is defined further down. */
.hero p a,
.page-header p a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero p a:hover,
.page-header p a:hover { color: var(--white); }

.eyebrow {
  display: inline-block;
  padding: 6px 14px 6px 18px;
  border-radius: 999px;
  background: rgba(255, 184, 25, 0.22);
  border: 1px solid rgba(255, 184, 25, 0.55);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  white-space: nowrap;
}
.eyebrow .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 72, 118, 0.18);
  margin-right: 14px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* On dark (navy) backgrounds the translucent yellow pill blends into the
   backdrop and the navy text disappears. Use a solid gold pill with
   dark navy text in those contexts so it pops. */
.hero .eyebrow,
.page-header .eyebrow,
.feature-visual .eyebrow,
.info-card .eyebrow,
.section-dark .eyebrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-darker);
}
.hero .eyebrow .dot,
.page-header .eyebrow .dot,
.feature-visual .eyebrow .dot,
.info-card .eyebrow .dot,
.section-dark .eyebrow .dot {
  background: var(--navy-darker);
  box-shadow: 0 0 0 3px rgba(0, 35, 57, 0.22);
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stats .stat strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats .stat span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

/* Hero card visual */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 184, 25, 0.5), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.status-row .label { color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 10px; }
.status-row .value { color: var(--white); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bd47d;
  box-shadow: 0 0 0 0 rgba(43, 212, 125, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 212, 125, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(43, 212, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 212, 125, 0); }
}
.icon-tile {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 184, 25, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.icon-tile svg { width: 16px; height: 16px; }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy-darker); color: rgba(255, 255, 255, 0.85); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.78); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
/* Eyebrow appearance is now consistent everywhere — yellow pill, navy text. */
.section-head p { font-size: 1.08rem; }

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 72, 118, 0.08), rgba(255, 184, 25, 0.12));
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card .icon svg { width: 24px; height: 24px; }
.service-card h3 { color: var(--ink); margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; margin-bottom: 14px; }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-card .more::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}
.service-card:hover .more::after { transform: translateX(4px); }

/* ============ FEATURE / WHY US ============ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; }
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 184, 25, 0.15);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.feature-list h4 { margin: 0 0 4px; color: var(--ink); font-size: 1.05rem; font-weight: 700; font-family: 'Manrope', sans-serif; }
.feature-list p { margin: 0; font-size: 0.95rem; }

.feature-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-visual::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 25, 0.25), transparent 70%);
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.metric {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
}
.metric strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.metric span { color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; }

/* ============ TESTIMONIALS ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial .quote-mark {
  position: absolute;
  top: 22px; right: 26px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
}
.testimonial blockquote {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.65;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial .role { color: var(--slate); font-size: 0.85rem; }
.stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }

/* ============ CTA STRIP ============ */
.cta-strip {
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 184, 25, 0.18), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-strip h2 { color: var(--white); margin-bottom: 8px; }
.cta-strip p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.05rem; }
.cta-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ INDUSTRIES ============ */
.industry-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.industry-pill {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s var(--ease);
}
.industry-pill:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.industry-pill .icon { color: var(--navy); margin-bottom: 10px; display: inline-flex; }
.industry-pill .icon svg { width: 28px; height: 28px; }
.industry-pill h4 { font-size: 0.98rem; margin: 0; color: var(--ink); font-family: 'Manrope', sans-serif; font-weight: 700; }

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.1rem; }
.process-step p { font-size: 0.95rem; margin: 0; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img, .footer-brand svg { height: 38px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; max-width: 340px; }
.footer-col h5 {
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold); }
.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.contact-line svg { color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--gold); }

/* ============ INTERIOR PAGE HEADER ============ */
.page-header {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255, 184, 25, 0.15), transparent 60%),
    linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0 64px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.crumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 14px; }
.crumb a { color: var(--gold-soft); }

/* ============ CONTENT BLOCKS ============ */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 22px; color: var(--slate); }
.prose ul li { margin-bottom: 8px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ============ FORMS ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 72, 118, 0.1);
}
.field textarea { min-height: 140px; resize: vertical; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.info-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.info-card h3 { color: var(--white); }
.info-card .info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.info-card .info-row:last-child { border-bottom: 0; }
.info-card .info-row svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.info-card strong { display: block; color: var(--white); margin-bottom: 2px; }
.info-card a { color: rgba(255, 255, 255, 0.85); }
.info-card a:hover { color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 40px; flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px; }

  /* Mobile: stack the submenu inline under its parent and toggle on tap */
  .has-submenu > a { justify-content: space-between; width: 100%; }
  .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    margin: 4px 0 6px 14px;
    padding: 2px 0 2px 12px;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-submenu.open > .submenu { display: block; }
  .has-submenu.open > a .caret { transform: rotate(180deg); }
  .submenu a { padding: 10px 12px; }
  /* Compact utility bar on mobile — single row, hide email + hours, shrink buttons */
  .utility-bar .container {
    flex-direction: row;
    flex-wrap: nowrap;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 10px;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
  }
  .utility-left {
    font-size: 0.78rem;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
  }
  .utility-left a[href^="mailto:"] { display: none; }
  .utility-left .hidden-sm { display: none; }
  .utility-right { gap: 6px; flex-shrink: 0; }
  .btn-utility { padding: 6px 10px; font-size: 0.72rem; }
  .btn-utility svg { width: 12px; height: 12px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
}

/* Very small phones — collapse login-button text to icon-only to keep
   the phone number + both buttons on a single row. Text stays in the
   DOM for screen readers (font-size: 0 visually collapses it). */
@media (max-width: 420px) {
  .utility-left { font-size: 0.72rem; gap: 8px; }
  .btn-utility {
    padding: 7px 9px;
    font-size: 0;
    gap: 0;
  }
  .btn-utility svg { width: 15px; height: 15px; }
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ ACCESSIBILITY ============ */
/* Skip-to-main link — invisible until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: var(--white);
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Lighter focus ring on dark backgrounds */
.hero a:focus-visible,
.section-dark a:focus-visible,
.cta-strip a:focus-visible,
.feature-visual a:focus-visible,
.info-card a:focus-visible,
.site-footer a:focus-visible,
.utility-bar a:focus-visible,
.btn-utility:focus-visible,
.page-header a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Buttons: keep their visual identity but make focus obvious */
.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.btn-primary:focus-visible { outline-color: var(--navy); }

/* Visually hidden but available to screen readers */
.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;
}

/* Honour OS-level "reduce motion" preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pulse { animation: none !important; }
}

/* ============ KNOWLEDGE / ARTICLES ============ */
.kn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.kn-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}
.kn-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.kn-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--mist);
  overflow: hidden;
}
.kn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.kn-card:hover .kn-card-img img { transform: scale(1.04); }
.kn-card-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.kn-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.kn-card-date { color: var(--slate); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.kn-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
}
.kn-card p { font-size: 0.94rem; color: var(--slate); margin: 0 0 18px; }
.kn-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}
.kn-card-more::after { content: '→'; transition: transform 0.2s var(--ease); }
.kn-card:hover .kn-card-more::after { transform: translateX(4px); }

/* Detail page article */
.kn-article {
  max-width: 880px;
  margin: 0 auto;
}
.kn-prose {
  margin-top: 32px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}
.kn-prose p { margin: 0 0 1.2em; color: var(--ink); }
.kn-prose h2 { margin: 1.8em 0 0.6em; font-size: 1.5rem; color: var(--ink); }
.kn-prose h3 { margin: 1.6em 0 0.5em; font-size: 1.2rem; color: var(--ink); }
.kn-prose ul, .kn-prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.kn-prose li { margin-bottom: 8px; color: var(--ink); }
.kn-prose a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(0,72,118,0.3); text-underline-offset: 3px; }
.kn-prose a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.kn-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5em 0;
}
.kn-prose figure { margin: 1.5em 0; }
.kn-prose figure img { margin: 0; }
.kn-prose figcaption { font-size: 0.88rem; color: var(--slate); text-align: center; margin-top: 8px; }
.kn-prose blockquote {
  margin: 1.5em 0;
  padding: 16px 22px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
  font-style: italic;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.kn-prose code {
  background: var(--mist);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.kn-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
/* Strip the legacy "post link" paragraph that WP appends when there's no excerpt */
.kn-prose p:last-child:has(> a[rel*="nofollow"]) { display: none; }

.kn-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 184, 25, 0.18);
  border: 1px solid rgba(255, 184, 25, 0.4);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 4px 4px 0;
}
/* Inside the navy article header, navy-on-gold becomes invisible. */
.page-header .kn-tag {
  color: #fff;
  background: rgba(255, 184, 25, 0.22);
  border-color: rgba(255, 184, 25, 0.55);
}

.kn-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
}
.kn-nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: all 0.2s var(--ease);
}
.kn-nav-link::before {
  content: 'Previous article';
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.kn-nav-next::before { content: 'Next article'; }
.kn-nav-link:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.kn-nav-link:hover::before { color: var(--navy); }
.kn-nav-next { text-align: right; }

@media (max-width: 720px) {
  .kn-pager { grid-template-columns: 1fr; }
  .kn-nav-next { text-align: left; }
}
