/* =============================================================================
   XOGENT.COM — Main Design System
   =============================================================================
   Typography:  Funnel Sans (headlines), Geist (body), Geist Mono (code)
   Accent:      #FCAF17 (golden yellow CTAs), #2563EB (blue)
   Dark bg:     #0B1120 / #0F1B33
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Google Fonts Import
----------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:wght@400;500;600;700;800&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* -----------------------------------------------------------------------------
   2. CSS Custom Properties
----------------------------------------------------------------------------- */
:root {
  /* --- Accent Colors --- */
  --accent-primary:      #FCAF17;
  --accent-blue:         #2563EB;
  --accent-blue-dark:    #1E40AF;
  --accent-primary-dark: #E09C00;

  /* --- Background Colors --- */
  --bg-dark:             #0B1120;
  --bg-navy:             #0F1B33;
  --bg-dark-section:     #1B2A4A;
  --footer-bg:           #111827;
  --nav-bg:              #FFFFFF;
  --bg-light:            #FFFFFF;
  --bg-light-gray:       #F7F8FA;
  --bg-medium-gray:      #F0F2F5;

  /* --- Border & Card --- */
  --card-border:         #EEF0F2;
  --border-light:        #E5E7EB;
  --border-medium:       #D1D5DB;

  /* --- Text Colors --- */
  --text-heading:        #1A1A2E;
  --text-body:           #4A4A5A;
  --text-muted:          #7A7A8A;
  --text-gray:           #9CA3AF;
  --text-light:          #D0D5DD;

  /* --- Typography Families --- */
  --font-headline:       'Funnel Sans', sans-serif;
  --font-body:           'Geist', sans-serif;
  --font-mono:           'Geist Mono', monospace;

  /* --- Font Weights --- */
  --fw-regular:          400;
  --fw-medium:           500;
  --fw-semibold:         600;
  --fw-bold:             700;
  --fw-extrabold:        800;

  /* --- Spacing Scale (4px base) --- */
  --space-1:             4px;
  --space-2:             8px;
  --space-3:             12px;
  --space-4:             16px;
  --space-5:             20px;
  --space-6:             24px;
  --space-8:             32px;
  --space-10:            40px;
  --space-12:            48px;
  --space-16:            64px;
  --space-20:            80px;
  --space-24:            96px;
  --space-30:            120px;

  /* --- Layout --- */
  --container-max:       1280px;
  --container-padding:   64px;
  --section-padding:     80px;

  /* --- Border Radius --- */
  --radius-sm:           4px;
  --radius-md:           8px;
  --radius-lg:           12px;
  --radius-xl:           16px;
  --radius-full:         9999px;

  /* --- Shadows --- */
  --shadow-sm:           0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:           0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:           0 10px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-card-hover:   0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);

  /* --- Transitions --- */
  --transition-fast:     150ms ease;
  --transition-base:     250ms ease;
  --transition-slow:     350ms ease;

  /* --- Navigation --- */
  --nav-height:          72px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* -----------------------------------------------------------------------------
   4. Typography Base
----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

strong { font-weight: var(--fw-semibold); }

code, kbd, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  padding: var(--space-4);
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-md);
}

/* Text size utilities */
.text-sm    { font-size: 0.875rem; }
.text-base  { font-size: 1rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }

/* Text color utilities */
.text-muted   { color: var(--text-muted); }
.text-gray    { color: var(--text-gray); }
.text-light   { color: var(--text-light); }
.text-accent  { color: var(--accent-primary); }
.text-blue    { color: var(--accent-blue); }
.text-white   { color: #fff; }
.text-heading { color: var(--text-heading); }

/* Font weight utilities */
.font-semibold  { font-weight: var(--fw-semibold); }
.font-bold      { font-weight: var(--fw-bold); }
.font-headline  { font-family: var(--font-headline); }

/* Alignment utilities */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Eyebrow / label style */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.eyebrow-blue {
  color: var(--accent-blue);
}

/* Section heading block */
.section-heading {
  margin-bottom: var(--space-12);
}

.section-heading h2 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-heading p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center p {
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------------------------------------------
   5. Layout Utilities
----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section-sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section-lg {
  padding-top: var(--space-30);
  padding-bottom: var(--space-30);
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

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

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

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

/* Flex utilities */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-2          { gap: var(--space-2); }
.gap-4          { gap: var(--space-4); }
.gap-6          { gap: var(--space-6); }
.gap-8          { gap: var(--space-8); }

/* Spacing helpers */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

/* -----------------------------------------------------------------------------
   6. Navigation
----------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 1.375rem;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active {
  color: var(--accent-blue);
  background-color: rgba(37,99,235,0.06);
}

/* Dropdown chevron */
.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-links > li.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  /* padding-top bridges the visual gap so hover area is continuous (no dead zone) */
  padding: 8px 0 var(--space-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px var(--space-5);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--text-body);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: var(--bg-light-gray);
  color: var(--accent-blue);
}

.dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-2) 0;
}

