:root {
  --color-bg: #ffffff;
  --color-surface: #f7f8fa;
  --color-text: #111111;
  --color-muted: #555555;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-border: #e5e7eb;
  --color-focus: #2563eb;
  --color-success-bg: #ecfdf5;
  --color-success-text: #065f46;
  --color-error-bg: #fef2f2;
  --color-error-text: #991b1b;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-weight: 800; letter-spacing: -0.025em; }
.stat-value { font-family: var(--font-display); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.25rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---------- Visually hidden / a11y ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 0.6rem 1rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Pinned announcement bar (appears after hero scroll) ---------- */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  color: #fff;
  font-size: 0.9rem;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.12);
}
.announcement-bar.visible { transform: translateY(0); }
.announcement-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.55rem var(--space-3);
}
.announcement-bar-text { flex: 1; }
.announcement-bar-text strong { font-weight: 700; }
.announcement-bar-cta {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.15s ease;
}
.announcement-bar-cta:hover { background: rgba(255, 255, 255, 0.25); }
.announcement-bar-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.announcement-bar-close:hover { background: rgba(255, 255, 255, 0.2); }
@media (max-width: 600px) {
  .announcement-bar { font-size: 0.82rem; }
  .announcement-bar-text strong { display: inline; }
  .announcement-bar-inner { gap: var(--space-1); padding: 0.45rem var(--space-2); }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; display: block; flex-shrink: 0; }
.nav nav { display: flex; gap: var(--space-3); align-items: center; }
.nav nav a {
  padding: 0.5rem 0.25rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.nav nav a:hover { color: var(--color-accent); }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover { background: var(--color-surface); border-color: var(--color-text); }
.nav-toggle-line {
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 6px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--color-accent-hover) 0%, #1e40af 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 18px rgba(37, 99, 235, 0.38);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(37, 99, 235, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-text);
  transform: translateY(-1px);
}
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; min-height: 52px; }

/* Disabled state */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(0.7);
}

/* Loading state - hides text, shows spinner via ::after */
.btn[data-loading="true"] {
  color: transparent !important;
  pointer-events: none;
}
.btn[data-loading="true"]::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  color: #fff;
  animation: btn-spin 0.7s linear infinite;
}
.btn-ghost[data-loading="true"]::after { color: var(--color-accent); }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---------- Section heading ---------- */
.section-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: var(--space-6);
  text-align: center;
}
.section-heading-left { text-align: left; }
.section-heading-sub {
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: 0.4rem;
  letter-spacing: normal;
}

/* ---------- Audience toggle (hero) ---------- */
.audience-toggle {
  display: inline-flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  margin-bottom: var(--space-3);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
}
.audience-toggle button {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.audience-toggle button:hover { color: var(--color-text); }
.audience-toggle button.active {
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.1),
    0 4px 12px rgba(17, 17, 17, 0.06);
}

/* Hero panes */
.hero-pane { display: none; }
.hero-pane.active {
  display: block;
  animation: hero-pane-in 0.35s ease;
}
@keyframes hero-pane-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Hero eyebrow */
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

/* Hero pulse flag (careers pane) */
.hero-flag {
  margin-top: var(--space-3);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  line-height: 1.4;
}
.hero-flag-pulse { margin-top: 6px; }
.hero-flag-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
  flex-shrink: 0;
  animation: hero-pulse 1.8s infinite;
}
@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-flag-pulse { animation: none; }
}

/* ---------- Section kicker (uppercase label above heading) ---------- */
.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-1);
  text-align: center;
}
.section-kicker-left { text-align: left; }

/* ---------- Why Lumina (Business) - editorial numbered cards ---------- */
.why-lumina {
  position: relative;
  padding: var(--space-8) 0;
  background: var(--color-surface);
  overflow: hidden;
}
.why-lumina-star {
  position: absolute;
  width: 64px;
  top: 8%;
  right: 6%;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  animation: why-lumina-star-float 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(255, 168, 0, 0.25));
}
@keyframes why-lumina-star-float {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%      { transform: translateY(-10px) rotate(-10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .why-lumina-star { animation: none; }
}

.why-lumina-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
  position: relative;
  z-index: 1;
}

.why-lumina-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: var(--space-4);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.why-lumina-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #FFA800);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.why-lumina-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
}
.why-lumina-card:hover::before { opacity: 1; }

