@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600;700&display=swap');

/* ═══════════════════════════════════════════════════
   City Solutions (AI) Ltd — Design System
   ═══════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ──────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary: #FAFBFE;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0F2F8;
  --bg-hero: #EEF1FA;
  --bg-navy: #0F1A2E;
  --bg-navy-light: #1A2744;

  /* Accents */
  --accent-primary: #2563EB;
  --accent-violet: #7C3AED;
  --accent-teal: #0D9488;
  --accent-gold: #D97706;
  --accent-gradient: linear-gradient(135deg, #2563EB, #7C3AED);

  /* Text */
  --text-primary: #0F1A2E;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255,255,255,0.6);

  /* Semantic */
  --success: #0D9488;
  --warning: #D97706;
  --error: #DC2626;
  --border: #E2E8F0;
  --border-hover: #CBD5E1;

  /* Shadows */
  --shadow: 0 1px 3px rgba(15,26,46,0.06), 0 4px 12px rgba(15,26,46,0.04);
  --shadow-hover: 0 4px 16px rgba(15,26,46,0.1), 0 1px 4px rgba(15,26,46,0.06);
  --shadow-lg: 0 8px 30px rgba(15,26,46,0.08);

  /* Layout */
  --container: 1280px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

/* ─── RESET & BASE ───────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Segoe UI', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; color: var(--text-primary); }
h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-family: 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 600; }
h4 { font-family: 'DM Sans', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); }

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

/* ─── LAYOUT ─────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section--hero {
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.section--navy {
  background: var(--bg-navy);
  color: var(--text-on-dark);
}

.section--stats {
  background: var(--bg-hero);
}

.section--gradient {
  background: var(--accent-gradient);
  color: #FFFFFF;
}

/* Grid system */
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─── NAVIGATION ─────────────────────────────────── */
.nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 252px;
  width: auto;
  margin: -60px 0;
}

/* Footer logo inverts to white */
.footer .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent-primary);
  background: rgba(37,99,235,0.08);
  font-weight: 600;
}

/* Specialisms dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  margin-top: 8px;
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

.nav__dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.nav__dropdown-item:hover {
  background: var(--bg-hero);
  color: var(--accent-primary);
}

.nav__ctas {
  display: flex;
  gap: 10px;
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  padding: 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.nav__mobile.active {
  right: 0;
}

.nav__mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,26,46,0.5);
  z-index: 1999;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav__mobile-overlay.active {
  opacity: 1;
}

.nav__mobile-close {
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-end;
}

.nav__mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

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

.nav__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

.btn--violet {
  background: var(--accent-violet);
  color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(124,58,237,0.3);
}
.btn--violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}
.btn--outline:hover {
  background: rgba(37,99,235,0.06);
  transform: translateY(-2px);
}

.btn--outline-violet {
  background: transparent;
  color: var(--accent-violet);
  border: 2px solid var(--accent-violet);
}
.btn--outline-violet:hover {
  background: rgba(124,58,237,0.06);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--white {
  background: #FFFFFF;
  color: var(--accent-primary);
  font-weight: 700;
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.btn--gold {
  background: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(217,119,6,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-primary);
  padding: 8px 0;
  font-weight: 600;
}
.btn--ghost:hover { gap: 12px; }

.btn--sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* ─── CARDS ──────────────────────────────────────── */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.card--accent-blue { border-top: 3px solid var(--accent-primary); }
.card--accent-violet { border-top: 3px solid var(--accent-violet); }
.card--accent-teal { border-top: 3px solid var(--accent-teal); }
.card--accent-gold { border-top: 3px solid var(--accent-gold); }

.card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card__meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}

/* ─── TAGS / PILLS ───────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.tag--blue { background: rgba(37,99,235,0.1); color: var(--accent-primary); }
.tag--violet { background: rgba(124,58,237,0.1); color: var(--accent-violet); }
.tag--teal { background: rgba(13,148,136,0.1); color: var(--accent-teal); }
.tag--gold { background: rgba(217,119,6,0.1); color: var(--accent-gold); }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero--home {
  padding: 140px 0 120px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Hero with textured background */
.hero--textured {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 100px;
  position: relative;
}

.hero--textured::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero--textured .hero__content {
  position: relative;
  z-index: 2;
}

/* Page-specific textured hero tints */
.hero--tint-blue::before {
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(238,241,250,0.4) 50%, rgba(37,99,235,0.06) 100%);
}

