/* Itinero Careers — shared design system + landing */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --saffron: #F77517;
  --saffron-dk: #e06a12;
  --saffron-dim: rgba(247, 117, 23, 0.14);
  --navy: #000E2A;
  --navy-mid: #03163a;
  --navy-card: #0A1F3D;
  --line: #20395F;
  --muted: #8fa4c0;
  --text-on-dark: #f0f4fb;
  --pale: #D6DFEA;
  --bg: #f4f6fa;
  --panel: #ffffff;
  --text: #0c1222;
  --text-secondary: #4b5568;
  --border: #e5e9f0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 34, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 14, 42, 0.1);
  --shadow-lg: 0 24px 64px rgba(0, 14, 42, 0.14);
  --max: 1160px;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Nav */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 64px;
  background: rgba(0, 14, 42, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s;
}
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); }
.site-nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.site-nav .logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-nav .logo img {
  height: 34px;
  width: auto;
  max-width: min(200px, 42vw);
  display: block;
  object-fit: contain;
}
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-actions a {
  color: var(--muted); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; transition: color 0.15s;
}
.nav-actions a:hover { color: var(--text-on-dark); }
.nav-actions a.active { color: var(--text-on-dark); }
.btn-nav-primary {
  background: var(--saffron); color: #fff !important;
  padding: 9px 18px; border-radius: 10px; font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(247, 117, 23, 0.35);
}
.btn-nav-primary:hover { background: var(--saffron-dk); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; padding: 14px 28px;
  border-radius: 12px; text-decoration: none; border: none; cursor: pointer;
  font-family: inherit; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary {
  background: var(--saffron); color: #fff;
  box-shadow: 0 8px 28px rgba(247, 117, 23, 0.35);
}
.btn-primary:hover { background: var(--saffron-dk); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.08); color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-dark {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--saffron); color: var(--saffron); }

/* Landing hero */
.landing-hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 7rem 1.5rem 4rem;
  background: var(--navy);
  overflow: hidden;
}
.landing-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(247, 117, 23, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(3, 22, 58, 0.9), transparent 50%),
    linear-gradient(165deg, #010E2A 0%, #03163a 45%, #000E2A 100%);
}
.landing-hero-grid {
  position: absolute; inset: 0; opacity: 0.035;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}
.landing-hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; width: 100%;
}
.landing-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--saffron);
  margin-bottom: 1.25rem;
}
.landing-hero .eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--saffron);
}
.landing-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.08;
  color: var(--text-on-dark); letter-spacing: -0.02em;
  max-width: 720px; margin-bottom: 1.25rem;
}
.landing-hero h1 em { font-style: normal; color: var(--saffron); }
.landing-hero .lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted); max-width: 540px; line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.metric strong {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--text-on-dark); letter-spacing: -0.02em;
}
.metric span { font-size: 0.8rem; color: var(--muted); }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--saffron); margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 0.75rem; line-height: 1.2;
}
.section-desc {
  color: var(--text-secondary); font-size: 1rem;
  max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem;
}
.section-dark {
  background: var(--navy); color: var(--text-on-dark);
}
.section-dark .section-title { color: var(--text-on-dark); }
.section-dark .section-desc { color: var(--muted); }