.why-lumina-card-featured {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(255, 168, 0, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #F0F5FF 0%, #FFFFFF 60%);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.why-lumina-card-body {
  position: relative;
  z-index: 1;
}
.why-lumina-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.why-lumina-card-body p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* ---------- How it works (Business) - reuses .steps and .step ---------- */
.how-it-works {
  padding: var(--space-8) 0;
  background: var(--color-bg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0;
  text-align: center;
  background:
    radial-gradient(70% 60% at 12% 18%, rgba(255, 168, 0, 0.08), transparent 60%),
    radial-gradient(60% 70% at 92% 22%, rgba(37, 99, 235, 0.09), transparent 60%),
    linear-gradient(180deg,
      var(--color-surface) 0%,
      var(--color-surface) 55%,
      #fafbfc 80%,
      var(--color-bg) 100%);
}
.hero-star {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-star-1 {
  width: 64px;
  top: 56px;
  left: 6%;
  animation: star-float-1 6s ease-in-out infinite;
}
.hero-star-2 {
  width: 40px;
  bottom: 60px;
  right: 7%;
  animation: star-float-2 7.5s ease-in-out infinite;
}
@keyframes star-float-1 {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50%      { transform: translateY(-14px) rotate(-12deg); }
}
@keyframes star-float-2 {
  0%, 100% { transform: translateY(0) rotate(10deg); }
  50%      { transform: translateY(-10px) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-star { animation: none; }
}
.hero h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin: 0 auto var(--space-4);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.announcement {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.15s ease;
}
.announcement:hover { border-color: var(--color-accent); }

/* ---------- Services (3-column card grid) ---------- */
.services-overview { padding: var(--space-8) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.section-lead {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: calc(-1 * var(--space-2)) auto var(--space-4);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

/* Hero split — text left, circular video right */
.hero-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-3);
}
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-video-circle {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow:
    0 24px 60px rgba(17, 17, 17, 0.18),
    0 8px 20px rgba(17, 17, 17, 0.08);
  isolation: isolate;
}
.hero-video-circle::before {
  content: "";
  position: absolute;
  inset: -8% -8% auto auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, #FFC75B 0%, #FFA800 65%, transparent 100%);
  opacity: 0.55;
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}
.hero-video-circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Decorative stars overlapping the circular video */
.video-star {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(255, 168, 0, 0.3));
}
.video-star-1 {
  width: 52px;
  top: 6%;
  right: -2%;
  animation: video-star-float-1 5s ease-in-out infinite;
}
.video-star-2 {
  width: 34px;
  bottom: 10%;
  left: 4%;
  animation: video-star-float-2 6.5s ease-in-out infinite;
}
@keyframes video-star-float-1 {
  0%, 100% { transform: translateY(0) rotate(-14deg); }
  50%      { transform: translateY(-9px) rotate(-14deg); }
}
@keyframes video-star-float-2 {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50%      { transform: translateY(-7px) rotate(18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .video-star { animation: none; }
}

/* Hero panes — left-aligned content (both biz and career) */
.hero-pane {
  text-align: left;
}
.hero-pane h1 {
  max-width: 22ch;
}
.hero-pane .lede {
  margin-left: 0;
  margin-right: 0;
  max-width: 56ch;
}
.hero-pane .hero-actions {
  justify-content: flex-start;
}
.hero-pane .hero-flag {
  justify-content: flex-start;
}

/* Business pane only — dark grey h1 (careers keeps default text colour) */
#hero-biz h1 {
  color: #1f2937;
}
.hero-underline {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.service-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: var(--space-4);
  text-align: left;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #FFA800);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12);
}
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  transition: transform 0.25s ease;
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.15rem; margin-bottom: var(--space-1); }
.service-card p { color: var(--color-muted); }

/* ---------- Careers (collapsible job cards) ---------- */
.careers { padding: var(--space-8) 0; background: var(--color-surface); }
.job {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  margin-bottom: var(--space-2);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.job:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08); }
.job summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-3);
}
.job summary::-webkit-details-marker { display: none; }
.job-summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.job-summary-text { flex: 1; min-width: 0; }
.job-summary-text h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.job-teaser { color: var(--color-muted); font-size: 0.95rem; }

