/* =============================================================
   JOBSPACE — GLOBAL STYLESHEET · WHITE / BLACK / RED
   Glass-morphism design system shared by every page.
   ============================================================= */
:root {
  --red: #d6001d;
  --red-hover: #ef1734;
  --red-deep: #9b0015;
  --red-glow: rgba(214, 0, 29, 0.35);
  --black: #0d0d0d;
  --black-2: #151515;
  --black-3: #1d1d1d;
  --white: #f6f6f7;
  --ink: #f6f6f7;
  --muted: #a3a6ad;
  --glass-bg: #242124;
  --glass-border: rgba(255, 255, 255, 0.11);
  --nav-h: 76px;
  --radius: 20px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #111111;
  font:
    400 15px/1.65 "DM Sans",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #f2f2f0;
  overflow-x: hidden;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--red);
  color: #fff;
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #202020;
}
::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  color: #111111;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
em {
  font-style: normal;
  color: var(--red);
}
button {
  font-family: inherit;
}
ul {
  list-style: none;
}

/* ---------- NAVIGATION (glass header) ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 3%;
  right: 3%;
  z-index: 90;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}
.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.logo img {
  width: auto;
  height: 56px;
  object-fit: contain;
}
.logo .mark {
  color: var(--red);
  margin-right: 6px;
  font-size: 16px;
  text-shadow: 0 0 12px var(--red-glow);
}
.logo b {
  font-weight: 800;
  color: #fff;
}
.logo i {
  font-style: normal;
  font-weight: 800;
  color: var(--red);
}
/* nav links — centered in the middle column */
.nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav nav a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: rgba(15, 15, 15, 0.65);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
/* hide drawer-only items on desktop */
.nav nav .drawer-cta,
.nav nav .drawer-foot {
  display: none;
}
.nav nav a:hover {
  color: #0d0d0d;
}
.nav nav a.active {
  color: #0d0d0d;
  font-weight: 600;
}
.nav nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
/* actions — right column */
.nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.nav .nav-actions .button,
.nav .nav-actions .outline {
  padding: 13px 26px;
  font-size: 15px;
}

.nav .dashboard-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- BUTTONS ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(138, 3, 3, 0.28);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--red-hover), var(--red));
  box-shadow: 0 14px 34px rgba(138, 3, 3, 0.42);
}
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(10, 10, 10, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 25px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: 0.25s;
}
.outline:hover {
  border-color: var(--red);
  background: rgba(138, 3, 3, 0.14);
  box-shadow: 0 0 18px rgba(138, 3, 3, 0.3);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: gap 0.25s;
}
.link:hover {
  gap: 11px;
}

/* ---------- MOBILE MENU (hamburger + slide-in drawer) ---------- */
.menu {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 996;
}
.menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  margin: 0;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    background 0.3s ease;
}
/* The in-drawer X is drawer-only chrome. Without this base rule the button
   falls back to the browser default (inline-block) and shows up as a stray
   close icon in the header on desktop, where the nav links are always
   visible and there is nothing to close. The tablet (761-1024) and phone
   (<=760) drawer rules below re-enable it, but only while the drawer is open. */
