/* ==========================================================================
   INNATE ANALYTICS - MAIN STYLESHEET
   Design System: Scientific, Trustworthy, Precise, Clean, Human, Accessible
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary-blue: #3F70B5;
  --deep-blue: #214F86;
  --secondary-blue: #5B84BC;
  --brand-magenta: #A52A91;
  --deep-magenta: #7D1F70;
  --soft-lavender: #F7F1F8;
  --soft-blue: #F2F7FC;
  --ink: #172333;
  --muted-text: #5D6875;
  --white: #FFFFFF;
  --border: #DCE5EF;
  --border-light: #EBF1F7;
  --success: #238B63;
  --warning: #D97706;
  --error: #DC2626;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4.5rem;  /* 72px */

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(23, 35, 51, 0.04), 0 1px 2px rgba(23, 35, 51, 0.02);
  --shadow-card: 0 4px 20px rgba(33, 79, 134, 0.08);
  --shadow-hover: 0 12px 32px rgba(33, 79, 134, 0.12);
  --shadow-focus: 0 0 0 3px rgba(165, 42, 145, 0.35);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 860px;
}

/* --------------------------------------------------------------------------
   CSS Reset & Base Rules
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-magenta);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-magenta);
  outline-offset: 2px;
}

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
}

.text-magenta { color: var(--brand-magenta); }
.text-blue { color: var(--primary-blue); }
.text-deep-blue { color: var(--deep-blue); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted-text); }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Layout Containers & Grids
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.section-alt {
  background-color: var(--soft-blue);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-lavender {
  background-color: var(--soft-lavender);
}

.section-dark {
  background-color: var(--ink);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}

.section-dark p {
  opacity: 0.9;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-xl);
}
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   Top Utility Bar & Global Header
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--deep-blue);
  color: var(--soft-blue);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #DCE5EF;
}

.topbar-item a {
  color: #FFFFFF;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(165, 42, 145, 0.25);
  border: 1px solid rgba(165, 42, 145, 0.5);
  color: #FFFFFF;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(23, 35, 51, 0.06);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
}

/* Desktop Nav */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-magenta);
  background-color: var(--soft-lavender);
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron,
.nav-item:focus-within .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.75rem;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 1010;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--soft-blue);
  color: var(--deep-blue);
}

