@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ==========================================================================
   First blue color / 2nd Emerlad & Lime Color
   ========================================================================== */

:root {
  --bg-white: #ffffff;
  --bg-ice: #f0f9ed;
  --bg-mist: #dcefd5;
  --bg-navy: #102d20;
  --bg-navy-mid: #19442e;
  --bg-navy-card: #245b3d;

  --ink-950: #102518;
  --ink-900: #1c3926;
  --ink-700: #3b6245;
  --ink-600: #567b5e;
  --ink-500: #74977b;
  --ink-400: #9db6a0;

  --cobalt-800: #24713e;
  --cobalt-700: #318d49;
  --cobalt-600: #42a957;
  --cobalt-500: #5bc66b;
  --cobalt-400: #80dc88;
  --cobalt-300: #a9eab0;
  --cobalt-100: #d6f4d9;
  --cobalt-50: #effbef;

  --crimson-600: #c34a42;
  --crimson-500: #e56b5e;
  --crimson-50: #fff1ee;

  --border-light: #d7e8d6;
  --border-strong: #b3d1b3;
  --border-dark: #315d3e;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-subtle: 0 4px 20px -4px rgba(16, 45, 32, 0.06);
  --shadow-elevated: 0 18px 40px -12px rgba(16, 45, 32, 0.14);
  --shadow-toast: 0 22px 48px -10px rgba(16, 45, 32, 0.28);

  --container-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--ink-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--cobalt-600);
  color: var(--bg-white);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-elevated);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--ink-950);
  outline-offset: 2px;
}

/* Structural Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ==========================================================================
   ARCHITECTURAL TWO-TIER HEADER (IDENTICAL ACROSS ALL PAGES)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.topbar {
  background: var(--bg-navy);
  color: #cbd5e1;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border-dark);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--cobalt-400);
  flex-shrink: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-links a:hover {
  color: var(--bg-white);
}

@media (max-width: 767px) {
  .topbar-address {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
  }
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--ink-950);
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--bg-navy);
  border: 1px solid var(--cobalt-600);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  background: var(--cobalt-500);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 6px;
  height: 100%;
}

@media (min-width: 960px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 76px;
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--cobalt-600);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cobalt-600);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 14px;
}

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

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  color: var(--ink-900);
  background: var(--bg-ice);
}

.menu-toggle:hover {
  border-color: var(--cobalt-500);
  color: var(--cobalt-600);
}

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

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 2px solid var(--cobalt-600);
  padding: 20px 24px 28px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-900);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list a.is-active {
  color: var(--cobalt-600);
}

/* ==========================================================================
   BUTTON SYSTEM (ARCHITECTURAL RECTANGULAR GEOMETRY)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--cobalt-600);
  color: var(--bg-white);
  border-color: var(--cobalt-600);
}

.btn-primary:hover {
  background: var(--cobalt-800);
  border-color: var(--cobalt-800);
}

.btn-dark {
  background: var(--bg-navy);
  color: var(--bg-white);
  border-color: var(--bg-navy);
}

.btn-dark:hover {
  background: var(--cobalt-600);
  border-color: var(--cobalt-600);
}

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--cobalt-600);
  color: var(--cobalt-600);
  background: var(--cobalt-50);
}

.btn-outline-light {
  background: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline-light:hover {
  background: var(--bg-white);
  color: var(--ink-950);
  border-color: var(--bg-white);
}

.btn-white {
  background: var(--bg-white);
  color: var(--ink-950);
  border-color: var(--bg-white);
}

.btn-white:hover {
  background: var(--cobalt-50);
  color: var(--cobalt-700);
}

.btn-danger {
  background: var(--crimson-600);
  color: var(--bg-white);
  border-color: var(--crimson-600);
}

.btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cobalt-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--cobalt-600);
}

.eyebrow-light {
  color: var(--cobalt-300);
}

.eyebrow-light::before {
  background: var(--cobalt-400);
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-950);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink-950);
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--cobalt-600);
}

.text-accent-light {
  color: var(--cobalt-300);
}

.lead-text {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-600);
}

.section-pad {
  padding: 92px 0;
}

@media (max-width: 767px) {
  .section-pad {
    padding: 64px 0;
  }
}

.bg-ice {
  background-color: var(--bg-ice);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-navy {
  background-color: var(--bg-navy);
  color: var(--bg-white);
}

.border-y-line {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   HOMEPAGE ARCHITECTURAL HERO
   ========================================================================== */
.hero-arch {
  position: relative;
  background-color: var(--bg-ice);
  background-image:
    linear-gradient(to right, rgba(29, 78, 216, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 78, 216, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  border-bottom: 1px solid var(--border-light);
  padding: 64px 0 84px;
}

@media (min-width: 1024px) {
  .hero-arch {
    padding: 84px 0 104px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--cobalt-600);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-900);
  margin-bottom: 24px;
}

.hero-tag svg {
  width: 15px;
  height: 15px;
  color: var(--cobalt-600);
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.hero-copy .lead-text {
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
}

.hero-ledger-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--border-light);
}

