/* --------------------------------------------------------------------------
   Design System - Corporate Modern (Split Hero & Vertical Cards) • Typography: Plus Jakarta Sans • Button: Soft Elevated Rounded
   -------------------------------------------------------------------------- */

:root {
  --primary: #122A4C;
  --primary-dark: #000e30;
  --primary-50: rgba(18, 42, 76, 0.08);
  --primary-100: rgba(18, 42, 76, 0.16);

  --secondary: #BE151D;
  --secondary-dark: #a80007;
  --secondary-50: rgba(190, 21, 29, 0.1);
  --secondary-100: rgba(190, 21, 29, 0.18);

  --accent: #BE474A;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;

  --border-light: #e2e8f0;
  --border-focus: #122A4C;

  /* Color-Matched Dark Background for Footer Only */
  --bg-footer: hsl(215, 48%, 7.5%);
  --border-footer: hsla(215, 48%, 70%, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 30px -4px rgba(0, 0, 0, 0.12);

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body { line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.site-logo-wrap { display: flex; align-items: center; }
.site-logo { max-height: 52px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  border-radius: var(--radius-full);
}

.header-cta-wrap { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-cta { display: none !important; }

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}
.mobile-nav-toggle svg { width: 28px; height: 28px; }

/* -------------------------------------------------------------
   5 DISTINCT NAVIGATION STYLES
   ------------------------------------------------------------- */

/* 1. Classic Horizontal Bar */
.nav-classic-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

/* 2. Pill/Tab Shaped Nav Bar (Modern & Tech) */
.nav-pill-tabs .nav-pill-enclosed {
  background: var(--bg-subtle);
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  gap: 0.25rem;
}
.nav-pill-tabs .nav-pill-enclosed .nav-link {
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-pill-tabs .nav-pill-enclosed .nav-link.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 700;
}
.nav-pill-tabs .nav-pill-enclosed .nav-link.active::after {
  display: none;
}
.nav-pill-tabs .nav-pill-enclosed .nav-link:hover {
  color: var(--primary);
}

/* 3. Vertical Sidebar Nav (Sleek & App-Like) */
@media (min-width: 993px) {
  .site-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    background: #ffffff;
    border-right: 1px solid var(--border-light);
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 2px 0 12px rgba(0,0,0,0.04);
    overflow-y: auto;
  }
  .sidebar-logo-wrap {
    margin-bottom: 2.5rem;
  }
  .sidebar-logo-wrap .site-logo {
    max-height: 48px;
    width: auto;
  }
  .sidebar-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: auto;
  }
  .sidebar-nav-links .nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
  }
  .sidebar-nav-links .nav-link:hover {
    background: var(--bg-subtle);
    color: var(--primary);
  }
  .sidebar-nav-links .nav-link.active {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
  }
  .sidebar-nav-links .nav-link.active::after {
    display: none;
  }
  .sidebar-footer-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
  }
  .main-with-sidebar, .footer-with-sidebar {
    margin-left: 270px;
  }
  .mobile-sidebar-header {
    display: none;
  }
}
@media (max-width: 992px) {
  .site-sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .site-sidebar.open {
    transform: translateY(0);
  }
  .sidebar-logo-wrap {
    display: none;
  }
  .sidebar-nav-links .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    display: block;
  }
  .sidebar-nav-links .nav-link.active::after { display: none; }
  .sidebar-nav-links .nav-link.active { color: var(--secondary); font-weight: 800; }
  .sidebar-footer-cta { margin-top: 1rem; }
  .sidebar-footer-cta .btn { width: 100%; }
}

/* 4. Split Navigation (Balanced & Centered) */
.nav-split-centered .split-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  height: 85px;
}
.split-nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
}
.split-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.split-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
}
.split-mobile-drawer {
  display: none;
}
@media (max-width: 992px) {
  .nav-split-centered .split-header-inner {
    display: flex;
    justify-content: space-between;
    height: 80px;
  }
  .split-nav-left, .split-nav-right {
    display: none;
  }
  .split-mobile-drawer {
    display: flex;
  }
}

