:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --fg: #f5f5f5;
  --fg-dim: #9a9a9a;
  --fg-mute: #5a5a5a;
  --brand: #9A121F;
  --brand-2: #C4172A;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv01";
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; color: var(--brand-2); font-weight: inherit; }

/* ---------- nav (two-row) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

/* Top utility strip */
.nav__top {
  border-bottom: 1px solid var(--line);
  padding: 0 var(--pad);
  background: rgba(0,0,0,.25);
}
.nav__top-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 44px;
  font-size: 13px;
}
.nav__lang {
  display: flex;
  gap: 2px;
}
.lang {
  background: transparent;
  border: none;
  color: var(--fg-mute);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lang__flag { font-size: 15px; line-height: 1; }
.lang:hover { color: var(--fg-dim); background: rgba(255,255,255,.04); }
.lang--active { color: var(--fg); background: rgba(255,255,255,.08); }

.nav__promo {
  color: var(--fg-dim);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.nav__promo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.nav__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-dim);
  font-weight: 500;
  font-size: 13px;
  transition: color .2s;
}
.nav__contact svg { width: 16px; height: 16px; }
.nav__contact:hover { color: var(--fg); }

/* Main row */
.nav__main { padding: 0 var(--pad); }
.nav__main-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 96px;
}
.nav__logo img { height: 48px; filter: brightness(0) invert(1); }

/* Pill nav menu — sized to match site buttons (14px / 14px 28px) */
.nav__menu--pill {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav__menu--pill a {
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--fg-dim);
  transition: all .2s;
  white-space: nowrap;
}
.nav__menu--pill a:hover {
  color: var(--fg);
  background: rgba(255,255,255,.05);
}
.nav__menu--pill a.is-active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* CTA in nav uses default .btn sizing (14px / 14px 28px / weight 600) */
.nav__cta { gap: 10px; }
.nav__cta svg { flex-shrink: 0; }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s, opacity .2s, top .3s;
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav .nav__top { display: none; }
  .nav .nav__menu--pill, .nav .nav__cta { display: none; }
  .nav .nav__burger { display: block; }
  .nav__main-inner { height: 60px; }
}

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  transition: opacity .25s ease;
}
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer__logo { height: 24px; filter: brightness(0) invert(1); }
.drawer__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__nav a {
  display: block;
  padding: 14px 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.005em;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .2s;
}
.drawer__nav a:hover, .drawer__nav a:active { color: var(--brand-2); padding-left: 14px; }
.drawer__lang {
  display: flex; gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.drawer__lang .lang {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.drawer__lang .lang--active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--fg-dim);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.drawer__foot a { color: var(--fg); }
body.drawer-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 190px var(--pad) 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(154,18,31,.16), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(154,18,31,.10), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #131313 100%);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #000;
}
/* Photo grid was visual noise — hidden by default. Used only as fallback if video loads. */
.hero__grid { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; padding: 110px var(--pad) 56px; }
  .hero__title { font-size: clamp(28px, 9vw, 44px); margin-bottom: 20px; }
  .hero__eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero__lede { font-size: 15px; margin-bottom: 28px; }
  .hero__perks { margin-bottom: 32px; gap: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
}
.hero__cell {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--i) * 120ms + 200ms);
}
.hero__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: heroZoom 18s ease-out forwards;
  animation-delay: calc(var(--i) * 120ms + 200ms);
  filter: grayscale(.2) contrast(1.05);
}
@keyframes heroIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes heroZoom {
  from { transform: scale(1.18); }
  to { transform: scale(1.02); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.7) 35%,
      rgba(0,0,0,0.45) 65%,
      rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.3) 0%,
      rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at 85% 5%, rgba(154,18,31,.22), transparent 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.hero__title,
.hero__lede,
.hero__perks {
  max-width: 900px;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand-2);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__lede {
  font-size: clamp(15px, 1.2vw, 19px);
  color: var(--fg-dim);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__perks {
  position: relative;
  z-index: 2;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  max-width: 720px;
  margin: 0 0 48px;
}
.hero__perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-dim);
}
.hero__perks li strong {
  color: var(--fg);
  font-weight: 600;
}
.hero__perk-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__perk-icon svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .hero__perks { grid-template-columns: 1fr; gap: 18px; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn[hidden] { display: none; }
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: rgba(255,255,255,.04); }