.drawer-close {
  display: none;
}
/* drawer-only content hidden on desktop — see rule above */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  background: rgba(6, 6, 8, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
  z-index: 88;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
/* ---------- HERO SLIDER ---------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0.9s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      95deg,
      rgba(4, 4, 4, 0.95) 0%,
      rgba(4, 4, 4, 0.8) 40%,
      rgba(4, 4, 4, 0.35) 70%,
      rgba(26, 0, 10, 0.5) 100%
    ),
    radial-gradient(55% 75% at 12% 88%, rgba(138, 3, 3, 0.18), transparent 62%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 110px) 8% 70px;
}
.hero-content > small {
  font:
    700 11px/1 "Montserrat",
    sans-serif;
  letter-spacing: 3.5px;
  color: var(--red);
  text-transform: uppercase;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  margin: 16px 0;
}
.hero-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin-bottom: 24px;
}
.hero-slide.active .hero-content > * {
  animation: riseIn 0.8s both;
}
.hero-slide.active .hero-content > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-slide.active .hero-content > *:nth-child(2) {
  animation-delay: 0.22s;
}
.hero-slide.active .hero-content > *:nth-child(3) {
  animation-delay: 0.34s;
}
.hero-slide.active .hero-content > *:nth-child(4) {
  animation-delay: 0.46s;
}
.hero-slide.active .hero-content > *:nth-child(5) {
  animation-delay: 0.58s;
}
.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
}
.trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

@media (min-width: 901px) {
  .trust {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/* slide counter + progress */
.slide-count {
  position: absolute;
  left: 8%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  font:
    700 13px "Montserrat",
    sans-serif;
  color: rgba(20, 20, 20, 0.6);
}
.slide-count b {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.progress {
  width: 150px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 33.34%;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  transition: width 0.6s ease;
}
.left,
.right {
  position: absolute;
  bottom: 30px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.left {
  right: 110px;
}
.right {
  right: 56px;
}
.left:hover,
.right:hover {
  border-color: var(--red);
  background: rgba(138, 3, 3, 0.16);
  box-shadow: 0 0 16px var(--red-glow);
}
.hero-quote {
  position: absolute;
  top: 120px;
  right: 6%;
  z-index: 4;
  max-width: 240px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ---------- BRAND MARQUEE ---------- */
.brands {
  padding: 38px 0 34px;
  background: var(--black-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brands > strong {
  display: block;
  text-align: center;
  font:
    700 11px "Montserrat",
    sans-serif;
  letter-spacing: 3.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.brand-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.brand-track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding-right: 56px;
  animation: marquee 32s linear infinite;
}
.brand-window:hover .brand-track {
  animation-play-state: paused;
}
.brand-track span {
  font:
    700 18px "Montserrat",
    sans-serif;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.3s;
}
.brand-track span:hover {
  color: #fff;
}
/* ---------- STATS BAND ---------- */
.stats-wrap {
  position: relative;
  display: flex;
  padding: 0 8%;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 42px 22px 36px 0;
}
.stats article {
  padding: 20px 20px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.stats article:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 3, 3, 0.45);
  background: rgba(138, 3, 3, 0.06);
}
.stats article > i {
  display: block;
  font-style: normal;
  font-size: 20px;
  color: var(--red);
  margin-bottom: 12px;
}
.stats article > b {
  display: block;
  font:
    800 30px/1.1 "Montserrat",
    sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}
.stats article > span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.stats-wrap aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 42px 46px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.stats-wrap aside h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  margin-bottom: 12px;
  color: #fff;
}
.stats-wrap aside p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 340px;
}

/* ---------- LINK ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font:
    700 12.5px "DM Sans",
    sans-serif;
  letter-spacing: 0.05em;
  color: var(--red);
  text-decoration: none;
  transition:
    gap 0.25s,
    opacity 0.25s;
}
.link:hover {
  gap: 12px;
  opacity: 0.85;
}

/* ---------- SECTION BASE ---------- */
.section {
  padding: 86px 8%;
  position: relative;
}
.section-label {
  display: block;
  font:
    700 11px "Montserrat",
    sans-serif;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}
.section > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 36px;
}
.section .link {
  margin-bottom: 14px;
}

/* ---------- FIND / FEATURE GRID ---------- */
.find {
  background: #f1f1ef;
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}
.find > h2 {
  color: #111;
}
.find .feature {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.1);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 44px 36px 38px;
  min-height: 340px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.6;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 3, 3, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}
.feature > small {
  font:
    700 10.5px "Montserrat",
    sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.feature h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
  flex: 1;
}
.feature .button {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- HOW IT WORKS (steps) ---------- */
.works {
  background: var(--black);
}
.works h2,
.works h3 {
  color: #fff;
}
.works-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 38px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps article {
  position: relative;
  padding: 30px 24px 28px;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 3, 3, 0.4);
}
.steps article > b {
  display: block;
  font:
    800 34px "Montserrat",
    sans-serif;
  color: rgba(138, 3, 3, 0.25);
  -webkit-text-stroke: 1.5px rgba(138, 3, 3, 0.8);
  margin-bottom: 16px;
  line-height: 1;
}
.steps article h3 {
  font-size: 18px;
  margin-bottom: 9px;
}
.steps article p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
/* ---------- JOBS ---------- */
.jobs {
  background: #f1f1ef;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}
.jobs-intro h2 {
  color: #111;
}
.jobs .job-list article {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.1);
}
.jobs-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.jobs-intro h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  margin-bottom: 8px;
}
.jobs-intro small {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.jobs-intro .link {
  margin-bottom: 6px;
}
.job-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 3, 3, 0.5) rgba(10, 10, 10, 0.3);
}
.job-list::-webkit-scrollbar {
  height: 5px;
}
.job-list::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.3);
  border-radius: 5px;
}
.job-list::-webkit-scrollbar-thumb {
  background: rgba(138, 3, 3, 0.55);
  border-radius: 5px;
}
.job-list article {
  flex: 0 0 320px;
  scroll-snap-align: start;
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.job-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 3, 3, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}
.job-list article.is-featured {
  border-color: rgba(138, 3, 3, 0.55);
  padding-top: 46px;
  box-shadow:
    0 0 0 1px rgba(138, 3, 3, 0.4),
    0 16px 40px rgba(138, 3, 3, 0.14);
}
.job-list article.is-featured::before {
  content: "FEATURED";
  position: absolute;
  top: 14px;
  left: 18px;
  font:
    700 9px "Montserrat",
    sans-serif;
  letter-spacing: 2px;
  color: #fff;
  background: var(--red);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(138, 3, 3, 0.4);
}
.job-list header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.job-list header small {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.job-list header small b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(138, 3, 3, 0.15);
  border: 1px solid rgba(138, 3, 3, 0.35);
  color: var(--red);
  font-size: 10.5px;
  font-weight: 800;
}
.job-list header > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
}
.job-list label {
  display: block;
  font:
    700 10px "Montserrat",
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 7px;
}
.job-list h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
  line-height: 1.3;
  color: #fff;
}
.job-list p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 15px;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.job-tags span {
  font-size: 10.5px;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.salary {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}
.salary small {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
}
.job-list footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.job-list footer time {
  font-size: 11.5px;
  color: var(--muted);
}
.job-list footer a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: letter-spacing 0.25s;
}
.job-list footer a:hover {
  letter-spacing: 0.05em;
}

