/* ══════════════════════════════════════════════
   BTH Tech — Design System & Global Styles
   Based on hero mockup design language
   ══════════════════════════════════════════════ */

:root {
  --navy: #1B365D;
  --navy-deep: #0F2440;
  --blue-bright: #2D7DD2;
  --amber: #E8844A;
  --amber-hover: #D4775B;
  --white: #FFFFFF;
  --off-white: #F7F5F3;
  --text: #2A2A2A;
  --text-light: #5A6578;
  --border: #E8E4DF;
  --font: 'Nunito Sans', 'Avenir', 'Avenir Next', system-ui, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}

h1, h2, h3 {
  font-family: var(--font-heading);
}

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}

.site-nav.nav-solid {
  position: relative;
  background: var(--navy-deep);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 24px; height: 24px; }

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

.logo-text {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--amber-hover) !important; }

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  cursor: pointer;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}

.nav-dropdown.open > a::after {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

.nav-dropdown-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(15, 36, 64, 0.15);
  padding: 12px 0;
  min-width: 260px;
  z-index: 200;
  flex-direction: column;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  margin-top: -6px;
  box-shadow: -2px -2px 4px rgba(15, 36, 64, 0.05);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--navy) !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--navy) !important;
}

.nav-dropdown:hover > .nav-dropdown-menu {
  display: flex !important;
}

.nav-dropdown.open > .nav-dropdown-menu {
  display: flex !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(15, 36, 64, 0.88) 0%,
      rgba(15, 36, 64, 0.75) 25%,
      rgba(15, 36, 64, 0.45) 50%,
      rgba(15, 36, 64, 0.15) 70%,
      rgba(15, 36, 64, 0.05) 85%,
      transparent 100%
    ),
    linear-gradient(
      to top,
      rgba(15, 36, 64, 0.6) 0%,
      transparent 40%
    );
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 0;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  color: var(--white);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--amber);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn-primary:hover { background: var(--amber-hover); color: var(--white); }

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn-secondary:hover { background: rgba(255,255,255,0.2); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--amber);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--amber);
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: var(--amber);
  color: var(--white);
}

/* ── TRUST BAR / LOGO SCROLL ── */
.trust-bar {
  background: var(--white);
  padding: 10px 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.trust-label {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}

.logo-scroll {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-scroll-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scroll-logos 120s linear infinite;
}

.logo-scroll-track:hover {
  animation-play-state: paused;
}

.logo-scroll-track img {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity 0.3s;
}

.logo-scroll-track img:hover {
  opacity: 0.7;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .trust-bar { padding: 16px 24px; }
  .logo-scroll-track { gap: 32px; }
  .logo-scroll-track img { height: 35px; }
}

/* ── SECTIONS ── */
.section {
  padding: 80px 48px;
}

.section-eyebrow {
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-desc {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 48px;
}

.section-centered .cards {
  margin-left: auto;
  margin-right: auto;
}

.section-centered .section-eyebrow,
.section-centered h2 {
  text-align: center;
}

.section-centered h2 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  width: 100%;
}

.card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 54, 93, 0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.section-centered .card-icon {
  margin-left: auto;
  margin-right: auto;
}

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

.card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-centered .card h3 {
  text-align: center;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link {
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.card-link:hover { color: var(--amber-hover); }

/* ── 2x2 CARD GRID (United Way) ── */
.cards-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-2x2 .card {
  background: var(--white);
}

.cards-2x2 .card p {
  font-size: 18px;
  line-height: 1.7;
}

.section-warm {
  background: var(--off-white);
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--off-white);
  padding: 48px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-light);
  font-size: 20px;
  font-weight: 600;
}

/* ── PAGE HERO (for inner pages) ── */
.page-hero {
  background: var(--navy-deep);
  padding: 120px 48px 60px;
}

.page-hero .hero-eyebrow {
  margin-bottom: 16px;
}

.page-hero h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 700px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.65;
  max-width: 600px;
}

/* ── CONTENT SECTIONS ── */
.content-section {
  padding: 64px 48px;
}

.content-section:nth-child(even) {
  background: var(--off-white);
}

.content-section h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.content-section p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 760px;
}

.content-section ul {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 24px;
  max-width: 760px;
}

.content-section li { margin-bottom: 8px; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col-wide {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── CLIENT LOGOS GRID ── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1140px;
}

.logo-card {
  background: var(--off-white);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 54, 93, 0.08);
}

/* ── CASE STUDY CARDS ── */
.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 54, 93, 0.1);
}