.hero-ledger-cell:last-child {
  border-right: none;
}

.hero-ledger-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cobalt-600);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.hero-ledger-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-600);
}

@media (max-width: 520px) {
  .hero-ledger {
    grid-template-columns: 1fr;
  }
  .hero-ledger-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .hero-ledger-cell:last-child {
    border-bottom: none;
  }
  .hero-ledger-num {
    margin-bottom: 0;
  }
}

.hero-visual-frame {
  position: relative;
}

.hero-image-box {
  position: relative;
  border: 1px solid var(--ink-950);
  background: var(--bg-navy);
  box-shadow: 16px 16px 0 var(--cobalt-600);
  overflow: hidden;
}

.hero-image-box img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 640px) {
  .hero-image-box {
    box-shadow: 10px 10px 0 var(--cobalt-600);
  }
  .hero-image-box img {
    height: 300px;
  }
}

.hero-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-navy);
  color: var(--bg-white);
  border-top: 1px solid var(--border-dark);
  font-size: 0.82rem;
}

.hero-caption-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--cobalt-300);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--cobalt-400);
  display: inline-block;
}

/* ==========================================================================
   PAGE MASTHEAD (INNER PAGES)
   ========================================================================== */
.page-masthead {
  background: var(--bg-navy);
  color: var(--bg-white);
  padding: 68px 0 72px;
  border-bottom: 4px solid var(--cobalt-600);
  position: relative;
  overflow: hidden;
}

.page-masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(59, 130, 246, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-masthead-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--bg-white);
}

.breadcrumb-sep {
  color: var(--cobalt-400);
}

.page-masthead h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bg-white);
  margin-bottom: 18px;
}

.page-masthead p {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
}

/* ==========================================================================
   ASYMMETRIC SPLIT & BENTO GRIDS (ABOUT & COMMITMENTS)
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .split-section {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.sticky-col {
  position: static;
}

@media (min-width: 1024px) {
  .sticky-col {
    position: sticky;
    top: 108px;
  }
}

.narrative-stack p {
  font-size: 1.03rem;
  color: var(--ink-600);
  margin-bottom: 20px;
  line-height: 1.78;
}

.commitment-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  margin-top: 32px;
}

@media (max-width: 600px) {
  .commitment-matrix {
    grid-template-columns: 1fr;
  }
}

.commitment-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.commitment-cell:nth-child(2n) {
  border-right: none;
}

.commitment-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

@media (max-width: 600px) {
  .commitment-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-light) !important;
  }
  .commitment-cell:last-child {
    border-bottom: none !important;
  }
}

.icon-box {
  width: 42px;
  height: 42px;
  background: var(--cobalt-50);
  border: 1px solid var(--cobalt-100);
  color: var(--cobalt-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.icon-box-dark {
  background: var(--bg-navy-card);
  border-color: var(--border-dark);
  color: var(--cobalt-400);
}

.pillar-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  background: var(--bg-navy);
  color: var(--bg-white);
  margin-top: 48px;
}

@media (max-width: 960px) {
  .pillar-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pillar-strip {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background-color 0.25s ease;
}

.pillar-card:hover {
  background: var(--bg-navy-mid);
}

.pillar-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cobalt-400);
  display: block;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--bg-white);
}

.pillar-card p {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ==========================================================================
   HOMEPAGE INTERACTIVE MASTER-DETAIL SERVICE EXPLORER
   ========================================================================== */
.explorer-shell {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 992px) {
  .explorer-shell {
    grid-template-columns: 340px 1fr;
  }
}

.explorer-rail {
  background: var(--bg-ice);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .explorer-rail {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
}

@media (max-width: 991px) {
  .explorer-rail {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.explorer-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-700);
  border-bottom: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .explorer-tab {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    border-left: none;
    border-top: 3px solid transparent;
    padding: 14px 18px;
  }
}

.explorer-tab:hover {
  background: var(--bg-white);
  color: var(--ink-950);
}

.explorer-tab.is-active {
  background: var(--bg-white);
  color: var(--cobalt-600);
  border-left-color: var(--cobalt-600);
  font-weight: 700;
}

@media (max-width: 991px) {
  .explorer-tab.is-active {
    border-left-color: transparent;
    border-top-color: var(--cobalt-600);
  }
}

.explorer-tab-num {
  font-family: var(--font-display);
  font-size: 0.76rem;
  color: var(--ink-400);
  margin-right: 8px;
}

.explorer-tab.is-active .explorer-tab-num {
  color: var(--cobalt-600);
}

.explorer-count {
  font-family: var(--font-display);
  font-size: 0.74rem;
  padding: 2px 8px;
  background: var(--bg-mist);
  color: var(--ink-600);
  border-radius: 2px;
}

.explorer-tab.is-active .explorer-count {
  background: var(--cobalt-600);
  color: var(--bg-white);
}

.explorer-stage {
  padding: 36px;
}

@media (max-width: 640px) {
  .explorer-stage {
    padding: 24px 20px;
  }
}

.explorer-pane {
  display: none;
}

.explorer-pane.is-active {
  display: block;
}

.explorer-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-light);
}