.job-icon-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
  transition: transform 0.25s ease;
}
.job[open] .job-icon-badge { transform: rotate(-6deg) scale(1.05); }

.job-toggle {
  flex-shrink: 0;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 600;
}
.job[open] .job-toggle::after { content: " \25B4"; }
.job:not([open]) .job-toggle::after { content: " \25BE"; }

.job-body {
  padding: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.job-body-content { padding: 0 var(--space-1); }
.job .role-description { color: var(--color-muted); margin-bottom: var(--space-3); }
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.job-grid h4 { font-size: 1rem; margin-bottom: var(--space-1); }
.job-grid ul li { margin-bottom: 0.25rem; color: var(--color-muted); }
.job-closing { color: var(--color-muted); margin-bottom: var(--space-3); }

/* ---------- Contact (split) ---------- */
.contact {
  padding: var(--space-8) 0;
  background: var(--color-surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.contact-form { order: 1; }
.contact-info { order: 2; }
.contact-intro { color: var(--color-muted); margin-bottom: var(--space-3); }

.socials {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-muted);
  background: var(--color-bg);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.socials a svg { display: block; transition: transform 0.18s ease; }
.socials a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}
.socials a:hover svg { transform: scale(1.1); }
.socials a:active { transform: translateY(0); }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: var(--space-1); color: var(--color-muted); }
.contact-list a { color: var(--color-text); text-decoration: none; }
.contact-list a:hover { color: var(--color-text); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--color-bg);
  padding: var(--space-4);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow:
    0 14px 40px rgba(17, 17, 17, 0.08),
    0 2px 6px rgba(17, 17, 17, 0.04);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-form .required { color: var(--color-accent); }
.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--color-border);
  font: inherit;
  font-weight: 400;
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input { border-radius: 999px; }
.contact-form textarea { border-radius: 22px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-form label.checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-1);
  font-weight: 400;
  color: var(--color-muted);
}
.contact-form label.checkbox a { color: inherit; text-decoration: underline; }

.form-status {
  font-size: 0.95rem;
  padding: 0;
  border-radius: var(--radius);
  min-height: 1em;
}
.form-status.success {
  background: var(--color-success-bg);
  color: var(--color-success-text);
  padding: 0.75rem 1rem;
}
.form-status.error {
  background: var(--color-error-bg);
  color: var(--color-error-text);
  padding: 0.75rem 1rem;
}

/* ---------- Stats bento (under hero) ---------- */
.stats {
  background: var(--color-bg);
  padding: var(--space-6) 0;
}
.stats-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-2);
}
.stat-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #FFA800);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.14);
}
.stat-card:hover::before { opacity: 1; }

/* Hero card — featured 500+ */
.stat-card-hero {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(255, 168, 0, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #F0F5FF 0%, #FFFFFF 60%);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.10);
  padding: var(--space-4);
  gap: var(--space-1);
}
.stat-card-hero .stat-value {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
}

.stat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-1);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
  transition: transform 0.25s ease, background 0.25s ease;
}
.stat-card-hero .stat-icon-wrap {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  width: 52px;
  height: 52px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}
.stat-card-hero .stat-icon-wrap .stat-icon { color: #fff; }
.stat-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}
.stat-card-hero .stat-icon { width: 28px; height: 28px; }
.stat-card:hover .stat-icon-wrap { transform: rotate(-6deg) scale(1.08); }

