/* ── Variables ────────────────────────────────────────────────── */
:root {
  --navy:       #1a2e4a;
  --navy-dark:  #0f1e32;
  --navy-light: #243d5e;
  --accent:     #2563eb;
  --accent-h:   #1d4ed8;
  --accent-glow: rgba(37,99,235,.28);
  --text:       #1f2937;
  --text-muted: #6b7280;
  --bg:         #ffffff;
  --muted:      #f8fafc;
  --border:     #e5e7eb;

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --radius:     12px;
  --radius-sm:  8px;
  --max-w:      1100px;
  --section-pad: 80px;
}

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

/* ── Utilities ────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.centered { text-align: center; }
.section { padding: var(--section-pad) 0; }
.section-white { background: var(--bg); }
.section-muted  { background: var(--muted); }
.section-navy   { background: var(--navy); color: #fff; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: inherit;
  margin-bottom: 48px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Centered section titles get an accent underline */
.section-title.centered {
  padding-bottom: 20px;
  position: relative;
}
.section-title.centered::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-h);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.9);
}

/* ── Navigation ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 16px rgba(0,0,0,.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.logo-fallback {
  display: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.lang-switcher a {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

/* Hamburger (hidden on desktop) */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-burger:hover { background: rgba(255,255,255,.08); }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 120px 0 100px;
  min-height: 65vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Accent glow blob top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 55%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { max-width: 720px; position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Statistics bar ───────────────────────────────────────────── */
.section-stats {
  background: var(--navy-dark);
  color: #fff;
  padding: 52px 0;
  position: relative;
}
/* Subtle accent top border */
.section-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent) 70%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 8px 32px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.stat-number {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ── About ────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-solo {
  max-width: 720px;
}
.about-text p { margin-bottom: 1em; color: var(--text); line-height: 1.75; }
.about-text strong { color: var(--navy); font-weight: 700; }
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(26,46,74,.12);
}

/* ── Services ─────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s;
  /* Inset top accent bar: invisible until hover */
  box-shadow: inset 0 3px 0 transparent;
}
.service-card:hover {
  box-shadow: inset 0 3px 0 var(--accent), 0 12px 32px rgba(26,46,74,.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(37,99,235,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.25s;
  flex-shrink: 0;
}
.service-card:hover .service-icon { background: rgba(37,99,235,.15); }
.service-icon svg { width: 28px; height: 28px; color: var(--accent); }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.service-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ── References carousel ──────────────────────────────────────── */
.ref-carousel { position: relative; }
.ref-carousel-viewport {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.ref-carousel-viewport::-webkit-scrollbar { display: none; }
.ref-track { display: flex; gap: 20px; }

.ref-card {
  flex: 0 0 auto;
  width: 330px;
  cursor: pointer;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ref-card:hover { box-shadow: 0 12px 32px rgba(26,46,74,.12); transform: translateY(-3px); }
.ref-card:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.ref-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ref-card-body { padding: 18px 20px 20px; }

.ref-category {
  display: inline-block;
  font-size: .72rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 6px;
}
.ref-card-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ref-year { font-size: .8rem; color: var(--text-muted); }

.ref-carousel-btn {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 10;
  background: var(--navy);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.ref-carousel-btn:hover { background: var(--accent); box-shadow: 0 4px 16px var(--accent-glow); }
.ref-prev { left: -22px; }
.ref-next { right: -22px; }

/* ── Reference modal ──────────────────────────────────────────── */
.ref-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-modal[hidden] { display: none; }
.ref-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,.8);
  backdrop-filter: blur(4px);
}
.ref-modal-inner {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: 820px;
  width: calc(100% - 48px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
}
.ref-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--muted);
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.ref-modal-close:hover { background: var(--border); color: var(--text); }
.ref-modal-inner h2 { color: var(--navy); margin-bottom: 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.ref-modal-meta { color: var(--text-muted); font-size: .875rem; margin-bottom: 28px; display: flex; gap: 8px; align-items: center; }
.ref-gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 28px;
  background: var(--muted);
}
.gallery-track { display: flex; transition: transform 0.35s cubic-bezier(.4,0,.2,1); }
.gallery-track img { flex: 0 0 100%; aspect-ratio: 16/9; object-fit: cover; }
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,30,50,.55);
  backdrop-filter: blur(4px);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s;
}
.gallery-btn:hover { background: rgba(15,30,50,.8); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.ref-modal-desc { color: var(--text); line-height: 1.75; font-size: .95rem; }
.ref-modal-desc p { margin-bottom: 1em; }

/* ── Partners grid ────────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}
.partner-item img {
  max-height: 56px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .5;
  transition: filter 0.25s, opacity 0.25s;
}
.partner-item img:hover { filter: grayscale(0); opacity: 1; }

/* ── Contact ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-intro .section-title { margin-bottom: 16px; }
.contact-lead { color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.75; }
.contact-block { margin-bottom: 28px; }
.contact-block h3 { font-weight: 700; margin-bottom: 6px; font-size: .95rem; letter-spacing: 0.01em; opacity: .9; }
.contact-block p { color: rgba(255,255,255,.7); font-size: .95rem; }
.contact-link {
  display: inline-block;
  color: rgba(255,255,255,.8);
  transition: color 0.15s;
  margin-bottom: 4px;
  font-size: .95rem;
}
.contact-link:hover { color: #fff; text-decoration: underline; }
.contact-reg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 56px;
  padding: 56px 0 36px;
}
.footer-brand {
  display: block;
  color: rgba(255,255,255,.95);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.footer-tagline-text {
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer-services { padding: 0; }
.footer-services li {
  padding: 4px 0;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color 0.15s;
}
.footer-services li:hover { color: rgba(255,255,255,.75); }
.footer-contact-item {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  transition: color 0.15s;
  line-height: 1.5;
}
a.footer-contact-item:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ── Careers page ─────────────────────────────────────────────── */
.careers-hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.careers-hero-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

/* ── Jobs grid (card list) ────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: inset 0 3px 0 transparent;
}
.job-card:hover {
  box-shadow: inset 0 3px 0 var(--accent), 0 12px 32px rgba(26,46,74,.1);
  transform: translateY(-3px);
}
.job-card:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.job-type-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.2);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.job-card-top h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.job-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  flex: 1;
}
.job-card-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  color: var(--text-muted);
}
.job-card-meta svg { flex-shrink: 0; color: var(--text-muted); }

.job-card-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.15s;
}

/* ── Job modal ────────────────────────────────────────────────── */
.job-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-modal[hidden] { display: none; }
.job-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,.8);
  backdrop-filter: blur(4px);
}
.job-modal-inner {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: 680px;
  width: calc(100% - 48px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
}
.job-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--muted);
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.job-modal-close:hover { background: var(--border); color: var(--text); }