.explorer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.service-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-item-card:hover {
  border-color: var(--cobalt-500);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.service-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.service-code {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-400);
}

.service-item-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-950);
  margin-bottom: 10px;
}

.service-item-card p {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.66;
}

/* ==========================================================================
   DEDICATED SERVICES DIRECTORY PAGE LAYOUT
   ========================================================================== */
.directory-controls {
  background: var(--bg-ice);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  position: sticky;
  top: 76px;
  z-index: 800;
}

.directory-controls-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-white);
  color: var(--ink-700);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: var(--cobalt-500);
  color: var(--cobalt-600);
}

.filter-pill.is-active {
  background: var(--cobalt-600);
  color: var(--bg-white);
  border-color: var(--cobalt-600);
}

.search-box {
  position: relative;
  min-width: 250px;
  flex: 1 1 250px;
  max-width: 340px;
}

.search-box input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  font-size: 0.88rem;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  outline: none;
}

.search-box input:focus {
  border-color: var(--cobalt-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-400);
}

.service-chapter {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 160px;
}

.service-chapter:last-child {
  border-bottom: none;
}

.service-chapter.is-hidden {
  display: none;
}

.chapter-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .chapter-layout {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }
}

.chapter-meta {
  position: static;
}

@media (min-width: 1024px) {
  .chapter-meta {
    position: sticky;
    top: 170px;
    align-self: start;
  }
}

.chapter-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: var(--cobalt-50);
  color: var(--cobalt-600);
  border: 1px solid var(--cobalt-100);
  margin-bottom: 14px;
}

.chapter-meta h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  margin-bottom: 10px;
}

.chapter-count-note {
  font-size: 0.86rem;
  color: var(--ink-500);
  font-weight: 500;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   WHY CHOOSE US — DARK ARCHITECTURAL ADVANTAGE BAND
   ========================================================================== */
.advantage-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  background: var(--bg-navy-mid);
}

@media (max-width: 991px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

.advantage-cell {
  padding: 34px 28px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advantage-cell h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bg-white);
}

.advantage-cell p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  border-top: none;
  background: var(--ink-950);
}

@media (max-width: 767px) {
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--cobalt-400);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 6px;
}

.metric-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ==========================================================================
   TESTIMONIALS — EDITORIAL BENTO WALL
   ========================================================================== */
.testimonials-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.testi-card {
  grid-column: span 2;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}

.testi-card.featured {
  grid-column: span 3;
  background: var(--bg-ice);
  border-color: var(--border-strong);
}

@media (max-width: 991px) {
  .testi-card,
  .testi-card.featured {
    grid-column: span 3;
  }
}

@media (max-width: 680px) {
  .testi-card,
  .testi-card.featured {
    grid-column: span 6;
  }
}

.testi-stars {
  color: var(--cobalt-600);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.testi-quote {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-900);
  font-weight: 500;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--bg-navy);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.author-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-950);
}

.author-meta p {
  font-size: 0.82rem;
  color: var(--ink-500);
}

/* ==========================================================================
   FAQ — NUMBERED ARCHITECTURAL ACCORDION
   ========================================================================== */
.faq-ledger {
  border-top: 1px solid var(--border-strong);
}

.faq-row {
  border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 12px;
  padding: 22px 8px;
  text-align: left;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-950);
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--cobalt-600);
}

.faq-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--cobalt-600);
  font-weight: 700;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  transition: all 0.2s ease;
}

.faq-row.is-open .faq-icon {
  background: var(--cobalt-600);
  border-color: var(--cobalt-600);
  color: var(--bg-white);
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-content-inner {
  padding: 0 40px 24px 56px;
  font-size: 0.95rem;
  color: var(--ink-600);
  line-height: 1.72;
}

@media (max-width: 600px) {
  .faq-content-inner {
    padding: 0 12px 20px 12px;
  }
}

/* ==========================================================================
   FORMS (CONTACT, NEWSLETTER, UNSUBSCRIBE)
   ========================================================================== */
.executive-form-shell {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 992px) {
  .executive-form-shell {
    grid-template-columns: 5fr 7fr;
  }
}

.form-info-panel {
  background: var(--bg-navy);
  color: var(--bg-white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

@media (max-width: 600px) {
  .form-info-panel {
    padding: 32px 24px;
  }
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 3px;
}

.channel-value {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--bg-white);
}

.form-body-panel {
  padding: 48px 44px;
  background: var(--bg-white);
}

@media (max-width: 600px) {
  .form-body-panel {
    padding: 32px 24px;
  }
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-field {
  margin-bottom: 20px;
}

.form-grid-2 .form-field {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-ice);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  color: var(--ink-950);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  background: var(--bg-white);
  border-color: var(--cobalt-600);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--crimson-600);
  background: var(--crimson-50);
}

.field-error {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--crimson-600);
  margin-top: 6px;
}

