/* ===================================
   Inventsoft — Core Styles
   Brand: #1F2D6B navy, #4A6CF7 blue accent, white
   Layout: editorial split-sections, asymmetric
   =================================== */

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

:root {
  --navy:       #1F2D6B;
  --navy-deep:  #141E4A;
  --navy-mid:   #2A3D8F;
  --accent:     #4A6CF7;
  --accent-lt:  #6B8BFF;
  --gold:       #F0A500;
  --white:      #FFFFFF;
  --off-white:  #F4F6FC;
  --pale-blue:  #EEF1FB;
  --gray-100:   #E2E7F5;
  --gray-400:   #8A96BC;
  --gray-600:   #4A5480;
  --text:       #1F2D6B;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --nav-h: 80px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 24px;
  --r-xl: 40px;
  --shadow: 0 4px 40px rgba(31,45,107,0.12);
  --shadow-lg: 0 16px 60px rgba(31,45,107,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { line-height: 1.2; }
h1,h2 { font-family: var(--font-display); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-heading em { font-style: italic; color: var(--accent); }
.section-heading.light { color: var(--white); }

.lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.75;
}
.lead.light { color: rgba(255,255,255,0.65); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 100px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 44px;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,108,247,0.4);
}
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: white;
}
.btn-white {
  background: white;
  color: var(--navy);
  border-color: white;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 20px rgba(31,45,107,0.08);
}
/* Logo: white when transparent over hero, navy when scrolled */
.navbar .nav-logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}
.navbar.scrolled .nav-logo img {
  filter: none;
}
/* Nav links: white over hero, navy when scrolled */
.nav-links a {
  color: rgba(255,255,255,0.82);
}
.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}
.nav-links a:hover, .nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--navy);
  background: var(--pale-blue);
}
/* CTA button: ghost over hero, solid when scrolled */
.navbar .nav-cta.btn-primary {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.navbar.scrolled .nav-cta.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-logo { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.6rem; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px); left: 0;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem !important;
  color: var(--gray-600) !important;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
}
.dropdown-menu a:hover { background: var(--pale-blue) !important; color: var(--navy) !important; }

.nav-cta { margin-left: 0.75rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: all 0.3s;
}
.navbar.scrolled .nav-hamburger span {
  background: var(--navy);
}

/* ── HERO — full bleed split layout ── */
.hero {
  min-height: 100svh;
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Left panel */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 2rem;
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-left: auto;
}

/* Right panel — illustrated */
.hero-right {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

/* Decorative grid dots for hero bg */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.35);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-lt);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--accent-lt);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.hero h1 strong {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-lt) 0%, #9BB3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.hero-stat { padding-right: 1.5rem; }
.hero-stat + .hero-stat { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-val em { color: var(--accent-lt); font-style: normal; }
.hero-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hero right: floating cards */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
}
.hero-card:last-child { animation-delay: -3s; margin-bottom: 0; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-lt);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  padding: 0.3rem 0.75rem;
  background: rgba(74,108,247,0.2);
  border: 1px solid rgba(74,108,247,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
}

/* ── ABOUT STRIP — tilted accent ── */
.about-strip {
  background: var(--pale-blue);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.about-strip::before {
  content: '';
  position: absolute;
  top: -40px; left: -5%;
  width: 110%;
  height: 80px;
  background: var(--white);
  transform: rotate(-1.5deg);
}
.about-strip::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -5%;
  width: 110%;
  height: 80px;
  background: var(--white);
  transform: rotate(-1.5deg);
}
.about-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  text-align: center;
}
.strip-stat-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.strip-stat-val em { color: var(--accent); font-style: normal; }
.strip-stat-lbl {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SERVICES — alternating split rows ── */
.services-section { background: white; padding: 100px 0; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 7rem;
}
.service-row:last-child { margin-bottom: 0; }
.service-row.flip { direction: rtl; }
.service-row.flip > * { direction: ltr; }

.service-panel {
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  padding: 3rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.service-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(74,108,247,0.25) 0%, transparent 70%);
}
.service-panel-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.service-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.service-panel p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
.service-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.5rem;
}
.service-panel-tag {
  padding: 0.25rem 0.65rem;
  background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.25);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--accent-lt);
}
.service-content { padding: 1rem 0; }
.service-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
  font-style: italic;
}
.service-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.service-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