/* Live indicator on hero card */
.stat-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #16a34a;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
}
.stat-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  position: relative;
  animation: stat-live-pulse 1.6s infinite;
}
@keyframes stat-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.stat-value {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-family: var(--font-display);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.4;
}
.stat-meta {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .stat-live-dot { animation: none; }
  .stat-card { transition: none; }
}

/* ---------- Why work at Lumina (perks + comp + office photo) ---------- */
.why-us {
  padding: var(--space-8) 0;
  background: var(--color-bg);
}
.why-us-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-6);
  align-items: center;
}
.why-us-content .section-heading { margin-bottom: var(--space-2); }
.why-us-lede {
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}
.salary-pill {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  margin-bottom: var(--space-3);
  font-size: 0.95rem;
}
.salary-pill strong { color: var(--color-accent); }
.perks-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-3);
}
.perks-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.perks-list li svg { color: var(--color-accent); flex-shrink: 0; }

/* ---------- Team photo (side image in Why work at Lumina) ---------- */
.team-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow:
    0 24px 60px rgba(17, 17, 17, 0.12),
    0 6px 16px rgba(17, 17, 17, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-photo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 80px rgba(17, 17, 17, 0.16),
    0 8px 20px rgba(17, 17, 17, 0.08);
}
.team-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- How to apply (3-step strip) ---------- */
.how-to-apply {
  padding: var(--space-8) 0;
  background: var(--color-surface);
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  counter-reset: step;
  position: relative;
}
.step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: calc(var(--space-4) + 0.5rem) var(--space-4) var(--space-4);
  text-align: left;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12);
}
.step-num {
  position: absolute;
  top: -20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  border-radius: 10px;
  box-shadow:
    0 10px 22px rgba(37, 99, 235, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.step h3 { font-size: 1.1rem; margin: var(--space-2) 0 var(--space-1); }
.step p { color: var(--color-muted); font-size: 0.95rem; }
/* Connector arrow between steps on desktop - wide gradient line with bold chevron */
@media (min-width: 721px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -60px;
    width: 120px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 120 24' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='%232563eb' stop-opacity='0.15'/><stop offset='1' stop-color='%232563eb' stop-opacity='1'/></linearGradient></defs><line x1='2' y1='12' x2='102' y2='12' stroke='url(%23g)' stroke-width='2.5' stroke-linecap='round'/><polyline points='98,5 114,12 98,19' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.18));
    opacity: 0.95;
    pointer-events: none;
  }
}

/* ---------- Testimonials (two-column, single-card carousel) ---------- */
.testimonials {
  padding: var(--space-8) 0;
  background: var(--color-bg);
}
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-6);
  align-items: center;
}
.testimonials-intro { position: relative; padding-right: var(--space-3); }
.testimonials-star {
  position: absolute;
  width: 34px;
  top: -8px;
  left: 150px;
  pointer-events: none;
  user-select: none;
  animation: star-float-2 7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-star { animation: none; }
}
.testimonials-intro-quote {
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.testimonials-intro-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.testimonials-intro-text {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 320px;
}

.testimonial-card {
  position: relative;
  background: #eef2ff;
  border-radius: 18px;
  padding: var(--space-3) var(--space-4) calc(var(--space-4) + 4px);
  min-height: 320px;
}
.testimonial-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}
.testimonial-card-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.18);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.3s ease;
}
.testimonial-dot:hover { background: rgba(17, 17, 17, 0.35); }
.testimonial-dot.active {
  background: var(--color-accent);
  width: 20px;
  border-radius: 4px;
}