.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--saffron-dim); border: 1px solid rgba(247, 117, 23, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--saffron); margin-bottom: 1rem;
}
.pillar-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* Role preview cards */
.roles-preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (max-width: 700px) { .roles-preview-grid { grid-template-columns: 1fr; } }
.role-preview-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.role-preview-card:hover {
  border-color: rgba(247, 117, 23, 0.45);
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.role-preview-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.role-preview-card .dept { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.role-preview-card p {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.role-preview-card .link {
  font-size: 0.85rem; font-weight: 600; color: var(--saffron);
  display: inline-flex; align-items: center; gap: 4px;
}
.role-preview-card .tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.tag {
  font-size: 0.68rem; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  background: #f1f4f9; color: var(--text-secondary);
}
.tag.amber { background: #fef3c7; color: #92400e; }

.view-all-wrap { text-align: center; margin-top: 2rem; }

/* Process */
.process-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 800px) { .process-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process-row { grid-template-columns: 1fr; } }
.process-step {
  padding: 1.25rem; border-left: 2px solid rgba(247, 117, 23, 0.5);
}
.process-step .num {
  font-size: 0.72rem; font-weight: 700; color: var(--saffron);
  margin-bottom: 0.5rem;
}
.process-step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text-on-dark); }
.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.notice-banner {
  max-width: var(--max); margin: 0 auto 0;
  padding: 0 1.5rem 4rem;
}
.notice-inner {
  background: #fffbeb; border: 1px solid #fcd34d;
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.notice-inner p { font-size: 0.9rem; color: #78350f; line-height: 1.6; margin: 0; }
.notice-inner strong { display: block; margin-bottom: 0.25rem; color: #92400e; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-card) 0%, var(--navy) 100%);
  border-top: 1px solid var(--line);
  padding: 4rem 1.5rem; text-align: center;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--text-on-dark); margin-bottom: 0.75rem;
}
.cta-band p { color: var(--muted); margin-bottom: 1.5rem; max-width: 480px; margin-inline: auto; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #000a18 0%, #010612 100%);
  color: var(--muted);
  padding: 3.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.footer-brand img {
  height: 28px;
  width: auto;
  max-width: 160px;
  margin-bottom: 1.1rem;
  opacity: 0.98;
  object-fit: contain;
  display: block;
}
.footer-brand > p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(214, 223, 234, 0.85);
  max-width: 300px;
  margin-bottom: 0.5rem;
}
.footer-legal-name {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(214, 223, 234, 0.95);
  margin-bottom: 1rem;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.45;
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--text-on-dark);
}

/* Social — compact icon row */
.footer-follow .footer-social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--pale);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.12s;
}
.footer-social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-social-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.footer-social-btn.brand-instagram:hover {
  border-color: rgba(225, 48, 108, 0.5);
  background: rgba(225, 48, 108, 0.12);
  color: #f472b6;
}
.footer-social-btn.brand-youtube:hover {
  border-color: rgba(255, 0, 0, 0.45);
  background: rgba(255, 0, 0, 0.12);
  color: #fca5a5;
}
.footer-social-btn.brand-tiktok:hover {
  border-color: rgba(254, 44, 85, 0.45);
  background: rgba(254, 44, 85, 0.1);
  color: #fda4af;
}
.footer-social-btn.brand-medium:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer-social-hint {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(143, 164, 192, 0.75);
  max-width: 200px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 1.75rem;
}
.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(143, 164, 192, 0.7);
  letter-spacing: 0.01em;
}

body.page-landing { padding-top: 0; }
body.page-landing .site-nav { position: fixed; }

/* Jobs page header */
.jobs-page-header {
  position: relative;
  padding: 6.5rem 1.5rem 2.25rem;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.jobs-page-header::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 80% at 100% 0%, rgba(247, 117, 23, 0.14), transparent 55%),
    linear-gradient(180deg, #010E2A 0%, #03163a 100%);
}
.jobs-page-header-inner {
  position: relative;
  max-width: var(--max); margin: 0 auto;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb span { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: var(--pale); }
.jobs-page-header .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--saffron); margin-bottom: 0.6rem;
}
.jobs-page-header .eyebrow::before {
  content: ''; width: 20px; height: 1px; background: var(--saffron);
}
.jobs-page-header h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700; color: var(--text-on-dark);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 0.5rem;
}
.jobs-page-header p {
  color: var(--muted); font-size: 1rem; max-width: 520px; line-height: 1.65;
}
.jobs-header-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.jobs-header-meta span {
  font-size: 0.8rem; color: var(--muted);
}
.jobs-header-meta strong {
  display: block; color: var(--text-on-dark); font-size: 0.95rem; font-weight: 700;
}