/* Nav right: CTA area */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px var(--space-5);
  background-color: var(--accent-primary);
  color: #1A1A1A;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.nav-cta:hover {
  background-color: var(--accent-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(252,175,23,0.35);
}

.nav-link-plain {
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.nav-link-plain:hover {
  color: var(--accent-blue);
}

/* Hamburger button (mobile) */
#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

#nav-toggle:hover {
  background-color: var(--bg-light-gray);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

#nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

#nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-4) 0 var(--space-8);
  border-top: 1px solid var(--border-light);
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu ul {
  padding: 0 var(--space-4);
}

.nav-mobile-menu ul li a,
.nav-mobile-menu ul li button {
  display: block;
  padding: var(--space-4) var(--space-3);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-mobile-menu ul li a:hover,
.nav-mobile-menu ul li button:hover {
  color: var(--accent-blue);
}

.nav-mobile-submenu {
  padding-left: var(--space-5);
}

.nav-mobile-submenu a {
  font-size: 0.9375rem !important;
  color: var(--text-body) !important;
}

.nav-mobile-cta {
  margin: var(--space-6) var(--space-4) 0;
}

.nav-mobile-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

/* -----------------------------------------------------------------------------
   7. Hero Section
----------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 1;
}

/* Gradient overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,17,32,0.65) 0%,
    rgba(15,27,51,0.45) 50%,
    rgba(11,17,32,0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-4);
  border: 1px solid rgba(252,175,23,0.4);
  border-radius: var(--radius-full);
  background: rgba(252,175,23,0.08);
}

.hero-title {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  max-width: 900px;
  margin-left: 0;
  margin-right: auto;
}

.hero-title span {
  color: var(--accent-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-light);
  line-height: 1.65;
  max-width: 660px;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: var(--space-10);
  font-weight: var(--fw-regular);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Left-aligned hero variant */
.hero-content.left {
  text-align: left;
}

.hero-content.left .hero-title,
.hero-content.left .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
}

.hero-content.left .hero-cta {
  justify-content: flex-start;
}

/* Compact hero for inner pages */
.hero-compact {
  min-height: 400px;
}

.hero-compact .hero-content {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* -----------------------------------------------------------------------------
   8. Accent Strip
----------------------------------------------------------------------------- */
.accent-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #374150 100%);
}

.accent-strip-thin {
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #374150 100%);
}

/* -----------------------------------------------------------------------------
   9. Section Variants
----------------------------------------------------------------------------- */
.section-light {
  background-color: var(--bg-light);
}

.section-alt {
  background-color: var(--bg-light-gray);
}

.section-medium {
  background-color: var(--bg-medium-gray);
}

.section-dark {
  background-color: var(--bg-dark);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: #fff;
}

.section-dark p,
.section-dark .text-muted {
  color: var(--text-light);
}

.section-dark .eyebrow {
  color: var(--accent-primary);
}

.section-navy {
  background-color: var(--bg-navy);
  color: #fff;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy h5,
.section-navy h6 {
  color: #fff;
}

.section-navy p,
.section-navy .text-muted {
  color: rgba(208,213,221,0.85);
}

.section-dark-section {
  background-color: var(--bg-dark-section);
  color: #fff;
}

.section-dark-section h2,
.section-dark-section h3 {
  color: #fff;
}

/* -----------------------------------------------------------------------------
   10. Cards
----------------------------------------------------------------------------- */
.card {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

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

.card-flat {
  background: var(--bg-light-gray);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card-flat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote-mark {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-primary);
  margin-bottom: 8px;
  user-select: none;
}

.card-dark {
  background: var(--bg-dark-section);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  color: #fff;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.card-dark:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(252,175,23,0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  background: var(--bg-light-gray);
}

.card-icon.accent {
  background: rgba(252,175,23,0.12);
  color: var(--accent-primary);
}

.card-icon.blue {
  background: rgba(37,99,235,0.10);
  color: var(--accent-blue);
}

.card-icon svg,
.card-icon img {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.card-dark .card-title {
  color: #fff;
}

.card-body {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

.card-dark .card-body {
  color: rgba(208,213,221,0.82);
}

.card-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--card-border);
}

/* Stats/metric card */
.stat-card {
  text-align: center;
  padding: var(--space-8);
}

.stat-card .stat-value {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card .stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   11. Feature List
----------------------------------------------------------------------------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

.feature-item::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23FCAF17'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23FCAF17' opacity='0.15'/%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' fill='%23FCAF17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-item-blue::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563EB'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232563EB' opacity='0.12'/%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' fill='%232563EB'/%3E%3C/svg%3E");
}

.feature-item strong {
  display: block;
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  margin-bottom: 2px;
}

/* Inline check grid */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

/* -----------------------------------------------------------------------------
   12. Buttons
----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px var(--space-6);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Primary — golden yellow */
.btn-primary {
  background-color: var(--accent-primary);
  color: #1A1A1A;
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background-color: var(--accent-primary-dark);
  border-color: var(--accent-primary-dark);
  box-shadow: 0 6px 20px rgba(252,175,23,0.40);
}

/* Secondary — outline */
.btn-secondary {
  background-color: transparent;
  color: var(--text-heading);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-light-gray);
  border-color: var(--text-muted);
}

/* Secondary on dark backgrounds */
.btn-secondary-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

.btn-secondary-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.70);
}

