/* =============================================
   KDB Infocom – site.css
   ============================================= */

/* ── Tokens ─────────────────────────────────── */
:root {
  --blue-900: #0a1628;
  --blue-800: #0d2045;
  --blue-700: #0f2d6b;
  --blue-600: #1a3fa3;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --accent:      #1e40af;
  --accent-light:#3b82f6;
  --gold:        #f59e0b;
  --gold-light:  #fcd34d;

  --surface-1:   #ffffff;
  --surface-2:   #f0f5ff;
  --surface-3:   #e0eaff;
  --surface-dark:#0a1628;

  --text-primary:   #0a1628;
  --text-secondary: #1e3a5f;
  --text-muted:     #4b6080;
  --text-light:     #ffffff;
  --text-light-muted: rgba(255,255,255,0.82);

  --border:      rgba(30,64,175,0.15);
  --border-dark: rgba(255,255,255,0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 4px rgba(10,22,40,.08);
  --shadow-md: 0 4px 20px rgba(10,22,40,.12);
  --shadow-lg: 0 8px 40px rgba(10,22,40,.16);

  --nav-height: 72px;
  --announce-height: 40px;

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body:    'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--surface-1);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Layout ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 88px 0; }
.section:nth-child(even) { background: var(--surface-2); }

/* ── Announcement Bar ────────────────────────── */
.announcement-bar {
  background: var(--blue-700);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  height: var(--announce-height);
  display: flex;
  align-items: center;
}
.announcement-bar .container {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.announcement-bar span { opacity: 0.95; }

/* ── Header / Nav ────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-900);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.nav-shell {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.brand img, .brand .logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: #ffffff;
  background: rgba(255,255,255,.1);
}
.menu-toggle {
  display: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ── Buttons ──────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .2s;
  white-space: nowrap;
}
.button-primary {
  background: var(--blue-500);
  color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(37,99,235,.35);
}
.button-primary:hover {
  background: var(--blue-600);
  box-shadow: 0 4px 20px rgba(37,99,235,.5);
  transform: translateY(-1px);
}
.button-secondary {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,.45);
}
.button-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}
.button-outline {
  background: transparent;
  color: var(--blue-600) !important;
  border: 1.5px solid var(--blue-400);
}
.button-outline:hover {
  background: var(--blue-50);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-700) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner {
  max-width: 780px;
  position: relative;
}
.page-banner .eyebrow {
  display: inline-block;
  background: rgba(59,130,246,.25);
  color: var(--blue-300);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(147,197,253,.3);
  margin-bottom: 20px;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-banner p {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero home specific */
.hero-home .hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-home .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-large {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(37,99,235,.5));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  background: rgba(255,255,255,.12);
  color: #e2eeff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
}
.partner-pill {
  background: rgba(37,99,235,.2);
  color: var(--blue-200, #bfdbfe);
  border: 1px solid rgba(59,130,246,.35);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
}

/* ── Section Headers ─────────────────────────── */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.section-note {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
  padding-top: 4px;
}

/* ── Cards ───────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card-grid.two-up { grid-template-columns: repeat(2, 1fr); }

.metric-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.metric-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.metric-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.metric-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Service Cards ───────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-list { padding-left: 0; }
.feature-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

/* ── Role Cards ──────────────────────────────── */
.role-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color .2s;
}
.role-card:hover { border-color: var(--blue-400); }
.role-card h3 { font-size: 15.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.role-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Story / Two-col layout ──────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.content-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.content-card .eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.content-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.35;
}
.content-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}
.sidebar-card {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--text-light);
}
.sidebar-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}
.sidebar-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Quick Facts ─────────────────────────────── */
.quick-facts { display: flex; flex-direction: column; gap: 14px; }
.quick-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.quick-facts li:last-child { border-bottom: none; padding-bottom: 0; }
.quick-facts strong { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-300); }
.quick-facts span   { font-size: 14.5px; color: rgba(255,255,255,.85); }

/* ── List checks ─────────────────────────────── */
.list-checks { display: flex; flex-direction: column; gap: 12px; }
.list-checks li {
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.list-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 700;
}