.dropdown-link-title {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.dropdown-link-desc {
  font-size: 0.78rem;
  color: var(--muted-text);
  line-height: 1.3;
}

/* Header Action Buttons */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(23, 35, 51, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list {
  list-style: none;
  padding: 1rem;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.mobile-subnav {
  padding-left: 1rem;
  padding-bottom: 0.75rem;
  list-style: none;
}

.mobile-subnav-link {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--muted-text);
}

.mobile-subnav-link:hover {
  color: var(--brand-magenta);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.25rem;
  background-color: var(--soft-blue);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(63, 112, 181, 0.25);
}

.btn-primary:hover {
  background-color: var(--deep-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-magenta {
  background-color: var(--brand-magenta);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(165, 42, 145, 0.25);
}

.btn-magenta:hover {
  background-color: var(--deep-magenta);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-blue {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline-blue:hover {
  background-color: var(--soft-blue);
  border-color: var(--deep-blue);
  color: var(--deep-blue);
}

.btn-outline-magenta {
  background-color: transparent;
  border-color: var(--brand-magenta);
  color: var(--brand-magenta);
}

.btn-outline-magenta:hover {
  background-color: var(--soft-lavender);
  color: var(--deep-magenta);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Badges, Pills & Labels
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-blue {
  background-color: var(--soft-blue);
  color: var(--deep-blue);
  border: 1px solid var(--border);
}

.badge-magenta {
  background-color: var(--soft-lavender);
  color: var(--brand-magenta);
  border: 1px solid rgba(165, 42, 145, 0.2);
}

.badge-equip {
  background-color: #EBF3FC;
  color: #214F86;
  border: 1px solid #C9DFFA;
}

.badge-analyse {
  background-color: #EBF8FC;
  color: #0E627A;
  border: 1px solid #BFEBF7;
}

.badge-empower {
  background-color: #FAF0F8;
  color: #8C227A;
  border: 1px solid #F1D4EE;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs-bar {
  background-color: var(--soft-blue);
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 0;
  font-size: 0.85rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-text);
}

.breadcrumbs-item a {
  color: var(--primary-blue);
}

.breadcrumbs-item a:hover {
  text-decoration: underline;
}

.breadcrumbs-item[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-blue);
  transform: translateY(-3px);
}

.card-header {
  margin-bottom: var(--space-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon-blue {
  background-color: var(--soft-blue);
  color: var(--deep-blue);
  border: 1px solid var(--border);
}

.card-icon-magenta {
  background-color: var(--soft-lavender);
  color: var(--brand-magenta);
  border: 1px solid rgba(165, 42, 145, 0.2);
}

.card-title {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card-body {
  flex: 1;
}

.card-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

/* Three Division Feature Cards */
.division-card {
  border-top-width: 4px;
}

.division-card-equip {
  border-top-color: var(--primary-blue);
}

.division-card-analyse {
  border-top-color: var(--secondary-blue);
}

.division-card-empower {
  border-top-color: var(--brand-magenta);
}

/* Trust Strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--brand-magenta);
}

.trust-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.trust-item-sub {
  font-size: 0.78rem;
  color: var(--muted-text);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Forms & Lead Generation
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--brand-magenta);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:hover {
  border-color: var(--secondary-blue);
}

.form-control:focus {
  border-color: var(--brand-magenta);
  box-shadow: var(--shadow-focus);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-help {
  display: block;
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-top: 0.35rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--brand-magenta);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.45;
}

/* Honeypot Spam Protection */
.antispam-trap {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Form Alert Boxes */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
}

.alert-success {
  background-color: #EAF7EE;
  border: 1px solid #B8E4C5;
  color: #17653F;
}

.alert-error {
  background-color: #FDF2F2;
  border: 1px solid #F8B4B4;
  color: #9B1C1C;
}

/* --------------------------------------------------------------------------
   Accordions (FAQs)
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  margin: 0;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition-fast);
}

.accordion-trigger:hover {
  background-color: var(--soft-blue);
  color: var(--deep-blue);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-magenta);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--muted-text);
  font-size: 0.98rem;
  line-height: 1.65;
  display: none;
}

.accordion-content.is-open {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero Component
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #F2F7FC 0%, #FFFFFF 50%, #F7F1F8 100%);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #F2F7FC 0%, #FFFFFF 55%, #F7F1F8 100%);
  border-bottom: 1px solid var(--border-light);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: var(--space-2xl);
}
.hero-subtitle {
  margin-bottom: var(--space-md);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.5;
}
.hero-media {
  min-width: 0;
}
.hero-image-wrapper {
  position: relative;
  overflow: visible;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 520;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.division-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}
.division-card,
.service-highlight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-subtle);
}
.division-card-body,
.service-card-body {
  padding: var(--space-lg);
}
.division-card-media,
.service-card-img {
  position: relative;
  overflow: hidden;
}
.division-card-media img,
.service-card-img img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}
.division-features {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted-text);
}
.division-card-footer {
  margin-top: var(--space-lg);
}
.trust-strip-section {
  padding: 1.25rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.trust-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}
.trust-strip-val {
  color: var(--deep-blue);
  font-weight: 800;
}
.trust-strip-lbl {
  color: var(--muted-text);
  font-size: 0.82rem;
}
.section-header {
  margin-bottom: var(--space-xl);
}
.section-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* Inner Page Hero */
.page-hero {
  background: linear-gradient(135deg, #172333 0%, #214F86 100%);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-2xl) 0;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-hero p.lead {
  color: #DCE5EF;
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   Process & Timeline
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--soft-lavender);
  color: var(--brand-magenta);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Founder Cards
   -------------------------------------------------------------------------- */
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--brand-magenta) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(33, 79, 134, 0.2);
}

.founder-role {
  color: var(--brand-magenta);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.founder-list {
  list-style: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.founder-list li {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.founder-list li::before {
  content: "•";
  color: var(--primary-blue);
  font-weight: bold;
}

/* Encoding-safe content icons */
.inline-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.16em;
}
.check-list {
  list-style: none;
  padding-left: 0;
}
.check-list li,
.space-y-2 li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.check-list li + li,
.space-y-2 li + li {
  margin-top: 0.55rem;
}
.check-list .inline-icon {
  color: var(--secondary-blue);
  margin-top: 0.18rem;
}
.space-y-2 .inline-icon {
  color: var(--primary-blue);
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.1rem;
}

/* --------------------------------------------------------------------------
   Theme markup compatibility layout
   -------------------------------------------------------------------------- */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}
.top-bar {
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.3;
}
.top-bar-inner,
.top-bar-left,
.top-bar-right,
.top-bar-link,
.badge-subtle {
  display: flex;
  align-items: center;
}
.top-bar-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left,
.top-bar-right {
  gap: 1rem;
  min-width: 0;
}
.top-bar-left {
  flex-wrap: wrap;
}
.top-bar-right {
  flex-shrink: 0;
}
.top-bar-link {
  gap: 0.35rem;
  color: #dce5ef;
  white-space: nowrap;
}
.top-bar-link:hover {
  color: var(--white);
}
.top-bar svg,
.badge-subtle svg {
  flex: 0 0 auto;
}
.site-branding {
  flex: 0 0 auto;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
}
.desktop-nav .nav-links,
.desktop-nav .nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.desktop-nav .nav-links > li {
  position: relative;
}
.desktop-nav .nav-links > li > a {
  display: block;
  padding: 0.65rem 0.7rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav .nav-links > li > a:hover,
.desktop-nav .nav-links > li.current-menu-item > a {
  color: var(--primary-blue);
}
.desktop-nav .nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 1100;
  min-width: 220px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--transition-fast);
}
.desktop-nav .nav-links li:hover > .sub-menu,
.desktop-nav .nav-links li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.desktop-nav .nav-links .sub-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--muted-text);
  font-size: 0.85rem;
  white-space: nowrap;
}
.desktop-nav .nav-links .sub-menu a:hover {
  color: var(--primary-blue);
  background: var(--soft-blue);
}
.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
}
.page-hero-section {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(180deg, var(--soft-blue) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border-light);
}
.page-title {
  max-width: 980px;
  margin: 0.75rem 0 0.8rem;
}
.hero-desc {
  max-width: 820px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--muted-text);
  font-size: 0.85rem;
}
.breadcrumb .current {
  color: var(--ink);
  font-weight: 600;
}
.breadcrumb-light,
.breadcrumb-light .current {
  color: rgba(255, 255, 255, 0.9);
}
.mobile-drawer {
  display: none;
}
.drawer-backdrop {
  display: none;
}

@media (max-width: 1100px) {
  .desktop-nav .nav-links > li > a {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    font-size: 0.82rem;
  }
  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-content {
    max-width: 820px;
  }
  .hero-media {
    max-width: 720px;
  }
  .division-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .desktop-nav,
  .header-actions > .btn {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .mobile-drawer.is-open {
    display: block;
  }
  .mobile-drawer {
    background: rgba(23, 35, 51, 0.6);
    opacity: 0;
    visibility: hidden;
  }
  .mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
  }
  .drawer-header,
  .drawer-body {
    position: absolute;
    right: 0;
    width: min(88vw, 380px);
    background: var(--white);
  }
  .drawer-header {
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
  }
  .drawer-body {
    top: 0;
    height: 100%;
    padding: 5rem 1.25rem 1.5rem;
    overflow-y: auto;
  }
  .drawer-close {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-menu,
  .mobile-sub {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu > li {
    border-bottom: 1px solid var(--border-light);
  }
  .mobile-menu a,
  .mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
  }
  .mobile-sub {
    display: none;
    padding: 0 0 0.5rem 1rem;
  }
  .mobile-has-children.is-open > .mobile-sub {
    display: block;
  }
  .mobile-sub a {
    padding: 0.45rem 0;
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 400;
  }
  .drawer-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }
  .drawer-contact {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }
  .drawer-contact p {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .top-bar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .top-bar-left,
  .top-bar-right {
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
  }
  .header-inner {
    height: 68px;
  }
  .brand-logo {
    max-width: 185px;
    height: auto;
  }
  .page-hero-section {
    padding-top: var(--space-xl);
  }
  .division-cards-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Global Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #111A26;
  color: #DCE5EF;
  padding-top: var(--space-3xl);
  border-top: 3px solid var(--primary-blue);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  }
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--brand-magenta);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #A3B5C9;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #A3B5C9;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.75rem;
  color: #DCE5EF;
}

.footer-contact-item svg {
  color: var(--brand-magenta);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 2rem 0;
  font-size: 0.82rem;
  color: #8D9EAF;
  line-height: 1.5;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8D9EAF;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}

.footer-legal-links a {
  color: #8D9EAF;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Quick-Action Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 999;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--soft-blue);
  border: 1px solid var(--border);
}

.mobile-bar-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-bar-btn-primary {
  background: var(--brand-magenta);
  color: var(--white);
  border-color: var(--brand-magenta);
}

.mobile-bar-btn-primary svg {
  color: var(--white);
}

/* Padding compensation for mobile footer due to sticky bar */
@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }
}