/* 5. Floating / Sticky Glassmorphism Header */
.nav-floating-glass {
  position: sticky;
  top: 18px;
  z-index: 1000;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 1rem;
}
.floating-glass-inner {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .nav-floating-glass {
    top: 10px;
    padding: 0 0.75rem;
  }
  .floating-glass-inner {
    border-radius: var(--radius-md);
    height: 70px;
    padding: 0 1.25rem;
  }
  .nav-floating-glass .nav-links {
    top: 76px;
    border-radius: var(--radius-md);
    width: calc(100% - 1.5rem);
    left: 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

/* White Solid CTA Button for Dark Banner Sections */
.btn-white-cta {
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-white-cta:hover {
  background: #ffffff !important;
  color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* Distinct Button Style: Soft Elevated Rounded */

      .btn {
        border-radius: 8px;
        letter-spacing: normal;
        border: none;
      }
      .btn-primary {
        background: var(--primary);
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(18, 42, 76, 0.25);
      }
      .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(18, 42, 76, 0.35);
        color: #ffffff;
      }
      .btn-secondary {
        background: var(--secondary);
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(190, 21, 29, 0.28);
      }
      .btn-secondary:hover {
        background: var(--secondary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(190, 21, 29, 0.38);
        color: #ffffff;
      }
      .btn-outline {
        background: transparent;
        color: var(--primary);
        border: 1.5px solid var(--primary);
      }
      .btn-outline:hover {
        background: var(--primary-50);
        transform: translateY(-2px);
      }
    

/* Typography & Titles */
.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-100);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }
.section-title-wrap { text-align: center; max-width: 680px; margin: 0 auto 3.5rem auto; }

/* -------------------------------------------------------------
   HERO VARIATIONS
   ------------------------------------------------------------- */

/* Archetype 1: Split Two-Column Hero */
.hero-split {
  background-color: #ffffff;
  padding: 5rem 0 4.5rem;
  position: relative;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--secondary); }
.hero-desc { font-size: 1.12rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 2.5rem; }
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}
.hero-stat-item .stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.hero-stat-item .stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-top: 0.2rem; }

.hero-card-side {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.hero-image-wrap { width: 100%; height: 270px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 1.5rem; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }

/* Archetype 2: Centered Search Hero */
.hero-centered-search {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  position: relative;
}
.hero-centered-wrap { max-width: 860px; margin: 0 auto; }
.hero-centered-search .hero-title { font-size: 3.35rem; margin-bottom: 1.25rem; }
.hero-centered-search .hero-desc { font-size: 1.18rem; margin: 0 auto 2.5rem auto; }

.hero-inline-search {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}
.hero-inline-search input {
  flex-grow: 1;
  border: none;
  outline: none;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
}
.hero-inline-search .btn { border-radius: var(--radius-full); padding: 0.75rem 1.75rem; }

.hero-trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}
.trust-strip-pill svg { width: 16px; height: 16px; color: var(--secondary); }