.case-study-card .tag {
  display: inline-block;
  background: rgba(45, 125, 210, 0.1);
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.case-study-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-study-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ── CONTACT FORM ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── NARRATIVE SECTIONS ── */
.narrative-section {
  padding: 80px 48px;
  text-align: center;
}

.narrative-inner {
  max-width: 680px;
  margin: 0 auto;
}

.narrative-headline {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.narrative-section p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.narrative-closing {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
}

.narrative-closing-large {
  font-size: 28px;
  line-height: 1.3;
}

.narrative-domain-list {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--navy);
}

.narrative-standalone {
  margin-top: 32px;
  margin-bottom: 32px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.narrative-crosslink {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
}

.narrative-crosslink:hover {
  text-decoration: underline;
}

.narrative-crosslink span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.narrative-crosslink:hover span {
  transform: translateX(4px);
}

.narrative-subsection {
  margin-top: 48px;
}

.narrative-subsection h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.narrative-cream {
  background: var(--white);
}

.narrative-cream .narrative-headline { color: var(--navy); }
.narrative-cream p { color: var(--text-light); }
.narrative-cream .narrative-domain-list { color: var(--navy); }
.narrative-cream .narrative-standalone { color: var(--navy); }
.narrative-cream .narrative-closing { color: var(--navy); }

.narrative-sage {
  background: var(--off-white);
}

.narrative-sage .narrative-headline { color: var(--navy); }
.narrative-sage p { color: var(--text-light); }
.narrative-sage .narrative-closing { color: var(--navy); }

.narrative-warm {
  background: #EDE9E3;
}

.narrative-warm .narrative-headline { color: var(--navy); }
.narrative-warm p { color: var(--text-light); }
.narrative-warm .narrative-closing { color: var(--navy); }

.narrative-navy {
  background: #E8E6E0;
  padding: 96px 48px;
}

.narrative-navy .narrative-headline { color: var(--navy); }
.narrative-navy p { color: var(--navy); font-size: 18px; }
.narrative-navy .narrative-closing { color: var(--navy); }

.narrative-dark {
  background: var(--navy-deep);
  padding: 96px 48px;
}

.narrative-dark .narrative-headline { color: var(--white); }
.narrative-dark p { color: rgba(255,255,255,0.8); font-size: 18px; }
.narrative-dark .narrative-closing { color: var(--white); }

/* ── ABOUT PAGE: TEAM GRID ── */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 48px auto 0;
}

.team-member {
  text-align: center;
  width: 140px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #D0CCC7;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font);
}

.team-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-title {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ── ABOUT PAGE: DUAL CTA ── */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.dual-cta-divider {
  background: var(--border);
  width: 1px;
}

.dual-cta-block {
  text-align: center;
  padding: 16px 48px;
}

.dual-cta-block h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.dual-cta-block p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .dual-cta { grid-template-columns: 1fr; gap: 40px; }
  .dual-cta-divider { display: none; }
  .dual-cta-block { padding: 16px 0; }
}

@media (max-width: 900px) {
  .team-grid { gap: 24px; }
  .team-member { width: 120px; }
  .team-avatar { width: 80px; height: 80px; font-size: 20px; }
}

/* ── ACCENT LINE (orange bold) ── */
.narrative-accent {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 800;
  color: var(--amber);
}

@media (max-width: 900px) {
  .narrative-section { padding: 56px 24px; }
  .narrative-headline { font-size: 28px; }
  .narrative-closing-large { font-size: 20px; }
}

/* ── CAREERS PAGE ── */
.careers-hero {
  background: var(--navy-deep);
}

.careers-hero-content {
  max-width: 680px;
  padding: 96px 48px;
}

.careers-hero .section-eyebrow {
  margin-bottom: 16px;
}

.careers-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--white);
  margin-bottom: 24px;
}

.careers-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.65;
  max-width: 600px;
}

.careers-benefits {
  background: var(--white);
  padding: 80px 48px;
}

.careers-benefits .narrative-headline {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.careers-apply {
  background: var(--off-white);
  padding: 80px 48px;
}

.careers-positions-fallback {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.7;
}

.positions-list {
  max-width: 700px;
  margin: 48px auto;
}

.position-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.position-card:last-child {
  margin-bottom: 0;
}

.position-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.position-meta {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.position-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.careers-form-divider {
  max-width: 700px;
  margin: 0 auto 60px;
  border-top: 1px solid var(--border);
}

.careers-form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.careers-closing-cta {
  background: var(--off-white);
  padding: 48px 48px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.careers-closing-statement {
  font-size: 20px;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 16px;
}

.careers-closing-accent {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
  margin-top: 24px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .careers-hero { padding: 80px 24px; }
  .careers-benefits { padding: 56px 24px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-apply { padding: 56px 24px; }
  .careers-closing-cta { padding: 40px 24px 56px; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-deep);
  padding: 60px 48px 32px;
  box-shadow: 0 -4px 20px rgba(15, 36, 64, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-tagline {
  white-space: nowrap;
}

.footer-credentials {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
  margin-left: 60px;
}

.footer-credential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-badge {
  height: 79px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-badge-sf {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  margin-bottom: 8px;
}

.footer-badge-pledge {
  border-radius: 5px;
  opacity: 0.87;
}

.footer-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-rating-score {
  color: var(--amber);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-rating-label {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    padding: 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .nav-dropdown:hover > .nav-dropdown-menu { display: none !important; }
  .nav-dropdown.open > .nav-dropdown-menu { display: flex !important; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.08);
    box-shadow: none;
    border-radius: 6px;
    min-width: 0;
    padding: 4px 0;
    margin-top: 8px;
  }

  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown-menu a {
    color: rgba(255,255,255,0.85) !important;
    padding: 8px 16px;
    font-size: 14px;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white) !important;
  }

  .hero-content { padding: 0 24px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-buttons { flex-direction: column; }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }
  .trust-logos { justify-content: center; gap: 20px; }

  .section { padding: 48px 24px; }
  .section h2 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }

  .stats-band { gap: 32px; padding: 36px 24px; }
  .stat-number { font-size: 28px; }

  .page-hero { padding: 100px 24px 48px; }
  .page-hero h1 { font-size: 30px; }
  .content-section { padding: 48px 24px; }
  .two-col, .two-col-wide { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-tagline { white-space: normal; }
  .footer-credentials { gap: 24px; margin-left: 50px; }
  .footer-badge { height: 72px; }

  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 480px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band { gap: 24px; }
  .footer-credentials { gap: 20px; margin-left: 50px; }
  .footer-badge { height: 63px; }
  .footer-rating-score { font-size: 13px; }
  .footer-rating-label { font-size: 11px; }
}