/* --------------------------------------------------------------------------
   Back to top floating button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 75px;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 990;
}

@media (min-width: 768px) {
  .back-to-top {
    bottom: 2rem;
  }
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--brand-magenta);
  color: var(--white);
  border-color: var(--brand-magenta);
}

/* --------------------------------------------------------------------------
   Articles & Blog Typography
   -------------------------------------------------------------------------- */
.article-container {
  max-width: 780px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--muted-text);
  margin-top: 0.75rem;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2D3748;
}

.article-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--deep-blue);
  font-size: 1.65rem;
}

.article-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 1.3rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--brand-magenta);
  padding: 1rem 1.25rem;
  background-color: var(--soft-lavender);
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink);
}

/* Table styles for parameter sheets */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background-color: var(--soft-blue);
  color: var(--deep-blue);
  font-weight: 700;
}

.data-table tr:hover {
  background-color: #F8FAFC;
}

/* --------------------------------------------------------------------------
   Image Styling & Card Media
   -------------------------------------------------------------------------- */
.img-rounded {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(33, 79, 134, 0.16);
  border: 4px solid var(--white);
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 320px;
}

/* Card Media Header */
.card-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

/* Blog Thumbnail */
.blog-card-media {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .blog-card-media img {
  transform: scale(1.05);
}

/* Article Hero Image */
.article-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 1.5rem 0 2.5rem 0;
  box-shadow: var(--shadow-card);
}

/* Service Detail Banner Image */
.service-feature-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   SPACING SYSTEM & MARKUP COMPATIBILITY LAYER (v1.0.3)
   --------------------------------------------------------------------------
   The global reset above zeroes every margin/padding. This layer restores a
   consistent vertical rhythm and styles every class the templates use so no
   component is left without spacing.

   Scale (4px base):  4 · 8 · 12 · 16 · 24 · 32 · 48 · 72
   Section rhythm:    --section-y   (fluid 56px → 88px)
   Header → content:  --header-gap  (48px)
   ========================================================================== */

:root {
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  --section-y-tight: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --header-gap: clamp(2rem, 1.5rem + 2vw, 3rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 1.5rem);
  --grid-gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  --card-pad: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --header-h: 80px;
}