/* Archetype 3: Dark Glassmorphic Banner Hero */
.hero-dark-glass {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-dark-glass::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 21, 29, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-dark-glass .hero-title { color: #ffffff; }
.hero-dark-glass .hero-title .highlight { color: #67e8f9; }
.hero-dark-glass .hero-desc { color: rgba(255, 255, 255, 0.85); }
.hero-dark-glass .section-badge { background: rgba(255, 255, 255, 0.15); color: #ffffff; border-color: rgba(255, 255, 255, 0.25); }

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(103, 232, 249, 0.15);
  color: #67e8f9;
  margin-bottom: 1.25rem;
}
.glass-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.glass-item svg { width: 18px; height: 18px; color: #67e8f9; flex-shrink: 0; margin-top: 3px; }

/* Archetype 4: Asymmetric Bold Industrial Hero */
.hero-asymmetric {
  background: #ffffff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  border-bottom: 2px solid var(--border-light);
}
.hero-asymmetric .hero-title { font-size: 3.4rem; letter-spacing: -0.03em; }
.hero-pill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.hero-pill-tag {
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--primary);
  border-left: 3px solid var(--secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.dual-image-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  position: relative;
}
.dual-img-item {
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid #ffffff;
}
.dual-img-item:last-child { margin-top: 2rem; }
.dual-img-item img { width: 100%; height: 100%; object-fit: cover; }

/* Archetype 5: Reversed Media Hero (Image Left, Content Right) */
.hero-reversed {
  background: var(--bg-surface);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-light);
}
.hero-reversed-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-media-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: 380px;
}
.hero-media-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-floating-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.hero-floating-tag svg {
  color: #10b981;
  width: 18px;
  height: 18px;
}
.hero-benefit-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}
.hero-benefit-mini-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}
.hero-benefit-mini-item svg {
  color: var(--secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Archetype 6: Fullwidth Immersive Banner Hero */
.hero-fullwidth-banner {
  color: #ffffff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-fullwidth-banner .hero-title { color: #ffffff; }
.hero-fullwidth-banner .hero-title .highlight { color: #67e8f9; }
.hero-fullwidth-banner .hero-desc { color: rgba(255, 255, 255, 0.9); }
.hero-fullwidth-banner .section-badge { background: rgba(255, 255, 255, 0.15); color: #ffffff; border-color: rgba(255, 255, 255, 0.25); }
.hero-fullwidth-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-action-card-white {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-action-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.hero-action-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Archetype 7: Interactive Category Grid Hero */
.hero-category-grid {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero-cat-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.hero-mini-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.hero-mini-cat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mini-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.hero-mini-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.hero-mini-cat-icon svg {
  width: 22px;
  height: 22px;
}
.hero-mini-cat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.hero-mini-cat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Archetype 8: Minimalist Typography & 2x2 Metric Grid Hero */
.hero-minimal-metrics {
  background: var(--bg-page);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-light);
}
.hero-metrics-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.metrics-2x2-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.metric-box-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--secondary);
}
.metric-box-num {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.metric-box-lbl {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.4;
}
.metrics-banner-photo {
  margin-top: 1.25rem;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.metrics-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inner Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-inverse);
  padding: 4.5rem 0;
  text-align: center;
}
.page-hero .section-badge { background: rgba(255, 255, 255, 0.12); color: #ffffff; border-color: rgba(255, 255, 255, 0.2); }
.page-hero-title { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; }
.page-hero-desc { font-size: 1.15rem; color: rgba(255, 255, 255, 0.85); max-width: 680px; margin: 0 auto; }

/* -------------------------------------------------------------
   JOB CARD STYLES
   ------------------------------------------------------------- */

/* Standard Vertical Card (Archetype 1) */
.jobs-grid-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}
.job-card-vertical {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.job-card-vertical:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-100);
}
.job-thumb-wrap { width: 100%; height: 190px; overflow: hidden; background: var(--bg-subtle); }
.job-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.job-card-vertical:hover .job-thumb { transform: scale(1.05); }

.job-card-body { padding: 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.job-category-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  color: var(--primary);
}
.job-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.job-location-badge svg { width: 16px; height: 16px; color: var(--secondary); }
.job-card-title { font-size: 1.35rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; line-height: 1.3; }
.job-card-desc { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.job-duties-list { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.75rem; }
.job-duty-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--text-main); }
.job-duty-item svg { width: 14px; height: 14px; color: var(--secondary); flex-shrink: 0; }

.job-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.job-card-footer .btn { flex-shrink: 0; white-space: nowrap; }
.employment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  line-height: 1.3;
}

/* Horizontal Row Card (Archetype 2) */
.jobs-grid-row { display: flex; flex-direction: column; gap: 1.5rem; }
.job-card-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  align-items: stretch;
}
.job-card-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.job-card-row .job-thumb-wrap { width: 100%; height: 100%; min-height: 200px; }
.job-row-details { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.job-row-action {
  padding: 1.75rem;
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-subtle);
  text-align: center;
}