/* ---------- inner-page hero ---------- */
.page-hero {
  position: relative;
  padding: 200px var(--pad) 88px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(154,18,31,.18), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(154,18,31,.10), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #131313 100%);
  overflow: hidden;
}
.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-mute);
  margin-bottom: 32px;
}
.breadcrumbs a { color: var(--fg-dim); transition: color .2s; }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current] { color: var(--brand-2); font-weight: 500; }
.page-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand-2);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-hero__lede {
  font-size: clamp(15px, 1.2vw, 19px);
  color: var(--fg-dim);
  max-width: 640px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .page-hero { padding: 130px var(--pad) 56px; }
}

.section--narrow { padding: 64px var(--pad); }

/* About page — stats strip */
.about-stats {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: var(--bg-2);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(26,20,16,.04), 0 6px 20px rgba(26,20,16,.03);
}
.about-stat strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--brand);
}
.about-stat span {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.4;
}
@media (max-width: 980px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* About — mission */
.about-mission { padding-top: 80px; padding-bottom: 80px; }
.about-mission__inner { max-width: 900px; margin: 0 auto; }
.about-mission__inner .section__title { margin-bottom: 32px; }
.about-mission__text {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 20px;
  max-width: 800px;
}
.about-mission__text:last-child { margin-bottom: 0; }

/* About — values */
.about-values__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(154,18,31,.4);
}
.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(154,18,31,.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .about-values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-values__grid { grid-template-columns: 1fr; }
}

/* ---------- brief form page ---------- */
.brief-form {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.brief-section {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brief-section__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.brief-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.brief-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.brief-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
}
@media (max-width: 600px) {
  .brief-section { padding: 24px 22px; }
  .brief-options { grid-template-columns: 1fr; }
}

/* ---------- legal / privacy page ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
}
.legal__intro {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--fg);
  font-weight: 500;
  padding: 24px 28px;
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  margin-bottom: 48px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -.015em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--fg);
}
.legal p { margin-bottom: 14px; }
.legal a { color: var(--brand-2); border-bottom: 1px solid rgba(154,18,31,.3); }
.legal a:hover { border-bottom-color: var(--brand-2); }
.legal ul {
  margin: 12px 0 20px;
  padding-left: 24px;
}
.legal li { margin-bottom: 6px; }
.legal__defs {
  margin: 16px 0 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 24px;
}
.legal__defs > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.legal__defs > div:last-child { border-bottom: none; }
.legal__defs dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--fg);
}
.legal__defs dd { font-size: 14px; color: var(--fg-dim); line-height: 1.55; }
.legal__updated {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-mute);
  font-style: italic;
}
@media (max-width: 680px) {
  .legal__defs > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}

/* ---------- case detail page ---------- */
.case-hero {
  position: relative;
  height: 80vh;
  min-height: 580px;
  overflow: hidden;
}
.case-hero__media { position: absolute; inset: 0; z-index: 0; }
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(1.1); }
.case-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.85) 100%),
    radial-gradient(ellipse at 30% 70%, rgba(154,18,31,.25), transparent 60%);
}
.case-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 200px var(--pad) 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.case-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 24px 0;
}
.case-hero__lede {
  font-size: clamp(15px, 1.3vw, 20px);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  line-height: 1.55;
}
.case-meta {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  background: var(--bg-2);
  padding: 24px 0;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(26,20,16,.04), 0 6px 20px rgba(26,20,16,.03);
}
.case-meta > div {
  padding: 8px 24px;
  border-right: 1px solid var(--line);
}
.case-meta > div:last-child { border-right: none; }
.case-meta dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.case-meta dd {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--fg);
}
@media (max-width: 980px) {
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-meta > div { border-right: none; border-bottom: 1px solid var(--line); }
}