/* Dark button */
.btn-dark {
  background-color: var(--text-heading);
  color: #fff;
  border-color: var(--text-heading);
}

.btn-dark:hover {
  background-color: #2a2a40;
  border-color: #2a2a40;
  box-shadow: var(--shadow-md);
}

/* Blue button */
.btn-blue {
  background-color: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.btn-blue:hover {
  background-color: var(--accent-blue-dark);
  border-color: var(--accent-blue-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

/* Size variants */
.btn-sm {
  padding: 8px var(--space-4);
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px var(--space-8);
  font-size: 1.0625rem;
}

/* -----------------------------------------------------------------------------
   13. CTA Banner
----------------------------------------------------------------------------- */
.cta-banner {
  background-color: var(--bg-navy);
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.cta-banner h2 span {
  color: var(--accent-primary);
}

.cta-banner p {
  color: var(--text-light);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.cta-banner .cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Accent stripe above CTA banner */
.cta-banner-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #374150 100%);
}

/* Dark card CTA variant */
.cta-card {
  background: var(--bg-dark-section);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
}

/* -----------------------------------------------------------------------------
   14. Footer
----------------------------------------------------------------------------- */
.footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
}

.footer-main {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* Brand column */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-brand .footer-logo img {
  height: 32px;
  width: auto;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-6);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-4);
}

.footer-hours {
  font-size: 0.8125rem;
  color: var(--text-gray);
  margin: 0 0 3px;
  line-height: 1.4;
}

.footer-phone {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-gray);
  margin: 0 0 3px;
  line-height: 1.4;
}

.footer-phone:last-child {
  margin-bottom: 0;
}

.footer-phone a {
  color: var(--text-gray);
  text-decoration: none;
}

.footer-phone a:hover {
  color: #ffffff;
}

.footer-phone-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--text-gray);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(252,175,23,0.15);
  color: var(--accent-primary);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* Links column */
.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: var(--space-5);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--accent-primary);
}

/* Footer bottom bar */
.footer-bottom {
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-light);
}