html { scroll-padding-top: calc(var(--header-h) + 1rem); }
section[id], [id].section { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---- Containers ---------------------------------------------------------- */
.container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container.container-readable,
.container-readable { max-width: var(--container-narrow); }

/* ---- Text flow: trailing margins never stack inside a block ------------- */
p { margin-bottom: 1rem; }
p:last-child,
li > p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h4, .h4 { font-size: 1.15rem; margin-bottom: var(--space-sm); line-height: 1.3; }
h3, .h3 { margin-bottom: var(--space-sm); }
.h3 { font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem); font-weight: 700; line-height: 1.25; }
.h4 { font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
h2 + p, h3 + p, h4 + p { margin-top: 0; }
strong { font-weight: 700; }
.small, small { font-size: 0.875rem; }
p.small { font-size: 0.9rem; line-height: 1.6; }
.text-sm { font-size: 0.9rem; line-height: 1.6; }
.text-left { text-align: left; }
.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-blue); }
.text-ink { color: var(--ink); }
.text-success { color: var(--success); }
.text-white-opacity { color: rgba(255, 255, 255, 0.88); }
.font-semibold { font-weight: 600; }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-subtle { box-shadow: var(--shadow-card); }
.about-media img, .division-hero-media img, .grid-2 > div > img.rounded-lg {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---- Section rhythm ------------------------------------------------------ */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
/* two neighbouring sections on the same (white) background must not double up */
.section:not([class*="bg-"]):not(.section-alt):not(.section-lavender):not(.section-dark):not(.cta-strip-section):not(.local-presence-section)
  + .section:not([class*="bg-"]):not(.section-alt):not(.section-lavender):not(.section-dark):not(.cta-strip-section):not(.local-presence-section) {
  padding-top: 0;
}
.section.py-8 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.section.py-16 { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.border-b { border-bottom: 1px solid var(--border-light); }
.bg-soft-blue { background-color: var(--soft-blue); }
.bg-soft-lavender { background-color: var(--soft-lavender); }
.bg-gradient-blue { background: linear-gradient(135deg, #172333 0%, #214F86 100%); }
.bg-gradient-cyan { background: linear-gradient(135deg, #0F2A3A 0%, #0E627A 100%); }
.bg-gradient-magenta { background: linear-gradient(135deg, #2A1330 0%, #7D1F70 100%); }

/* ---- Section header block ------------------------------------------------ */
.section-header {
  max-width: 820px;
  margin: 0 auto var(--header-gap);
}
.section-header.text-center { text-align: center; }
.section-header > :last-child { margin-bottom: 0; }
.section-eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--brand-magenta);
}
.section-title { margin-bottom: var(--space-md); }
h3.section-title { font-size: clamp(1.4rem, 1.8vw + 0.6rem, 1.9rem); }
.section-lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.65;
}
.text-center .section-lead,
.section-header.text-center .section-lead { margin-left: auto; margin-right: auto; }
.section-lead.text-muted { margin-top: var(--space-md); }
/* grid directly after a header: header margin already supplies the gap */
.section-header + [class*="grid"],
.section-header + .compliance-highlight-grid,
.section-header-flex + [class*="grid"] { margin-top: 0; }
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--header-gap);
}
.section-header-flex .section-title { margin-bottom: 0; }

/* ---- Utilities (spacing scale) ------------------------------------------ */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: var(--space-md); margin-bottom: var(--space-md); }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: var(--space-md); }
.mt-6 { margin-top: var(--space-lg); }
.mt-8 { margin-top: var(--space-xl); }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: var(--space-2xl); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: var(--space-md); }
.mb-6 { margin-bottom: var(--space-lg); }
.mb-8 { margin-bottom: var(--space-xl); }
.p-6 { padding: var(--card-pad); }
.p-8 { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.py-8 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.gap-4 { gap: var(--space-md); }
.gap-8 { gap: var(--grid-gap); }
.gap-10 { gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.inline-block { display: inline-block; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.max-w-4xl { max-width: 896px; }

/* ---- Grids --------------------------------------------------------------- */
.grid, .grid-2, .grid-3, .grid-4 { gap: var(--grid-gap); }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.grid-2.gap-4 { gap: var(--space-md); }
.grid-2.gap-8, .grid-3.gap-8 { gap: var(--grid-gap); }
.grid-2.gap-10 { gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 640px) and (max-width: 991px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* a lone last card spans the row instead of leaving a hole */
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* content/media splits stack earlier than simple 2-col grids */
@media (max-width: 859px) {
  .section > .container.grid-2,
  .division-hero-section > .container.grid-2,
  .section .grid-2.gap-8.items-center,
  .section .grid-2.gap-10 { grid-template-columns: 1fr; }
  .section > .container.grid-2 { row-gap: var(--space-2xl); }
}
/* stacked label/field pairs stay 2-up unless genuinely narrow */
@media (max-width: 519px) {
  .innate-ajax-form .grid-2 { grid-template-columns: 1fr; }
}

/* ---- Buttons ------------------------------------------------------------- */
.btn-outline,
.btn-secondary-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.btn-outline:hover,
.btn-secondary-outline:hover {
  background-color: var(--soft-blue);
  border-color: var(--deep-blue);
  color: var(--deep-blue);
}
.btn-white {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--deep-blue);
}
.btn-white:hover { background-color: var(--soft-lavender); color: var(--brand-magenta); }
.btn-ghost-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn-ghost-white:hover { background-color: rgba(255, 255, 255, 0.14); color: var(--white); }
.division-hero-section .btn-secondary-outline,
.cta-sidebar-card .btn-secondary-outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}
.division-hero-section .btn-secondary-outline:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: var(--white);
}
.btn { line-height: 1.3; }
.btn-block { display: flex; width: 100%; }
.btn-lg, .btn-sm { white-space: normal; }
@media (max-width: 479px) {
  .btn-lg { padding: 0.8rem 1.25rem; font-size: 1rem; }
  .hero-actions .btn, .cta-buttons .btn { width: 100%; }
}

/* ---- Pills & badges ------------------------------------------------------ */
.hero-pill,
.badge-pill,
.pill-blue, .pill-cyan, .pill-magenta,
.division-pill,
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  width: fit-content;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-pill {
  margin-bottom: var(--space-md);
  background: var(--white);
  color: var(--deep-blue);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
}
.hero-pill.mb-3 { margin-bottom: var(--space-md); }
.pill-dot {
  width: 8px; height: 8px; flex: 0 0 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(35, 139, 99, 0.2);
}
.pill-blue { background: #EBF3FC; color: #214F86; border: 1px solid #C9DFFA; }
.pill-cyan { background: #EBF8FC; color: #0E627A; border: 1px solid #BFEBF7; }
.pill-magenta { background: #FAF0F8; color: #8C227A; border: 1px solid #F1D4EE; }
.badge-pill { margin-bottom: 0.75rem; }
.badge-pill.mb-2 { margin-bottom: var(--space-sm); }
.badge-pill.mb-3 { margin-bottom: 0.75rem; }
.badge-pill.mb-4 { margin-bottom: var(--space-md); }
.badge-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.3;
}
.division-pill {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
}
.post-cat-badge {
  display: inline-flex;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--soft-lavender);
  color: var(--brand-magenta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-icon-circle,
.feature-icon,
.info-icon,
.compliance-icon,
.badge-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  color: var(--primary-blue);
  border: 1px solid var(--border);
}
.card-icon-circle { width: 48px; height: 48px; border-radius: 50%; }
.feature-icon { width: 52px; height: 52px; margin-bottom: var(--space-md); }
.info-icon, .compliance-icon, .badge-icon-box { width: 44px; height: 44px; }
.feature-icon svg, .info-icon svg, .compliance-icon svg, .badge-icon-box svg { width: 22px; height: 22px; }

/* ---- Top bar ------------------------------------------------------------- */
.top-bar { padding: 0.35rem 0; }
.top-bar .text-muted { color: #A9B9CC; }
.top-bar-left { gap: 0.35rem 1.25rem; }
.badge-subtle svg { opacity: 0.9; }
@media (max-width: 1099px) {
  .top-bar .badge-subtle.text-muted { display: none; }
}
@media (max-width: 767px) {
  .top-bar-right { display: none; }
  .top-bar-inner { padding-top: 0.45rem; padding-bottom: 0.45rem; min-height: 0; }
}

/* ---- Header & navigation ------------------------------------------------- */
.header-inner { gap: var(--space-lg); }
.header-actions { gap: 0.6rem; }
.desktop-nav .nav-links { gap: 0.1rem; }
.desktop-nav .nav-links > li > a { padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); }
.desktop-nav .nav-links > li > a:hover { background: var(--soft-lavender); color: var(--brand-magenta); }
.nav-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 0 3px 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.desktop-nav .nav-links .sub-menu { top: 100%; padding: 0.5rem; }
.desktop-nav .nav-links .sub-menu li + li { margin-top: 2px; }
.desktop-nav .nav-links .sub-menu a { padding: 0.6rem 0.85rem; border-radius: var(--radius-sm); }
.mobile-toggle { flex-direction: column; gap: 5px; padding: 0; }
.mobile-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.mobile-toggle { display: none; }
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .mobile-toggle { display: flex; }
  .header-inner { height: var(--header-h); }
  .header-actions { margin-left: auto; }
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}
@media (max-width: 1180px) and (min-width: 1024px) {
  .header-actions .btn-secondary-outline { display: none; }
}
.brand-logo { height: 46px; width: auto; max-width: 100%; }

/* ---- Mobile drawer ------------------------------------------------------- */
.drawer-logo { height: 36px; width: auto; }
@media (max-width: 1023px) {
  .drawer-header { padding: 0.85rem 1.25rem; min-height: 64px; }
  .drawer-body { padding: calc(64px + 0.5rem) 1.25rem 2rem; }
  .mobile-menu a,
  .mobile-sub-toggle { padding: 0.85rem 0; gap: var(--space-md); }
  .mobile-sub a { padding: 0.55rem 0; }
  .mobile-sub { padding: 0 0 0.75rem 1rem; }
  .drawer-actions { margin-top: var(--space-lg); gap: 0.75rem; }
  .drawer-contact { margin-top: var(--space-sm); padding-top: var(--space-md); }
  .drawer-contact p { margin-bottom: 0.35rem; font-size: 0.92rem; }
  .mobile-has-children > .mobile-sub-toggle svg { transition: transform var(--transition-fast); }
  .mobile-has-children.is-open > .mobile-sub-toggle svg { transform: rotate(180deg); }
}

/* ---- Breadcrumb & page heroes ------------------------------------------- */
.breadcrumb { margin-bottom: var(--space-md); line-height: 1.5; gap: 0.5rem; }
.breadcrumb .sep { opacity: 0.55; }
.breadcrumb a { color: var(--primary-blue); }
.breadcrumb-light a { color: rgba(255, 255, 255, 0.92); }
.breadcrumb-light .sep { color: rgba(255, 255, 255, 0.6); }
.page-hero-section {
  padding: clamp(2rem, 1.25rem + 3vw, 3.5rem) 0 clamp(2rem, 1.25rem + 2.5vw, 3rem);
}
.page-title { margin: 0 0 var(--space-md); }
.page-hero-section .page-title { max-width: 900px; }
.hero-desc { margin-bottom: 0; font-size: 1.1rem; line-height: 1.7; }
.page-hero-section .hero-desc { max-width: 760px; }
.page-hero-section .hero-pill + .page-title { margin-top: 0; }

/* Division heroes */
.division-hero-section {
  color: var(--white);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0;
}
.division-hero-section > .container.grid-2 {
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.division-hero-section .hero-pill { background: rgba(255,255,255,0.14); color: var(--white); border-color: rgba(255,255,255,0.28); box-shadow: none; }
.division-hero-section .page-title { color: var(--white); margin-bottom: var(--space-md); }
.division-hero-section .hero-desc { margin-bottom: 0; }
.division-hero-section .hero-actions { margin-top: var(--space-xl); }
.division-hero-media { min-width: 0; }
.division-hero-media img { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); }

/* ---- Home hero ----------------------------------------------------------- */
.hero-section { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; }
.hero-inner { gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero-title { margin: 0 0 var(--space-md); }
.hero-subtitle { margin-bottom: var(--space-md); }
.hero-content .hero-desc { margin-bottom: 0; font-size: 1.05rem; }
.hero-actions { margin-top: var(--space-xl); gap: 0.75rem 1rem; }
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.badge-item svg { flex: 0 0 20px; }
.hero-image-wrapper { padding-bottom: 1.75rem; }
.hero-floating-card {
  position: absolute;
  left: var(--space-lg);
  right: var(--space-lg);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}
.hero-floating-card strong { display: block; font-size: 0.88rem; letter-spacing: 0.02em; line-height: 1.3; }
.hero-floating-card p { margin: 0.15rem 0 0; font-size: 0.85rem; line-height: 1.4; }
@media (max-width: 479px) {
  .hero-floating-card { left: var(--space-sm); right: var(--space-sm); padding: 0.75rem 0.9rem; }
  .hero-actions .btn { white-space: normal; }
}

/* ---- Trust strip --------------------------------------------------------- */
.trust-strip-section { padding: var(--space-lg) 0; }
.trust-strip-grid { gap: var(--space-lg) var(--space-md); }
.trust-strip-item { gap: 0.25rem; padding: 0 var(--space-sm); }
.trust-strip-val { font-size: 1.1rem; line-height: 1.3; }
.trust-strip-lbl { line-height: 1.4; }
@media (min-width: 901px) {
  .trust-strip-item + .trust-strip-item { border-left: 1px solid var(--border-light); }
}
@media (max-width: 700px) {
  .trust-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .trust-strip-grid { grid-template-columns: 1fr; }
}

/* ---- Cards --------------------------------------------------------------- */
.card { padding: var(--card-pad); }
.card.p-6 { padding: var(--card-pad); }
.card.p-8 { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.card > :last-child { margin-bottom: 0; }
.card:has(form):hover,
.card:has(.table-responsive):hover {
  transform: none;
  box-shadow: var(--shadow-subtle);
  border-color: var(--border);
}
.card-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-blue);
}
.card-link:hover { color: var(--brand-magenta); }

/* Division cards (home) */
.division-cards-grid { gap: var(--grid-gap); }
.division-card { display: flex; flex-direction: column; border-top-width: 1px; }
.division-card-media { flex: 0 0 auto; }
.division-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--card-pad);
}
.division-title { margin-bottom: 0.25rem; letter-spacing: 0.02em; }
.division-subtitle {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.division-text { margin-bottom: var(--space-md); font-size: 1rem; line-height: 1.65; }
.division-features { margin: 0; padding-left: 1.15rem; }
.division-features li { margin-bottom: 0.4rem; line-height: 1.5; font-size: 0.95rem; }
.division-features li:last-child { margin-bottom: 0; }
.division-card-footer { margin-top: auto; padding-top: var(--space-lg); }

/* Service / highlight cards */
.service-highlight-card {
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.service-highlight-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.service-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: var(--card-pad);
}
.service-card-body > h3,
.service-card-body > h4 { margin-bottom: 0.6rem; }
.service-card-body > p { margin-bottom: var(--space-md); font-size: 1rem; line-height: 1.65; }
.service-card-body > ul { margin-bottom: var(--space-lg); width: 100%; }
.service-card-body > :last-child:is(.card-link, .btn) { margin-top: auto; }
.service-card-body > p:last-of-type:not(:last-child) { margin-bottom: var(--space-md); }
.service-card-body > p + :is(.card-link, .btn):last-child { margin-top: auto; }
.service-card-body > p:has(+ :is(.card-link, .btn):last-child) { margin-bottom: var(--space-lg); }
.service-highlight-card.p-6 {
  padding: var(--card-pad);
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
}
.service-highlight-card.p-6 > div > p { margin-bottom: 0; }
.service-highlight-card.p-6 h4 { margin-bottom: 0.6rem; }
.service-highlight-card.flex { display: flex; }

/* Feature cards (Why section) */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.feature-card h4 { margin-bottom: 0.5rem; }
.feature-card p { margin: 0; font-size: 1rem; line-height: 1.65; }

/* ---- About preview ------------------------------------------------------- */
.about-media { position: relative; padding-bottom: 1.75rem; }
.about-media img { display: block; }
.about-stat-card {
  position: absolute;
  right: var(--space-lg);
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 260px;
  padding: var(--space-md) 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}
.about-stat-card strong { font-size: 1.4rem; line-height: 1.2; color: var(--deep-blue); }
.about-stat-card span { font-size: 0.85rem; line-height: 1.4; color: var(--muted-text); }
@media (max-width: 479px) { .about-stat-card { left: var(--space-md); right: var(--space-md); max-width: none; } }
.about-text-col > .btn, .about-text-col > div:last-child { margin-top: var(--space-lg); }
.about-text-col > .mt-6 { margin-top: var(--space-lg); }

.quote-card {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  background: var(--soft-lavender);
  border-left: 4px solid var(--brand-magenta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.quote-card p { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.quote-card.my-4 { margin: var(--space-lg) 0; }

/* ---- Training points ----------------------------------------------------- */
.training-points-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.training-point-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted-text);
}
.training-point-item strong { color: var(--ink); }
.point-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--soft-lavender);
  color: var(--brand-magenta);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ---- Local presence strip ------------------------------------------------ */
.local-presence-section { padding-top: 0; }
.section.bg-soft-blue + .section.local-presence-section,
.section.local-presence-section { padding-top: var(--section-y-tight); padding-bottom: var(--section-y-tight); }
.local-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-xl) var(--space-2xl);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: linear-gradient(135deg, var(--deep-blue) 0%, #17365E 55%, var(--deep-magenta) 140%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--white);
}
.local-box-content .section-eyebrow { color: rgba(255,255,255,0.8); }
.local-box-content h3 { margin-bottom: var(--space-md); color: var(--white); }
.local-box-content p { margin-bottom: var(--space-lg); }
.local-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.local-box-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}
@media (max-width: 859px) {
  .local-box { grid-template-columns: 1fr; }
  .local-box-cta { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .local-box-cta .btn { flex: 1 1 200px; }
}

/* ---- CTA strip ----------------------------------------------------------- */
.cta-strip-section { background: linear-gradient(135deg, var(--soft-blue) 0%, var(--white) 50%, var(--soft-lavender) 100%); border-top: 1px solid var(--border-light); }
.cta-strip-section.bg-soft-blue { background: var(--soft-blue); }
.cta-strip-section .container > h2,
.cta-title { max-width: 760px; margin: 0 auto var(--space-md); }
.cta-strip-section .container > p,
.cta-desc { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: var(--space-xl);
}
.text-center .btn { vertical-align: middle; }
.text-center.mt-8 { margin-top: var(--space-xl); }

/* ---- Compliance / info lists -------------------------------------------- */
.compliance-highlight-grid { display: flex; flex-direction: column; gap: var(--space-md); }
.compliance-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--card-pad);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}
.compliance-card h4 { margin-bottom: 0.35rem; }
.compliance-card p { margin: 0; font-size: 1rem; }
.compliance-card > div:last-child { min-width: 0; }
.section .container.flex.items-center.gap-4 { gap: var(--space-md); }
.section .container.flex > div:last-child p { margin: 0; }
.section .container.flex > div:last-child p + p { margin-top: 0.25rem; }

