/* =========================================================
   Verixa — talent marketplace site styles
   Tokens derived from the reference design system
   ========================================================= */

:root {
  --ink: #040404;
  --ink-2: #313131;
  --muted: #656565;
  --line: #e3e0d7;
  --line-soft: #eeece5;
  --surface: #f7f7f2;
  --surface-2: #f5f5f4;
  --white: #ffffff;
  --grad-1: #fa652a;
  --grad-2: #f9d293;
  --grad-3: #6f6a24;
  --aqua: #d1eee2;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-3xl: 32px;
  --r-pill: 200px;

  --container: 1400px;
  --pad: 40px;

  --fs-h1: 68px;
  --fs-h2: 50px;
  --fs-h3: 36px;
  --fs-h4: 32px;
  --fs-h5: 28px;
  --fs-h6: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.3s;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", "Inter Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding: 108px 0; }
.section--tight { padding: 72px 0; }
.section--surface { background: var(--surface); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); letter-spacing: -0.02em; }
.h5 { font-size: var(--fs-h5); letter-spacing: -0.02em; }
.h6 { font-size: var(--fs-h6); letter-spacing: -0.015em; }

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
}
.small { font-size: 16px; }
.tiny { font-size: 14px; line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:hover { background: var(--ink-2); transform: translateY(-2px); }

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.4);
}
.btn--light:hover { background: var(--surface); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); }

.btn--onDark {
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
}
.btn--onDark:hover { background: var(--surface); color: var(--ink); }

.btn--outlineDark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outlineDark:hover { background: rgba(255, 255, 255, 0.12); }

.btn--block { width: 100%; }

.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  transition: gap var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.link-arrow:hover { gap: 14px; opacity: 0.75; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 777;
  padding-top: 28px;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 22px;
  flex-shrink: 0;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 16px;
  color: var(--ink-2);
  cursor: pointer;
  background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.72); }

.nav-link.is-active {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.nav-dropdown { position: relative; }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 210px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px rgba(4, 4, 4, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 20;
}

.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-dropdown-panel a:hover { background: var(--surface); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .btn { padding: 14px 22px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(-10px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-2px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 84px 16px auto 16px;
  z-index: 776;
  padding: 18px;
  border-radius: var(--r-2xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(4, 4, 4, 0.35);
}

.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 18px;
}
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- hero ---------- */

.hero {
  padding-top: 186px;
  padding-bottom: 24px;
  text-align: center;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 1000px; margin: 22px auto 0; }
.hero .lead { max-width: 600px; margin: 24px auto 0; }
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 76px;
  align-items: stretch;
  text-align: left;
}

.hero-media-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--surface-2);
}