.case-story__inner,
.case-result__inner { max-width: 900px; margin: 0 auto; }
.case-story__text,
.case-result__text {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 18px;
  max-width: 800px;
}
.case-solution__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.case-solution__text .section__title { margin-bottom: 24px; }
.case-solution__text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.case-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-2);
  padding: 8px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.case-spec-list li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-dim);
  align-items: baseline;
}
.case-spec-list li:last-child { border-bottom: none; }
.case-spec-list strong {
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .case-solution__inner { grid-template-columns: 1fr; gap: 32px; }
}

.case-result__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.case-result__stats > div {
  padding: 24px 24px;
  background: var(--bg-2);
  border-radius: 16px;
  border-left: 3px solid var(--brand);
}
.case-result__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.case-result__stats span {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.4;
}
@media (max-width: 680px) {
  .case-result__stats { grid-template-columns: 1fr; }
}

/* ---------- service detail page ---------- */
.page-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.service-types__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-type {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.service-type:hover {
  transform: translateY(-3px);
  border-color: rgba(154,18,31,.4);
}
.service-type__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.service-type__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.service-type:hover .service-type__img img { transform: scale(1.05); }
.service-type h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.005em;
  margin: 22px 24px 8px;
}
.service-type p {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 24px 24px;
}
@media (max-width: 980px) {
  .service-types__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-types__grid { grid-template-columns: 1fr; }
}

.service-specs__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.service-specs__lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--fg-dim);
  line-height: 1.65;
  margin-top: 20px;
}
@media (max-width: 860px) {
  .service-specs__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- careers page ---------- */
.benefits-grid {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefits-grid li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.benefit-icon svg { width: 17px; height: 17px; }
.benefits-grid h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.005em;
}
.benefits-grid p {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.vacancies {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.vacancy {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .3s cubic-bezier(.2,.7,.2,1);
}
.vacancy:hover {
  transform: translateY(-3px);
  border-color: rgba(154,18,31,.4);
}
.vacancy__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.vacancy__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  flex: 1;
  min-width: 0;
}
.vacancy__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}
.vacancy__badge--money {
  background: rgba(154,18,31,.1);
  color: var(--brand-2);
  border: 1px solid rgba(154,18,31,.25);
}
.vacancy__lead {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
}
.vacancy__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-dim);
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
}
.vacancy__details strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: 6px;
}
.vacancy__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(154,18,31,.06);
  border: 1px solid rgba(154,18,31,.2);
  border-radius: 12px;
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  transition: all .2s;
}
.vacancy__cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
@media (max-width: 860px) {
  .vacancies { grid-template-columns: 1fr; }
}

/* ---------- team page ---------- */
.team-leads__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lead-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.lead-card:hover {
  transform: translateY(-3px);
  border-color: rgba(154,18,31,.4);
}
.lead-card__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: 0 8px 24px rgba(154,18,31,.25);
}
.lead-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.lead-card__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.lead-card__bio {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
}
@media (max-width: 860px) {
  .team-leads__grid { grid-template-columns: 1fr; }
}

.team-depts__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dept-card {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.dept-card:hover {
  transform: translateY(-3px);
  border-color: rgba(154,18,31,.4);
}
.dept-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(154,18,31,.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all .3s;
}
.dept-card__icon svg { width: 22px; height: 22px; }
.dept-card:hover .dept-card__icon { background: var(--brand); color: #fff; }
.dept-card strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--fg);
  line-height: 1;
}
.dept-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.005em;
}
.dept-card p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-top: 4px;
}
@media (max-width: 860px) {
  .team-depts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-depts__grid { grid-template-columns: 1fr; }
}

/* ---------- contacts page ---------- */
.contacts__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: left;
  transition: all .3s cubic-bezier(.2,.7,.2,1);
  color: inherit;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(154,18,31,.4);
  box-shadow: 0 2px 6px rgba(154,18,31,.08), 0 18px 40px rgba(26,20,16,.07);
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(154,18,31,.10);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all .3s;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card:hover .contact-card__icon {
  background: var(--brand);
  color: #fff;
}
.contact-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--fg);
  margin-top: 2px;
}
.contact-card__meta {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 6px;
}
@media (max-width: 980px) {
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contacts__grid { grid-template-columns: 1fr; }
}