.contact-info-cards { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-info-cards.mt-6 { margin-top: var(--space-lg); }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}
.info-card > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.info-card p { margin: 0.2rem 0 0; font-size: 1rem; line-height: 1.55; }
.info-card .badge-subtle { margin-top: 0.4rem; }
.founder-avatar.mx-auto { display: flex; }

/* ---- Tables -------------------------------------------------------------- */
.card .table-responsive { margin: 0; border: 0; border-radius: 0; }
.data-table { min-width: 560px; }
.data-table th, .data-table td { padding: 0.85rem 1rem; vertical-align: top; line-height: 1.5; }
.data-table td { color: var(--muted-text); }
.data-table td strong { color: var(--ink); }
@media (max-width: 639px) {
  .data-table th, .data-table td { padding: 0.7rem 0.75rem; font-size: 0.88rem; }
}

/* ---- Lists --------------------------------------------------------------- */
.check-list { margin-bottom: 0; }
.check-list li { line-height: 1.5; font-size: 0.97rem; color: var(--muted-text); }
.check-list.mt-4 { margin-top: var(--space-md); }
.card ul:not([class]), .card ol:not([class]),
.text-sm:is(ul, ol) { padding-left: 1.15rem; }
ul.text-sm li { margin-bottom: 0.4rem; }
ul.text-sm li:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }

/* ---- Forms --------------------------------------------------------------- */
.innate-ajax-form .form-group,
.innate-ajax-form .grid-2 { margin-bottom: var(--space-lg); }
.innate-ajax-form .grid-2 { gap: var(--space-lg) var(--space-md); }
.innate-ajax-form .grid-2 > .form-group { margin-bottom: 0; }
.innate-ajax-form .form-label { margin-bottom: 0.4rem; line-height: 1.4; }
.innate-ajax-form .form-control { min-height: 46px; }
.innate-ajax-form textarea.form-control { min-height: 130px; line-height: 1.6; }
.innate-ajax-form select.form-control { padding-right: 2rem; }
.innate-ajax-form .btn-block { margin-top: var(--space-sm); }
.form-feedback { font-size: 0.95rem; line-height: 1.5; }
.form-feedback:empty { margin: 0; }
.card > h3.h3 + p.text-sm { margin-top: 0; }
.card > .h3.mb-2 { margin-bottom: var(--space-sm); }
.card > .text-sm.mb-6 { margin-bottom: var(--space-lg); }

/* ---- Blog & single ------------------------------------------------------- */
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
@media (min-width: 992px) {
  .layout-with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-2xl); align-items: start; }
  .sidebar-column { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.main-column { min-width: 0; }
.sidebar-column { display: flex; flex-direction: column; gap: var(--space-lg); min-width: 0; }
.sidebar-card {
  padding: var(--card-pad);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}
.sidebar-heading { margin-bottom: var(--space-md); padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-light); font-size: 1.05rem; }
.sidebar-links { list-style: none; }
.sidebar-links li + li { margin-top: 0.55rem; }
.sidebar-links a { font-size: 0.95rem; font-weight: 500; }
.cta-sidebar-card { background: linear-gradient(135deg, var(--deep-blue), #172333); border-color: transparent; }
.cta-sidebar-card h4, .cta-sidebar-card p { color: var(--white); }
.cta-sidebar-card .badge-subtle { color: rgba(255,255,255,0.85); }
.cta-sidebar-card p.text-white-opacity { color: rgba(255,255,255,0.85); margin-bottom: 0; }

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-card-img { overflow: hidden; }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--transition-normal); }
.post-card:hover .post-card-img img { transform: scale(1.03); }
.post-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: var(--card-pad); }
.post-card-date, .post-date { display: block; margin-bottom: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted-text); }
.post-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 0.6rem; }
.post-meta-line .post-date { margin: 0; }
.post-card-title { margin-bottom: 0.6rem; font-size: 1.15rem; line-height: 1.35; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--brand-magenta); }
.post-card-excerpt { margin-bottom: var(--space-md); font-size: 0.97rem; line-height: 1.65; }
.post-card-readmore { margin-top: auto; font-size: 0.92rem; font-weight: 700; }
.pagination-wrapper { display: flex; justify-content: center; }
.pagination-wrapper .nav-links, .pagination-wrapper .page-numbers { gap: 0.4rem; }
.pagination-wrapper .nav-links { display: flex; flex-wrap: wrap; justify-content: center; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--ink);
}
.page-numbers.current { background: var(--primary-blue); border-color: var(--primary-blue); color: var(--white); }
.page-links { margin-top: var(--space-lg); font-weight: 600; }