.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-media-card--accent {
  padding: 26px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(150deg, var(--grad-2) 0%, var(--grad-1) 58%, #e2501c 100%);
}

.success-card {
  width: 100%;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 20px 40px -28px rgba(4, 4, 4, 0.45);
}
.success-card h3 { font-size: 28px; letter-spacing: -0.02em; }
.success-card p { margin-top: 10px; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.success-stats {
  display: flex;
  gap: 22px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.success-stats strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.success-stats span { font-size: 13px; color: var(--muted); }

/* ---------- marquee / trust strip ---------- */

.trust-strip {
  margin-top: 64px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.trust-strip p { font-size: 15px; color: var(--muted); }
.trust-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trust-logos span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #9a978c;
}

/* ---------- process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.process-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.process-item:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -32px rgba(4, 4, 4, 0.35); }

.process-item-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.process-item-media img { width: 100%; height: 100%; object-fit: cover; }

.process-step {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
}

.process-item-body { padding: 22px 10px 12px; }
.process-item-body h3 { font-size: 24px; }
.process-item-body p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ---------- jobs ---------- */

.jobs-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: start;
}

.jobs-promo {
  position: sticky;
  top: 116px;
  padding: 32px;
  border-radius: var(--r-2xl);
  color: var(--white);
  background: linear-gradient(160deg, #f9d293 0%, #fa652a 62%, #d9491a 100%);
  overflow: hidden;
}
.jobs-promo h3 { font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; }
.jobs-promo p { margin-top: 14px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.jobs-promo-media {
  margin-top: 26px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.18);
}
.jobs-promo-media img { width: 100%; height: 100%; object-fit: cover; }
.jobs-promo .btn { margin-top: 24px; }

.job-list { display: flex; flex-direction: column; gap: 12px; }

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.job-row:hover { background: var(--surface); transform: translateX(4px); border-color: var(--line); }

.job-row-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.job-row h3 { font-size: 22px; letter-spacing: -0.02em; }
.job-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }

.job-row-side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.job-salary { font-size: 16px; font-weight: 500; white-space: nowrap; }

.round-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.job-row:hover .round-arrow { background: var(--ink); color: var(--white); transform: rotate(-45deg); }

/* ---------- filters ---------- */

.filters {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  margin-bottom: 28px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.search-field input::placeholder { color: #9b988d; }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.filter-chip:hover { background: var(--surface); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.empty-state {
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-2xl);
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}

/* ---------- rating / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--mediaFirst { grid-template-columns: 1fr 1fr; }

.split-media {
  position: relative;
  border-radius: var(--r-3xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--surface-2);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}
.stat {
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.stat strong {
  display: block;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

.rating-row { display: flex; align-items: center; gap: 14px; }
.stars { display: inline-flex; gap: 3px; color: var(--grad-1); font-size: 18px; letter-spacing: 2px; }

/* ---------- companies ---------- */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #827f74;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.logo-cell:hover { color: var(--ink); background: var(--surface); }

/* ---------- testimonials ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  height: 100%;
}
.testimonial blockquote { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; }
.testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-person strong { display: block; font-size: 16px; font-weight: 600; }
.testimonial-person span { font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-item.is-open { background: var(--surface); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 26px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transition: transform var(--dur) var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s var(--ease);
}
.faq-answer-inner { padding: 0 26px 26px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* ---------- blog / cards ---------- */

.post-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.post-card-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.post-card .post-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.post-card p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ---------- case studies ---------- */

.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -36px rgba(4, 4, 4, 0.4); }
.case-card-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
}
.case-card-media img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 4px 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.case-card h3 { font-size: 26px; letter-spacing: -0.02em; }
.case-metric { display: flex; align-items: baseline; gap: 10px; }
.case-metric strong { font-size: 30px; letter-spacing: -0.03em; }
.case-metric span { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 84px 48px;
  border-radius: var(--r-3xl);
  background: linear-gradient(120deg, #6f6a24 0%, #fa652a 52%, #f9d293 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { font-size: 56px; letter-spacing: -0.03em; line-height: 1.08; }
.cta-band p { max-width: 560px; margin: 18px auto 0; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 96px;
  padding: 76px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 340px; }
.footer-brand p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 16px;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-bottom .footer-links { display: flex; gap: 22px; }

/* ---------- inner page hero ---------- */

.page-hero {
  padding-top: 176px;
  padding-bottom: 56px;
  text-align: center;
}
.page-hero h1 { max-width: 900px; margin: 20px auto 0; }
.page-hero .lead { margin: 22px auto 0; }

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs a:hover { color: var(--ink); }

.page-media {
  border-radius: var(--r-3xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface-2);
}
.page-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- article / detail ---------- */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.prose { font-size: 18px; line-height: 1.62; color: var(--ink-2); }
.prose h3 { margin: 34px 0 12px; font-size: 26px; color: var(--ink); letter-spacing: -0.02em; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

.side-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 116px;
}
.side-card h3 { font-size: 22px; }
.side-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 15px; }
.side-row span:first-child { color: var(--muted); }
.side-row strong { font-weight: 500; }

.detail-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 34px; }
.detail-head h1 { font-size: 46px; letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.contact-info-item h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.contact-info-item p, .contact-info-item a { font-size: 18px; color: var(--ink); }
.contact-info-item a:hover { text-decoration: underline; }

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: 0 30px 60px -46px rgba(4, 4, 4, 0.4);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 15px; font-weight: 500; }
.form-field label span { color: var(--grad-1); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .field-error { font-size: 14px; color: #b4321a; display: none; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #b4321a; }
.form-field.has-error .field-error { display: block; }

.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.form-foot .tiny { max-width: 320px; }

.form-status {
  display: none;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid #317e52;
  background: #edf7f1;
  color: #1f5b3a;
  font-size: 16px;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #b4321a; background: #fdf1ee; color: #8c2714; }

.form-success {
  display: none;
  padding: 34px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h3 { font-size: 28px; margin-bottom: 12px; }
.form-success p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* ---------- 404 ---------- */

.error-page {
  padding: 220px 0 140px;
  text-align: center;
}
.error-page .error-code {
  font-size: 140px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- reveal motion ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .job-row, .process-item, .case-card, .post-card-media img { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  :root { --fs-h1: 56px; --fs-h2: 42px; --fs-h3: 32px; --fs-h4: 28px; --fs-h5: 24px; }
  .nav-link { padding: 10px 14px; font-size: 15px; }
  .header-actions .btn { padding: 12px 18px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --fs-h1: 46px; --fs-h2: 36px; --pad: 24px; }
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 140px; }
  .hero-media { grid-template-columns: 1fr; }
  .hero-media-card { min-height: 320px; }
  .hero-media-card--accent { min-height: 280px; }
  .section { padding: 72px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .jobs-layout { grid-template-columns: 1fr; }
  .jobs-promo { position: static; }
  .split, .detail-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .split-media { aspect-ratio: 16 / 11; }
  .side-card { position: static; }
  .page-hero { padding-top: 132px; }
  .cta-band { padding: 56px 24px; }
  .cta-band h2 { font-size: 38px; }
  .detail-head h1 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .error-page .error-code { font-size: 96px; }
  .process-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --fs-h1: 38px; --fs-h2: 30px; --fs-h3: 26px; --pad: 18px; }
  body { font-size: 17px; }
  .hero { padding-top: 120px; }
  .hero h1 { margin-top: 18px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .trust-strip-inner { justify-content: center; }
  .trust-logos { justify-content: center; gap: 20px; }
  .job-row { flex-direction: column; align-items: flex-start; }
  .job-row-side { width: 100%; justify-content: space-between; }
  .stat strong { font-size: 32px; }
  .stat-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 22px; }
  .cta-band { padding: 44px 20px; }
  .cta-band h2 { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .faq-question { font-size: 17px; padding: 20px; }
  .faq-answer-inner { padding: 0 20px 20px; }
  .testimonial { padding: 24px; }
  .testimonial blockquote { font-size: 17px; }
}

/* ---------- additional components ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(4, 4, 4, 0.35); }

.team-photo {
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: var(--surface-2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card-body { padding: 20px 22px 24px; }
.team-card-body strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.team-card-body span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

.value-card {
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2xl);
  background: var(--surface);
  height: 100%;
}
.value-card h3 { font-size: 22px; margin-bottom: 10px; }
.value-card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2xl);
  background: var(--surface);
  height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(4, 4, 4, 0.32); }
.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}
.service-card h3 { font-size: 24px; }
.service-card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.service-card ul { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.service-card li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.service-card li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-1);
  content: "";
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  height: 100%;
}
.price-card--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.price-card--featured p,
.price-card--featured li { color: rgba(255, 255, 255, 0.82); }
.price-card h3 { font-size: 24px; }
.price-amount { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.price-amount span { font-size: 15px; font-weight: 400; letter-spacing: 0; }
.price-card ul { display: flex; flex-direction: column; gap: 10px; }
.price-card li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.price-card li::before { position: absolute; left: 0; top: 1px; content: "\2713"; font-size: 13px; }

.steps-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.steps-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps-row span:first-child { font-size: 15px; color: var(--muted); }
.steps-row h3 { font-size: 22px; margin-bottom: 8px; }
.steps-row p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 60px minmax(0, 1fr); }
  .steps-row p { grid-column: 2 / -1; }
}

@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 10px; }
  .steps-row p { grid-column: auto; }
  .value-card, .service-card, .price-card { padding: 22px; }
}

/* ---------- layout modifiers (keep after base rules) ---------- */

.stat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .stat-grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .stat-grid--4 { grid-template-columns: 1fr; }
}