/* Extra contacts: phones + props */
.contacts-extra { padding: 80px var(--pad); }
.contacts-extra__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contacts-extra__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 16px 0 28px;
}
.phone-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.phone-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all .25s;
}
.phone-list a:hover {
  border-color: rgba(154,18,31,.4);
  transform: translateX(4px);
}
.phone-list strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.phone-list span {
  font-size: 13px;
  color: var(--fg-dim);
}
.contacts-extra__hours {
  margin-top: 24px;
  padding: 16px 22px;
  background: rgba(154,18,31,.05);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-dim);
}
.contacts-extra__hours strong { color: var(--fg); font-weight: 600; }

.props-list { display: flex; flex-direction: column; gap: 0; }
.props-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.props-list dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.props-list dd {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}
@media (max-width: 860px) {
  .contacts-extra__inner { grid-template-columns: 1fr; gap: 48px; }
  .props-list > div { grid-template-columns: 140px 1fr; }
}

/* Map */
.map-section { padding: 0; background: var(--bg); }
.map-frame {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: grayscale(.2) invert(.92) hue-rotate(180deg) saturate(.75);
}
@media (max-width: 760px) {
  .map-frame { height: 360px; }
}

/* ---------- generic section ---------- */
section { padding: 120px var(--pad); }
.section__head { max-width: var(--max); margin: 0 auto 64px; }
.section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand-2);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}

/* ---------- services ---------- */
.services { background: var(--bg); }
.services__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--bg);
  padding: 40px 32px 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background .3s;
  min-height: 220px;
}
.service:hover { background: var(--bg-3); }
.service:hover h3 { color: var(--brand-2); }
.service__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--fg-mute);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  transition: color .2s;
}
.service p {
  color: var(--fg-dim);
  font-size: 14px;
  margin-top: auto;
}

@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------- cases (bento) ---------- */
.cases { background: var(--bg-2); }
.cases__list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(200px, 21vw, 300px);
  gap: 12px;
}
.case {
  position: relative;
  grid-column: span 1;
  grid-row: span 1;
  background: var(--bg-3);
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.case--xl { grid-column: span 2; grid-row: span 2; }
.case--wide { grid-column: span 2; grid-row: span 1; }

.case__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s;
  filter: brightness(.85) saturate(1.05);
}
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(0,0,0,.85) 100%);
  pointer-events: none;
  transition: opacity .35s;
}
.case__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--fg);
}
.case--xl .case__overlay { padding: 28px 32px 32px; }
.case__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
  transform: translateY(8px);
  opacity: 0;
  transition: all .4s cubic-bezier(.2,.7,.2,1) .05s;
}
.case h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.case--xl h3 { font-size: clamp(28px, 2.6vw, 38px); }
.case__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg);
  transform: translateX(-6px) rotate(-45deg);
  opacity: 0;
  transition: all .4s cubic-bezier(.2,.7,.2,1);
}
.case:hover { transform: translateY(-2px); }
.case:hover .case__img img { transform: scale(1.06); filter: brightness(.95) saturate(1.1); }
.case:hover::before { opacity: .85; }
.case:hover .case__cat { transform: translateY(0); opacity: 1; }
.case:hover .case__arrow {
  transform: translateX(0) rotate(0);
  opacity: 1;
  background: var(--brand);
  border-color: var(--brand);
}

.cases__more { max-width: var(--max); margin: 56px auto 0; text-align: center; }