.hero--tint-violet::before {
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(238,241,250,0.4) 50%, rgba(124,58,237,0.06) 100%);
}

.hero--tint-teal::before {
  background: linear-gradient(135deg, rgba(13,148,136,0.08) 0%, rgba(238,241,250,0.4) 50%, rgba(13,148,136,0.06) 100%);
}

.hero--tint-gold::before {
  background: linear-gradient(135deg, rgba(217,119,6,0.08) 0%, rgba(238,241,250,0.4) 50%, rgba(217,119,6,0.06) 100%);
}

.hero--tint-navy::before {
  background: linear-gradient(135deg, rgba(15,26,46,0.06) 0%, rgba(238,241,250,0.4) 50%, rgba(15,26,46,0.05) 100%);
}

/* Hero with background image */
.hero--image {
  position: relative;
  background: var(--bg-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,26,46,0.85) 0%,
    rgba(15,26,46,0.6) 50%,
    rgba(15,26,46,0.3) 100%
  );
}

.hero--image .hero__content {
  position: relative;
  z-index: 2;
}

.hero--image .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__orb--1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 70%);
}

.hero__orb--2 {
  bottom: -80px;
  right: 200px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,0.05), transparent 70%);
}

.hero__orb--3 {
  top: 50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13,148,136,0.04), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 20px 0 32px;
  max-width: 540px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── STATS ──────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.stat__number--blue { color: var(--accent-primary); }
.stat__number--violet { color: var(--accent-violet); }
.stat__number--teal { color: var(--accent-teal); }
.stat__number--gold { color: var(--accent-gold); }

.stat__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

/* ─── ROLE CARDS ─────────────────────────────────── */
.role-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.role-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.role-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.role-card__company {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.role-card__salary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-top: 10px;
}

.role-card__meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 10px;
}

/* ─── ARTICLE CARDS ──────────────────────────────── */
.article-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.article-card__image {
  height: 180px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.article-card__body {
  padding: 24px;
}

.article-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
}

.article-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

.article-card__meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}

/* ─── FEATURED ARTICLE ───────────────────────────── */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.featured-article__image {
  background: var(--bg-tertiary);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

.featured-article__content {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─── FORMS ──────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.2s;
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394A3B8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-upload {
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 32px;
  text-align: center;
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: all 0.2s;
}

.form-upload:hover {
  border-color: var(--accent-violet);
  background: rgba(124,58,237,0.03);
}

.form-upload__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-upload__link {
  color: var(--accent-violet);
  font-weight: 600;
}

.form-upload__hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* ─── FILTER PILLS ───────────────────────────────── */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.filter--active {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

/* ─── PAGINATION ─────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.pagination__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.pagination__btn--active {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

/* ─── PROCESS STEPS ──────────────────────────────── */
.process-step {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.process-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37,99,235,0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.process-bar__fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* ─── TESTIMONIAL ────────────────────────────────── */
.testimonial {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial__quote {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial__author {
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial__role {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ─── TEAM CARD ──────────────────────────────────── */
.team-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

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

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid var(--border);
}

.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.team-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 4px;
}

.team-card__bio {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 12px;
  line-height: 1.6;
}

/* ─── SECTION HEADER ─────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

.section-header--left {
  text-align: left;
  max-width: none;
}

/* ─── CTA BANNER ─────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-banner__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--bg-navy);
  color: var(--text-on-dark);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-text {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer__link:hover {
  color: #FFFFFF;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__social a:hover {
  color: #FFFFFF;
}

/* ─── CONTACT INFO CARDS ─────────────────────────── */
.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-card__title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-card__detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── MAP PLACEHOLDER ────────────────────────────── */
.map-placeholder {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  border: 2px dashed var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1rem;
}

/* ─── SCROLL ANIMATIONS ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1279px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .container { padding: 0 1.25rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .nav__links, .nav__ctas { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: block; }

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

  .hero { padding: 80px 0 60px; }
  .hero--home { min-height: auto; padding: 100px 0 80px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .featured-article { grid-template-columns: 1fr; }
  .featured-article__content { padding: 24px; }
  .featured-article__image { min-height: 200px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

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

  .testimonial { padding: 28px; }

  .form-upload { padding: 24px; }
}

/* ─── Flutter custom element host containers ─────────────────────────────── */
job-search-widget,
apply-widget,
candidate-dashboard,
employer-dashboard,
brief-form-widget,
candidate-form-widget,
contact-widget,
cv-upload-widget,
messaging-widget {
  display: block;
  width: 100%;
  min-height: 500px;
}
