/* ===== rTriibe Design System — Brand-true ===== */
/* Navy #0E1F3D primary, Orange #FE5722 accent (sampled directly from logo) */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ===== Brand palette ===== */
  --navy-900: #0a1730;
  --navy-800: #0e1f3d;          /* primary brand navy — straight from logo */
  --navy-700: #182e54;
  --navy-600: #243f6e;
  --navy-100: #e7ecf3;

  --orange-700: #d3431a;
  --orange-600: #ed4f1f;
  --orange-500: #fe5722;        /* exact brand orange from logo dots */
  --orange-400: #ff7a4d;
  --orange-100: #ffe4d8;

  --black: #0a1730;
  --ink: #1a2740;
  --slate: #6b7a91;
  --slate-light: #98a4b8;

  --paper: #ffffff;
  --off-white: #f7f9fc;
  --cream: #fef9f5;
  --border: #e6eaf0;
  --border-light: #f0f3f7;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14,31,61,.05), 0 1px 3px rgba(14,31,61,.04);
  --shadow: 0 4px 12px rgba(14,31,61,.07), 0 12px 32px rgba(14,31,61,.08);
  --shadow-lg: 0 24px 60px rgba(14,31,61,.18), 0 8px 16px rgba(14,31,61,.06);
  --shadow-orange: 0 8px 24px rgba(254,87,34,.28);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--slate);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--orange-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-600); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-500);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}

p { color: var(--slate); }

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(64px, 9vw, 110px) 0; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--orange-500); }
.nav-links a.active { color: var(--orange-500); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  position: relative;
  transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--navy-800);
  transition: top .25s ease, transform .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
/* Primary: navy filled */
.btn-primary {
  background: var(--navy-800);
  color: white;
}
.btn-primary:hover {
  background: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
/* Orange: bold accent */
.btn-orange, .btn-gold {
  background: var(--orange-500);
  color: white;
  box-shadow: 0 4px 12px rgba(254,87,34,0.25);
}
.btn-orange:hover, .btn-gold:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}
.btn-secondary {
  background: white;
  color: var(--navy-800);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--orange-500);
  color: var(--orange-500);
}
.btn-ghost {
  color: var(--navy-800);
  padding: 12px 18px;
}
.btn-ghost:hover { color: var(--orange-500); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Hero ===== */
.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(70px, 9vw, 120px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(254,87,34,0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(231,236,243,0.6), transparent 60%),
    var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -15%;
  width: 65%; height: 110%;
  background: radial-gradient(circle, rgba(254,87,34,0.08), transparent 65%);
  filter: blur(20px);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  max-width: 1000px;
}
.hero h1 .accent {
  color: var(--orange-500);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero h1 .accent { white-space: normal; }
  .hero h1 br { display: none; }
}
.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--slate);
  max-width: 620px;
  line-height: 1.65;
  font-weight: 400;
}

/* ===== Dual CTA Cards ===== */
.dual-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  max-width: 760px;
}
.path-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.path-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.path-card.dark {
  background: var(--navy-800);
  color: white;
  border-color: var(--navy-800);
}
.path-card.dark h3 { color: white; }
.path-card.dark p { color: rgba(255,255,255,0.78); }
.path-card .path-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--orange-100);
  display: grid; place-items: center;
  color: var(--orange-500);
}
.path-card.dark .path-icon {
  background: rgba(254,87,34,0.2);
  color: var(--orange-400);
}
.path-card .path-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--orange-500);
  margin-top: 4px;
  font-size: 0.95rem;
}
.path-card.dark .path-link { color: var(--orange-400); }
.path-card .path-link svg { transition: transform .25s var(--ease); }
.path-card:hover .path-link svg { transform: translateX(4px); }