/* ── MARQUEE ── */
.clients-section {
  background: var(--navy-deep);
  padding: 50px 0;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
  margin-bottom: 2rem;
}
.marquee-wrap { position: relative; overflow: hidden; }
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--navy-deep), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--navy-deep), transparent); }
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scroll 35s linear infinite;
}
.marquee-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover { color: white; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── ENGAGEMENT MODELS ── */
.engage-section {
  background: var(--pale-blue);
  padding: 100px 0;
}
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.engage-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.engage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.engage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
}
.engage-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.engage-card h3 { font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 0.75rem; }
.engage-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; }

/* ── AI MODERNIZATION — dark full-bleed ── */
.ai-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(74,108,247,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.ai-steps { display: flex; flex-direction: column; gap: 1rem; }
.ai-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  transition: all 0.3s;
}
.ai-step:hover { border-color: rgba(74,108,247,0.4); background: rgba(74,108,247,0.07); }
.ai-step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-lt);
  min-width: 2rem;
  font-style: italic;
}
.ai-step h4 { font-size: 0.95rem; color: white; margin-bottom: 0.25rem; font-weight: 700; }
.ai-step p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.ai-right-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.ai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.ai-card h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-lt);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.check { width: 20px; height: 20px; background: rgba(74,108,247,0.2); border: 1px solid rgba(74,108,247,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: var(--accent-lt); flex-shrink: 0; }

/* Diff grid */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.diff-item {
  background: rgba(74,108,247,0.1);
  border: 1px solid rgba(74,108,247,0.2);
  border-radius: var(--r-sm);
  padding: 0.9rem;
}
.diff-item strong { display: block; color: white; font-size: 0.85rem; margin-bottom: 0.2rem; }
.diff-item span { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── CAPABILITIES ── */
.cap-section { background: white; padding: 100px 0; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.cap-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: all 0.25s;
}
.cap-card:hover { border-color: var(--accent); background: rgba(74,108,247,0.04); transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-card-icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.cap-card h4 { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.cap-card p { font-size: 0.78rem; color: var(--gray-600); line-height: 1.6; }
.cap-badge { display: inline-block; margin-top: 0.5rem; padding: 0.15rem 0.55rem; background: rgba(74,108,247,0.1); color: var(--accent); border-radius: 100px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; }

/* ── GLOBAL ── */
.global-section { background: var(--navy-deep); padding: 80px 0; }
.global-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.global-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s;
}
.global-card:hover { border-color: rgba(74,108,247,0.4); background: rgba(74,108,247,0.07); }
.global-flag { font-size: 2rem; margin-bottom: 0.75rem; }
.global-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: white; margin-bottom: 0.5rem; font-style: italic; }
.global-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.city-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.city-badge {
  padding: 0.2rem 0.65rem;
  background: rgba(74,108,247,0.15);
  border: 1px solid rgba(74,108,247,0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--accent-lt);
  font-weight: 600;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--pale-blue); padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.testimonial-role { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.2rem; }

/* ── CTA BANNER ── */
.cta-section {
  background: var(--accent);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2.5rem; position: relative; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── CONTACT ── */
.contact-section { background: white; padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.8; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: var(--pale-blue); border: 1px solid var(--gray-100); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); font-weight: 700; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.9rem; color: var(--navy); margin: 0; }
.contact-item a { color: var(--accent); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
}
.contact-form h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.35rem; font-weight: 700; }
.contact-form > p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 0.03em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,108,247,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  min-height: 48px;
}
.form-submit:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,45,107,0.3); }

/* ── FOOTER ── */
.footer { background: var(--navy-deep); padding: 70px 0 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.8; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-lt); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy-deep);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(74,108,247,0.2) 0%, transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 1rem; font-style: italic; position: relative; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 560px; position: relative; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 5rem 2rem 4rem; max-width: 100%; margin: 0; }
  .hero-right { display: none; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .service-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-row.flip { direction: ltr; }
  .cap-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  section { padding: 60px 0; }
  .container { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0.25rem;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: white;
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 20px 40px rgba(31,45,107,0.12);
    z-index: 999;
  }
  .nav-links.open a { font-size: 1rem; padding: 0.7rem 1rem; color: var(--gray-600) !important; }
  .nav-links.open a:hover { color: var(--navy) !important; background: var(--pale-blue); }
  .hero-left { padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .about-strip-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .engage-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .global-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat-val { font-size: 1.6rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr 1fr; }
}

/* ── UX POLISH ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
body { -webkit-overflow-scrolling: touch; }
.btn, .nav-links a, .footer-links a, .social-link, .form-submit { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none; }
  .marquee-track { animation: none; }
}

/* ---- FORM VALIDATION ---- */
.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}
.field-error {
  display: block;
  color: #EF4444;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ---- NAVBAR LOGO COLOR SWITCH ---- */
/* Transparent navbar over dark hero → invert to white */
.navbar .nav-logo-img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}
/* Scrolled white navbar → show natural navy color */
.navbar.scrolled .nav-logo-img {
  filter: none;
}