/* -----------------------------------------------------------------------------
   15. Blog / Article Cards
----------------------------------------------------------------------------- */
.article-card {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.article-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-medium-gray);
  position: relative;
}

.article-card-image--placeholder {
  background: linear-gradient(135deg, #0B1120 0%, #0F1B33 60%, #162040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-image--placeholder::before {
  content: '🛡';
  font-size: 2.5rem;
  opacity: 0.18;
  filter: grayscale(1);
}

.article-card-image--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(252, 175, 23, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
}

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

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

.article-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--space-3);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  background: var(--bg-medium-gray);
  color: var(--text-body);
  letter-spacing: 0.02em;
}

.tag-accent {
  background: rgba(252,175,23,0.12);
  color: #8a6000;
}

.tag-blue {
  background: rgba(37,99,235,0.10);
  color: var(--accent-blue-dark);
}

.article-card-title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  margin-bottom: var(--space-3);
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.article-card:hover .article-card-title {
  color: var(--accent-blue);
}

.article-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-5);
}

.article-read-more {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-fast);
  margin-top: auto;
}

.article-card:hover .article-read-more {
  gap: var(--space-2);
}


/* -----------------------------------------------------------------------------
   16. Form Styles
----------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.form-required {
  color: #dc2626;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px var(--space-4);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: var(--fw-regular);
  color: var(--text-heading);
  background: var(--bg-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-gray);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A7A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-hint {
  margin-top: var(--space-1);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-error {
  margin-top: var(--space-1);
  font-size: 0.8125rem;
  color: #dc2626;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #dc2626;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px var(--space-8);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: #1A1A1A;
  background-color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  width: 100%;
}

.form-submit:hover {
  background-color: var(--accent-primary-dark);
  border-color: var(--accent-primary-dark);
  box-shadow: 0 4px 16px rgba(252,175,23,0.4);
  transform: translateY(-1px);
}

/* Checkbox & radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--text-body);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent-blue);
}

/* -----------------------------------------------------------------------------
   17. Misc UI Components
----------------------------------------------------------------------------- */

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px var(--space-3);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  background: var(--bg-medium-gray);
  color: var(--text-body);
}

.badge-accent {
  background: rgba(252,175,23,0.14);
  color: #7a5a00;
}

.badge-blue {
  background: rgba(37,99,235,0.12);
  color: var(--accent-blue-dark);
}

.badge-dark {
  background: var(--text-heading);
  color: #fff;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-8) 0;
}

.divider-dark {
  background: rgba(255,255,255,0.08);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent-blue);
}

.breadcrumb-sep {
  color: var(--border-medium);
  user-select: none;
}

/* Alert / notification */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.6;
}

.alert-info {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.20);
  color: var(--accent-blue-dark);
}

.alert-success {
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.20);
  color: #166534;
}

.alert-warning {
  background: rgba(252,175,23,0.10);
  border: 1px solid rgba(252,175,23,0.30);
  color: #854d0e;
}

/* Testimonial / quote */
.testimonial {
  background: var(--bg-light-gray);
  border-left: 4px solid var(--accent-primary);
  padding: var(--space-6) var(--space-8);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.testimonial-quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-medium-gray);
}

.testimonial-name {
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Process/step list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  counter-reset: step-counter;
}