/* ===== Stats (navy bg) ===== */
.stats {
  background: var(--navy-800);
  color: white;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(254,87,34,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(36,63,110,0.5), transparent 45%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat { display: grid; gap: 8px; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--orange-500);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ===== Section header ===== */
.section-head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-self: center; }

/* ===== Feature grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s var(--ease);
  display: grid;
  gap: 14px;
  align-content: start;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange-500);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--orange-100);
  color: var(--orange-500);
  display: grid; place-items: center;
}
.feature h3 { font-size: 1.2rem; }

/* ===== Process / steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step { display: grid; gap: 12px; position: relative; }
.step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange-500);
  line-height: 1;
}
.step h4 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy-800);
}
.step p { font-size: 0.95rem; }

/* ===== Testimonial ===== */
.quote-section { background: var(--off-white); }
.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--orange-500);
  line-height: 1;
  margin-bottom: 0;
}
.quote-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--navy-800);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote-attr {
  margin-top: 24px;
  font-weight: 600;
  color: var(--slate);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== CTA ===== */
.cta-section { padding: clamp(64px, 9vw, 110px) 0; }
.cta-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  color: white;
  display: grid;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(254,87,34,0.25), transparent 60%);
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: var(--orange-400) !important; }
.cta-card .eyebrow::before { background: var(--orange-400); }
.cta-card h2 { color: white; max-width: 680px; }
.cta-card p { color: rgba(255,255,255,0.85); max-width: 560px; font-size: 1.05rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-card .btn-primary { background: var(--orange-500); color: white; }
.cta-card .btn-primary:hover { background: var(--orange-600); }
.cta-card .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.cta-card .btn-secondary:hover {
  background: white;
  color: var(--navy-800);
  border-color: white;
}
.cta-card .btn-gold { background: var(--orange-500); color: white; }
.cta-card .btn-gold:hover { background: var(--orange-600); }

/* ===== Footer (navy) ===== */
.footer {
  background: var(--navy-800);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { display: grid; gap: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.95rem; max-width: 320px; }
.footer h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-500);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.94rem;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--orange-500) !important; }
.footer-bottom a:hover { color: var(--orange-400) !important; }

/* ===== Page header ===== */
.page-header {
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(254,87,34,0.1), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(231,236,243,0.6), transparent 60%),
    var(--paper);
  padding: clamp(80px, 12vw, 130px) 0 clamp(60px, 8vw, 90px);
  border-bottom: 1px solid var(--border-light);
}
.page-header .container { display: grid; gap: 18px; max-width: 820px; }
.page-header h1 em {
  color: var(--orange-500);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .page-header h1 em { white-space: normal; }
}

/* ===== Two column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.two-col.flip > div:first-child { order: 2; }
.two-col h2 { margin-bottom: 16px; }
.two-col .col-content { display: grid; gap: 20px; }

/* ===== Visual mock card (navy) ===== */
.visual-mock {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  display: grid;
  align-content: space-between;
}
.visual-mock::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(254,87,34,0.3), transparent 60%);
  filter: blur(30px);
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 12px var(--orange-500); }
.mock-tag {
  background: rgba(254,87,34,0.25);
  color: var(--orange-400);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.mock-list {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.mock-list-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px);
  transition: all .3s var(--ease);
}
.mock-list-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--orange-500);
}
.mock-list-item .role { display: grid; gap: 2px; }
.mock-list-item .role-title { font-weight: 600; font-size: 0.95rem; color: white; }
.mock-list-item .role-meta { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.mock-list-item .role-rate { color: var(--orange-400); font-weight: 600; font-size: 0.92rem; }

/* ===== Check list ===== */
.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 1rem;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange-500);
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'><path d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Roles grid ===== */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.role-tile {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 8px;
  transition: all .3s var(--ease);
}
.role-tile:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.role-tile h4 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-800);
}
.role-tile p { font-size: 0.92rem; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item[open] { border-color: var(--orange-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  width: 12px; height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.faq-icon::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon { background: var(--orange-500); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: white; }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 28px 24px; color: var(--slate); font-size: 0.98rem; line-height: 1.7; }
.faq-answer p + p { margin-top: 10px; }

.faq-category { margin-bottom: 56px; }
.faq-category-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy-800);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange-500);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ===== Contact form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact-info {
  display: grid;
  gap: 28px;
  align-content: start;
}
.contact-info-block { display: grid; gap: 6px; }
.contact-info-block .label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-500);
}
.contact-info-block .value {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy-800);
}
.contact-info-block .value a:hover { color: var(--orange-500); }