.form-field.has-error .field-error {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0;
}

.checkbox-row input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--cobalt-600);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-row label {
  font-size: 0.9rem;
  color: var(--ink-700);
  cursor: pointer;
}

.form-Note-link {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--ink-500);
  text-align: center;
}

.form-Note-link a {
  color: var(--cobalt-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-Note-link a:hover {
  color: var(--cobalt-800);
}

/* Unsubscribe Standalone Card */
.unsub-card-shell {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  box-shadow: var(--shadow-elevated);
}

.unsub-card-top {
  padding: 28px 36px;
  background: var(--bg-ice);
  border-bottom: 1px solid var(--border-light);
}

.unsub-card-body {
  padding: 36px;
}

@media (max-width: 560px) {
  .unsub-card-top,
  .unsub-card-body {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   LEGAL GOVERNANCE READER (PRIVACY POLICY & TERMS)
   ========================================================================== */
.legal-reader-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .legal-reader-grid {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }
}

.legal-toc {
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  padding: 24px;
}

@media (min-width: 1024px) {
  .legal-toc {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
  }
}

.legal-toc-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc-list a {
  display: block;
  padding: 7px 10px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-600);
  border-left: 2px solid transparent;
  line-height: 1.35;
}

.legal-toc-list a:hover,
.legal-toc-list a.is-active {
  color: var(--cobalt-600);
  background: var(--bg-white);
  border-left-color: var(--cobalt-600);
}

.legal-document {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 48px;
}

@media (max-width: 640px) {
  .legal-document {
    padding: 28px 20px;
  }
}

.legal-intro {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--ink-700);
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--ink-950);
}

.legal-clause {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 110px;
}

.legal-clause:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-clause p {
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--ink-700);
}

.legal-clause strong {
  color: var(--ink-950);
  font-weight: 700;
}

/* ==========================================================================
   CTA SPLIT BANNER
   ========================================================================== */
.cta-split-box {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-dark);
  background: var(--bg-navy);
  color: var(--bg-white);
}

@media (min-width: 900px) {
  .cta-split-box {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-pane {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.cta-pane + .cta-pane {
  background: var(--bg-navy-mid);
  border-top: 1px solid var(--border-dark);
}

@media (min-width: 900px) {
  .cta-pane + .cta-pane {
    border-top: none;
    border-left: 1px solid var(--border-dark);
  }
}

@media (max-width: 600px) {
  .cta-pane {
    padding: 34px 24px;
  }
}

/* ==========================================================================
   ARCHITECTURAL FOOTER (IDENTICAL ACROSS ALL PAGES)
   ========================================================================== */
.site-footer {
  background: var(--ink-950);
  color: #cbd5e1;
  border-top: 3px solid var(--cobalt-600);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 1fr 0.85fr;
  gap: 44px;
  padding-bottom: 56px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.68;
  margin-bottom: 22px;
  max-width: 340px;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bg-white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--bg-white);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid #16223b;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

/* ==========================================================================
   JAVASCRIPT TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-viewport {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  width: calc(100vw - 32px);
  pointer-events: none;
}

@media (max-width: 480px) {
  .toast-viewport {
    right: 16px;
    bottom: 16px;
  }
}

.toast-item {
  pointer-events: auto;
  background: var(--ink-950);
  color: var(--bg-white);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--cobalt-500);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-toast);
  padding: 18px 18px 20px;
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  gap: 14px;
  align-items: start;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.toast-item.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-item.toast-error {
  border-left-color: var(--crimson-500);
}

.toast-badge {
  width: 36px;
  height: 36px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: var(--cobalt-300);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toast-item.toast-error .toast-badge {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.toast-badge svg {
  width: 18px;
  height: 18px;
}

.toast-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--bg-white);
  margin-bottom: 3px;
}

.toast-message {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.toast-close {
  width: 28px;
  height: 28px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
}

.toast-close:hover {
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.08);
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--cobalt-500);
  transform-origin: left center;
  animation: toastTimer 5s linear forwards;
}

.toast-item.toast-error .toast-progress {
  background: var(--crimson-500);
}

@keyframes toastTimer {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@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;
  }
}