.step-item {
  display: flex;
  gap: var(--space-5);
  counter-increment: step-counter;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #1A1A1A;
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 {
  margin-bottom: var(--space-2);
}

/* Logo / partner strip */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

.logo-strip img {
  height: 28px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.logo-strip img:hover {
  opacity: 0.85;
  filter: grayscale(0%);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead {
  background: var(--bg-light-gray);
}

th {
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

td {
  padding: var(--space-4) var(--space-5);
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--bg-light-gray);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-10);
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--text-body);
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.page-btn:hover {
  background: var(--bg-light-gray);
  border-color: var(--border-medium);
}

.page-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

/* -----------------------------------------------------------------------------
   17a. Featured Article Card
----------------------------------------------------------------------------- */

.article-card-featured {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--space-8);
  background: var(--bg-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: var(--space-8);
  border: none;
  box-shadow: var(--shadow-lg);
}

.article-card-featured .featured-image {
  flex: 0 0 340px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  align-self: center;
}

.article-card-featured .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-featured .featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.featured-label {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.featured-title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

.featured-title a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.featured-title a:hover { color: var(--accent-primary); }

.featured-excerpt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.article-card-featured time {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Mobile: stack image above text */
@media (max-width: 768px) {
  .article-card-featured {
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-5);
  }
  .article-card-featured .featured-image {
    flex: none;
    width: 100%;
  }
}

/* -----------------------------------------------------------------------------
   17b. News Page — Controls, Pagination, Tag Colors
----------------------------------------------------------------------------- */

.news-controls { margin-bottom: var(--space-10); }
.news-search   { margin-bottom: var(--space-6); }

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.tag-filter.active {
  background: var(--accent-primary) !important;
  color: #1a1a1a !important;
  outline: 2px solid var(--accent-primary-dark);
  outline-offset: 1px;
}

.pagination #prev-page,
.pagination #next-page {
  background-color: var(--accent-primary);
  color: #1a1a1a;
  border-color: var(--accent-primary);
  padding: 10px var(--space-5);
  font-size: 0.9rem;
}

.pagination #prev-page:hover:not(:disabled),
.pagination #next-page:hover:not(:disabled) {
  background-color: var(--accent-primary-dark);
  border-color: var(--accent-primary-dark);
  box-shadow: 0 4px 14px rgba(252,175,23,0.40);
}

.pagination #prev-page:disabled,
.pagination #next-page:disabled {
  background-color: var(--bg-medium-gray);
  border-color: var(--border-light);
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.tag-color-0 { background: rgba(37,99,235,0.10);  color: #1e40af; }
.tag-color-1 { background: rgba(20,184,166,0.14); color: #0f766e; }
.tag-color-2 { background: rgba(139,92,246,0.12); color: #6d28d9; }
.tag-color-3 { background: rgba(249,115,22,0.12); color: #c2410c; }
.tag-color-4 { background: rgba(34,197,94,0.12);  color: #15803d; }
.tag-color-5 { background: rgba(252,175,23,0.14); color: #6b4900; }
.tag-color-6 { background: rgba(236,72,153,0.11); color: #9d174d; }
.tag-color-7 { background: rgba(99,102,241,0.12); color: #4338ca; }

/* -----------------------------------------------------------------------------
   18. Responsive Breakpoints
----------------------------------------------------------------------------- */

/* --- 1024px: tablets --- */
@media (max-width: 1024px) {
  :root {
    --container-padding: 40px;
    --section-padding:   60px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .cta-banner {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

/* --- 768px: mobile --- */
@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --section-padding:   48px;
    --nav-height:        64px;
  }

  /* Nav: hide desktop links, show hamburger */
  .nav-links {
    display: none;
  }

  /* Mobile nav overlay — shown when hamburger is active */
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: 0 0 var(--space-8);
    border-top: 1px solid var(--border-light);
  }

  .nav.nav-open .nav-links > li {
    position: static;
    border-bottom: 1px solid var(--border-light);
  }

  .nav.nav-open .nav-links > li > a,
  .nav.nav-open .nav-links > li > .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--space-4);
    font-size: 1rem;
    width: 100%;
    min-height: 44px;
    border-radius: 0;
    background: none;
  }

  /* Mobile accordion: dropdown menu becomes static when open */
  .nav.nav-open .dropdown.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border-light);
    border-radius: 0;
    background: var(--bg-light-gray);
    padding: var(--space-1) 0;
    min-width: auto;
  }

  .nav.nav-open .dropdown.open .dropdown-menu a {
    padding-left: var(--space-8);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-actions {
    display: none;
  }

  #nav-toggle {
    display: flex;
  }

  /* Single column grids */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-auto {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  /* Hero */
  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-content.left .hero-cta {
    align-items: flex-start;
  }

  /* Cards */
  .card,
  .card-flat,
  .card-dark {
    padding: var(--space-6);
  }

  /* CTA Banner */
  .cta-banner {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .cta-banner .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Typography scaling */
  h1 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  h2 { font-size: clamp(1.375rem, 5vw, 1.75rem); }

  .btn-lg {
    padding: 14px var(--space-6);
    font-size: 1rem;
  }
}

/* --- 480px: small mobile --- */
@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }

  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: clamp(1.625rem, 7vw, 2rem);
  }

  .stat-card .stat-value {
    font-size: 2rem;
  }
}

/* =============================================================================
   19. Article Detail Page
============================================================================= */

/* Hero image */
.article-hero-image {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: var(--bg-navy);
}

.article-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: var(--space-8);
  transition: color 0.15s;
}

.back-link:hover { color: var(--accent-primary); }

/* Article layout */
.article-full {
  width: 100%;
}

.article-header {
  margin-bottom: var(--space-8);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.article-meta time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-8);
}

/* Prose typography — styles the Squarespace HTML content body */
.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body);
}