.testimonial-slides {
  position: relative;
  min-height: 220px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.testimonial-quote-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 var(--space-4);
  max-width: 520px;
}
.testimonial-slide-footer {
  display: flex;
  align-items: center;
  padding-right: 110px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.testimonial-author img,
.testimonial-author-fallback,
.testimonial-author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  background: var(--color-bg);
}
.testimonial-author-photo {
  background-image: url('../assets/images/people.png');
  background-size: 200% 200%;
  background-repeat: no-repeat;
  background-color: var(--color-surface);
}
.testimonial-author-photo.tl { background-position: 0% 0%; }
.testimonial-author-photo.tr { background-position: 100% 0%; }
.testimonial-author-photo.bl { background-position: 0% 100%; }
.testimonial-author-photo.br { background-position: 100% 100%; }
.testimonial-author-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-author-text { display: flex; flex-direction: column; }
.testimonial-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}
.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.testimonial-nav-buttons {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.testimonial-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: transparent;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.testimonial-nav-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}
.testimonial-nav-btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .testimonial-slide { transition: opacity 0.01s; transform: none; }
}

/* ---------- CV application modal ---------- */
.cv-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100vh - 4rem);
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  background: var(--color-bg);
  color: var(--color-text);
  overflow: hidden;
}
.cv-modal[open] {
  display: flex;
  flex-direction: column;
}
.cv-modal::backdrop {
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(2px);
}
.cv-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease;
}
.cv-modal-close:hover { background: rgba(255,255,255,0.6); }

.cv-modal-header {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  padding: var(--space-4) var(--space-4) var(--space-3);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.cv-modal-illustration {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-2);
  display: flex; align-items: center; justify-content: center;
}
.cv-modal-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}
.cv-modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0.35rem 0 0;
}

.cv-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4) var(--space-4);
  overflow-y: auto;
}
.cv-form-section { display: flex; flex-direction: column; gap: var(--space-2); }