/* ════════════════════════════════════════
   BLOG STYLES
   ════════════════════════════════════════ */

/* ── Blog listing page ── */
.blog-hero { background: var(--navy-deep); padding: 140px 0 70px; position: relative; overflow: hidden; }
.blog-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 80% at 80% 50%, rgba(74,108,247,0.2) 0%, transparent 60%); }
.blog-hero h1 { font-size: clamp(2rem,4vw,3rem); color:white; margin-bottom:0.75rem; font-style:italic; position:relative; }
.blog-hero p  { font-size:1.05rem; color:rgba(255,255,255,0.6); max-width:560px; position:relative; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.blog-card-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-card-header::before {
  content:'';
  position:absolute; top:-40px; right:-40px;
  width:150px; height:150px;
  background:radial-gradient(circle, rgba(74,108,247,0.25) 0%, transparent 70%);
}
.blog-cat {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: rgba(74,108,247,0.25);
  border: 1px solid rgba(74,108,247,0.4);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  position: relative;
}
.blog-card-header h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: white;
  line-height: 1.4;
  position: relative;
}

.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.blog-card-body p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; flex: 1; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.blog-read-more:hover { gap: 0.7rem; }

/* ── Individual article page ── */
.article-hero {
  background: var(--navy-deep);
  padding: 150px 0 60px;
  position: relative;
  overflow: hidden;
}
.article-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 80% at 80% 50%, rgba(74,108,247,0.18) 0%, transparent 60%); }

.article-cat {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(74,108,247,0.2);
  border: 1px solid rgba(74,108,247,0.35);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-lt);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,4vw,2.8rem);
  color: white;
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-style: italic;
  position: relative;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
  padding: 70px 0 100px;
}

/* Article body typography */
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  font-style: italic;
}
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 0.6rem;
}
.article-body p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.article-body ul, .article-body ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}
.article-body li {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}
.article-body strong { color: var(--navy); }

.article-body .callout {
  background: var(--pale-blue);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-body .callout p { margin: 0; color: var(--navy); font-weight: 500; }

.article-body hr {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 2.5rem 0;
}

/* Sidebar */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.sidebar-card h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.toc-list a {
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  transition: color 0.2s;
  line-height: 1.4;
}
.toc-list a::before { content: '›'; color: var(--accent); flex-shrink: 0; }
.toc-list a:hover { color: var(--navy); }

.related-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.related-list a {
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.related-list a:hover { color: var(--accent); }

.article-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center;
}
.article-cta h4 { color: white; font-size: 1rem; margin-bottom: 0.5rem; }
.article-cta p  { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-bottom: 1.25rem; }

/* Author strip */
.author-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--pale-blue);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-top: 3rem;
}
.author-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.author-strip h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; font-weight: 700; }
.author-strip p  { font-size: 0.8rem; color: var(--gray-600); }

/* Blog responsive */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 120px 0 50px; }
}

/* ── Featured article card ─────────────────────────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
  text-decoration: none;
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74,108,247,0.3);
}
.blog-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-lt);
  margin-bottom: 1.25rem;
}
.blog-featured-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent-lt);
  border-radius: 2px;
}
.blog-featured h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: white;
  line-height: 1.25;
  font-style: italic;
  margin-bottom: 1rem;
}
.blog-featured-excerpt {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex: 1;
}
.blog-featured-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.blog-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  width: fit-content;
}
.blog-featured-cta:hover {
  background: var(--accent-lt);
  transform: translateX(3px);
}
.blog-featured-visual {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.blog-featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 30% 50%, rgba(74,108,247,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(31,45,107,0.4) 0%, transparent 60%);
}
.blog-featured-icon {
  font-size: 6rem;
  position: relative;
  z-index: 1;
  opacity: 0.85;
}
.blog-featured-stat {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
  z-index: 1;
}
.blog-featured-stat-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-lt);
  font-style: italic;
  line-height: 1;
}
.blog-featured-stat-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ── Blog section heading ── */
.blog-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.blog-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-visual { min-height: 200px; }
  .blog-featured-content { padding: 2rem; }
}