.prose p {
  margin-bottom: var(--space-5);
  white-space: normal;
}

.prose p:last-child { margin-bottom: 0; }

.prose ul,
.prose ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: var(--space-3);
  line-height: 1.7;
}

/* Squarespace wraps list item text in <p> — remove double spacing */
.prose li p {
  margin-bottom: 0;
}

.prose a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover { color: var(--accent-primary); }

.prose strong { font-weight: var(--fw-semibold); }

.prose h2 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: var(--space-8) 0 var(--space-4);
}

.prose h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: var(--space-6) 0 var(--space-3);
}

.prose blockquote {
  border-left: 4px solid var(--accent-primary);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .article-hero-image { max-height: 260px; }
  .article-hero-image img { height: 260px; }

  .article-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .content-col { max-width: 100%; }
}

/* -----------------------------------------------------------------------------
   20. Section Eyebrow & Feature List Variants
----------------------------------------------------------------------------- */

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-3);
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.section-header .section-eyebrow {
  margin-bottom: var(--space-2);
}

/* Large feature list: bigger font, no icon prefix (uses → in text) */
.feature-list-lg {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 720px;
}

.feature-list-lg .feature-item {
  font-size: 1rem;
  line-height: 1.65;
}

.feature-list-lg .feature-item::before {
  display: none;
}

/* Intro paragraph used on service subpages (narrow, larger text) */
.intro-narrow {
  max-width: 800px;
}

.content-col {
  max-width: 66.67%;
  min-width: 0;
}

.intro-narrow p,
p.intro-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-body);
}

/* Inline step number (01, 02, 03…) used in process/how-we-build sections */
.step-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

/* Ensure section-eyebrow keeps accent color inside dark sections */
.section-dark .section-eyebrow {
  color: var(--accent-primary);
}

/* Dark-section card overrides (transparent glass style for .section-dark) */
.section-dark .card-flat {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.section-dark .card-flat .card-title {
  color: #fff;
}

.section-dark .card-flat .card-body {
  color: var(--text-light);
}

/* Numbered list: large golden numbers, title + description, top-border separators */
.numbered-list {
  display: flex;
  flex-direction: column;
}

.numbered-item {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
  align-items: flex-start;
}

.numbered-item:first-child {
  border-top: none;
  padding-top: 0;
}

.numbered-item-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  min-width: 60px;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
}

.numbered-item-content {
  flex: 1;
}

.numbered-item-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.numbered-item-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* Industries section background image with dark overlay */
.section-industries {
  background-image: linear-gradient(rgba(0,0,0,0.67), rgba(0,0,0,0.67)), url('/images/generated-1775077743836.png');
  background-size: cover;
  background-position: center;
}

/* Industry list: plain text items on dark background, no cards */
.industry-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.industry-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.industry-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.73);
  line-height: 1.5;
  margin: 0;
}

/* Short hero for legal/utility pages */
.hero-short {
  min-height: 240px;
}

/* Legal page content: terms, privacy */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-8);
}

.legal-content h3 {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: var(--space-4);
}

.legal-content ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content li {
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.legal-address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: var(--space-6);
}

.legal-address a {
  color: var(--accent-blue);
}

.legal-updated {
  margin-top: var(--space-10);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-10) 0;
}

/* Stats row used on vCSO/vCTO page */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 8px;
}