/* ---------- PRICING ---------- */
.pricing {
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 86px 8%;
}
.pricing-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.pricing-intro small {
  display: block;
  font:
    700 11px "Montserrat",
    sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.pricing-intro h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 13px;
  color: #fff;
}
.pricing-intro p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 860px;
  margin: 0 auto;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px 36px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 3, 3, 0.4);
}
.plan-card > small {
  font:
    700 10.5px "Montserrat",
    sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.amount {
  font:
    800 clamp(34px, 3.5vw, 44px)/1 "Montserrat",
    sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.plan-card li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.plan-card li:last-child {
  border-bottom: 0;
}
.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 11px;
  color: var(--red);
  font-weight: 800;
}
.plan-card .button {
  width: 100%;
  text-align: center;
}
.plan-card.featured {
  background: linear-gradient(160deg, rgba(138, 3, 3, 0.24), #1b1113 55%);
  border-color: rgba(138, 3, 3, 0.6);
  box-shadow: 0 24px 60px rgba(138, 3, 3, 0.16);
}
.plan-card .badge {
  position: absolute;
  top: -13px;
  right: 26px;
  font:
    700 9.5px "Montserrat",
    sans-serif;
  letter-spacing: 2px;
  color: #fff;
  background: var(--red);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(138, 3, 3, 0.45);
}
/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: #f1f1ef;
  padding: 86px 8%;
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
  text-align: center;
}
.testimonials > div:first-child {
  grid-column: 1/-1;
  margin-bottom: 30px;
}
.testimonials > div small {
  display: block;
  font:
    700 11px "Montserrat",
    sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 13px;
}
.testimonials > div h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 10px;
}
.testimonials > div h2 {
  color: #111;
}
.testimonials article {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.1);
}
.testimonials > div p {
  font-size: 14px;
  color: var(--muted);
}
.testimonials article {
  position: relative;
  padding: 38px 30px 34px;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s,
    border-color 0.3s;
  opacity:0;
  transform:translateY(28px);
  transition:opacity .65s ease,transform .65s ease,border-color .3s;
  will-change:opacity,transform;
}
.testimonials article:nth-of-type(2){transition-delay:.08s}
.testimonials article:nth-of-type(3){transition-delay:.18s}
.testimonials article:nth-of-type(4){transition-delay:.28s}
.testimonials article.is-visible{opacity:1;transform:none}
.testimonials article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.5;
}
.testimonials article:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 3, 3, 0.45);
}
.testimonials article h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.testimonials article > small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.testimonials article b {
  display: block;
  font-size: 15px;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 14px;
}
.testimonials article p {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- CTA BANNER ---------- */
.banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  padding: 76px 8%;
  border-bottom: 1px solid rgba(10, 10, 10, 0.2);
  background:
    radial-gradient(80% 160% at 0% 50%, rgba(138, 3, 3, 0.2), transparent 62%),
    #111;
}
.banner h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #fff;
}
.banner p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 520px;
}
.banner .outline {
  margin-top: 12px;
}
.banner-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.banner-stats div {
  flex: 1;
  min-width: 130px;
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  text-align: center;
}
.banner-stats b {
  display: block;
  font:
    800 30px/1 "Montserrat",
    sans-serif;
  color: var(--red);
  margin-bottom: 8px;
}
.banner-stats span {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- FOOTER ---------- */
footer#contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(214, 0, 29, 0.16), transparent 58%),
    #090909;
  border-top: 1px solid rgba(214, 0, 29, 0.35);
  padding-top: 76px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 7% 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top > div {
  max-width: 560px;
}
.footer-top small {
  display: block;
  font:
    700 10.5px "Montserrat",
    sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.footer-top h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.footer-top p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-top .button {
  margin-top: 18px;
  white-space: nowrap;
}
.foot {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 52px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 7% 58px;
  background: transparent;
}
.foot-brand .logo {
  margin-bottom: 16px;
}
.foot-brand .logo img {
  filter: brightness(0) invert(1);
}
.foot-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 310px;
  margin-bottom: 18px;
}
.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}
.foot-contact a,
.foot-contact span {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin: 0;
}
.foot-contact a:hover {
  color: var(--red);
  transform: none;
}
.socials {
  display: flex;
  gap: 12px;
}
.social-btn,
.socials a,
.socials span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  background: rgba(214, 0, 29, 0.08);
  border: 1px solid rgba(214, 0, 29, 0.4);
  transition: 0.25s;
}
.social-btn:hover,
.socials a:hover,
.socials span:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(138, 3, 3, 0.16);
  transform: translateY(-3px);
}
.foot .socials a,
.foot .socials span {
  display:grid;
  place-items:center;
  align-content:center;
  justify-content:center;
  margin:0;
  padding:0;
  line-height:1;
  text-align:center;
}
.foot > div > b {
  display: block;
  font:
    700 12px "Montserrat",
    sans-serif;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.foot a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 14px;
  transition:
    color 0.2s,
    transform 0.2s;
}
.foot a:hover {
  color: var(--red);
  transform: translateX(3px);
}
.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 7% 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
}
.legal {
  display: flex;
  gap: 22px;
  align-items: center;
}
.legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.2s;
}
.legal a:hover {
  color: var(--red);
}
.legal .up {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:100;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(138, 3, 3, 0.1);
  border: 1px solid rgba(138, 3, 3, 0.5);
  transition: 0.25s;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
}
.scroll-top-visible .legal .up{opacity:1;visibility:visible;transform:none}
.legal .up:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 18px var(--red-glow);
}
/* Floating WhatsApp — revealed by the SAME .scroll-top-visible class that
   shows the back-to-top button (toggled at scrollY > 240 by main.js/layout.js),
   so no extra scroll listener is needed. Positioned stacked directly above the
   40px back-to-top circle (24 + 40 + 12 gap). */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 76px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s;
}
.scroll-top-visible .whatsapp-float {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.whatsapp-float:hover {
  background: #1eb955;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
}
@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 68px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .stats-wrap {
    flex-direction: column;
  }
  .stats {
    padding: 36px 0 30px;
  }
  .stats-wrap aside {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0 36px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .nav {
    left: 5%;
    right: 5%;
    padding: 0 5%;
  }
  .nav nav {
    gap: 16px;
  }
  .nav nav a {
    font-size: 13px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .banner {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
  }
}
/* tablet only — bigger hero, hamburger nav + drawer */
@media (min-width: 761px) and (max-width: 1024px) {
  :root {
    --nav-h: 64px;
  }
  .nav {
    top: 12px;
    left: 16px;
    right: 16px;
    gap: 8px;
    padding: 0 10px 0 8px;
  }
  .logo {
    position: relative;
    order: 1;
    z-index: 996;
  }
  .logo img {
    width: min(210px, 40vw);
    height: 54px;
    margin-left: -14px;
  }
  /* header CTA — big, comfortable touch target on tablet */
  .nav .nav-actions {
    order: 2;
    margin-left: auto;
    gap: 6px;
  }
  .nav .nav-actions .outline {
    display: none;
  }
  .nav .nav-actions .button,
  .nav .nav-actions .signup-link,
  .nav .nav-actions .dashboard-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    min-height: 56px;
    min-width: 150px;
    font-weight: 700;
    white-space: nowrap;
  }
  .nav nav.open ~ .nav-actions {
    opacity: 0;
    visibility: hidden;
  }
  /* hamburger + drawer on tablet too */
  .menu {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    order: 3;
    margin-left: 6px;
    z-index: 1002;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    box-shadow: 0 2px 6px rgba(15, 15, 15, 0.16), inset 0 1px 0 rgba(255,255,255,.8);
    cursor: pointer;
  }
  .menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    margin: 0;
  }
  .menu[aria-expanded="true"] {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--red);
    border-color: var(--red);
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(138, 3, 3, 0.38);
  }
  .menu[aria-expanded="true"] span {
    background: #fff;
  }
  .menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }
  .menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav:has(nav.open) {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
  }
  .nav nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 990;
    width: min(420px, 88vw);
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 28px 28px;
    background: #ededed;
    border-radius: 28px 0 0 28px;
    border: none;
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(110%);
    visibility: hidden;
    transition:
      transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0.42s;
  }
  .nav nav.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav nav::before {
    content: '';
    display: block;
    height: 52px;
    margin-bottom: 16px;
    flex-shrink: 0;
  }
  /* In-drawer X — same fixed top-right control as the phone drawer, shown only
     while the drawer is open. Matches the 52px spacer above so the first link
     never slides under it. */
  .nav nav .drawer-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    border: none;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(138, 3, 3, 0.38);
  }
  .nav nav.open .drawer-close { display: grid; }
  .nav nav a:not(.drawer-cta):not(.drawer-mail) {
    padding: 14px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(15,15,15,.12);
    opacity: 0;
    transform: translateX(20px);
    transition: transform 0.38s ease, opacity 0.38s ease, color 0.2s;
  }
  .nav nav a.active { color: var(--red); }
  .nav nav a.active::after { display: none; }
  .nav nav.open a:not(.drawer-cta):not(.drawer-mail) {
    opacity: 1;
    transform: translateX(0);
  }
  .nav nav .drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 999px;
  }
  .nav nav .drawer-cta.outline {
    /* pushes the CTA group (and GET IN TOUCH below it) to the drawer bottom */
    margin-top: auto;
    margin-bottom: 10px;
    border: 1.5px solid rgba(10,10,10,.13);
    background: #fff;
    color: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
  }
  .nav nav .drawer-cta.button {
    margin-top: 0;
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    box-shadow: 0 10px 28px rgba(138,3,3,.32);
  }
  /* logged-in: single Dashboard button pinned to drawer bottom (plain class
     selector — :only-of-type never matches among many <a> elements). */
  .nav nav .drawer-cta.dashboard-link { margin-top: auto; }
  .nav nav .drawer-foot {
    display: block;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(15,15,15,.12);
    flex-shrink: 0;
  }
  .nav nav .drawer-foot small {
    display: block;
    font: 700 10px "Montserrat", sans-serif;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
  }
  .nav nav .drawer-foot a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    border-bottom: 0;
  }
  .hero {
    height: 100vh;
    height: 100svh;
  }
  .hero-slide > img {
    object-position: center 24%;
  }
  .hero-slide::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 4, 4, 0.86) 0%,
        rgba(4, 4, 4, 0.66) 38%,
        rgba(4, 4, 4, 0.9) 100%
      ),
      radial-gradient(
        72% 55% at 14% 100%,
        rgba(138, 3, 3, 0.24),
        transparent 60%
      );
  }
  /* hero content — scaled up for tablet */
  .hero-content {
    max-width: none;
    width: 100%;
    justify-content: center;
    padding: calc(var(--nav-h) + 64px) 48px 64px;
    color: #fff;
  }
  .hero-content > small {
    font-size: 14px;
    letter-spacing: 3.5px;
  }
  .hero-content h1 {
    font-size: clamp(52px, 8vw, 76px);
    line-height: 1.04;
    margin: 20px 0 18px;
    color: #fff;
  }
  .hero-content p {
    font-size: 22px;
    line-height: 1.6;
    max-width: 60ch;
    margin-bottom: 30px;
    color: #fff;
  }
  .cta {
    gap: 14px;
    margin-top: 34px;
    margin-bottom: 24px;
  }
  .cta .button,
  .cta .outline {
    padding: 17px 34px;
    font-size: 16.5px;
  }
  .hero-content .outline {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);
  }
  .trust {
    width: 100%;
    gap: 12px 22px;
    font-size: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .slide-count {
    left: 32px;
    bottom: 20px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 60px;
  }
  .nav {
    top: 10px;
    left: 12px;
    right: 12px;
    gap: 8px;
    padding: 0 9px 0 7px;
  }
  .logo {
    position: relative;
    order: 1;
    z-index: 996;
  }
  /* keep logo visible and readable over the grey drawer */
  .nav:has(nav.open) .logo img {
    filter: none;
  }
  .logo img {
    width: min(202px, 52vw);
    height: 54px;
    margin-left: -18px;
  }
  .nav .nav-actions {
    order: 2;
    margin-left: auto;
    gap: 4px;
  }
  .nav .nav-actions .outline {
    display: none;
  }
  .nav .nav-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    min-height: 50px;
    min-width: 128px;
    white-space: nowrap;
  }
  .nav nav.open ~ .nav-actions {
    opacity: 0;
    visibility: hidden;
  }
  /* hamburger — fixed top-right, above drawer */
  .menu {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    order: 3;
    margin-left: 4px;
    z-index: 1002;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    box-shadow: 0 2px 6px rgba(15, 15, 15, 0.16), inset 0 1px 0 rgba(255,255,255,.8);
    transition:
      background 0.25s,
      border-color 0.25s,
      border-radius 0.25s,
      box-shadow 0.25s;
  }
  .menu span {
    width: 18px;
    background: #111;
  }
  /* hamburger — red rounded-square X when open, positioned at drawer top-right */
  .menu[aria-expanded="true"] {
    position: fixed;
    top: 18px;
    right: 18px;
    background: var(--red);
    border-color: var(--red);
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(138, 3, 3, 0.38);
  }
  .menu[aria-expanded="true"] span {
    background: #fff;
  }
  .menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }
  .menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* hide the pill bar background when drawer is open */
  .nav:has(nav.open) {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
  }
  /* ── DRAWER: slides in from RIGHT, rounded top-left ── */
  .nav nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 990;
    width: 88vw;
    max-width: 360px;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    background: #ededed;
    border-radius: 28px 0 0 28px;
    border: none;
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    /* Links scroll if the viewport is short; the CTA + GET IN TOUCH footer
       below are pushed to the bottom via margin-top:auto and always reachable
       by scrolling. */
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    /* closed: off-screen to the right */
    transform: translateX(110%);
    visibility: hidden;
    transition:
      transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0.42s;
  }
  /* open: slide in */
  .nav nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* In-drawer X close button: fixed at the drawer's own top-right so it is
     always visible and tappable, matching the design. It sits above the
     drawer (z-index 1001 > drawer 990) but below the hamburger-turned-X
     (1002) — only one of them shows at a time anyway. */
  .nav nav .drawer-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1001;
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border: none;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(138, 3, 3, 0.38);
  }
  .nav nav.open .drawer-close { display: grid; }

  /* Spacer clears the X close button row at the drawer's top */
  .nav nav::before {
    content: '';
    display: block;
    height: 48px;
    margin-bottom: 16px;
    flex-shrink: 0;
  }

  /* nav links */
  .nav nav a:not(.drawer-cta):not(.drawer-mail) {
    padding: 13px 0;
    font-size: 19px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(15,15,15,.12);
    opacity: 0;
    transform: translateX(20px);
    transition:
      transform 0.38s ease,
      opacity 0.38s ease,
      color 0.2s;
  }
  .nav nav a.active { color: var(--red); }
  .nav nav a.active::after { display: none; }

  .nav nav.open a:not(.drawer-cta):not(.drawer-mail) {
    opacity: 1;
    transform: translateX(0);
  }
  .nav nav.open a:not(.drawer-cta):not(.drawer-mail):nth-child(2) { transition-delay: 0.07s; }
  .nav nav.open a:not(.drawer-cta):not(.drawer-mail):nth-child(3) { transition-delay: 0.12s; }
  .nav nav.open a:not(.drawer-cta):not(.drawer-mail):nth-child(4) { transition-delay: 0.17s; }
  .nav nav.open a:not(.drawer-cta):not(.drawer-mail):nth-child(5) { transition-delay: 0.22s; }
  .nav nav.open a:not(.drawer-cta):not(.drawer-mail):nth-child(6) { transition-delay: 0.27s; }

  /* auth buttons — Login (white pill) then Sign Up (red pill) */
  .nav nav .drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 0;
    border-radius: 999px;
    opacity: 0;
    transform: translateX(20px);
    transition:
      transform 0.38s ease,
      opacity 0.38s ease,
      background 0.25s,
      box-shadow 0.25s;
  }
  .nav nav .drawer-cta.outline {
    /* pushes the CTA group (and GET IN TOUCH below it) to the drawer bottom */
    margin-top: auto;
    margin-bottom: 10px;
    border: 1.5px solid rgba(10,10,10,.13);
    background: #fff;
    color: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
  }
  .nav nav .drawer-cta.button {
    margin-top: 0;
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    box-shadow: 0 10px 28px rgba(138,3,3,.32);
  }
  /* logged-in: single Dashboard button pinned to drawer bottom.
     NOTE: must be a plain class selector — :only-of-type never matches here
     because the drawer holds many <a> elements (links + CTA + mail links),
     so that selector silently did nothing and the button sat under Contact. */
  .nav nav .drawer-cta.dashboard-link { margin-top: auto; }

  .nav nav.open .drawer-cta            { opacity: 1; transform: translateX(0); }
  .nav nav.open .drawer-cta:nth-child(7) { transition-delay: 0.32s; }
  .nav nav.open .drawer-cta:nth-child(8) { transition-delay: 0.37s; }

  /* GET IN TOUCH footer — sits right under the CTA with a normal gap. The CTA
     above carries margin-top:auto, which is what pushes the whole bottom
     group (CTA + footer) down; this must NOT also be auto or the footer
     detaches from the CTA and slides to the very bottom alone. */
  .nav nav .drawer-foot {
    display: block;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(15,15,15,.12);
    flex-shrink: 0;
  }
  .nav nav .drawer-foot small {
    display: block;
    font: 700 10px "Montserrat", sans-serif;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
  }
  .nav nav .drawer-foot a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    border-bottom: 0;
    transition: color 0.2s;
  }
  .nav nav .drawer-foot a:hover { color: var(--red); }

  /* hide pill nav-actions while drawer is open */
  .nav nav.open ~ .nav-actions {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  /* hero — mobile layout that fits the viewport */
  .hero {
    height: 100vh;
    height: 100svh;
  }
  .hero-slide > img {
    object-position: center 24%;
  }
  .hero-slide::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 4, 4, 0.86) 0%,
        rgba(4, 4, 4, 0.66) 38%,
        rgba(4, 4, 4, 0.9) 100%
      ),
      radial-gradient(
        72% 55% at 14% 100%,
        rgba(138, 3, 3, 0.24),
        transparent 60%
      );
  }
  .hero-content {
    max-width: none;
    width: 100%;
    justify-content: center;
    padding: calc(var(--nav-h) + 24px) 20px 36px;
    color: #fff;
  }
  .hero-content > small {
    font-size: 11px;
    letter-spacing: 2.6px;
  }
  .hero-content h1 {
    font-size: clamp(34px, 10vw, 46px);
    margin: 16px 0 14px;
    color: #fff;
  }
  .hero-content p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 48ch;
    margin-bottom: 24px;
    color: #fff;
  }
  .cta {
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 18px;
  }
  .cta .button,
  .cta .outline {
    padding: 12px 18px;
    font-size: 13.5px;
  }
  .hero-content .outline {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);
  }
  .trust {
    width: 100%;
    gap: 8px 16px;
    font-size: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .slide-count {
    left: 20px;
    bottom: 18px;
    gap: 10px;
  }
  .slide-count b {
    font-size: 17px;
  }
  .slide-count .progress {
    width: 64px;
  }
  .left,
  .right {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .section {
    padding: 64px 6%;
  }
  .pricing,
  .testimonials {
    padding: 64px 6%;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .jobs-intro {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-list {
    flex-direction: column;
    overflow-x: visible;
  }
  .job-list article {
    flex: 1 1 auto;
    width: 100%;
  }
  .quote-card {
    padding: 36px 26px;
  }
  .banner {
    padding: 56px 6%;
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 6%;
  }
  .footer-top {
    padding: 0 6% 40px;
  }
  .copyright {
    padding: 20px 6%;
  }
  .legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .nav {
    padding: 0 9px 0 6px;
  }
  .logo img {
    width: min(178px, 48vw);
    height: 48px;
    margin-left: -16px;
  }
  .nav .nav-actions .button {
    padding: 12px 20px;
    font-size: 13.5px;
    min-height: 48px;
    min-width: 118px;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 22px) 18px 34px;
  }
  .hero-content h1 {
    font-size: clamp(31px, 10vw, 38px);
  }
  .hero-content p {
    font-size: 18px;
    line-height: 1.55;
    color: #fff;
  }
  .cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
    width: 100%;
  }
  .cta .button,
  .cta .outline {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15.5px;
    min-height: 54px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .section h2 {
    font-size: 29px;
  }
}
/* very small phones — the header keeps just the logo + hamburger */
@media (max-width: 400px) {
  .nav .nav-actions {
    display: flex;
    margin-left: auto;
    gap: 3px;
  }
  .nav .nav-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    font-size: 12.5px;
    font-weight: 700;
    min-height: 44px;
    min-width: 100px;
  }
  .logo img {
    width: min(160px, 46vw);
    height: 45px;
    margin-left: -14px;
  }
  .nav nav {
    width: 88vw;
  }
}
/* short viewports (landscape phones) — keep the whole hero copy on screen */
@media (max-width: 900px) and (max-height: 560px) {
  .hero-content {
    padding: calc(var(--nav-h) + 32px) 20px 50px;
  }
  .hero-content > small {
    display: none;
  }
  .hero-content h1 {
    font-size: 24px;
    margin: 8px 0;
  }
  .hero-content p {
    font-size: 13px;
    margin-bottom: 12px;
    max-width: 62ch;
  }
  .cta {
    margin-bottom: 0;
  }
  .trust {
    display: none;
  }
  .slide-count {
    bottom: 12px;
  }
}

/* ---------- ANIMATIONS ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}



/* Dashboard button — solid red, overrides default .button where needed
   (header actions only — drawer CTA stays governed by drawer rules) */
.nav-actions .dashboard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(138,3,3,.28);
  transition: transform .25s, box-shadow .25s, background .25s;
  border: none;
  text-decoration: none;
}
.nav-actions .dashboard-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(138,3,3,.4);
  background: linear-gradient(135deg, var(--red-hover), var(--red));
}
.nav-actions .dashboard-link svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ── Nav button SVG icon overrides (header actions only — drawer CTAs
   stay governed by the drawer rules) ── */