/* Overlay Badge Card (Archetype 3) */
.job-card-overlay {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.job-card-overlay:hover {
  border-color: var(--secondary);
  box-shadow: 0 16px 32px rgba(190, 21, 29, 0.15);
  transform: translateY(-4px);
}
.job-card-overlay .job-thumb-wrap { position: relative; }
.thumb-float-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Left-Accent Card (Archetype 4) */
.job-card-accent {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 6px solid var(--secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.job-card-accent:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

/* Feature Checklists */
.feature-check-list { display: flex; flex-direction: column; gap: 0.85rem; }
.feature-check-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; font-weight: 500; }
.feature-check-item svg { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

/* Sectors Grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.sector-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sector-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.sector-icon-box svg { width: 28px; height: 28px; }
.sector-card-title { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.sector-card-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.sector-roles-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.role-tag { font-size: 0.78rem; font-weight: 600; background: var(--bg-subtle); color: var(--text-main); padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); }

/* Filter Bar */
.jobs-filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pill {
  background: var(--bg-subtle);
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover { background: var(--primary-50); color: var(--primary); }
.filter-pill.active { background: var(--primary); color: #ffffff; border-color: var(--primary); }
.search-field-wrap { position: relative; min-width: 280px; }
.search-field-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  background: var(--bg-subtle);
  outline: none;
}
.search-field-input:focus { background: #ffffff; border-color: var(--primary); }
.search-icon-svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-light); }

/* Forms */
.form-wrapper-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.form-label .required { color: var(--secondary); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  min-height: 48px;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
textarea.form-control { min-height: 120px; resize: vertical; }

.file-upload-box {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  background: var(--bg-subtle);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.file-upload-box:hover { border-color: var(--primary); background: var(--primary-50); }
.file-upload-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-upload-icon { width: 40px; height: 40px; color: var(--primary); margin: 0 auto 0.75rem; }
.file-upload-text { font-size: 0.92rem; font-weight: 600; color: var(--primary); }
.file-upload-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.selected-file-name { margin-top: 0.75rem; font-size: 0.85rem; font-weight: 700; color: var(--secondary); display: none; }

.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-size: 0.92rem; font-weight: 600; display: none; }
.form-status-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-status-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Footer - Color-Matched Dark Theme Background */
.site-footer {
  background: var(--bg-footer);
  color: #ffffff;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-footer);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.footer-brand-logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-desc { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-col-title { font-size: 1.1rem; font-weight: 800; color: #ffffff; margin-bottom: 1.25rem; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; transition: var(--transition); }
.footer-link:hover { color: #ffffff; transform: translateX(3px); }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); flex-wrap: wrap; gap: 1rem; }

/* Floating Back to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#backToTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTopBtn:hover { background: var(--secondary); box-shadow: 0 12px 28px rgba(190, 21, 29, 0.35); transform: translateY(-4px); }
#backToTopBtn svg { width: 22px; height: 22px; transition: transform 0.2s ease; }
#backToTopBtn:hover svg { transform: translateY(-2px); }

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-split-grid, .hero-reversed-grid, .hero-fullwidth-grid, .hero-metrics-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-mini-cats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-media-showcase { height: 280px; }
  .dual-image-wrap { grid-template-columns: 1fr; }
  .dual-img-item:last-child { margin-top: 0; }
  .job-card-row { grid-template-columns: 1fr; }
  .job-card-row .job-thumb-wrap { height: 180px; }
  .job-row-action { border-left: none; border-top: 1px solid var(--border-light); flex-direction: row; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { font-size: 1.1rem; padding: 0.6rem 0; width: 100%; border-bottom: 1px solid var(--border-light); }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--secondary); font-weight: 800; }
  .mobile-menu-cta { display: flex !important; align-items: center; justify-content: center; width: 100%; margin-top: 1rem; padding: 0.85rem 1.5rem; font-size: 1rem; }
  .header-cta-wrap { display: none; }

  .hero-split, .hero-centered-search, .hero-dark-glass, .hero-asymmetric, .hero-reversed, .hero-fullwidth-banner, .hero-category-grid, .hero-minimal-metrics { padding: 3.5rem 0 3rem; }
  .hero-title, .hero-centered-search .hero-title, .hero-asymmetric .hero-title, .hero-fullwidth-banner .hero-title { font-size: 2.35rem; }
  .hero-mini-cats { grid-template-columns: 1fr; }
  .metrics-2x2-wrap { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats-row { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; width: 100%; }
  .hero-stat-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; }
  .hero-stat-item .stat-value, .hero-stat-item .stat-label { text-align: center; width: 100%; }

  .hero-inline-search { flex-direction: column; border-radius: var(--radius-md); padding: 1rem; }
  .hero-inline-search input { width: 100%; text-align: center; padding: 0.5rem; }
  .hero-inline-search .btn { width: 100%; }

  .jobs-filter-bar { flex-direction: column; align-items: stretch; padding: 1rem; gap: 1rem; }
  .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .filter-pill { flex-shrink: 0; }
  .search-field-wrap { min-width: 100%; }

  .jobs-grid-vertical, .sectors-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .form-wrapper-card { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  #backToTopBtn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-title { font-size: 1.85rem; }
  .hero-desc { font-size: 1rem; }
  .sector-card { padding: 1.75rem 1.25rem; }
}