/* ════════════════════════════════════════
   CAREERS PAGE STYLES
   ════════════════════════════════════════ */

/* Filter bar */
.careers-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--gray-100);
  background: white;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

/* Job count */
.jobs-count {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.jobs-count strong { color: var(--navy); }

/* Job cards grid */
.jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}
.job-card:hover { border-color: var(--blue); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.job-card.featured { border-color: var(--blue); }
.job-card.featured .job-card-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid, #1E3A5F) 100%); }

.job-card-header {
  background: var(--off-white);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.job-card.featured .job-card-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid, #1E3A5F) 100%); }

.job-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.job-card.featured .job-title { color: white; }

.job-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.job-badge {
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.badge-dept { background: rgba(37,99,235,0.1); color: var(--blue); }
.badge-type { background: rgba(16,185,129,0.1); color: #059669; }
.badge-featured { background: var(--cyan, #93C5FD); color: var(--navy); }
.job-card.featured .badge-dept { background: rgba(147,197,253,0.2); color: var(--cyan, #93C5FD); }
.job-card.featured .badge-featured { background: var(--cyan, #93C5FD); color: var(--navy); }

.job-card-body { padding: 1.5rem 2rem; display: none; }
.job-card.open .job-card-body { display: block; }

.job-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--gray-600);
}
.job-meta span { display: flex; align-items: center; gap: 0.35rem; }

.job-description { font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.25rem; }

.job-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 700;
  margin: 1.25rem 0 0.6rem;
}

.job-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.job-list li {
  font-size: 0.875rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.55;
}
.job-list li::before { content: "→"; color: var(--blue); font-weight: 700; flex-shrink: 0; }

.job-card-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--off-white);
}
.job-posted { font-size: 0.78rem; color: var(--gray-400); }
.job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--blue);
  color: white;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.job-apply-btn:hover { background: var(--blue-light, #3B82F6); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }

/* Toggle arrow */
.job-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  padding: 0;
}
.job-card.featured .job-toggle { color: var(--cyan, #93C5FD); }
.job-toggle-arrow { transition: transform 0.25s; display: inline-block; }
.job-card.open .job-toggle-arrow { transform: rotate(180deg); }

/* No results */
.no-jobs { text-align: center; padding: 4rem 2rem; color: var(--gray-400); font-size: 0.95rem; display: none; }

/* Sticky apply sidebar */
.careers-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.careers-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-apply-card {
  background: var(--navy);
  border-radius: var(--radius-lg, 20px);
  padding: 2rem;
  text-align: center;
}
.sidebar-apply-card h3 { font-size: 1.1rem; color: white; margin-bottom: 0.5rem; }
.sidebar-apply-card p { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; line-height: 1.7; }
.sidebar-info-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg, 20px);
  padding: 1.5rem;
}
.sidebar-info-card h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 1rem;
}
.perks-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.perks-list li { font-size: 0.85rem; color: var(--gray-600); display: flex; align-items: center; gap: 0.6rem; }

/* Loading state */
.jobs-loading { text-align: center; padding: 3rem; color: var(--gray-400); }

/* Responsive */
@media (max-width: 1024px) { .careers-layout { grid-template-columns: 1fr; } .careers-sidebar { position: static; } }
@media (max-width: 768px) {
  .job-card-header { padding: 1.25rem; }
  .job-card-body, .job-card-footer { padding: 1.25rem; }
  .job-meta { gap: 0.75rem; }
  .careers-filters { gap: 0.4rem; }
}


/* Smooth scroll offset for fixed navbar */
[id] { scroll-margin-top: 100px; }

/* ── Blog pagination ── */
.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--gray-100);
  background: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.pager-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pager-btn.active { background: var(--accent); border-color: var(--accent); color: white; }
.pager-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pager-btn.pager-nav { font-weight: 700; padding: 0 1.1rem; }
.pager-ellipsis { color: var(--gray-400); padding: 0 0.25rem; font-size: 0.85rem; }
.pager-info {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.85rem;
}

@media (max-width: 480px) {
  .pager-btn { min-width: 36px; height: 36px; padding: 0 0.6rem; font-size: 0.8rem; }
  .pager-btn.pager-nav { padding: 0 0.75rem; }
}