.nav a.login-link::before,
.nav a.signup-link::before { content: none; }

.nav-actions a.login-link,
.nav-actions a.signup-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav a.login-link svg,
.nav a.signup-link svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dashboard button — solid red pill (header actions only) */
.nav-actions .dashboard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(138,3,3,.28);
  transition: transform .25s, box-shadow .25s, background .25s;
  border: none;
  text-decoration: none;
}
.nav-actions .dashboard-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(138,3,3,.4);
  background: linear-gradient(135deg, var(--red-hover), var(--red));
}
.nav-actions .dashboard-link svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  flex-shrink: 0;
}


/* ============================================================
   HOME PAGE — Blog Section  (.home-blog-*)
   ============================================================ */

.home-blog {
  background: #050505;
  padding: 100px 8% 96px;
  position: relative;
  overflow: hidden;
}

/* Ambient gradient orbs */
.home-blog::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,4,41,.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.home-blog::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  pointer-events: none;
}

/* ── Header row ── */
.home-blog-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px 40px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.home-blog-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 10px/1 'Montserrat', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d90429;
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
}
.home-blog-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d90429;
  box-shadow: 0 0 10px #d90429;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.home-blog-titles {
  grid-column: 1;
  grid-row: 2;
}
.home-blog-title {
  font: 800 clamp(32px, 4vw, 52px)/1.05 'Montserrat', sans-serif;
  color: #fff;
  letter-spacing: -.02em;
  margin: 8px 0 0;
}
.home-blog-title em {
  font-style: normal;
  background: linear-gradient(90deg, #d90429, #ff6b81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-blog-sub {
  font-size: 16px;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 420px;
  margin-top: 12px;
}

.home-blog-all {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  font: 700 13px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  transition: all .2s;
}
.home-blog-all:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}