.job-modal-inner .job-type-badge { margin-bottom: 12px; }
.job-modal-inner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.job-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.job-modal-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
}
.job-modal-meta svg { flex-shrink: 0; }

.job-modal-body {
  color: var(--text);
  line-height: 1.75;
  font-size: .95rem;
  margin-bottom: 32px;
}
.job-modal-body h2, .job-modal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 8px;
  letter-spacing: -0.01em;
}
.job-modal-body h2:first-child, .job-modal-body h3:first-child { margin-top: 0; }
.job-modal-body ul, .job-modal-body ol {
  padding-left: 1.4em;
  margin-bottom: 12px;
}
.job-modal-body li { margin-bottom: 4px; }
.job-modal-body p { margin-bottom: .75em; }
.job-modal-body strong { color: var(--navy); }

.careers-empty {
  color: var(--text-muted);
  font-size: 1rem;
  padding: 40px 0;
  max-width: 420px;
  line-height: 1.65;
}

/* Mobile careers */
@media (max-width: 600px) {
  .job-modal-inner { padding: 28px 20px; width: calc(100% - 20px); border-radius: var(--radius); }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  /* Nav */
  .nav { height: 60px; gap: 16px; flex-wrap: wrap; align-content: flex-start; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--navy-dark);
    padding: 8px 0 16px;
    order: 10;
  }
  .nav-links a { padding: 10px 20px; border-radius: 0; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* lang-switcher sits next to the burger; burger's margin-left:auto handles right-alignment */

  /* Sections */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  /* Carousel */
  .ref-card { width: 260px; }
  .ref-prev { left: 0; }
  .ref-next { right: 0; }
  .ref-modal-inner { padding: 28px 20px; width: calc(100% - 20px); border-radius: var(--radius); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* Careers */
  .career-card { padding: 24px 24px 24px 20px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .stat-item:first-child { border-top: none; }
  .ref-card { width: calc(100vw - 64px); }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
}