.cv-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
.cv-form .required { color: var(--color-accent); margin-left: 2px; }
.cv-form input[type="text"],
.cv-form input[type="email"],
.cv-form input[type="tel"] {
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font: inherit;
  font-weight: 400;
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cv-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.cv-form input::placeholder { color: #9ca3af; }

/* CV field - compact inline picker (label-left + button + filename) */
.cv-field-cv {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.cv-field-cv-label { color: var(--color-text); }
.file-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.file-input input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.file-input-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.file-input-label:hover {
  border-style: solid;
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.04);
}
.file-input-status {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.file-input.has-file .file-input-status { color: var(--color-text); }
.file-input.has-file .file-input-label {
  border-style: solid;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.file-input input[type="file"]:focus-visible + .file-input-label {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* Bottom row - captcha + submit share the line equally */
.cv-form-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
.cv-captcha {
  width: 100%;
  text-align: center;
  font-weight: 500;
}
.cv-form-bottom .btn { width: 100%; }

.cv-form .form-status { margin: 0; }

@media (max-width: 480px) {
  .cv-modal-header { padding: var(--space-3); }
  .cv-form { padding: var(--space-3); }
  .cv-modal-title { font-size: 1.15rem; }
  .cv-form-bottom { grid-template-columns: 1fr; }
  .file-input { flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}
.footer-links { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bento { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .stat-card-hero { grid-column: 1 / -1; }
  .why-lumina-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .testimonials-layout { grid-template-columns: 1fr; gap: var(--space-4); }
  .testimonials-intro { padding-right: 0; text-align: center; }
  .testimonials-intro-text { margin: 0 auto; }
}
@media (max-width: 720px) {
  /* Tighter section spacing across the page */
  main > section { padding-top: var(--space-6); padding-bottom: var(--space-6); }

  .services-grid { grid-template-columns: 1fr; }

  /* Hero — center everything, tighter top padding, toggle sits higher */
  .hero { padding-top: var(--space-3); padding-bottom: var(--space-6); }
  .hero-split { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-video-circle { max-width: 280px; margin: 0 auto; }
  .audience-toggle { margin-bottom: var(--space-2); }
  .hero-pane { text-align: center; }
  .hero-pane h1, #hero-biz h1, #hero-career h1 { max-width: 100%; }
  .hero-pane .lede { margin-left: auto; margin-right: auto; max-width: 100%; }
  .hero-pane .hero-actions { justify-content: center; }
  .hero-flag { justify-content: center; }

  /* Stats — 2 in a row, third spans full width */
  .stats-bento { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .stats-bento > .stat-card:nth-child(3) { grid-column: 1 / -1; }
  .stat-card-hero { grid-column: auto; padding: var(--space-3); }
  .stat-card-hero .stat-value { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* Hero — give underlined phrase room so the line isn't clipped */
  .hero h1 { font-size: clamp(1.25rem, 6vw, 1.75rem); line-height: 1.25; }
  .hero-underline { text-decoration-thickness: 2px; text-underline-offset: 6px; }

  /* Job cards — keep title readable next to chevron */
  .job summary { padding: 1rem; }
  .job-summary { gap: 0.625rem; }
  .job-icon-badge { width: 40px; height: 40px; }
  .job-icon-badge svg { width: 20px; height: 20px; }
  .job-summary-text h3 {
    font-size: 0.95rem;
    line-height: 1.3;
    overflow-wrap: break-word;
  }
  .job-teaser { font-size: 0.8rem; }

  .why-us-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .contact-form { order: 1; }
  .contact-info { order: 2; }
  /* Mobile hamburger nav */
  .nav-toggle { display: inline-flex; }
  .nav nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-2) var(--space-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
    z-index: 9;
  }
  .site-header.nav-open .nav nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }
  .nav nav a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 1rem;
  }
  .nav nav a:hover { background: var(--color-surface); color: var(--color-text); }
  /* Hamburger morphs into X when open */
  .site-header.nav-open .nav-toggle-line-top { transform: translateY(6px) rotate(45deg); }
  .site-header.nav-open .nav-toggle-line-mid { opacity: 0; }
  .site-header.nav-open .nav-toggle-line-bot { transform: translateY(-6px) rotate(-45deg); }
  .job-grid { grid-template-columns: 1fr; gap: var(--space-2); }
  /* Mobile: badge + text + chevron toggle all on a single row, aligned center */
  .job-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "badge text toggle";
    gap: var(--space-2);
    align-items: center;
  }
  .job-icon-badge { grid-area: badge; }
  .job-summary-text { grid-area: text; flex-basis: auto; min-width: 0; }
  /* Hide "View details" text on mobile — keep only the chevron arrow */
  .job-toggle {
    grid-area: toggle;
    justify-self: end;
    margin: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
  }
  .job-toggle::after { font-size: 18px; line-height: 1; }
  .perks-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .salary-pill { border-radius: 14px; }

  /* Testimonials — stack all 3 quotes as separate cards, no carousel on mobile */
  .testimonials-star { display: none; }
  .testimonial-card {
    background: transparent;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .testimonial-card-top { display: none; }
  .testimonial-nav-buttons { display: none; }
  .testimonial-slides {
    position: static;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .testimonial-slide {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: #eef2ff;
    border-radius: 18px;
    padding: var(--space-3);
  }
  .testimonial-slide-footer { padding-right: 0; }
}

/* ============================================================
   SUCCESS POPUP - shown after Contact or CV form submits
   ============================================================ */
.success-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(440px, calc(100% - 2rem));
  max-height: calc(100vh - 4rem);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border: none;
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  background: var(--color-bg, #fff);
  color: var(--color-text, #111);
  text-align: center;
}
.success-modal[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.success-modal::backdrop {
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(2px);
}
.success-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--color-muted, #475569);
  border-radius: 999px;
  cursor: pointer;
}
.success-modal-close:hover { background: rgba(0,0,0,0.05); color: var(--color-text, #111); }
.success-modal-icon { margin-bottom: 0.25rem; }
.success-modal-title {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--color-text, #111);
}
.success-modal-body {
  color: var(--color-muted, #475569);
  font-size: 0.975rem;
  line-height: 1.55;
  max-width: 32ch;
}
.success-modal-body h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--color-text, #111);
}
.success-modal-body p { margin: 0 0 0.5rem; }
.success-modal .btn {
  margin-top: 0.75rem;
  min-width: 130px;
}

/* Inline form status colors (used during pending state) */
.form-status.pending {
  color: var(--color-muted, #475569);
}