form {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-800);
}
.form-field input, .form-field textarea, .form-field select {
  font-family: 'Poppins', sans-serif;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  font-size: 0.96rem;
  color: var(--ink);
  transition: all .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(254,87,34,0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ===== Values cards ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 14px;
}
.value-card h3 { font-size: 1.3rem; }
.value-card .value-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--orange-500);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== CPD cards ===== */
.cpd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cpd-card {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  transition: all .3s var(--ease);
}
.cpd-card:hover { border-color: var(--orange-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cpd-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--orange-100);
  color: var(--orange-500);
  display: grid; place-items: center;
}
.cpd-card h4 { font-size: 1.1rem; margin-bottom: 6px; }

/* ===== Logo / badge strip ===== */
.logo-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.logo-strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.badge {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--navy-800);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  transition: opacity .2s var(--ease);
}
.badge:hover { opacity: 1; }
.badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  display: inline-block;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s var(--ease) both; }
.fade-up.delay-1 { animation-delay: .08s; }
.fade-up.delay-2 { animation-delay: .16s; }
.fade-up.delay-3 { animation-delay: .24s; }
.fade-up.delay-4 { animation-delay: .32s; }
.fade-up.delay-5 { animation-delay: .4s; }

/* ===== Mobile ===== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-secondary { display: none; }
  .dual-paths { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.flip > div:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .cpd-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .visual-mock { aspect-ratio: auto; }
  .footer-bottom { flex-direction: column; }
  .brand img { height: 30px; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Mobile menu ===== */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  background-color: #ffffff;
  z-index: 200;
  padding: 88px var(--gutter) 32px;
  display: none;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--navy-800);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
/* Keep the nav bar above the open menu so the close (X) button is reachable */
body:has(.nav-mobile.open) .nav { z-index: 201; background: #ffffff; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after { transform: rotate(-45deg); top: 0; }

/* ===== Jobs (teasers + list) ===== */
.jobs-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.job-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: all .25s var(--ease);
  color: inherit;
}
.job-teaser:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.job-teaser-main { display: grid; gap: 6px; min-width: 0; }
.job-teaser-main h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-teaser-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.job-teaser-side .job-rate {
  font-weight: 600;
  color: var(--orange-500);
  font-size: 0.88rem;
  white-space: nowrap;
}
.job-teaser .job-arrow { color: var(--slate-light); transition: all .25s var(--ease); }
.job-teaser:hover .job-arrow { color: var(--orange-500); transform: translateX(3px); }

.job-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--slate);
  flex-wrap: wrap;
}
.job-loc { display: inline-flex; align-items: center; gap: 5px; }
.job-time { color: var(--slate-light); }

/* Jobs page - filters */
.jobs-filters {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.jobs-filters input, .jobs-filters select {
  font-family: 'Poppins', sans-serif;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  font-size: 0.96rem;
  color: var(--ink);
  transition: all .2s var(--ease);
}
.jobs-filters input:focus, .jobs-filters select:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(254,87,34,0.12);
}
.jobs-count-line {
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--slate);
}
.jobs-count-line strong { color: var(--orange-500); font-weight: 600; }

/* Job cards (full list) */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.job-card {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
  transition: all .25s var(--ease);
}
.job-card:hover {
  border-color: var(--orange-500);
  box-shadow: var(--shadow-sm);
}
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.job-card-head h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-top: 6px;
}
.job-card-head .job-rate {
  font-weight: 600;
  color: var(--orange-500);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}
.job-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
  background: var(--orange-100);
  padding: 4px 10px;
  border-radius: 999px;
}
.job-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate);
}
.job-card .btn { justify-self: start; margin-top: 4px; }

.job-empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--off-white);
  border-radius: var(--radius);
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.6;
}
.job-empty a { color: var(--orange-500); font-weight: 600; }

/* Loading state */
.jobs-loading {
  padding: 48px 24px;
  text-align: center;
  color: var(--slate-light);
  font-size: 0.92rem;
}

@media (max-width: 880px) {
  .jobs-teaser-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .jobs-filters { grid-template-columns: 1fr; }
  .job-teaser { flex-direction: column; align-items: flex-start; }
  .job-teaser-side { width: 100%; justify-content: space-between; }
}

/* ===== Team / leadership ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.team-card {
  background: var(--paper);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  display: grid;
  gap: 10px;
  transition: all .25s var(--ease);
}
.team-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: var(--orange-400);
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team-card h3 {
  font-size: 1.2rem;
  margin-top: 4px;
}
.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team-card p {
  font-size: 0.92rem;
  color: var(--slate);
}