/* ── Matrix ──────────────────────────────────── */
.matrix { display: flex; flex-direction: column; gap: 2px; }
.matrix-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 24px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background .2s;
}
.matrix-row:hover { background: var(--surface-2); }
.matrix-row strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
}
.matrix-row span {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Timeline ────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(var(--step-width, 12.5%) + 0px);
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  z-index: 0;
}
.timeline-item {
  position: relative;
  padding: 0 24px 0 0;
  padding-top: 60px;
}
.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--surface-1), 0 4px 12px rgba(37,99,235,.4);
}
.section:nth-child(even) .timeline-item::before {
  box-shadow: 0 0 0 4px var(--surface-2), 0 4px 12px rgba(37,99,235,.4);
}
.timeline-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Stats / Metrics Row ─────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--blue-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  padding: 36px 28px;
  text-align: center;
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12.5px;
  color: var(--blue-300);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── Leadership ──────────────────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.leadership-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.leadership-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portrait {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.portrait span {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: .05em;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.leadership-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.leadership-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Culture grid ────────────────────────────── */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
}
.culture-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.culture-card h3 { font-size:15.5px; font-weight:700; color:var(--text-primary); margin-bottom:8px; }
.culture-card p  { font-size:14.5px; color:var(--text-secondary); line-height:1.65; }

/* ── Office / Support cards ──────────────────── */
.office-grid, .support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.office-card, .support-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.office-icon, .support-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}
.city-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 6px;
}
.office-card h3, .support-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.office-card p, .support-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}
.office-status {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
}
.office-status.pending {
  background: #fef9c3;
  color: #854d0e;
}