@media (max-width: 980px) {
  .cases__list {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(180px, 36vw, 240px);
  }
  .case--xl { grid-column: span 2; grid-row: span 2; }
  .case--wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .cases__list {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .case--xl, .case--wide { grid-column: span 1; grid-row: span 1; }
  .case--xl { grid-row: span 2; }
}

/* ---------- industries (cards) ---------- */
.industries { background: var(--bg); }
.section__lede {
  margin-top: 28px;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--fg-dim);
  max-width: 580px;
  line-height: 1.55;
}
.industries__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 32px 28px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
  min-height: 240px;
}
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(154,18,31,.18), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.industry-card:hover {
  border-color: rgba(154,18,31,.5);
  transform: translateY(-3px);
  background: var(--bg-3);
}
.industry-card:hover::before { opacity: 1; }
.industry-card:hover .industry-card__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--fg);
}
.industry-card:hover .industry-card__arrow {
  transform: translateX(4px);
  color: var(--brand-2);
}
.industry-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
  margin-bottom: 24px;
  transition: all .3s;
}
.industry-card__icon svg { width: 22px; height: 22px; }
.industry-card__icon--accent {
  background: rgba(154,18,31,.15);
  border-color: rgba(154,18,31,.4);
  color: var(--brand-2);
}
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.industry-card p {
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.industry-card__cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s;
}
.industry-card:hover .industry-card__cta { color: var(--fg); }
.industry-card__arrow {
  display: inline-block;
  transition: transform .3s;
}

.industry-card--cta {
  background: linear-gradient(135deg, rgba(154,18,31,.25) 0%, rgba(154,18,31,.06) 100%);
  border-color: rgba(154,18,31,.3);
}
.industry-card--cta:hover {
  background: linear-gradient(135deg, rgba(154,18,31,.4) 0%, rgba(154,18,31,.1) 100%);
  border-color: var(--brand);
}
.industry-card--cta h3 { color: var(--fg); }
.industry-card--cta .industry-card__cta { color: var(--fg); }

@media (max-width: 1100px) {
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .industry-card { padding: 24px 22px; min-height: 200px; }
}
@media (max-width: 420px) {
  .industries__grid { grid-template-columns: 1fr; }
}

/* ---------- process ---------- */
.process { background: var(--bg-2); }
.process__line {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.process__line::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.step:hover {
  border-color: rgba(154,18,31,.5);
  transform: translateY(-4px);
  background: var(--bg-3);
}
.step:hover .step__icon { background: var(--brand); color: var(--fg); border-color: var(--brand); }
.step__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--brand-2);
}
.step__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  margin: 4px 0 12px;
  transition: all .3s;
}
.step__icon svg { width: 26px; height: 26px; }
.step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.step p {
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.5;
}
.step__time {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
@media (max-width: 1100px) {
  .process__line { grid-template-columns: repeat(2, 1fr); }
  .process__line::before { display: none; }
}
@media (max-width: 560px) {
  .process__line { grid-template-columns: 1fr; }
}

/* ---------- why us (centered logo + bullets) ---------- */
.why { background: var(--bg); }
.section__head--center {
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.section__head--center .section__title {
  font-size: clamp(30px, 4.2vw, 64px);
}
.section__head--center .section__lede {
  margin-left: auto;
  margin-right: auto;
}

.why__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.why__bullets,
.why__stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.why__bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why__check svg { width: 13px; height: 13px; }
.why__bullets h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
.why__bullets p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
}

.why__center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.why__logo {
  width: clamp(220px, 26vw, 360px);
  height: clamp(220px, 26vw, 360px);
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(154,18,31,.25);
  position: relative;
}
.why__logo::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(154,18,31,.3);
}
.why__logo img {
  width: 55%;
  height: auto;
  filter: brightness(0) invert(1);
}

.why__stats-list li {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid var(--brand);
}
.why__stats-list strong {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--fg);
}
.why__stats-list span {
  font-size: 13px;
  color: var(--fg-dim);
}

@media (max-width: 980px) {
  .why__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why__center { order: -1; }
  .why__stats-list li { padding-left: 14px; }
}