.post-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: var(--space-md); font-size: 0.9rem; color: var(--muted-text); }
.post-single-meta .sep { opacity: 0.6; }
.single-featured-image img, .page-featured-image img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.entry-content { font-size: 1.08rem; line-height: 1.8; color: #2D3748; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { color: inherit; font-size: inherit; line-height: inherit; margin-bottom: 1.25rem; }
.entry-content h2 { margin: 2.25rem 0 var(--space-md); color: var(--deep-blue); font-size: 1.65rem; }
.entry-content h3 { margin: 1.75rem 0 0.75rem; font-size: 1.3rem; }
.entry-content h4 { margin: 1.5rem 0 0.6rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { margin: var(--space-lg) 0; border-radius: var(--radius-md); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: var(--space-lg) 0; padding: var(--space-md) 1.25rem; background: var(--soft-lavender); border-left: 4px solid var(--brand-magenta); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-author-box {
  display: flex; align-items: flex-start; gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding: var(--card-pad);
  background: var(--soft-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.author-avatar-circle {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 50%; background: var(--white); color: var(--primary-blue); border: 1px solid var(--border);
}
.post-author-box p { margin: 0; }
.post-author-box strong { display: block; margin-bottom: 0.2rem; }
.post-navigation-bar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--border-light); }
.post-navigation-bar .next-post { text-align: right; }
.post-navigation-bar a { font-weight: 600; }
@media (max-width: 559px) { .post-navigation-bar { grid-template-columns: 1fr; } .post-navigation-bar .next-post { text-align: left; } }

/* ---- 404 ----------------------------------------------------------------- */
.section.py-16 .pill-magenta.inline-block { display: inline-flex; margin-bottom: var(--space-md); }
.section .flex.justify-center.gap-4 { flex-wrap: wrap; gap: 0.75rem 1rem; }
.section .container-readable > .section-lead { margin-bottom: 0; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-footer p { color: #A3B5C9; }
.site-footer a { color: #C7D5E5; }
.site-footer a:hover { color: var(--white); }
.footer-top { padding-bottom: 0; }
.footer-grid { gap: var(--space-2xl) var(--space-xl); padding-bottom: var(--space-2xl); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1.1fr 1.1fr 1.2fr; gap: var(--space-2xl) clamp(1.5rem, 1rem + 2vw, 3rem); } }
.footer-col { min-width: 0; }
.footer-col-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { height: 44px; width: auto; margin-bottom: var(--space-md); padding: 0.4rem 0.6rem; background: var(--white); border-radius: var(--radius-sm); box-sizing: content-box; }
.footer-tagline { margin-bottom: 0.6rem; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--white); }
.footer-tagline strong { color: var(--white); }
.footer-desc { margin-bottom: var(--space-md); font-size: 0.93rem; line-height: 1.65; }
.footer-credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-md); }
.cert-pill { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); color: #DCE5EF; text-transform: none; letter-spacing: 0.01em; font-weight: 600; font-size: 0.75rem; }
.footer-address { font-size: 0.9rem; line-height: 1.65; }
.footer-heading, .footer-col h4 {
  margin-bottom: var(--space-lg);
  padding-bottom: 0.6rem;
  font-size: 1.05rem;
  color: var(--white);
  position: relative;
}
.footer-heading::after { content: ""; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--brand-magenta); }
.footer-links li { margin-bottom: 0.6rem; line-height: 1.45; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a { display: inline-block; }
.footer-links a strong { color: var(--white); }
.footer-links .divider-sub { height: 1px; margin: 0.9rem 0; background: rgba(255,255,255,0.08); }
.footer-links a:hover { padding-left: 0; transform: translateX(3px); }
.footer-contact-item { flex-direction: column; align-items: flex-start; gap: 0.1rem; margin-top: 0; margin-bottom: 0.9rem; font-size: 0.93rem; line-height: 1.5; }
.footer-contact-item:last-of-type { margin-bottom: 0; }
.footer-contact-item .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #8D9EAF; }
.footer-contact-item a, .footer-contact-item span:not(.label) { overflow-wrap: anywhere; }
.footer-buttons { display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--space-lg); }
.footer-buttons .btn-secondary-outline { border-color: rgba(255,255,255,0.45); color: var(--white); }
.footer-buttons .btn-secondary-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.footer-compliance-box {
  margin: 0 0 var(--space-xl);
  padding: var(--space-md) 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
}
.footer-compliance-box p { margin: 0; font-size: 0.82rem; line-height: 1.6; color: #8D9EAF; }
.footer-compliance-box strong { color: #C7D5E5; }
.footer-grid { border-bottom: 0; }
.footer-top { border-bottom: 0; }
.footer-grid + .footer-compliance-box { margin-top: 0; }
.footer-bottom {
  display: block;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  text-align: center;
}
.copyright { margin: 0; font-size: 0.85rem; color: #8D9EAF; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; list-style: none; font-size: 0.85rem; }
.legal-links a { color: #8D9EAF; }
.legal-links a:hover { color: var(--white); }
@media (min-width: 900px) {
  .footer-bottom-inner { flex-direction: row; text-align: left; }
  .legal-links { justify-content: flex-end; }
}

/* ---- Mobile sticky action bar ------------------------------------------- */
.mobile-sticky-bar { padding: 0.5rem var(--space-sm) calc(0.5rem + env(safe-area-inset-bottom, 0px)); gap: 0.4rem; }
.sticky-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 0.25rem;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.sticky-bar-item.sticky-highlight { background: var(--brand-magenta); border-color: var(--brand-magenta); color: var(--white); }
.sticky-bar-item.sticky-primary { background: var(--primary-blue); border-color: var(--primary-blue); color: var(--white); }
@media (max-width: 767px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- Small-screen tightening -------------------------------------------- */
@media (max-width: 639px) {
  .section-header { margin-bottom: var(--space-xl); }
  .section-lead { font-size: 1.02rem; }
  .card-media, .blog-card-media { margin: 0; }
  .hero-trust-badges { gap: 0.6rem 1rem; }
  .founder-card { padding: var(--card-pad); }
}
@media print {
  .mobile-sticky-bar, .back-to-top, .mobile-drawer { display: none !important; }
}

.footer-address { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-address svg { flex: 0 0 16px; margin-top: 0.25rem; color: var(--brand-magenta); }
.compliance-inner { display: flex; align-items: flex-start; gap: 0.75rem; }
.compliance-inner > svg { flex: 0 0 18px; margin-top: 0.15rem; color: var(--secondary-blue); }
.compliance-inner > p { min-width: 0; }