/* ── FAQ ─────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.faq-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.faq-card h3 { font-size:15px; font-weight:700; color:var(--text-primary); margin-bottom:10px; }
.faq-card p  { font-size:14px; color:var(--text-secondary); line-height:1.65; }

/* ── CTA Card ────────────────────────────────── */
.cta-card {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  border-radius: var(--radius-xl);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-card .eyebrow {
  display: inline-block;
  color: var(--blue-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.cta-card p {
  font-size: 15.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ── Forms ───────────────────────────────────── */
.application-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}
.form-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.form-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 16px;
}
.form-intro .eyebrow {
  display: block;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-intro h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-intro p {
  font-size: 14px;
  color: var(--text-muted);
}
.tag {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: .01em;
}
.field input,
.field select,
.field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-primary);
  background: var(--surface-1);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.file-input { position: relative; }
.file-caption {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.form-note {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CAPTCHA widget ──────────────────────────── */
.captcha-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s;
}
.captcha-row:hover { border-color: var(--blue-400); }
.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.captcha-checkbox.checked {
  background: var(--blue-500);
  border-color: var(--blue-500);
}
.captcha-checkbox.checked::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: 700;
}
.captcha-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.captcha-logo {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}
.captcha-logo span {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-600);
}
.captcha-spin {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue-200, #bfdbfe);
  border-top-color: var(--blue-500);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.captcha-spin.active { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 2FA OTP Overlay ─────────────────────────── */
.otp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.75);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.otp-overlay.active { display: flex; }
.otp-box {
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(10,22,40,.4);
  position: relative;
}
.otp-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.otp-box h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.otp-box p  { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; }
.otp-digit {
  width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  background: var(--surface-2);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.otp-digit:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  background: var(--surface-1);
}
.otp-actions { display: flex; gap: 12px; justify-content: center; }
.otp-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.otp-close:hover { color: var(--text-primary); }
.otp-resend {
  font-size: 13px;
  color: var(--blue-500);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 14px;
  display: block;
}

/* ── Geolocation banner ──────────────────────── */
.geo-banner {
  display: none;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 24px;
  align-items: center;
  gap: 14px;
}
.geo-banner.visible { display: flex; }
.geo-icon { font-size: 22px; flex-shrink: 0; }
.geo-text { flex: 1; }
.geo-text strong { display: block; font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 2px; }
.geo-text span { font-size: 13px; color: rgba(255,255,255,.75); }
.geo-close { color: rgba(255,255,255,.6); font-size: 18px; cursor: pointer; flex-shrink: 0; }

/* ── Toast ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--blue-900);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .35s, opacity .35s;
  max-width: 380px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { border-left: 4px solid #22c55e; }
.toast.error   { border-left: 4px solid #ef4444; }
.toast.info    { border-left: 4px solid var(--blue-400); }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img, .footer-brand .logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255,255,255,.15));
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
}
.footer-col h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-col a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,.4); }

/* ── Reveal animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Security badge ──────────────────────────── */
.security-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.sec-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.sec-badge::before { content: '🔒'; font-size: 11px; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-home .hero-layout { grid-template-columns: 1fr; }
  .hero-logo-large { width: 180px; height: 180px; }
  .section-header { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .application-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; align-items: flex-start; }
  .matrix-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  /* Hide the announcement bar on mobile — it was wrapping to two lines
     and overlapping the logo/nav below it */
  .announcement-bar { display: none; }

  .nav-shell { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .brand img, .brand .logo-img { height: 38px; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-900);
    padding: 16px 20px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
  }
  .site-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .otp-inputs { gap: 6px; }
  .otp-digit { width: 42px; height: 52px; font-size: 18px; }
  .section { padding: 56px 0; }
  .form-card { padding: 28px 20px; }
  .card-grid.two-up { grid-template-columns: 1fr; }
}

/* =============================================
   ADDITIONS – Round 2 updates
   ============================================= */

/* ── Announcement bar with logo left ──────────── */
.announcement-bar .container {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

/* ── Footer logo ──────────────────────────────── */
.footer-logo {
  height: 56px !important;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,.25)) brightness(1.1);
}

/* ── Footer address ───────────────────────────── */
.footer-address {
  font-size: 13.5px !important;
  color: rgba(255,255,255,.72) !important;
  line-height: 1.6 !important;
}
.footer-col a[href^="tel"] {
  color: var(--blue-300) !important;
  font-weight: 600;
}
.footer-col a[href^="tel"]:hover { color: #ffffff !important; }

/* ── Stats section ────────────────────────────── */
.stats-section {
  background: var(--blue-900);
  padding: 0;
}
.stat-wide { min-width: 200px; }
.stat-num-sm {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  text-align: center;
}

/* ── SVG icon in service/metric cards ────────── */
.service-icon-svg,
.metric-icon-svg {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
  flex-shrink: 0;
  padding: 12px;
}
.metric-icon-svg {
  margin-bottom: 18px;
}
.service-icon-svg svg,
.metric-icon-svg svg {
  width: 100%;
  height: 100%;
}

/* ── Partner tags ─────────────────────────────── */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.partner-tag {
  display: inline-flex;
  align-items: center;
  background: var(--surface-1);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.partner-tag:hover {
  border-color: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Client badges ────────────────────────────── */
.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-1);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s;
}
.client-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.client-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.client-name { white-space: nowrap; }

/* ── Leadership card – horizontal layout ─────── */
.leadership-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  text-align: left;
}
.leader-info { flex: 1; }
.leader-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.leader-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  border: 1px solid var(--blue-100);
}
.leader-info p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.portrait {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.portrait span {
  font-size: 17px;
}

/* ── Leadership grid – 2-col ──────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .leadership-card { flex-direction: column; align-items: center; text-align: center; }
  .leader-role { margin-top: 6px; }
  .partner-grid { gap: 8px; }
  .client-grid { gap: 8px; }
  .client-badge { padding: 8px 14px; font-size: 12.5px; }
  .partner-tag { padding: 8px 16px; font-size: 13px; }
}

/* =============================================
   FORM – live submission states (Round 3)
   ============================================= */

/* Required asterisk */
.req { color: #ef4444; font-size: 12px; margin-left: 2px; }

/* Success box */
.form-success {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  margin-top: 8px;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
}
.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15px;
  color: #166534;
  line-height: 1.65;
}

/* Error box */
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-sm);
}
.form-error p {
  font-size: 14px;
  color: #b91c1c;
  margin: 0;
  line-height: 1.5;
}
.form-error a { color: #dc2626; font-weight: 600; }

/* Submit button loading state */
.js-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}
.btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-spinner::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* reCAPTCHA note */
.recaptcha-note {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
}
.recaptcha-note a {
  color: var(--blue-500);
  text-decoration: underline;
}

/* Tag – live (green) */
.tag.live-tag,
.tag {
  background: linear-gradient(135deg, #15803d, #22c55e);
}

/* Geo banner visible state */
.geo-banner.visible { display: flex; }

/* Toast types */
.toast.success { border-left: 4px solid #22c55e; }
.toast.error   { border-left: 4px solid #ef4444; }
.toast.info    { border-left: 4px solid var(--blue-400); }