/* ── Grid ── */
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* ── Card ── */
.home-blog-card {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.home-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,.6);
  border-color: var(--hbc, #d90429);
}

/* Accent top bar on hover */
.home-blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--hbc, #d90429);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.home-blog-card:hover::before { transform: scaleX(1); }

/* Image */
.home-blog-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}
.home-blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.home-blog-card:hover .home-blog-card-img img { transform: scale(1.06); }

.home-blog-card-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--hbc, #d90429) 20%, #111) 0%, #111 100%);
  color: #fff;
}

.home-blog-card-cat {
  position: absolute;
  top: 10px; left: 10px;
  font: 700 9px/1 'Montserrat', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hbc, #d90429);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Body */
.home-blog-card-body {
  padding: 20px 22px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-blog-card-title {
  font: 700 16px/1.3 'Montserrat', sans-serif;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.home-blog-card-excerpt {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 16px;
}
.home-blog-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.home-blog-card-meta {
  font-size: 11px;
  color: rgba(255,255,255,.3);
}
.home-blog-card-read {
  font-size: 11px;
  color: rgba(255,255,255,.3);
}

/* Arrow on hover */
.home-blog-card-arrow {
  position: absolute;
  bottom: 16px; right: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hbc, #d90429);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8) translateY(4px);
  transition: opacity .22s, transform .22s;
}
.home-blog-card:hover .home-blog-card-arrow {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ── Footer CTA ── */
.home-blog-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.home-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid rgba(217,4,41,.4);
  border-radius: 999px;
  font: 700 14px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  background: rgba(217,4,41,.08);
  transition: all .2s;
  backdrop-filter: blur(8px);
}
.home-blog-cta:hover {
  background: #d90429;
  border-color: #d90429;
  color: #fff;
  box-shadow: 0 8px 28px rgba(217,4,41,.35);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1050px) {
  .home-blog-head { grid-template-columns: 1fr auto; }
  .home-blog-kicker { grid-row: 1; }
  .home-blog-titles { grid-row: 2; grid-column: 1; }
  .home-blog-all { grid-row: 1; grid-column: 2; align-self: start; }
}
@media (max-width: 900px) {
  .home-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .home-blog-grid .home-blog-card:last-child { display: none; }
}
@media (max-width: 760px) {
  .home-blog { padding: 64px 6% 64px; }
  .home-blog-head { grid-template-columns: 1fr; gap: 16px; }
  .home-blog-all { grid-column: 1; grid-row: auto; align-self: start; }
  .home-blog-grid { grid-template-columns: 1fr; }
  .home-blog-grid .home-blog-card:last-child { display: flex; }
}
@media (max-width: 480px) {
  .home-blog { padding: 52px 5% 56px; }
}