/* ---------- quiz ---------- */
.quiz {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.quiz::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(154,18,31,.18), transparent 60%);
  pointer-events: none;
}
.quiz__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  position: relative;
}
.quiz__head { padding-right: 24px; }
.quiz__head .section__title { margin-bottom: 24px; }
.quiz__head .section__lede { margin-top: 0; }
.quiz__perks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}
.quiz__perks li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: var(--fg-dim);
}
.quiz__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M3 6l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.quiz__panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.quiz__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.quiz__progress-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--brand);
}
.theme-light .quiz__progress-text { color: var(--brand); }
.quiz__dashes {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 480px;
}
.quiz__dashes span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-3);
  transition: background .4s cubic-bezier(.2,.7,.2,1);
}
.quiz__dashes span.is-done { background: var(--brand); }
.quiz__steps { flex: 1; position: relative; }
.quiz-step {
  display: none;
  animation: stepIn .4s cubic-bezier(.2,.7,.2,1);
}
.quiz-step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-step__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.quiz-step__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.quiz-step__grid--3 { grid-template-columns: repeat(2, 1fr); }
.quiz-step__grid--photo {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quiz-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  position: relative;
}
.quiz-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.quiz-card__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--bg-3);
  position: relative;
  transition: all .25s;
}
.quiz-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.quiz-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .25s;
}
.quiz-card__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-dim);
  text-align: center;
  padding: 0 4px;
  transition: color .25s;
}
.quiz-card:hover .quiz-card__img { border-color: var(--fg-mute); }
.quiz-card:hover .quiz-card__img img { transform: scale(1.05); }
.quiz-card:hover .quiz-card__label { color: var(--fg); }
.quiz-card input:checked ~ .quiz-card__img {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(154, 18, 31, .15);
}
.quiz-card input:checked ~ .quiz-card__img::after {
  opacity: 0;
}
.quiz-card input:checked ~ .quiz-card__label {
  color: var(--fg);
  font-weight: 700;
}
@media (max-width: 760px) {
  .quiz-step__grid--photo { grid-template-columns: repeat(2, 1fr); }
}
.quiz-opt { position: relative; cursor: pointer; }
.quiz-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.quiz-opt span {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-dim);
  transition: all .2s;
  cursor: pointer;
}
.quiz-opt:hover span { border-color: var(--fg-mute); color: var(--fg); }
.quiz-opt input:checked + span {
  border-color: var(--brand);
  background: rgba(154,18,31,.12);
  color: var(--fg);
}
.quiz-step__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quiz-step--result { text-align: center; padding-top: 24px; }
.quiz-result__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-result__text { color: var(--fg-dim); max-width: 420px; margin: 0 auto; }

.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.quiz__nav .btn:only-child { margin-left: auto; }
.quiz__nav [data-quiz-next][disabled] {
  opacity: .4;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .quiz__inner { grid-template-columns: 1fr; gap: 32px; }
  .quiz__panel { padding: 24px; }
}

/* ---------- reviews (Shorts-style video cards) ---------- */
.reviews { background: var(--bg-2); }
.reviews__list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reviews__more {
  max-width: var(--max);
  margin: 48px auto 0;
  text-align: center;
}
.review-card {
  position: relative;
  display: block;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.review-card:hover { transform: translateY(-4px); }
.review-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-3);
  isolation: isolate;
}
.review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(1.05);
  transition: transform .8s, filter .4s;
}
.review-card:hover .review-card__media img { transform: scale(1.05); filter: brightness(1) saturate(1.15); }
.review-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 35%, transparent 65%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
  z-index: 1;
}
.review-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 36px rgba(154,18,31,.4);
  transition: transform .25s, background .25s;
}
.review-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.review-card:hover .review-card__play { transform: translate(-50%, -50%) scale(1.1); background: var(--brand-2); }
.review-card__brand {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.review-card__brand img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  padding: 4px;
}
@media (max-width: 980px) {
  .reviews__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .reviews__list { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---------- faq ---------- */
.faq { background: var(--bg-2); }
.faq__list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(154,18,31,.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: -.005em;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--fg-dim);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.faq-item:hover summary::after { color: var(--fg); border-color: var(--fg-mute); }
.faq-item[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat;
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(180deg);
}
.faq-item__body {
  padding: 0 28px 24px;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 720px;
}
.faq-item[open] .faq-item__body { animation: stepIn .35s ease; }

@media (max-width: 560px) {
  .faq-item summary { padding: 20px 22px; gap: 16px; }
  .faq-item summary::after { width: 30px; height: 30px; }
  .faq-item__body { padding: 0 22px 20px; }
}

/* ---------- cta ---------- */
.cta {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 60%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(154,18,31,.3), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 24px 0;
}
.cta__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-dim);
  margin-bottom: 48px;
}
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer {
  padding: 80px var(--pad) 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer__brand img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__brand p { color: var(--fg-dim); font-size: 14px; max-width: 280px; }
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 16px;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-mute);
}
.footer__bottom a:hover { color: var(--fg-dim); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__panel {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(20px) scale(.98);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 40px 120px rgba(0,0,0,.5), 0 0 0 1px rgba(154,18,31,.1);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.modal__close:hover { color: var(--fg); border-color: var(--fg); transform: rotate(90deg); }
.modal__head { margin-bottom: 32px; }
.modal__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.modal__lede { color: var(--fg-dim); font-size: 14px; }

.modal__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%239a9a9a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-dim);
  cursor: pointer;
  user-select: none;
}
.check input {
  appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-3);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all .2s;
  position: relative;
}
.check input:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.check input:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.modal__hint { color: var(--fg-mute); font-size: 13px; }
.modal__hint a { color: var(--fg-dim); border-bottom: 1px solid var(--line); }
.modal__hint a:hover { color: var(--brand-2); border-color: var(--brand-2); }

.modal__success {
  text-align: center;
  padding: 32px 0 16px;
}
.modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}
.modal__success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal__success p { color: var(--fg-dim); }

@media (max-width: 560px) {
  .modal__panel { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  color: var(--fg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 1100;
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* prevent body scroll when modal open */
body.modal-open { overflow: hidden; }

/* ---------- Curtain reveal on page load (CSS-only) ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  animation: curtainHide 0s 1.55s forwards;
}
.curtain__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #000;
  animation: 1.05s 0.3s cubic-bezier(.83, 0, .17, 1) forwards;
  will-change: transform;
}
.curtain__half--top { top: 0; animation-name: curtainOpenTop; }
.curtain__half--bottom { bottom: 0; animation-name: curtainOpenBottom; }

@keyframes curtainOpenTop {
  to { transform: translateY(-100%); }
}
@keyframes curtainOpenBottom {
  to { transform: translateY(100%); }
}
@keyframes curtainHide {
  to { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
}


/* ---------- LIGHT THEME (hybrid) ---------- */
.theme-light {
  --bg: #FAF6F0;
  --bg-2: #FFFFFF;
  --bg-3: #F1EBE0;
  --fg: #1A1410;
  --fg-dim: #5B524A;
  --fg-mute: #9A8F86;
  --line: rgba(26, 20, 16, 0.08);
  --brand-2: #B61D2D;
  color: var(--fg);
}

/* Card depth via shadows instead of borders on light bg */
.theme-light .industry-card,
.theme-light .why-card,
.theme-light .step,
.theme-light .faq-item {
  box-shadow:
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 6px 20px rgba(26, 20, 16, 0.03);
}
.theme-light .industry-card:hover,
.theme-light .why-card:hover,
.theme-light .step:hover {
  box-shadow:
    0 2px 6px rgba(154, 18, 31, 0.08),
    0 18px 40px rgba(26, 20, 16, 0.07);
}

/* Services grid divider color */
.theme-light .services__grid {
  border-color: var(--line);
  background: rgba(26, 20, 16, 0.06);
}

/* Hover backgrounds inverted (dark overlay on light bg) */
.theme-light .btn--ghost:hover {
  background: rgba(26, 20, 16, 0.05);
}

/* Industry CTA card with red gradient — soften on light */
.theme-light .industry-card--cta {
  background: linear-gradient(135deg, rgba(154,18,31,.10) 0%, rgba(154,18,31,.02) 100%);
  border-color: rgba(154,18,31,.18);
}
.theme-light .industry-card--cta:hover {
  background: linear-gradient(135deg, rgba(154,18,31,.18) 0%, rgba(154,18,31,.04) 100%);
  border-color: rgba(154,18,31,.5);
}

/* Quiz panel — keep contrast vs cream background */
.theme-light .quiz__panel {
  background: var(--bg-2);
  box-shadow:
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 30px 80px rgba(26, 20, 16, 0.08);
  border-color: var(--line);
}
.theme-light .quiz-opt span {
  background: var(--bg);
  border-color: var(--line);
}
.theme-light .quiz-opt:hover span {
  background: var(--bg-3);
  border-color: var(--fg-mute);
}
.theme-light .quiz-opt input:checked + span {
  background: rgba(154,18,31,.07);
  border-color: var(--brand);
  color: var(--fg);
}
.theme-light .quiz__progress-bar { background: var(--bg-3); }
.theme-light .field input,
.theme-light .field select,
.theme-light .field textarea {
  background: var(--bg);
  border-color: var(--line);
  color: var(--fg);
}
.theme-light .check input {
  background: var(--bg);
  border-color: rgba(26,20,16,.2);
}
.theme-light .check span { color: var(--fg-dim); }

/* FAQ "+" icon on light bg */
.theme-light .faq-item summary::after {
  border-color: var(--line);
}
.theme-light .faq-item:hover summary::after {
  border-color: var(--fg-mute);
}

/* Process line connector */
.theme-light .process__line::before {
  background: linear-gradient(90deg, transparent, rgba(26,20,16,.1) 10%, rgba(26,20,16,.1) 90%, transparent);
}

/* Step icon backgrounds on light */
.theme-light .step__icon,
.theme-light .why-card__icon,
.theme-light .industry-card__icon {
  background: var(--bg);
  border-color: var(--line);
  color: var(--brand);
}
.theme-light .step:hover .step__icon,
.theme-light .why-card:hover .why-card__icon,
.theme-light .industry-card:hover .industry-card__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Why-us radial glow softer on light */
.theme-light .why-card::before {
  background: radial-gradient(circle at 0% 100%, rgba(154,18,31,.10), transparent 60%);
}
.theme-light .industry-card::before {
  background: radial-gradient(circle at 80% 0%, rgba(154,18,31,.08), transparent 60%);
}

/* Stats divider */
.theme-light .why__stats { border-top-color: var(--line); }

/* Quiz red blob — keep but lighter */
.theme-light .quiz::before {
  background: radial-gradient(circle, rgba(154,18,31,.10), transparent 60%);
}

/* ============================================================
   Services catalog (services.html)
   ============================================================ */
.catalog { padding: clamp(48px, 7vw, 104px) 0; }
.catalog__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}
.catalog__group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.catalog__cat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.catalog__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(154, 18, 31, 0.08);
  border-radius: 999px;
  padding: 3px 11px;
}
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 14px;
}
.catalog__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.catalog__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.catalog__item:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 18, 31, 0.35);
  box-shadow: 0 18px 40px -24px rgba(26, 20, 16, 0.4);
}
.catalog__item:hover::before { transform: scaleY(1); }
.catalog__item-title {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--fg);
}
.catalog__item-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-dim);
  flex: 1;
}
.catalog__item-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .35s, transform .35s;
}
.catalog__item:hover .catalog__item-arrow { opacity: 1; transform: translateX(0); }
.cases-page { padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }

/* ============================================================
   Reviews page (reviews.html)
   ============================================================ */
.reviews-page { padding: clamp(48px, 7vw, 104px) 0; }
.review-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.review-video {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.review-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.reviews-cta {
  max-width: var(--max);
  margin: clamp(36px, 5vw, 64px) auto 0;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.reviews-cta p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--fg);
}

/* ============================================================
   FIX: светлый фон для theme-light секций.
   .theme-light задаёт тёмный текст, но не фон — без этого секция
   показывает тёмный фон body (тёмный текст на тёмном = нечитаемо).
   .quiz НЕ включён намеренно (у него свой градиент).
   ============================================================ */
.about-mission, .about-values,
.careers-benefits, .careers-list,
.case-story, .case-solution, .case-result,
.contacts-extra,
.service-specs, .service-types,
.team-depts, .team-leads,
.section--narrow,
.catalog, .cases-page, .reviews-page {
  background: var(--bg);
}

/* Необязательная подпись у label */
.field-hint { color: var(--fg-mute); font-weight: 400; font-size: 0.9em; }
