/* Local Montserrat for fidelity when external Google Fonts is unavailable. */
@font-face{font-family:"Montserrat";src:url("../templates/demotractor/fonts/MontserratRegular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../templates/demotractor/fonts/MontserratMedium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../templates/demotractor/fonts/MontserratSemiBold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../templates/demotractor/fonts/MontserratBold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../templates/demotractor/fonts/MontserratExtraBold.woff2") format("woff2");font-style:normal;font-weight:800;font-display:swap}

:root {
  --red: #da0202;
  --red-dark: #b90013;
  --blue: #084bc9;
  --blue-dark: #063987;
  --ink: #2d2c3d;
  --muted: #666476;
  --line: #e8e2f0;
  --soft: #f6f4ff;
  --soft-red: #fff4f4;
  --white: #ffffff;
  --shadow: 0 22px 54px rgba(45, 44, 61, 0.12);
  --shadow-strong: 0 28px 70px rgba(45, 44, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.form-honey {
  display: none !important;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(232, 226, 240, 0.8);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img,
.site-footer img {
  width: 128px;
  height: auto;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.header-descriptor {
  max-width: 180px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.18;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--red);
}

.header-contacts {
  display: grid;
  gap: 2px;
  justify-items: end;
  font-size: 12px;
  line-height: 1.2;
  margin-left: auto;
  text-align: right;
}

.header-phone {
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.header-mail {
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(45, 44, 61, 0.15);
}

.header-socials img {
  width: 100%;
  height: 100%;
}

.button.header-call {
  min-height: 48px;
  padding: 10px 36px;
  font-size: 13px;
  white-space: nowrap;
}

/* Header copied from the main vcadre.ru layout */
.btn-reset {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.iheader {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 40;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(232, 226, 240, 0.85);
  backdrop-filter: blur(16px);
}

.iheader > .container {
  width: min(1390px, calc(100% - 40px));
  padding: 0 10px;
}

.header__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.iheader .header__logo {
  width: 225px;
  max-width: 225px;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.iheader .header__logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.imenu {
  flex: 0 0 auto;
  min-width: 0;
}

.imenu-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.imenu-list-item {
  position: relative;
}

.imenu-list-link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333333;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.imenu-list-link:hover,
.imenu-list-item.open > .imenu-list-link,
.imenu-list-item:focus-within > .imenu-list-link {
  color: var(--blue);
}

.imenu-opener {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  background-image: url("../templates/demotractor/img/chevron.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.imenu-sublist {
  display: none;
  background: #ffffff;
}

.imenu-back-name {
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.imenu-sublist-blocks {
  display: grid;
  grid-template-columns: repeat(var(--count-blocks), minmax(0, 1fr));
  gap: 30px;
}

.imenu-sublist-block {
  position: relative;
}

.imenu-sublist-block + .imenu-sublist-block::before {
  position: absolute;
  left: -15px;
  top: 0;
  height: 100%;
  border-left: 1px solid;
  border-image: linear-gradient(#ffffff 0%, #084bc9 52.15%, #ffffff 100.29%) 1;
  content: "";
}

.imenu-sublist-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.imenu-sublist-item {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
  transition: color 0.18s ease;
}

.imenu-sublist-item:hover {
  color: var(--red);
}

.imenu-sublist-blocks .imenu-sublist-list > .imenu-sublist-item {
  font-weight: 600;
}

.imenu-sublist-list ul {
  margin: 0;
  padding-left: 20px;
}

.imenu-sublist-list li {
  padding-left: 8px;
}

.imenu-sublist-list li::marker {
  color: var(--blue);
  content: "•";
  font-size: 23px;
}

.icontacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
}

.iheader .header__contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-align: center;
}

.icontacts__phone,
.icontacts__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

.icontacts__phone {
  color: #333333;
  font-size: 18px;
  font-weight: 500;
}

.icontacts__mail {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}

.isocial {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.iheader .header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: 93px;
  color: #ffffff;
  background-color: #da0202;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.iheader .header__btn:hover,
.iheader .header__btn:focus-visible {
  border-color: #da0202;
  color: #da0202;
  background-color: transparent;
}

.iheader .header__social-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.iheader .header__social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(45, 44, 61, 0.16);
}

.iheader .header__social-link svg,
.icontacts__phone svg,
.icontacts__mail svg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  flex-shrink: 0;
}

.burger {
  --burger-width: 30px;
  --burger-height: 20px;
  --burger-line-height: 2px;
  position: relative;
  z-index: 110;
  width: var(--burger-width);
  height: var(--burger-height);
  color: #000000;
  background-color: transparent;
}

.burger::before,
.burger::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--burger-line-height);
  background-color: currentColor;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  content: "";
}

.burger::before {
  top: 0;
}

.burger::after {
  top: calc(100% - var(--burger-line-height));
}

.burger__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: var(--burger-line-height);
  background-color: currentColor;
  transform: translateY(-50%);
  transition: transform 0.3s ease-in-out;
}

.burger--active::before,
.iburger--active::before {
  top: 50%;
  transform: rotate(45deg);
}

.burger--active::after,
.iburger--active::after {
  top: 50%;
  transform: rotate(-45deg);
}

.burger--active .burger__line,
.iburger--active .burger__line {
  transform: scale(0);
}

@media (min-width: 1101px) {
  .header__row .burger,
  .imenu-back,
  .imenu-contacts,
  .icontacts__phone > svg,
  .icontacts__mail > svg {
    display: none;
  }

  .imenu-list-item.open > .imenu-sublist,
  .imenu-list-item:hover > .imenu-sublist,
  .imenu-list-item:focus-within > .imenu-sublist {
    position: absolute;
    top: calc(100% + 13px);
    left: 0;
    z-index: 101;
    display: block;
    min-width: 220px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(45, 44, 61, 0.14);
  }

  .imenu-list-item.open > .imenu-sublist.has-blocks,
  .imenu-list-item:hover > .imenu-sublist.has-blocks,
  .imenu-list-item:focus-within > .imenu-sublist.has-blocks {
    width: min(980px, calc(100vw - 40px));
    transform: translateX(-30%);
  }
}

@media (max-width: 1480px) and (min-width: 1101px) {
  .iheader > .container {
    width: min(100% - 40px, 1390px);
    padding: 0;
  }

  .header__row {
    gap: 24px;
  }

  .imenu-list {
    gap: 14px;
  }

  .imenu-list-link {
    font-size: 16px;
  }

  .icontacts {
    gap: 10px;
  }

  .iheader .header__btn {
    padding: 10px 18px;
    font-size: 12px;
  }
}

@media (max-width: 1365px) {
  .imenu-list-link {
    font-size: 15px;
  }

  .imenu-list {
    gap: 12px;
  }

  .iheader .header__btn {
    padding: 11px 18px;
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  .header__row {
    gap: 14px;
  }

  .iheader .header__logo {
    width: 180px;
    max-width: 180px;
  }

  .icontacts {
    gap: 8px;
  }

  .imenu-list {
    gap: 8px;
  }

  .imenu-list-link {
    font-size: 14px;
  }

  .iheader .header__btn {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 11px;
  }
}

@media (max-width: 1100px) {
  .iheader > .container {
    width: min(100% - 28px, 1160px);
    padding: 0;
  }

  .header__row {
    min-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .imenu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    width: min(360px, 100vw - 28px);
    max-width: none;
    max-height: calc(100vh - 96px);
    padding: 18px 18px 20px;
    overflow: auto;
    border: 1px solid rgba(232, 226, 240, 0.9);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 22px 54px rgba(45, 44, 61, 0.14);
  }

  .imenu.imenu--active {
    display: block;
  }

  .imenu-list {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: start;
    gap: 15px;
    margin-bottom: 18px;
  }

  .imenu-list-item {
    min-width: 0;
  }

  .imenu-list-link {
    height: auto;
    justify-content: space-between;
    min-height: 34px;
    font-size: 18px;
  }

  .imenu-list-item.open > .imenu-sublist {
    position: static;
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 10px 0 2px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .imenu-back {
    display: none;
  }

  .imenu-sublist-blocks {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .imenu-sublist-block + .imenu-sublist-block::before {
    display: none;
  }

  .imenu-sublist-list {
    gap: 8px;
  }

  .imenu-sublist-item {
    font-size: 15px;
  }

  .imenu-sublist-list ul {
    display: grid;
    gap: 7px;
  }

  .imenu-contacts {
    display: grid;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(232, 226, 240, 0.9);
  }

  .imenu-contacts .header__btn {
    width: 100%;
    min-height: 46px;
    margin: 3px 0;
    padding: 14px 18px;
    font-size: 14px;
  }

  .icontacts .header__btn {
    display: none;
  }

  .imenu .icontacts__phone,
  .imenu .icontacts__mail {
    justify-content: flex-start;
  }

  .icontacts {
    margin-left: auto;
  }

  .iheader .header__contacts {
    display: flex;
    gap: 10px;
  }

  .icontacts__phone > span,
  .icontacts__mail > span {
    display: none;
  }

  .icontacts__phone,
  .icontacts__mail,
  .iheader .header__social-link,
  .icontacts__phone svg,
  .icontacts__mail svg,
  .iheader .header__social-link svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 767px) {
  .iheader .header__logo {
    width: 160px;
    max-width: 160px;
  }
}

@media (max-width: 520px) {
  .iheader > .container {
    width: calc(100% - 60px);
  }

  .header__row {
    gap: 20px;
  }

  .iheader .header__logo {
    width: 100px;
    max-width: 100px;
  }

  .icontacts {
    gap: 10px;
  }

  .icontacts > .header__social-link {
    display: inline-flex;
  }

  .iheader .header__contacts {
    gap: 10px;
  }

  .burger {
    --burger-width: 27px;
    --burger-height: 19px;
  }
}

@media (max-width: 360px) {
  .iheader > .container {
    width: calc(100% - 28px);
  }

  .header__row {
    gap: 12px;
  }

  .icontacts > .header__social-link {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/career-hero.html");
  background-position: center right;
  background-size: cover;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 36%, rgba(255, 255, 255, 0.22) 68%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(246, 244, 255, 0.58) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-content {
  display: block;
  padding: clamp(32px, 5vh, 46px) 0 clamp(28px, 4vh, 38px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--blue);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 670px;
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 0.98;
  font-weight: 800;
  color: var(--red);
}

h1,
.section-head h2 {
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.hero-form {
  width: min(100%, 820px);
  margin: 0;
  padding: 18px 22px 16px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(45, 44, 61, 0.17);
  backdrop-filter: blur(14px);
}

.hero-form-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px;
  gap: 12px;
  align-items: start;
}

.hero-form label {
  gap: 8px;
  margin-bottom: 0;
  line-height: 1;
}

.hero-form .field-compact {
  display: block;
}

.hero-form .field-compact input {
  display: block;
}

.hero-form input {
  height: 50px;
  padding: 0 14px;
}
.hero-form .button {
  width: 100%;
  min-height: 50px;
  height: 50px;
  margin-top: 0;
  padding: 0 22px;
  border-radius: 6px;
  gap: 10px;
  white-space: nowrap;
}

.hero-form .button::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4h14a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-7.4L6.7 20.7A1 1 0 0 1 5 19.9V17a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3Zm1 5.2a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Zm6 0a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Zm6 0a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(115deg, var(--red) 0%, #f51628 38%, var(--red-dark) 68%, var(--red) 100%);
  background-size: 220% 220%;
  box-shadow: 0 16px 32px rgba(218, 2, 2, 0.22);
}

.button-primary:hover {
  background-position: 100% 50%;
}

.button-shine {
  animation: buttonPulse 5.2s ease-in-out infinite;
}

.button-shine::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -70%;
  width: 48%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: buttonShine 3.8s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes buttonShine {
  0%,
  55% {
    left: -70%;
  }

  100% {
    left: 130%;
  }
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--blue);
}

.button-secondary:hover {
  background: var(--white);
  box-shadow: 0 12px 26px rgba(8, 75, 201, 0.15);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 680px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid rgba(8, 75, 201, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.signal-strip {
  background: var(--ink);
  color: var(--white);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.signal-grid div {
  min-height: 118px;
  padding: 26px 28px;
  background: var(--ink);
}

.signal-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.signal-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(246, 244, 255, 0.82), rgba(255, 255, 255, 0.96)),
    var(--soft);
}

.section-trust {
  background:
    linear-gradient(180deg, rgba(255, 244, 244, 0.7), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.compact {
  max-width: 520px;
  margin-bottom: 0;
}

.section-head h2,
.lead-copy h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.06;
  font-weight: 800;
}

.section-head p,
.lead-copy p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.step,
.audience-item,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 75, 201, 0.26);
  box-shadow: var(--shadow);
}

.feature-num {
  display: inline-flex;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
  flex: 0 0 auto;
}

.card-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-card h3,
.audience-item h3,
.step h3 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.18;
}

.feature-card p,
.audience-item p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.two-column,
.lead-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: start;
}

.lead-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.trust-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 2, 2, 0.22);
  box-shadow: var(--shadow);
}

.trust-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.trust-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.trust-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-team {
  background: var(--white);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.team-copy {
  min-width: 0;
  max-width: 640px;
}
.team-copy h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.06;
  font-weight: 800;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-copy p {
  color: var(--muted);
}

.team-facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.team-facts li {
  position: relative;
  padding: 13px 16px 13px 42px;
  border: 1px solid rgba(8, 75, 201, 0.12);
  border-radius: 8px;
  background: rgba(246, 244, 255, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.team-facts li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.team-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.team-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 678 / 631;
  object-fit: cover;
}

.team-visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(45, 44, 61, 0.7);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}
.clients-section {
  background: var(--white);
}

.clients-head {
  margin-bottom: 28px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.logo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 333 / 250;
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 8px;
  filter: saturate(0.82);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.logo-grid img:hover {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow: 0 18px 36px rgba(18, 62, 107, 0.14);
}
.company-proof {
  margin-top: 34px;
}

.company-proof p {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.company-proof img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
}

.audience-item {
  min-height: 170px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.audience-item::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -54px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 75, 201, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.audience-item:nth-child(2),
.audience-item:nth-child(3) {
  background: var(--soft-red);
}

.audience-item h3 {
  margin-bottom: 12px;
}

.audience-item:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 2, 2, 0.24);
  background: var(--white);
  box-shadow: var(--shadow);
}

.audience-item:hover::after {
  opacity: 1;
  transform: translate(-8px, -8px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  min-height: 225px;
  padding: 28px 24px 24px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  flex: 0 0 auto;
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.step::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border: 18px solid rgba(218, 2, 2, 0.08);
  border-radius: 50%;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 75, 201, 0.26);
  box-shadow: var(--shadow);
}

.step:hover span {
  background: var(--red);
}

.section-lead {
  padding: 62px 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(45, 44, 61, 0.96), rgba(6, 57, 135, 0.92)),
    var(--ink);
}

.section-lead .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.lead-copy h2 {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.lead-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-box {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-box a {
  width: fit-content;
  font-size: 20px;
  font-weight: 800;
}

.lead-visual,
.faq-visual {
  margin: 26px 0 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.lead-visual {
  position: relative;
  max-width: 520px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lead-visual img,
.faq-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-visual img {
  object-position: center top;
}

.lead-visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(45, 44, 61, 0.68);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}

.lead-form {
  padding: 24px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfbff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lead-form textarea {
  resize: vertical;
  min-height: 92px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(8, 75, 201, 0.12);
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.checkbox a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.form-status:empty {
  min-height: 0;
  margin: 0;
}

.form-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-note a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status.is-success {
  color: #067a3d;
}

.form-status.is-error {
  color: var(--red-dark);
}

.faq-layout {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
}

.faq-visual {
  border: 1px solid var(--line);
}

.faq-visual img {
  aspect-ratio: 4 / 5;
}

.faq-list {
  display: grid;
  grid-template-rows: repeat(5, auto) minmax(0, 1fr);
  gap: 12px;
  height: 100%;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.faq-list details p {
  margin: 14px 0 0;
  color: var(--muted);
}


.faq-question-form {
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
  display: grid;
  align-content: start;
  gap: 8px;
}

.faq-question-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 16px;
}

.faq-question-form h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.14;
  font-weight: 800;
}

.faq-question-form p {
  margin: 0;
}

.faq-question-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.faq-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.faq-question-grid label {
  margin: 0;
}

.faq-question-grid input {
  min-height: 42px;
  padding: 9px 12px;
}

.faq-question-grid .field-full {
  grid-column: 1 / -1;
}

.faq-question-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
  align-items: center;
}

.faq-question-agree {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
}

.faq-question-form .button {
  width: 100%;
  min-height: 42px;
  padding: 9px 16px;
  font-size: 13px;
}

.faq-question-form .form-status {
  min-height: 0;
  margin: 0;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fbfbff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.site-footer p {
  margin: 12px 0 0;
}

.footer-details p {
  margin: 0 0 8px;
}

.footer-contacts {
  display: grid;
  gap: 8px;
  justify-items: start;
  font-weight: 700;
  color: var(--blue-dark);
}

.main-sitemap-footer {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 248, 248, 0.96), rgba(255, 255, 255, 0.98) 46%, rgba(241, 247, 255, 0.94)),
    #ffffff;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.footer-sitemap-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.92fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-sitemap-brand p {
  max-width: 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer-sitemap-contacts {
  margin-top: 18px;
  color: var(--blue-dark);
}

.footer-sitemap-contacts a:first-child {
  color: var(--blue);
  font-size: 18px;
  font-weight: 850;
}

.footer-sitemap-contacts a:not(:first-child) {
  color: var(--muted);
}

.footer-sitemap-cta {
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 22px;
  font-size: 13px;
}

.footer-sitemap-col h2,
.footer-sitemap-col summary {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-sitemap-col summary {
  cursor: default;
  list-style: none;
}

.footer-sitemap-col summary::-webkit-details-marker {
  display: none;
}

.footer-sitemap-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-sitemap-accordion:not([open]) > ul {
  display: grid !important;
}

.footer-sitemap-col a {
  display: block;
  color: #514e63;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.32;
  transition: color 160ms ease;
}

.footer-sitemap-col a:hover {
  color: var(--red);
}

.footer-city-list {
  columns: 2;
  column-gap: 18px;
  display: block !important;
}

.footer-city-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.footer-sitemap-bottom {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.footer-sitemap-bottom-inner {
  min-height: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.footer-sitemap-bottom .footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 12px;
}

.footer-sitemap-bottom .footer-details p {
  margin: 0;
}

.footer-sitemap-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-sitemap-bottom nav a {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 750;
}

.footer-sitemap-bottom nav a:hover {
  color: var(--red);
}

@media (max-width: 1120px) {
  .footer-sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-sitemap-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-sitemap-brand p {
    max-width: none;
  }

  .footer-city-list {
    columns: 1;
  }

  .footer-sitemap-accordion {
    border-top: 1px solid var(--line);
  }

  .footer-sitemap-accordion:last-of-type {
    border-bottom: 1px solid var(--line);
  }

  .footer-sitemap-col summary {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 14px 34px 14px 0;
    cursor: pointer;
    font-size: 13px;
  }

  .footer-sitemap-col summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--blue-dark);
    border-bottom: 2px solid var(--blue-dark);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 160ms ease;
  }

  .footer-sitemap-accordion[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
  }

  .footer-sitemap-accordion > ul,
  .footer-sitemap-accordion:not([open]) > ul {
    display: none !important;
  }

  .footer-sitemap-accordion[open] > ul {
    display: grid !important;
    padding: 0 0 16px;
  }

  .footer-sitemap-bottom-inner {
    display: grid;
    gap: 14px;
  }

  .footer-sitemap-bottom .footer-details,
  .footer-sitemap-bottom nav {
    display: grid;
    gap: 8px;
  }
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 44, 61, 0.68);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.modal-dialog h2 {
  margin-bottom: 22px;
  font-size: 30px;
  line-height: 1.14;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f1fb;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 10px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-note {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.callback-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

.callback-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbff;
  outline: none;
}

.callback-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 75, 201, 0.12);
}

.privacy-page .site-header {
  position: static;
}

.privacy-hero {
  padding: 78px 0 38px;
  background:
    linear-gradient(120deg, rgba(255, 244, 244, 0.92), rgba(246, 244, 255, 0.94)),
    var(--soft);
}

.privacy-hero h1 {
  max-width: 860px;
}

.privacy-content {
  padding: 54px 0 76px;
}

.privacy-card {
  max-width: 900px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.privacy-card h1,
.privacy-card h2,
.privacy-card h3,
.privacy-card p,
.privacy-card li {
  overflow-wrap: anywhere;
}

.offer-card {
  max-width: 1040px;
}

.privacy-card h2 {
  margin: 28px 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.privacy-card h2:first-child {
  margin-top: 0;
}

.privacy-card h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.privacy-card ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
}

.thanks-hero {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.52) 100%),
    url("assets/career-hero.html") center right / cover no-repeat;
}

.thanks-layout {
  display: grid;
}

.thanks-card {
  width: min(100%, 760px);
  padding: 38px;
  border: 1px solid rgba(232, 226, 240, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
}

.thanks-card h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 52px;
}

.thanks-next {
  margin: 26px 0 0;
  padding: 22px;
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 8px;
  background: #fbfbff;
}

.thanks-next h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.thanks-next ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.privacy-card a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offer-document {
  padding: 48px 58px;
  font-family: Calibri, Arial, sans-serif;
  color: #202636;
}

.offer-document .doc-block {
  margin: 0 0 7px;
  color: #202636;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
}

.offer-document .doc-align-right {
  text-align: right;
  text-indent: 0;
}

.offer-document .doc-align-center {
  text-align: center;
  text-indent: 0;
}

.offer-document .doc-align-justify {
  text-align: justify;
}

.offer-document .doc-first-line {
  text-indent: 12px;
}

.offer-document .doc-left-indent {
  margin-left: 12px;
}

.offer-document .doc-hanging {
  padding-left: 48px;
  text-indent: -38px;
}

.offer-document .doc-dash-line,
.offer-document .doc-letter-line {
  margin-left: 18px;
  text-indent: 0;
}

.offer-document .doc-heading-1 {
  margin: 18px 0 10px;
  color: #2e74b5;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  text-indent: 0;
}

.offer-document .doc-heading-2 {
  margin: 16px 0 8px;
  color: #2e74b5;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  text-indent: 0;
}

.offer-document .doc-approval-title {
  margin-bottom: 8px;
  color: #2e74b5;
  font-size: 20px;
  line-height: 1.2;
}

.offer-document .doc-offer-title {
  margin: 18px 0 4px;
  color: #2e74b5;
  font-size: 34px;
  line-height: 1.14;
}

.offer-document .doc-offer-subtitle {
  margin: 0 0 18px;
  color: #2e74b5;
  font-size: 22px;
  line-height: 1.2;
}

.offer-document .doc-blue {
  color: #2e74b5;
}

.offer-document .doc-bold {
  font-weight: 700;
}

.offer-document .doc-underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.offer-document .doc-spacer {
  height: 16px;
}

.offer-document .doc-tab {
  display: inline-block;
  width: 2em;
}

.offer-document .doc-requisites-title {
  margin-top: 14px;
}

.offer-document .doc-requisites-line {
  margin-bottom: 5px;
}

@media (max-width: 1020px) {
  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .header-descriptor {
    max-width: 170px;
  }

  .header-contacts {
    margin-left: auto;
  }

  .header-call {
    margin-left: auto;
  }

  .hero {
    min-height: 560px;
    background-position: center right 22%;
  }

  .hero-form {
    width: min(100%, 760px);
  }

  .hero-form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero-form .button {
    grid-column: 1 / -1;
  }
.hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 48%, rgba(255, 255, 255, 0.34) 100%),
      linear-gradient(180deg, rgba(246, 244, 255, 0.72), rgba(255, 255, 255, 0.52));
  }

  h1 {
    max-width: 600px;
    font-size: 46px;
  }

  .signal-grid,
  .feature-grid,
  .steps,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .trust-layout,
  .scenario-layout,
  .team-layout,
  .lead-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-list {
    grid-template-rows: auto;
    height: auto;
  }

  .lead-layout {
    align-items: start;
  }

  .section-head.compact {
    max-width: 760px;
  }

  .faq-visual,
  .lead-visual {
    max-width: 620px;
  }

  .faq-visual img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .faq-question-head {
    display: block;
  }

  .faq-question-head p {
    margin-top: 6px;
    text-align: left;
  }

  .faq-question-grid,
  .faq-question-bottom {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "contacts socials";
    align-items: center;
    gap: 8px 12px;
    padding: 10px 0 12px;
  }

  .header-brand-group {
    grid-area: brand;
    min-width: 0;
    gap: 10px;
  }

  .header-descriptor {
    max-width: 136px;
    font-size: 11.5px;
    line-height: 1.16;
  }

  .brand img,
  .site-footer img {
    width: 104px;
  }

  .header-contacts {
    grid-area: contacts;
    display: flex;
    justify-content: flex-start;
    width: auto;
    margin-left: 0;
    padding-top: 2px;
    text-align: left;
  }

  .header-phone {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(8, 75, 201, 0.08);
    font-size: 14px;
  }

  .header-socials {
    grid-area: socials;
    justify-content: flex-end;
    gap: 7px;
  }

  .header-socials a {
    width: 30px;
    height: 30px;
  }

  .header-call {
    display: none;
  }

  .header-mail {
    display: none;
  }

  .hero {
    min-height: auto;
    background-position: center right 34%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 64%, rgba(255, 255, 255, 0.62) 100%),
      linear-gradient(180deg, rgba(246, 244, 255, 0.86), rgba(255, 255, 255, 0.76));
  }

  .hero-content {
    padding: 38px 0 8px;
  }

  .hero-form {
    padding: 22px;
  }

  .hero-form-row {
    grid-template-columns: 1fr;
  }

  .hero-form-title {
    font-size: 19px;
  }

  .eyebrow {
    font-size: 11px;
  }

  h1 {
    max-width: 520px;
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 1.04;
  }

  .hero-lead {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: 16px;
  }

  .button {
    min-height: 52px;
    padding: 14px 20px;
    font-size: 13px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    padding: 8px 10px;
    font-size: 12px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid div {
    min-height: 92px;
    padding: 20px;
  }

.team-facts li {
    padding: 12px 14px 12px 38px;
  }

  .team-visual img {
    aspect-ratio: 678 / 631;
  }

  .team-visual figcaption {
    position: static;
    border-radius: 0;
    background: var(--ink);
  }
.company-proof {
    margin-top: 24px;
  }

  .company-proof p {
    font-size: 17px;
  }

  .company-proof img {
    max-height: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2,
  .team-copy h2,
  .lead-copy h2 {
    font-size: 30px;
  }

  .feature-grid,
  .steps,
  .trust-grid,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .step,
  .trust-card,
  .audience-item {
    min-height: auto;
  }

  .feature-card {
    padding: 22px;
  }

  .lead-form {
    padding: 20px;
  }

  .lead-visual,
  .faq-visual {
    margin-top: 20px;
  }

  .modal {
    padding: 14px;
  }

  .modal-dialog {
    padding: 24px 20px;
  }

  .modal-dialog h2 {
    font-size: 25px;
  }

  .thanks-hero {
    min-height: auto;
    padding: 42px 0;
  }

  .thanks-card {
    padding: 24px 20px;
  }

  .thanks-card h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .thanks-actions .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 720px) {.offer-document {
    padding: 24px 18px;
  }

  .offer-document .doc-block {
    font-size: 14px;
    line-height: 1.45;
  }

  .offer-document .doc-align-justify {
    text-align: left;
  }

  .offer-document .doc-heading-1 {
    font-size: 18px;
  }

  .offer-document .doc-heading-2 {
    font-size: 16px;
  }

  .offer-document .doc-offer-title {
    font-size: 28px;
  }

  .offer-document .doc-offer-subtitle {
    font-size: 18px;
  }
}
.program-head {
  max-width: 920px;
}

.program-head h2 {
  white-space: nowrap;
}

.section-intent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 255, 0.84)),
    var(--soft);
}

.intent-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.intent-copy h2 {
  max-width: 620px;
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1.06;
  font-weight: 800;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intent-copy p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.intent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.intent-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.intent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 2, 2, 0.22);
  box-shadow: var(--shadow);
}

.intent-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.intent-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

@media (max-width: 1020px) {
  .intent-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .program-head h2 {
    white-space: normal;
  }

  .intent-copy h2 {
    font-size: 30px;
  }

  .intent-list {
    grid-template-columns: 1fr;
  }

  .intent-card {
    min-height: auto;
  }
}
/* Presentation-style second screen */
.section-intent {
  padding: 78px 0 86px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 255, 0.9)),
    var(--soft);
}

.intent-stage {
  position: relative;
}

.intent-title {
  max-width: 980px;
  margin: 0 0 44px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  font-weight: 800;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 30%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intent-slide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  grid-template-rows: auto auto;
  gap: 28px 54px;
  align-items: start;
}

.intent-slide-list {
  grid-row: 1 / span 2;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intent-slide-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.intent-slide-list span {
  color: var(--red);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.intent-slide-list p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.14;
  font-weight: 800;
}

.intent-slide-text {
  max-width: 390px;
  justify-self: end;
  padding-top: 4px;
}

.intent-slide-text p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.intent-slide-visual {
  width: min(100%, 470px);
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.intent-slide-visual img {
  width: 100%;
  aspect-ratio: 2048 / 1793;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1020px) {
  .intent-slide-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .intent-slide-list {
    grid-row: auto;
  }

  .intent-slide-text {
    max-width: 760px;
    justify-self: start;
  }

  .intent-slide-visual {
    width: min(100%, 620px);
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .section-intent {
    padding: 56px 0 62px;
  }

  .intent-title {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .intent-slide-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .intent-slide-list span {
    font-size: 21px;
  }

  .intent-slide-list p {
    font-size: 19px;
    line-height: 1.18;
  }

  .intent-slide-text p {
    font-size: 14px;
  }
}
/* Polished intent screen */
.section-intent {
  position: relative;
  padding: 84px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.74) 0%, rgba(255, 255, 255, 0.96) 38%, rgba(246, 244, 255, 0.92) 100%),
    var(--white);
}

.section-intent::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(218, 2, 2, 0.08), transparent 28%),
    linear-gradient(270deg, rgba(8, 75, 201, 0.08), transparent 30%);
}

.intent-stage {
  position: relative;
  z-index: 1;
}

.intent-head {
  max-width: 980px;
  margin-bottom: 42px;
}

.intent-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 800;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intent-polished-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 36px;
  align-items: stretch;
}

.intent-goals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intent-goals li {
  position: relative;
  min-height: 188px;
  padding: 24px 24px 26px;
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.intent-goals li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0;
  transition: opacity 180ms ease;
}

.intent-goals li:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 2, 2, 0.22);
  box-shadow: var(--shadow);
}

.intent-goals li:hover::after {
  opacity: 1;
}

.intent-goals span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.intent-goals p {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
  font-weight: 800;
}

.intent-story {
  display: grid;
  gap: 18px;
  align-content: start;
}

.intent-visual-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.intent-visual-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(45, 44, 61, 0.28));
}

.intent-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center 44%;
}

.intent-quote {
  position: relative;
  margin: 0;
  padding: 28px 30px 28px 34px;
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
}

.intent-quote::before {
  content: "РІР‚Сљ";
  position: absolute;
  top: -18px;
  right: 22px;
  color: rgba(8, 75, 201, 0.12);
  font-size: 96px;
  line-height: 1;
  font-weight: 800;
}

.intent-quote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 500;
}

@media (max-width: 1020px) {
  .intent-polished-grid {
    grid-template-columns: 1fr;
  }

  .intent-story {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .intent-visual-card img {
    height: 100%;
  }
}

@media (max-width: 720px) {
  .section-intent {
    padding: 58px 0 64px;
  }

  .intent-head {
    margin-bottom: 28px;
  }

  .intent-title {
    font-size: 30px;
  }

  .intent-goals,
  .intent-story {
    grid-template-columns: 1fr;
  }

  .intent-goals li {
    min-height: auto;
    padding: 22px;
  }

  .intent-goals p {
    font-size: 19px;
  }

  .intent-quote {
    padding: 24px 22px 24px 26px;
  }

  .intent-quote p {
    font-size: 14px;
    line-height: 1.58;
  }
}
/* Intent screen refinements */
.intent-goals li {
  padding: 28px 24px 30px;
}

.intent-goals li::before {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  bottom: -22px;
  z-index: 0;
  color: rgba(8, 75, 201, 0.055);
  font-size: 96px;
  line-height: 1;
  font-weight: 800;
  pointer-events: none;
}

.intent-goals p {
  position: relative;
  z-index: 1;
  padding-right: 18px;
}

.intent-visual-card {
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 255, 0.9)),
    var(--white);
}

.intent-visual-card::after {
  display: none;
}

.intent-visual-card img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.intent-quote {
  padding: 26px 28px 28px;
  border: 1px solid rgba(8, 75, 201, 0.13);
  border-left: 1px solid rgba(8, 75, 201, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 251, 255, 0.95)),
    var(--white);
}

.intent-quote::before {
  content: "";
  inset: 0 0 auto;
  width: auto;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0.82;
}

.intent-quote-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(8, 75, 201, 0.08);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.intent-quote p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.66;
  font-weight: 500;
}

@media (max-width: 1020px) {
  .intent-visual-card img {
    height: auto;
  }
}

@media (max-width: 720px) {
  .intent-goals li::before {
    right: 10px;
    bottom: -14px;
    font-size: 72px;
  }

  .intent-goals p {
    padding-right: 8px;
  }

  .intent-quote {
    padding: 24px 22px;
  }
}
/* Intent screen: presentation speech bubble */
.intent-polished-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  gap: 34px 48px;
  align-items: start;
}

.intent-goals {
  grid-template-columns: 1fr;
  max-width: 430px;
  gap: 12px;
}

.intent-goals li {
  min-height: auto;
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(45, 44, 61, 0.06);
}

.intent-goals li::before {
  right: 12px;
  bottom: -10px;
  color: rgba(218, 2, 2, 0.045);
  font-size: 68px;
}

.intent-goals p {
  padding-right: 54px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.intent-story {
  position: relative;
  display: block;
  min-height: 560px;
}

.intent-visual-card {
  width: min(100%, 560px);
  margin: 120px 0 0 auto;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intent-visual-card img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.intent-person-card {
  position: absolute;
  left: 16px;
  top: 45%;
  min-width: 180px;
  padding: 12px 16px;
  border-right: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(45, 44, 61, 0.08);
}

.intent-person-card strong,
.intent-person-card span {
  display: block;
}

.intent-person-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.intent-person-card span {
  margin-top: 4px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
}

.intent-quote {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, 62%);
  margin: 0;
  padding: 18px 20px;
  border: 1.5px solid var(--red);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.intent-quote::before {
  display: none;
}

.intent-quote::after {
  content: "";
  position: absolute;
  left: 64px;
  bottom: -46px;
  width: 78px;
  height: 46px;
  border-left: 1.5px solid var(--red);
  border-bottom: 1.5px solid var(--red);
  background: transparent;
  transform: skewX(-34deg);
  transform-origin: top left;
}

.intent-quote-label {
  display: none;
}

.intent-quote p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 500;
}

@media (max-width: 1020px) {
  .intent-polished-grid {
    grid-template-columns: 1fr;
  }

  .intent-goals {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intent-story {
    min-height: 520px;
  }

  .intent-visual-card {
    margin: 120px auto 0;
  }
}

@media (max-width: 720px) {
  .intent-goals {
    grid-template-columns: 1fr;
  }

  .intent-goals p {
    padding-right: 38px;
    font-size: 17px;
  }

  .intent-story {
    min-height: auto;
  }

  .intent-quote {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .intent-quote::after {
    display: none;
  }

  .intent-visual-card {
    width: 100%;
    margin: 0;
  }

  .intent-person-card {
    left: 10px;
    top: auto;
    bottom: 18px;
    min-width: 150px;
    padding: 10px 12px;
  }
}
/* Intent screen: compact desktop and presentation-like quote */
.section-intent {
  padding: 58px 0 64px;
}

.intent-head {
  margin-bottom: 28px;
}

.intent-title {
  max-width: 860px;
  font-size: clamp(32px, 3.4vw, 46px);
}

.intent-polished-grid {
  grid-template-columns: minmax(260px, 0.56fr) minmax(620px, 1.44fr);
  gap: 28px 42px;
  align-items: start;
}

.intent-goals {
  max-width: 360px;
  gap: 10px;
}

.intent-goals li {
  padding: 14px 16px 16px;
}

.intent-goals li::before {
  right: 8px;
  bottom: -8px;
  font-size: 58px;
}

.intent-goals p {
  padding-right: 36px;
  font-size: 16px;
  line-height: 1.32;
}

.intent-story {
  position: relative;
  min-height: 456px;
}

.intent-visual-card {
  width: min(100%, 500px);
  margin: 76px 0 0 74px;
}

.intent-visual-card img {
  max-height: 380px;
}

.intent-person-card {
  left: 14px;
  top: 48%;
}

.intent-quote {
  top: 8px;
  right: 0;
  width: min(360px, 52%);
  padding: 17px 19px;
  border: 1.5px solid var(--red);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  z-index: 3;
}

.intent-quote::before {
  display: none;
}

.intent-quote::after {
  content: "";
  position: absolute;
  left: 54px;
  bottom: -11px;
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--red);
  border-bottom: 1.5px solid var(--red);
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.intent-quote p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.38;
}

@media (max-width: 1020px) {
  .intent-polished-grid {
    grid-template-columns: 1fr;
  }

  .intent-goals {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intent-story {
    min-height: 500px;
  }

  .intent-visual-card {
    margin: 96px auto 0;
  }

  .intent-quote {
    width: min(360px, 54%);
  }
}

@media (max-width: 720px) {
  .section-intent {
    padding: 52px 0 58px;
  }

  .intent-goals {
    grid-template-columns: 1fr;
  }

  .intent-story {
    min-height: auto;
  }

  .intent-quote {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 18px;
  }

  .intent-quote::after {
    display: none;
  }

  .intent-visual-card {
    width: 100%;
    margin: 0;
  }

  .intent-visual-card img {
    max-height: none;
  }
}
/* Intent screen: no-overlap quote placement */
.intent-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
  min-height: 386px;
}

.intent-visual-card {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 82px 0 0;
  align-self: end;
}

.intent-visual-card img {
  max-height: 306px;
}

.intent-quote {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  top: auto;
  right: auto;
  width: 100%;
}

.intent-quote::after {
  left: 34px;
  bottom: -10px;
  width: 18px;
  height: 18px;
}

.intent-person-card {
  left: 8px;
  top: 54%;
}

@media (max-width: 1020px) {
  .intent-story {
    grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1fr);
    min-height: 386px;
  }

  .intent-visual-card {
    margin: 82px 0 0;
  }

  .intent-quote {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .intent-story {
    display: block;
    min-height: auto;
  }

  .intent-visual-card {
    width: 100%;
    margin: 0;
  }
}
/* Intent quote: presentation outline box */
.intent-quote {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: min(410px, 100%);
  margin: 0;
  padding: 21px 20px 24px;
  border: 2px solid var(--red);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  z-index: 3;
}

.intent-quote::before {
  content: "";
  position: absolute;
  left: 58px;
  bottom: -65px;
  width: 118px;
  height: 65px;
  background: var(--red);
  clip-path: polygon(0 0, 0 98%, 100% 0, 94% 0, 9px 50px, 9px 0);
}

.intent-quote::after {
  content: "";
  position: absolute;
  left: 60px;
  bottom: -61px;
  width: 110px;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 0, 0 94%, 100% 0, 93% 0, 7px 47px, 7px 0);
}

.intent-quote p {
  margin: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 800;
}

@media (max-width: 720px) {
  .intent-quote {
    width: 100%;
    padding: 18px 18px 22px;
  }

  .intent-quote::before,
  .intent-quote::after {
    display: none;
  }

  .intent-quote p {
    font-size: 14px;
  }
}
/* Intent quote: image frame from presentation */
.intent-quote {
  width: min(430px, 100%);
  min-height: 330px;
  padding: 28px 30px 92px;
  border: 0;
  border-radius: 0;
  background: url("assets/quote-bubble-frame.html") center / 100% 100% no-repeat;
  box-shadow: none;
}

.intent-quote::before,
.intent-quote::after {
  display: none;
}

.intent-quote p {
  max-width: 100%;
  margin: 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.34;
  font-weight: 800;
}

@media (max-width: 720px) {
  .intent-quote {
    min-height: auto;
    padding: 22px;
    border: 2px solid var(--red);
    background: var(--white);
  }
}
/* Intent screen: target screenshot composition */
.section-intent {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 38px 0 52px;
  background:
    linear-gradient(90deg, rgba(255, 244, 244, 0.9) 0%, rgba(255, 255, 255, 0.97) 42%, rgba(239, 242, 255, 0.98) 100%),
    var(--white);
}

.intent-head {
  margin-bottom: 26px;
}

.intent-title {
  max-width: 760px;
  font-size: clamp(34px, 3.45vw, 52px);
  line-height: 1.14;
}

.intent-polished-grid {
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.intent-goals {
  max-width: 390px;
  gap: 12px;
}

.intent-goals li {
  min-height: auto;
  padding: 17px 20px 18px;
  border-color: rgba(8, 75, 201, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(45, 44, 61, 0.08);
}

.intent-goals li::before {
  right: 10px;
  bottom: -13px;
  color: rgba(218, 2, 2, 0.045);
  font-size: 70px;
}

.intent-goals p {
  padding-right: 48px;
  color: #17172a;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
}

.intent-story {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
  gap: 8px;
  align-items: start;
  min-height: 470px;
}

.intent-visual-card {
  grid-column: 1;
  grid-row: 1;
  width: min(100%, 448px);
  margin: 176px 0 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.intent-visual-card img {
  width: 100%;
  max-height: 384px;
  object-fit: contain;
  object-position: center;
}

.intent-person-card {
  left: 0;
  top: 47%;
  min-width: 184px;
  padding: 11px 15px;
  border-right: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.intent-quote {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: min(100%, 510px);
  min-height: 392px;
  margin: 0 0 0 auto;
  padding: 32px 31px 112px;
  border: 0;
  background: url("assets/quote-bubble-frame.html") center / 100% 100% no-repeat;
  box-shadow: none;
}

.intent-quote::before,
.intent-quote::after {
  display: none;
}

.intent-quote p {
  max-width: 100%;
  color: #071022;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .intent-polished-grid {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 30px;
  }

  .intent-story {
    grid-template-columns: minmax(310px, 0.9fr) minmax(390px, 1.1fr);
  }

  .intent-quote {
    width: min(100%, 460px);
    min-height: 354px;
    padding: 28px 28px 98px;
  }

  .intent-quote p {
    font-size: 14px;
  }
}

@media (max-width: 1020px) {
  .section-intent {
    min-height: auto;
    display: block;
  }

  .intent-polished-grid {
    grid-template-columns: 1fr;
  }

  .intent-goals {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intent-story {
    grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
    min-height: 430px;
  }

  .intent-visual-card {
    margin-top: 132px;
  }
}

@media (max-width: 720px) {
  .section-intent {
    padding: 52px 0 58px;
  }

  .intent-goals,
  .intent-story {
    display: grid;
    grid-template-columns: 1fr;
  }

  .intent-story {
    min-height: auto;
  }

  .intent-quote {
    grid-column: auto;
    width: 100%;
    min-height: auto;
    margin: 0 0 18px;
    padding: 22px;
    border: 2px solid var(--red);
    background: var(--white);
  }

  .intent-visual-card {
    grid-column: auto;
    width: 100%;
    margin: 0;
  }

  .intent-visual-card img {
    max-height: none;
  }

  .intent-quote p {
    font-size: 14px;
  }
}
/* Intent screen: raise quote and photo */
.intent-polished-grid {
  margin-top: -118px;
}

.intent-goals {
  margin-top: 118px;
}

.intent-story {
  min-height: 430px;
}

.intent-quote {
  margin-top: 0;
}

.intent-visual-card {
  margin-top: 118px;
}

@media (max-width: 1180px) {
  .intent-polished-grid {
    margin-top: -96px;
  }

  .intent-goals {
    margin-top: 96px;
  }

  .intent-visual-card {
    margin-top: 112px;
  }
}

@media (max-width: 1020px) {
  .intent-polished-grid,
  .intent-goals {
    margin-top: 0;
  }

  .intent-visual-card {
    margin-top: 96px;
  }
}

@media (max-width: 720px) {
  .intent-visual-card {
    margin-top: 0;
  }
}
/* Slide 3: market competition */
.section-market {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 58px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(45, 44, 61, 0.98), rgba(6, 57, 135, 0.92)),
    var(--ink);
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 54px;
  align-items: center;
}

.market-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.market-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 800;
}

.market-cards {
  display: grid;
  gap: 16px;
}

.market-card {
  position: relative;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.market-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}

.market-card-lead {
  background: rgba(255, 255, 255, 0.12);
}

.market-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.market-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.48;
  font-weight: 600;
}

.market-card-lead p {
  font-size: 21px;
  line-height: 1.42;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .section-market {
    min-height: auto;
  }

  .market-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .market-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .section-market {
    padding: 56px 0;
  }

  .market-copy h2 {
    font-size: 30px;
  }

  .market-card {
    padding: 20px 22px;
  }

  .market-card p,
  .market-card-lead p {
    font-size: 16px;
  }
}
/* Slide 3 refinements */
.market-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
}

.market-copy h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.14;
}

.market-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.market-card:hover::before {
  width: 6px;
}

.market-card span {
  display: none;
}

@media (max-width: 1020px) {
  .market-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .market-copy h2 {
    font-size: 28px;
  }
}

/* Job search quiz */
.quiz-section {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 52px 0;
  background:
    radial-gradient(circle at 4% 18%, rgba(218, 2, 2, 0.09), transparent 30%),
    radial-gradient(circle at 96% 12%, rgba(8, 75, 201, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.quiz-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.72), rgba(246, 244, 255, 0.66) 52%, #ffffff 100%);
  border: 1px solid rgba(232, 226, 240, 0.96);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(45, 44, 61, 0.12);
}

.quiz-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 8px 2px;
}

.quiz-copy [data-quiz-counter] {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--blue-dark);
  background: rgba(8, 75, 201, 0.08);
  border: 1px solid rgba(8, 75, 201, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quiz-copy h2 {
  max-width: 520px;
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.14;
  font-weight: 800;
}

.quiz-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

.quiz-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.quiz-benefits div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 75, 201, 0.12);
  border-radius: 8px;
}

.quiz-benefits strong {
  color: var(--red);
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
}

.quiz-benefits span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.quiz-form {
  min-height: 522px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  align-self: stretch;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(45, 44, 61, 0.1);
}

.quiz-progress {
  height: 7px;
  overflow: hidden;
  background: #e9edf8;
  border-radius: 999px;
}

.quiz-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red), #ff3b3b);
  border-radius: inherit;
  transition: width 220ms ease;
}

.quiz-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quiz-step.is-active {
  display: grid;
  align-content: start;
  gap: 10px;
}

.quiz-step legend {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.16;
  font-weight: 800;
}

.quiz-option {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfbff;
  border: 1px solid #e1dbed;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.quiz-option:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: rgba(8, 75, 201, 0.28);
  box-shadow: 0 12px 28px rgba(45, 44, 61, 0.08);
}

.quiz-option:has(input:checked) {
  background: #fff6f6;
  border-color: rgba(218, 2, 2, 0.32);
  box-shadow: inset 4px 0 0 var(--red), 0 12px 30px rgba(218, 2, 2, 0.08);
}

.quiz-option input {
  width: 18px;
  height: 18px;
  min-height: auto;
  accent-color: var(--red);
}

.quiz-option span {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 700;
}

.quiz-step-final p {
  margin: -2px 0 6px;
  color: var(--muted);
  line-height: 1.45;
}

.quiz-fields {
  display: grid;
  gap: 9px;
}

.quiz-fields label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.quiz-fields input {
  width: 100%;
  min-height: 46px;
  margin-top: 5px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ded8ea;
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quiz-fields input:focus {
  border-color: rgba(8, 75, 201, 0.48);
  box-shadow: 0 0 0 3px rgba(8, 75, 201, 0.1);
}

.quiz-agree {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.quiz-agree a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.quiz-actions button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.quiz-back {
  flex: 0 0 124px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #d8d1e6 !important;
}

.quiz-next,
.quiz-submit {
  flex: 1;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red-dark), var(--red), #ff3030, var(--red));
  background-size: 220% 220%;
  box-shadow: 0 18px 34px rgba(218, 2, 2, 0.24);
  animation: redShift 5s ease infinite;
}

.quiz-next::after,
.quiz-submit::after {
  content: "";
  width: 18px;
  height: 18px;
  margin-left: 10px;
  background: currentColor;
  clip-path: polygon(14% 12%, 88% 50%, 14% 88%, 30% 50%);
}

.quiz-actions button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.quiz-next:disabled,
.quiz-back:disabled {
  cursor: default;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
  animation: none;
}

.quiz-next[hidden],
.quiz-submit[hidden] {
  display: none;
}

.quiz-status {
  min-height: 20px;
  margin: 0;
}

@media (max-width: 1020px) {
  .quiz-section {
    min-height: auto;
  }

  .quiz-card {
    grid-template-columns: 1fr;
  }

  .quiz-copy h2,
  .quiz-copy p {
    max-width: 760px;
  }

  .quiz-form {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .quiz-section {
    padding: 48px 0;
  }

  .quiz-card {
    width: min(100% - 24px, 1160px);
    padding: 18px;
    gap: 20px;
  }

  .quiz-copy h2 {
    font-size: 28px;
  }

  .quiz-copy p {
    font-size: 15px;
  }

  .quiz-benefits {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .quiz-benefits div {
    min-height: 70px;
  }

  .quiz-form {
    padding: 18px;
  }

  .quiz-step legend {
    font-size: 21px;
  }

  .quiz-option {
    min-height: 50px;
  }

  .quiz-actions {
    flex-direction: column;
  }

  .quiz-actions button,
  .quiz-back {
    width: 100%;
    flex-basis: auto;
  }
}
/* Slide 4 managed process */
.section-managed {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 244, 244, 0.72), rgba(255, 255, 255, 0) 30%),
    linear-gradient(250deg, rgba(8, 75, 201, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.managed-layout {
  width: min(1320px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(480px, 0.92fr) minmax(560px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.managed-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--blue-dark);
}

.managed-copy h2 {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(26px, 2vw, 31px);
  line-height: 1.14;
  font-weight: 800;
}

.managed-list {
  counter-reset: managedSteps;
  display: grid;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(45, 44, 61, 0.08);
  overflow: hidden;
}

.managed-list div {
  counter-increment: managedSteps;
  position: relative;
  min-height: 56px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-bottom: 1px solid rgba(232, 226, 240, 0.82);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.managed-list div:last-child {
  border-bottom: 0;
}

.managed-list div::before {
  content: counter(managedSteps, decimal-leading-zero);
  position: static;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(218, 2, 2, 0.08);
  border-radius: 50%;
  box-shadow: none;
  transform: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.managed-list div:hover {
  color: var(--blue-dark);
  transform: translateX(4px);
  background: #ffffff;
}

.managed-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.82fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 0;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 255, 0.86)),
    #ffffff;
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(45, 44, 61, 0.12);
}

.managed-media::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 150px;
  height: 150px;
  background: rgba(8, 75, 201, 0.08);
  border-radius: 50%;
  z-index: 0;
}

.managed-media::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 52%;
  height: 44%;
  background: rgba(218, 2, 2, 0.055);
  border-radius: 8px;
  z-index: 0;
}

.managed-quote,
.managed-person {
  position: relative;
  z-index: 1;
}

.managed-person {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  padding: 16px 16px 14px;
  background: #ffffff;
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.1);
}

.managed-person img {
  width: 100%;
  height: clamp(320px, 42svh, 430px);
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  background: linear-gradient(180deg, #f6f6f8, #ffffff);
  border-radius: 6px;
}

.managed-person figcaption {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  padding: 0 0 0 14px;
  color: var(--ink);
  background: transparent;
  border-left: 2px solid var(--red);
  border-right: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.managed-person figcaption strong {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.managed-person figcaption span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.managed-quote {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding: 26px 28px 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(45, 44, 61, 0.08);
}

.managed-quote::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--red);
  border-radius: 999px;
}

.managed-quote p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .section-managed {
    min-height: auto;
  }

  .managed-layout {
    width: min(1160px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .managed-copy h2 {
    max-width: 820px;
  }

  .managed-list {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-managed {
    padding: 48px 0;
  }

  .managed-copy h2 {
    font-size: 30px;
  }

  .managed-list {
    grid-template-columns: 1fr;
  }

  .managed-list div {
    min-height: 52px;
    grid-template-columns: 38px 1fr;
    font-size: 13px;
  }

  .managed-media {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .managed-media::before,
  .managed-media::after {
    content: none;
  }

  .managed-person,
  .managed-quote {
    grid-column: 1;
  }

  .managed-person img {
    height: 330px;
  }

  .managed-quote {
    padding: 20px 20px 22px;
  }

  .managed-quote p {
    font-size: 13px;
  }
}
/* Program capture form */
.program-capture {
  padding: 0 0 58px;
  background: #ffffff;
}

.program-capture-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.92), rgba(246, 244, 255, 0.86) 58%, #ffffff 100%);
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(45, 44, 61, 0.1);
}

.program-capture-copy .eyebrow {
  margin-bottom: 10px;
}

.program-capture-copy h2 {
  max-width: 520px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.12;
  font-weight: 800;
}

.program-capture-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.program-capture-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) minmax(190px, auto);
  gap: 10px;
  align-items: center;
}

.program-capture-form label {
  min-width: 0;
}

.program-capture-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.program-capture-form input:not([type="checkbox"]):focus {
  border-color: rgba(8, 75, 201, 0.46);
  box-shadow: 0 0 0 4px rgba(8, 75, 201, 0.1);
}

.program-capture-form .button {
  min-height: 52px;
  padding: 0 22px;
  white-space: nowrap;
}

.program-capture-agree {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: center;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.program-capture-agree input {
  margin: 0;
}

.program-capture-form .form-status {
  grid-column: 1 / -1;
}

@media (max-width: 1040px) {
  .program-capture-card {
    grid-template-columns: 1fr;
  }

  .program-capture-form {
    grid-template-columns: 1fr 1fr;
  }

  .program-capture-form .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .program-capture {
    padding-bottom: 44px;
  }

  .program-capture-card {
    width: min(100% - 24px, 1160px);
    padding: 18px;
  }

  .program-capture-form {
    grid-template-columns: 1fr;
  }
}
/* Slides 6-7 personal strategy */
.section-personal-strategy {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 58px 0;
  background:
    linear-gradient(115deg, rgba(246, 244, 255, 0.9), rgba(255, 255, 255, 0) 42%),
    linear-gradient(245deg, rgba(255, 244, 244, 0.82), rgba(255, 255, 255, 0) 38%),
    #ffffff;
}

.personal-strategy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.personal-strategy-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.personal-strategy-head h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 1.7vw, 24px);
  line-height: 1.14;
  font-weight: 800;
}

.personal-strategy-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.personal-strategy-panel {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(45, 44, 61, 0.1);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.personal-strategy-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 75, 201, 0.18);
  box-shadow: 0 28px 70px rgba(45, 44, 61, 0.14);
}

.personal-strategy-panel::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(8, 75, 201, 0.07);
}

.personal-approach-card::after {
  background: rgba(218, 2, 2, 0.07);
}

.strategy-label {
  width: fit-content;
  min-height: 30px;
  display: flex;
  align-items: center;
  margin: -2px 0 12px;
  padding: 0 12px;
  color: var(--blue-dark);
  background: rgba(8, 75, 201, 0.08);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.personal-strategy-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.personal-strategy-panel p,
.personal-strategy-panel li {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
}

.personal-strategy-panel ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.personal-strategy-panel li {
  position: relative;
  padding-left: 24px;
}

.personal-strategy-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(218, 2, 2, 0.08);
}

.scenario-card p {
  margin: 0 0 16px;
}

.scenario-mini-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.scenario-mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue-dark);
  background: #f6f4ff;
  border: 1px solid rgba(8, 75, 201, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .section-personal-strategy {
    min-height: auto;
  }

  .personal-strategy-layout {
    grid-template-columns: 1fr 1fr;
  }

  .personal-strategy-head {
    grid-column: 1 / -1;
  }

  .personal-strategy-panel {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .section-personal-strategy {
    padding: 48px 0;
  }

  .personal-strategy-layout {
    grid-template-columns: 1fr;
  }

  .personal-strategy-head h2 {
    font-size: 28px;
  }

  .personal-strategy-panel {
    min-height: auto;
    padding: 20px;
  }

  .personal-strategy-panel h3 {
    font-size: 21px;
  }
}
/* Intent cards without background numbers */
.intent-goals li::before {
  display: none;
}

.intent-goals p {
  padding-right: 0;
}

@media (max-width: 720px) {
  .intent-goals p {
    padding-right: 0;
  }
}

/* Program steps preview in How-we-work style */
.program-steps-preview {
  background: #ffffff;
}

.program-steps-preview .program-head {
  margin-bottom: 30px;
}

.program-steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-step-card {
  min-height: 198px;
  background: rgba(255, 255, 255, 0.96);
}

.program-step-card .step-title-row {
  margin-bottom: 16px;
}

.program-step-card h3 {
  font-size: 18px;
}

.program-step-card p {
  line-height: 1.45;
}

@media (max-width: 1020px) {
  .program-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
.program-steps-grid {
    grid-template-columns: 1fr;
  }

  .program-step-card {
    min-height: auto;
  }
}

/* Responsive tablet fixes */
@media (max-width: 1180px) {
  .program-head h2 {
    white-space: normal;
  }

  .intent-polished-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .intent-goals {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .intent-story {
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    min-height: 430px;
  }

  .intent-visual-card {
    margin-top: 112px;
  }

  .intent-quote {
    width: min(100%, 420px);
    max-width: 100%;
    right: 0;
  }
}

@media (max-width: 1020px) {
  #program {
    overflow-x: clip;
  }
}

@media (max-width: 720px) {
  .intent-polished-grid,
  .intent-goals,
  .intent-story {
    grid-template-columns: 1fr;
  }

  .intent-visual-card {
    margin-top: 0;
  }

  .intent-quote {
    width: 100%;
    max-width: 100%;
  }
}



/* Final mobile layout fixes after live-device review */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-copy,
  .hero-lead,
  h1 {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(28px, 7.7vw, 32px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .hero-content {
    padding-top: 34px;
  }

  .hero-form {
    width: 100%;
    padding: 18px;
  }

  .hero-form-title {
    font-size: 20px;
    line-height: 1.18;
  }

  .section-market {
    min-height: auto;
    padding: 46px 0;
  }

  .market-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .market-copy,
  .market-cards,
  .market-card {
    min-width: 0;
    width: 100%;
  }

  .market-copy h2 {
    max-width: 100%;
    font-size: clamp(27px, 8vw, 32px);
    line-height: 1.12;
  }

  .market-cards {
    gap: 12px;
  }

  .market-card {
    padding: 18px 18px 18px 20px;
  }

  .market-card p,
  .market-card-lead p {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 27px;
  }

  .hero-form-title {
    font-size: 18px;
  }

  .market-copy h2 {
    font-size: 26px;
  }
}


/* Scenario tags mobile alignment */
@media (max-width: 720px) {
  .scenario-mini-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .scenario-mini-tags span {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding: 8px 10px;
    text-align: center;
    line-height: 1.2;
  }

  .scenario-mini-tags span:nth-child(3),
  .scenario-mini-tags span:nth-child(6) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .scenario-mini-tags {
    gap: 8px;
  }

  .scenario-mini-tags span {
    font-size: 11px;
    padding-inline: 8px;
  }
}


/* Scenario tags desktop alignment */
.scenario-mini-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.scenario-mini-tags span {
  width: 100%;
  min-height: 42px;
  justify-content: center;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.2;
}

.scenario-mini-tags span:nth-child(3),
.scenario-mini-tags span:nth-child(6) {
  grid-column: 1 / -1;
}

/* Rabota HR audit landing */
.rabota-page {
  background: #ffffff;
}

.rabota-page .header-descriptor {
  max-width: 210px;
}

.rabota-hero {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 54px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(218, 2, 2, 0.1), transparent 30%),
    radial-gradient(circle at 94% 15%, rgba(8, 75, 201, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
  overflow: hidden;
}

.rabota-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 46px;
  align-items: center;
}

.rabota-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.02;
  -webkit-text-fill-color: transparent;
}

.rabota-hero-lead {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.48;
  font-weight: 600;
}

.rabota-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 690px;
}

.rabota-badges span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(45, 44, 61, 0.08);
}

.rabota-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(45, 44, 61, 0.14);
}

.rabota-founder {
  margin: 0;
  display: grid;
  align-content: end;
  min-width: 0;
  padding: 14px;
  background: linear-gradient(180deg, #f6f6f8, #ffffff);
  border-radius: 8px;
  overflow: hidden;
}

.rabota-founder img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center bottom;
}

.rabota-founder figcaption {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.rabota-founder strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
}

.rabota-founder span {
  color: var(--muted);
}

.rabota-hero-form {
  width: 100%;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 11px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(232, 226, 240, 0.95);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
}

.rabota-hero-form .hero-form-title {
  margin-bottom: 2px;
  font-size: 22px;
}

.rabota-hero-form label {
  margin: 0;
}

.rabota-hero-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: #fbfbff;
  border: 1px solid #ded8ea;
  border-radius: 8px;
  outline: none;
}

.rabota-hero-form .button,
.rabota-final-form .button {
  min-height: 54px;
  border-radius: 8px;
}

.rabota-stats {
  padding: 22px 0;
  background: var(--ink);
  color: #ffffff;
}

.rabota-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.rabota-stats-grid div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.rabota-stats-grid strong {
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.rabota-stats-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

.rabota-audit-section,
.rabota-method-section,
.rabota-owner-section,
.rabota-final-section {
  min-height: calc(100svh - 77px);
  display: flex;
  align-items: center;
  padding: 58px 0;
}

.rabota-audit-section {
  background: #ffffff;
}

.rabota-audit-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
  gap: 38px;
  align-items: center;
}

.rabota-audit-copy h2,
.rabota-method-copy h2,
.rabota-owner-card h2,
.rabota-final-copy h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}

.rabota-audit-copy h2,
.rabota-final-copy h2 {
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rabota-audit-copy p,
.rabota-method-copy > p,
.rabota-final-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.rabota-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rabota-problem-grid article {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(45, 44, 61, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rabota-problem-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 2, 2, 0.26);
  box-shadow: 0 22px 54px rgba(45, 44, 61, 0.12);
}

.rabota-problem-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.rabota-problem-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.rabota-method-section {
  background:
    linear-gradient(120deg, rgba(255, 244, 244, 0.84), rgba(255, 255, 255, 0) 34%),
    linear-gradient(250deg, rgba(8, 75, 201, 0.08), rgba(255, 255, 255, 0) 40%),
    #f8f9ff;
}

.rabota-method-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.rabota-team-photo {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(45, 44, 61, 0.14);
}

.rabota-team-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rabota-steps {
  counter-reset: auditSteps;
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rabota-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
}

.rabota-steps span {
  color: var(--red);
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.rabota-steps p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.rabota-owner-section {
  background: #ffffff;
}

.rabota-owner-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(45, 44, 61, 0.16);
}

.rabota-owner-card .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.rabota-owner-card h2 {
  color: #ffffff;
}

.rabota-owner-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rabota-owner-list li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 16px 12px 44px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 700;
}

.rabota-owner-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(218, 2, 2, 0.16);
}

.rabota-final-section {
  min-height: auto;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.9), rgba(246, 244, 255, 0.86) 58%, #ffffff 100%);
}

.rabota-final-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(45, 44, 61, 0.1);
}

.rabota-final-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) minmax(210px, auto);
  gap: 10px;
  align-items: center;
}

.rabota-final-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(232, 226, 240, 0.98);
  border-radius: 8px;
  outline: none;
}

.rabota-agree,
.rabota-final-form .form-status {
  grid-column: 1 / -1;
}

.rabota-agree {
  margin: 0;
  align-items: center;
}

@media (max-width: 1120px) {
  .rabota-hero-grid,
  .rabota-audit-grid,
  .rabota-method-grid,
  .rabota-owner-card,
  .rabota-final-card {
    grid-template-columns: 1fr;
  }

  .rabota-hero-card {
    max-width: 760px;
  }

  .rabota-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rabota-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rabota-final-form {
    grid-template-columns: 1fr 1fr;
  }

  .rabota-final-form .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .rabota-hero,
  .rabota-audit-section,
  .rabota-method-section,
  .rabota-owner-section,
  .rabota-final-section {
    min-height: auto;
    padding: 46px 0;
  }

  .rabota-hero-grid {
    gap: 24px;
  }

  .rabota-hero-copy h1 {
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.08;
  }

  .rabota-hero-lead {
    font-size: 16px;
  }

  .rabota-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rabota-badges span {
    justify-content: center;
    text-align: center;
  }

  .rabota-hero-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .rabota-founder img {
    height: 300px;
  }

  .rabota-stats-grid,
  .rabota-problem-grid,
  .rabota-final-form {
    grid-template-columns: 1fr;
  }

  .rabota-stats-grid div {
    min-height: 104px;
  }

  .rabota-audit-copy h2,
  .rabota-method-copy h2,
  .rabota-owner-card h2,
  .rabota-final-copy h2 {
    font-size: 28px;
  }

  .rabota-problem-grid article {
    min-height: auto;
  }

  .rabota-steps li {
    grid-template-columns: 52px 1fr;
    min-height: auto;
    padding: 14px;
  }

  .rabota-steps span {
    font-size: 22px;
  }

  .rabota-owner-card,
  .rabota-final-card {
    width: min(100% - 24px, 1160px);
    padding: 20px;
  }
}

/* Rabota reference-style compact page */
.rabota-ref-page {
  background: #ffffff;
}

.rabota-ref-header .header-inner {
  min-height: 90px;
}

.rabota-ref-header .header-descriptor {
  color: #333333;
  font-weight: 500;
}

.audit-hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

.audit-hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/rabota-ref/bg_3.html") center center / cover no-repeat;
  opacity: 0.98;
}

.audit-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.02fr);
  gap: 42px;
  align-items: center;
  min-height: 610px;
}

.audit-person-side {
  align-self: end;
}

.audit-person-card {
  position: relative;
  width: min(100%, 470px);
  margin: 0;
  padding-top: 16px;
}

.audit-person-card img {
  width: 100%;
  height: 580px;
  object-fit: contain;
  object-position: center bottom;
}

.audit-person-card figcaption {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 50px;
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  color: #333333;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.audit-person-card strong {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.audit-person-card span {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.audit-hero-copy {
  position: relative;
  min-width: 0;
  padding: 22px 0 28px;
}

.audit-owner-label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 16px;
  color: #ffffff;
  background: var(--red);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-hero-copy h1 {
  max-width: 650px;
  margin: 0 0 22px;
  color: #000000;
  background: none;
  -webkit-text-fill-color: #000000;
  font-size: clamp(28px, 2.55vw, 31px);
  line-height: 1.27;
  font-weight: 500;
}

.audit-hero-text {
  max-width: 660px;
  margin: 0 0 26px;
  color: #333333;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}

.audit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.audit-hero-actions .button {
  min-width: 300px;
  min-height: 62px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
}

.audit-hero-actions span {
  color: var(--red);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.audit-hero-icon {
  position: absolute;
  right: 4px;
  bottom: -4px;
  width: 128px;
  opacity: 0.95;
}

.audit-reveal {
  min-height: 550px;
  display: flex;
  align-items: center;
  background: #ffffff;
}

.audit-reveal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.audit-reveal-title h2 {
  max-width: 520px;
  margin: 0;
  color: #000000;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.18;
  font-weight: 800;
}

.audit-reveal-panel {
  padding: 34px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.audit-reveal-panel p {
  margin: 0 0 22px;
  color: #333333;
  font-size: 20px;
  line-height: 1.42;
  font-weight: 400;
}

.audit-reveal-panel strong {
  color: var(--red);
  font-weight: 800;
}

.audit-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.audit-topic-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 34px;
  color: #333333;
  background: #f7f7f7;
  border-left: 4px solid var(--red);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.audit-form-section {
  position: relative;
  min-height: 333px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

.audit-form-bg {
  position: absolute;
  inset: 0;
  background: url("assets/team-sessions.html") center center / cover no-repeat;
  opacity: 0.16;
}

.audit-form-box {
  position: relative;
  z-index: 1;
  text-align: center;
}

.audit-form-box h2 {
  margin: 0 0 18px;
  color: #000000;
  font-size: 32px;
  line-height: 1.55;
  font-weight: 800;
}

.audit-form-box > p {
  margin: 0 0 26px;
  color: #000000;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 400;
}

.audit-horizontal-form {
  width: min(1024px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 322px;
  gap: 20px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.audit-horizontal-form label {
  margin: 0;
}

.audit-horizontal-form input:not([type="checkbox"]) {
  width: 100%;
  height: 60px;
  padding: 0 18px;
  color: #000000;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 10px;
  outline: none;
}

.audit-horizontal-form .button {
  min-height: 60px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}

.audit-form-agree,
.audit-horizontal-form .form-status {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 4px;
}

.rabota-ref-footer {
  background: #ffffff;
}

@media (max-width: 1020px) {
  .audit-hero,
  .audit-hero-grid {
    min-height: auto;
  }

  .audit-hero {
    padding: 54px 0 0;
  }

  .audit-hero-grid,
  .audit-reveal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .audit-person-side {
    order: 2;
    justify-self: center;
  }

  .audit-hero-copy {
    order: 1;
  }

  .audit-person-card img {
    height: 520px;
  }

  .audit-reveal {
    min-height: auto;
    padding: 64px 0;
  }

  .audit-reveal-title h2 {
    max-width: 760px;
  }

  .audit-horizontal-form {
    grid-template-columns: 1fr;
    width: min(600px, 100%);
  }
}

@media (max-width: 720px) {
  .rabota-ref-header .header-inner {
    min-height: auto;
  }

  .audit-hero {
    padding: 40px 0 0;
  }

  .audit-hero-copy h1 {
    font-size: 22px;
    line-height: 1.28;
  }

  .audit-hero-text {
    font-size: 15px;
  }

  .audit-owner-label {
    font-size: 10px;
  }

  .audit-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .audit-hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .audit-hero-actions span {
    text-align: center;
    font-size: 16px;
  }

  .audit-hero-icon {
    width: 88px;
    right: 0;
    bottom: -10px;
  }

  .audit-person-card img {
    height: 448px;
  }

  .audit-person-card figcaption {
    left: 10px;
    right: 10px;
    bottom: 32px;
    padding: 14px 16px;
  }

  .audit-person-card strong {
    font-size: 18px;
  }

  .audit-person-card span {
    font-size: 12px;
  }

  .audit-reveal {
    padding: 46px 0;
  }

  .audit-reveal-title h2 {
    font-size: 25px;
  }

  .audit-reveal-panel {
    padding: 22px;
  }

  .audit-reveal-panel p {
    font-size: 16px;
  }

  .audit-topic-grid {
    grid-template-columns: 1fr;
  }

  .audit-form-section {
    min-height: auto;
    padding: 46px 0;
  }

  .audit-form-box h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .audit-form-box > p {
    font-size: 23px;
  }
}


/* Rabota Varvara photo adjustment */
.audit-person-card img {
  height: 520px;
  object-fit: cover;
  object-position: center top;
  background: #f4f4f5;
}

.rabota-ref-page .audit-person-card figcaption {
  bottom: 34px;
}

@media (max-width: 720px) {
  .audit-person-card img {
    height: 390px;
  }
}

/* Rabota transparent HR director image */
.audit-person-card img {
  height: 580px;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

.audit-person-card {
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.18));
}

.audit-person-card figcaption {
  filter: none;
}

@media (max-width: 720px) {
  .audit-person-card img {
    height: 430px;
  }
}

/* Rabota hero photo prominence */
.rabota-ref-page .audit-hero-grid {
  grid-template-columns: minmax(430px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  min-height: calc(100vh - 96px);
}

.rabota-ref-page .audit-person-side {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.rabota-ref-page .audit-person-card {
  width: min(620px, 100%);
  margin-left: -28px;
}

.rabota-ref-page .audit-person-card img {
  height: clamp(660px, 77vh, 780px);
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.rabota-ref-page .audit-hero-icon {
  display: none;
}

@media (max-width: 1180px) {
  .rabota-ref-page .audit-hero-grid {
    grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  }

  .rabota-ref-page .audit-person-card {
    margin-left: -12px;
  }

  .rabota-ref-page .audit-person-card img {
    height: clamp(560px, 70vh, 680px);
  }
}

@media (max-width: 1020px) {
  .rabota-ref-page .audit-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rabota-ref-page .audit-person-side {
    align-items: center;
  }

  .rabota-ref-page .audit-person-card {
    margin-left: 0;
    width: min(560px, 100%);
  }

  .rabota-ref-page .audit-person-card img {
    height: 540px;
  }
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-person-card img {
    height: 460px;
  }
}

/* Rabota hero photo vertical lift */
.rabota-ref-page .audit-person-side {
  align-items: center;
  padding-top: 10px;
}

.rabota-ref-page .audit-person-card {
  transform: translateY(-46px);
}

@media (max-width: 1180px) {
  .rabota-ref-page .audit-person-card {
    transform: translateY(-34px);
  }
}

@media (max-width: 1020px) {
  .rabota-ref-page .audit-person-side {
    padding-top: 0;
  }

  .rabota-ref-page .audit-person-card {
    transform: translateY(-18px);
  }
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-person-card {
    transform: translateY(-10px);
  }
}

/* Rabota hero photo bottom alignment with CTA note */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-person-card {
    transform: translateY(-105px);
  }

  .rabota-ref-page .audit-person-card img {
    height: clamp(560px, 67vh, 620px);
  }
}

/* Rabota hero stable desktop photo baseline */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-person-card img {
    height: 560px;
  }
}

/* Rabota hero compact first screen with photo on block baseline */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-hero {
    min-height: auto;
    height: calc(100vh - 148px);
    max-height: 640px;
    padding: 0;
    overflow: visible;
  }

  .rabota-ref-page .audit-hero-grid {
    min-height: 100%;
    height: 100%;
    align-items: end;
  }

  .rabota-ref-page .audit-person-side {
    align-self: stretch;
    align-items: flex-end;
    padding-top: 0;
  }

  .rabota-ref-page .audit-person-card {
    transform: none;
    margin-bottom: 0;
  }

  .rabota-ref-page .audit-person-card img {
    height: min(560px, calc(100vh - 190px));
  }

  .rabota-ref-page .audit-hero-copy {
    align-self: center;
    margin-bottom: 0;
  }
}

/* Rabota compact mobile first screen */
@media (max-width: 720px) {
  .rabota-ref-page .audit-hero {
    padding: 20px 0 0;
  }

  .rabota-ref-page .audit-hero-grid {
    gap: 10px;
  }

  .rabota-ref-page .audit-person-card {
    transform: none;
  }

  .rabota-ref-page .audit-person-card img {
    height: 320px;
  }

  .rabota-ref-page .audit-person-card figcaption {
    bottom: 12px;
  }
}

/* Rabota extra compact narrow mobile hero */
@media (max-width: 720px) {
  .rabota-ref-page .audit-person-card img {
    height: 285px;
  }
}

/* Rabota hero fills desktop viewport */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-hero {
    height: calc(100vh - 91px);
    max-height: none;
  }

  .rabota-ref-page .audit-hero-grid {
    height: 100%;
  }
}

/* Rabota larger Varvara hero photo */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-person-card {
    width: min(700px, 100%);
    margin-left: -72px;
  }

  .rabota-ref-page .audit-person-card img {
    height: min(640px, calc(100vh - 130px));
  }
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-person-card img {
    height: 330px;
  }
}

/* Rabota wider desktop hero photo column */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-hero-grid {
    max-width: 1320px;
    width: min(1320px, calc(100% - 72px));
    grid-template-columns: minmax(610px, 0.98fr) minmax(560px, 1.02fr);
    gap: 34px;
  }

  .rabota-ref-page .audit-person-side {
    width: 100%;
  }

  .rabota-ref-page .audit-person-card {
    width: min(720px, 100%);
    margin-left: -58px;
  }

  .rabota-ref-page .audit-person-card img {
    width: 100%;
    height: min(680px, calc(100vh - 118px));
  }
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-person-card img {
    height: min(330px, calc(100vh - 515px));
  }
}

/* Rabota keep enlarged photo inside viewport */
@media (min-width: 1021px) {
  .rabota-ref-page .audit-person-card {
    margin-left: -34px;
  }
}

/* Rabota second screen: consultation benefits */
.consultation-benefits {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 58px 0;
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 56%, #f1f5ff 100%);
  overflow: hidden;
}

.consultation-benefits-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1.1fr);
  gap: 58px;
  align-items: center;
}

.consultation-benefits-copy {
  max-width: 610px;
}

.consultation-benefits-copy .section-kicker {
  margin: 0 0 14px;
  color: #0454c9;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.consultation-benefits-copy h2 {
  margin: 0 0 22px;
  color: #2b2b3a;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.consultation-benefits-lead {
  margin: 0 0 20px;
  color: #333344;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
}

.consultation-benefits-intro {
  margin: 0 0 14px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.consultation-benefits-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultation-benefits-list li {
  position: relative;
  padding: 11px 14px 11px 38px;
  color: #1f2433;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(4, 84, 201, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(14, 31, 71, 0.06);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.consultation-benefits-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(237, 28, 36, 0.08);
  transform: translateY(-50%);
}

.consultation-benefits-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-benefits-visual::before {
  content: "";
  position: absolute;
  inset: 11% 0 5% 11%;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.09), rgba(4, 84, 201, 0.12));
  border-radius: 8px;
  transform: rotate(-2deg);
}

.consultation-benefits-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(22, 30, 50, 0.18);
}

@media (max-width: 1020px) {
  .consultation-benefits {
    min-height: auto;
    padding: 58px 0;
  }

  .consultation-benefits-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .consultation-benefits-copy {
    max-width: 760px;
  }

  .consultation-benefits-visual {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .consultation-benefits {
    padding: 44px 0;
  }

  .consultation-benefits-copy h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .consultation-benefits-lead {
    font-size: 17px;
  }

  .consultation-benefits-list li {
    padding: 10px 12px 10px 34px;
    font-size: 14px;
  }

  .consultation-benefits-visual img {
    width: 100%;
  }
}

/* Rabota benefits compact desktop screen */
@media (min-width: 1021px) {
  .consultation-benefits {
    min-height: 680px;
    padding: 38px 0;
  }

  .consultation-benefits-grid {
    gap: 46px;
  }

  .consultation-benefits-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(32px, 2.8vw, 42px);
    line-height: 1.1;
  }

  .consultation-benefits-lead {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.38;
  }

  .consultation-benefits-intro {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .consultation-benefits-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .consultation-benefits-list li {
    padding: 10px 12px 10px 34px;
    font-size: 13px;
  }

  .consultation-benefits-visual {
    min-height: 430px;
  }

  .consultation-benefits-visual img {
    width: min(100%, 590px);
  }
}

/* Main refine 2026-06-24 */
.section-intent {
  padding: 56px 0 62px;
}

.intent-head {
  margin-bottom: 24px;
}

.intent-polished-grid {
  grid-template-columns: minmax(380px, 0.9fr) minmax(460px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.intent-goals {
  max-width: none;
  gap: 12px;
}

.intent-goals li {
  min-height: 0;
  padding: 18px 20px;
}

.intent-goals p {
  padding-right: 36px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.intent-story {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 480px;
  padding: 24px 24px 0;
  background: linear-gradient(135deg, rgba(246, 244, 255, 0.9), rgba(255, 244, 244, 0.76));
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 62px rgba(45, 44, 61, 0.1);
  overflow: hidden;
}

.intent-visual-card {
  width: min(100%, 520px);
  margin: 0 auto;
}

.intent-visual-card img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  object-position: center bottom;
}

.intent-quote {
  display: none;
}

.section-market {
  min-height: auto;
  padding: 52px 0;
}

.market-layout {
  gap: 36px;
  align-items: center;
}

.market-copy h2 {
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.12;
}

.market-cards {
  gap: 14px;
}

.market-card {
  min-height: 0;
  padding: 20px 22px;
}

.market-card p,
.market-card-lead p {
  font-size: 17px;
  line-height: 1.42;
  font-weight: 600;
}

.quiz-form {
  grid-template-rows: auto auto 1fr auto auto;
}

.quiz-progress-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 2px;
}

.quiz-progress-head [data-quiz-counter] {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, rgba(8, 75, 201, 0.08), rgba(218, 2, 2, 0.06));
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-copy > [data-quiz-counter] {
  display: none;
}

.section-managed {
  min-height: calc(100svh - 77px);
  padding: 44px 0;
}

.managed-layout {
  grid-template-columns: minmax(520px, 1.04fr) minmax(430px, 0.96fr);
  gap: 44px;
  align-items: center;
}

.managed-copy h2 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.1;
}

.managed-list {
  max-width: 740px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.07);
}

.managed-list div {
  min-height: 58px;
  font-size: 13px;
  font-weight: 700;
}

.managed-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 560px;
  padding: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 255, 0.88));
  overflow: hidden;
}

.managed-media::before {
  inset: 26px 28px auto auto;
  width: 170px;
  height: 170px;
}

.managed-media::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 36%;
  border-radius: 0;
}

.managed-quote {
  display: none;
}

.managed-person {
  width: 100%;
  min-height: 100%;
  padding: 28px 28px 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.managed-person img {
  height: clamp(440px, 58svh, 610px);
  background: transparent;
  object-fit: contain;
  object-position: center bottom;
}

.managed-person figcaption {
  width: fit-content;
  margin: -18px auto 0;
  padding: 12px 22px 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(45, 44, 61, 0.12);
}

.clients-head h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1020px) {
  .intent-polished-grid,
  .managed-layout {
    grid-template-columns: 1fr;
  }

  .intent-story {
    min-height: 420px;
  }

  .managed-list {
    max-width: none;
  }

  .managed-media {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .section-intent,
  .section-market,
  .section-managed {
    padding: 46px 0;
  }

  .intent-polished-grid {
    gap: 24px;
  }

  .intent-goals p {
    padding-right: 28px;
    font-size: 16px;
  }

  .intent-story {
    min-height: 360px;
    padding: 18px 16px 0;
  }

  .intent-visual-card img {
    max-height: 380px;
  }

  .market-layout {
    gap: 26px;
  }

  .market-card p,
  .market-card-lead p {
    font-size: 16px;
    font-weight: 600;
  }

  .quiz-progress-head {
    justify-content: flex-start;
  }

  .managed-list {
    grid-template-columns: 1fr;
  }

  .managed-person {
    padding: 20px 16px 18px;
  }

  .managed-person img {
    height: 430px;
  }
}

/* Main refine 2026-06-24 round 2 */
.section-intent {
  position: relative;
}

.intent-head {
  position: relative;
  z-index: 6;
}

.intent-polished-grid {
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.intent-goals {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intent-goals li:last-child {
  margin-bottom: 0;
}

.intent-story {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 500px;
  overflow: visible;
}

.intent-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(246, 244, 255, 0.92), rgba(255, 244, 244, 0.78));
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 62px rgba(45, 44, 61, 0.1);
}

.intent-visual-card {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.intent-visual-card img {
  max-height: 454px;
}

.intent-visual-card figcaption {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  min-width: 250px;
  padding: 13px 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(45, 44, 61, 0.12);
  transform: translateX(-50%);
  text-align: left;
}

.intent-visual-card figcaption strong,
.intent-visual-card figcaption span {
  display: block;
}

.intent-visual-card figcaption strong {
  font-size: 18px;
  line-height: 1.12;
  font-weight: 800;
}

.intent-visual-card figcaption span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.managed-layout {
  grid-template-columns: minmax(430px, 0.9fr) minmax(560px, 1.1fr);
  grid-template-areas: "media copy";
  align-items: stretch;
}

.managed-copy {
  grid-area: copy;
  align-self: center;
}

.managed-media {
  grid-area: media;
  align-self: stretch;
  min-height: 620px;
  overflow: hidden;
}

.managed-person {
  position: relative;
  min-height: 620px;
  justify-content: flex-end;
}

.managed-person img {
  height: 590px;
  max-height: calc(100svh - 150px);
  width: 100%;
  object-position: center bottom;
}

.managed-person figcaption {
  position: absolute;
  left: 28px;
  bottom: 22px;
  margin: 0;
}

.clients-head h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(32px, 3.2vw, 48px);
}

.clients-head h2 span {
  display: inline;
}

@media (max-width: 1020px) {
  .intent-polished-grid {
    align-items: start;
  }

  .intent-goals {
    display: grid;
    height: auto;
  }

  .intent-story {
    min-height: 460px;
    overflow: hidden;
  }

  .managed-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "copy";
  }

  .managed-media,
  .managed-person {
    min-height: 520px;
  }

  .managed-person img {
    height: 500px;
  }

  .clients-head h2 {
    white-space: normal;
  }

  .clients-head h2 span {
    display: block;
  }
}

@media (max-width: 720px) {
  .intent-story {
    min-height: 410px;
  }

  .intent-visual-card img {
    max-height: 390px;
  }

  .intent-visual-card figcaption {
    bottom: 14px;
    min-width: 220px;
    padding: 11px 16px;
  }

  .managed-media,
  .managed-person {
    min-height: 470px;
  }

  .managed-person img {
    height: 460px;
  }

  .clients-head h2 {
    font-size: 30px;
    line-height: 1.12;
  }
}

/* Main refine 2026-06-24 round 2 alignment fix */
.managed-person {
  padding-bottom: 0;
}

.managed-person img {
  display: block;
}

/* Main refine 2026-06-24 round 4 */
.managed-media {
  background: #ffffff;
}

.managed-media::before {
  z-index: 3;
  background: linear-gradient(135deg, #084bc9, #2f75ff);
  box-shadow: 0 18px 42px rgba(8, 75, 201, 0.22);
}

.managed-media::after {
  content: none;
}

.managed-person {
  position: relative;
  z-index: 1;
}

.managed-person figcaption {
  position: absolute;
  left: auto;
  right: 52px;
  top: 62px;
  bottom: auto;
  z-index: 4;
  width: 126px;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  text-align: center;
}

.managed-person figcaption strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.08;
}

.managed-person figcaption span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.2;
}

.clients-head h2 {
  width: 100%;
  max-width: none;
  overflow: visible;
  white-space: normal;
  color: var(--ink);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  text-align: left;
}

.clients-head h2 span:first-child {
  color: var(--red);
}

.clients-head h2 span:last-child {
  color: var(--blue-dark);
}

@media (min-width: 1021px) {
  .clients-head h2 {
    white-space: nowrap;
    font-size: clamp(30px, 3vw, 44px);
  }

  .clients-head h2 span {
    display: inline;
  }
}

@media (max-width: 720px) {
  .managed-person figcaption {
    right: 28px;
    top: 46px;
    width: 112px;
    min-height: 112px;
    padding: 13px;
  }

  .managed-person figcaption strong {
    font-size: 15px;
  }
}

/* Main refine 2026-06-24 round 5: clients title width */
.clients-head {
  width: 100%;
  max-width: none;
  text-align: left;
}

@media (min-width: 1021px) {
  .clients-head h2 {
    width: 100%;
    max-width: none;
  }
}

/* Main refine 2026-06-24 round 6 */
.managed-media::before {
  z-index: 1;
  border-radius: 50%;
  background: rgba(8, 75, 201, 0.08);
  box-shadow: none;
}

.managed-person img {
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.managed-person figcaption {
  left: 28px;
  right: auto;
  top: auto;
  bottom: 22px;
  z-index: 4;
  width: auto;
  min-width: 210px;
  min-height: 0;
  display: grid;
  gap: 3px;
  align-items: start;
  justify-content: start;
  padding: 12px 20px 12px 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(45, 44, 61, 0.12);
  text-align: left;
}

.managed-person figcaption strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
}

.managed-person figcaption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.clients-head h2,
.clients-head h2 span,
.clients-head h2 span:first-child,
.clients-head h2 span:last-child {
  color: var(--red);
  -webkit-text-fill-color: var(--red);
}

@media (max-width: 720px) {
  .managed-person figcaption {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
    width: auto;
    min-width: 0;
    padding: 11px 15px;
  }
}

/* Main refine 2026-06-24 round 7: intent block split into title and content zones */
.section-intent {
  padding: 58px 0 64px;
}

.intent-stage {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 30px;
}

.intent-head {
  grid-row: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}

.intent-title {
  max-width: 1080px;
}

.intent-polished-grid {
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  gap: 44px;
  align-items: stretch;
  margin: 0;
}

.intent-goals {
  align-self: stretch;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
  max-width: none;
}

.intent-goals li {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 18px 20px;
}

.intent-goals p {
  font-weight: 500;
}

.intent-story {
  align-self: stretch;
  min-height: 500px;
  margin: 0;
  padding: 24px 24px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.intent-story::before {
  inset: 0;
}

.intent-visual-card {
  width: min(100%, 540px);
  height: 100%;
  margin: 0 auto;
}

.intent-visual-card img {
  max-height: 470px;
}

@media (max-width: 1020px) {
  .intent-stage {
    row-gap: 24px;
  }

  .intent-polished-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intent-goals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }

  .intent-story {
    min-height: 440px;
  }
}

@media (max-width: 720px) {
  .section-intent {
    padding: 48px 0 54px;
  }

  .intent-stage {
    row-gap: 20px;
  }

  .intent-polished-grid {
    gap: 22px;
  }

  .intent-goals {
    grid-template-columns: 1fr;
  }

  .intent-story {
    min-height: 390px;
    padding: 18px 16px 0;
  }

  .intent-visual-card img {
    max-height: 360px;
  }
}

/* Main refine 2026-06-24 round 8: align intent cards with photo module */
.intent-goals {
  margin: 0;
  padding: 0;
  justify-content: stretch;
  list-style: none;
}

/* Main refine 2026-06-24 round 9: managed process photo-only media */
.managed-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 620px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.managed-media::before,
.managed-media::after {
  content: none;
  display: none;
}

.managed-person {
  width: min(100%, 520px);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.managed-person img {
  width: 100%;
  height: min(610px, calc(100svh - 150px));
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 28px 74px rgba(45, 44, 61, 0.18), 0 12px 32px rgba(8, 75, 201, 0.08);
}

.managed-person figcaption {
  display: none;
}

@media (max-width: 1020px) {
  .managed-media {
    min-height: auto;
  }

  .managed-person {
    width: min(100%, 560px);
  }

  .managed-person img {
    height: 520px;
  }
}

@media (max-width: 720px) {
  .managed-person {
    width: 100%;
  }

  .managed-person img {
    height: 430px;
    box-shadow: 0 20px 52px rgba(45, 44, 61, 0.16), 0 8px 22px rgba(8, 75, 201, 0.07);
  }
}

/* Main refine 2026-06-24 round 10: return managed photo label */
.managed-person {
  position: relative;
}

.managed-person figcaption {
  position: absolute;
  left: 24px;
  right: auto;
  top: auto;
  bottom: 24px;
  z-index: 3;
  width: auto;
  min-width: 210px;
  min-height: 0;
  display: grid;
  gap: 3px;
  align-items: start;
  justify-content: start;
  margin: 0;
  padding: 12px 20px 12px 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(45, 44, 61, 0.14);
  text-align: left;
  pointer-events: none;
}

.managed-person figcaption strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
  font-weight: 800;
}

.managed-person figcaption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 720px) {
  .managed-person figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    min-width: 0;
    padding: 11px 15px;
  }
}

/* Main refine 2026-06-24 round 11: fixed intent title line break */
.intent-title {
  max-width: 980px;
  line-height: 1.08;
}

.intent-title br {
  display: block;
}

@media (max-width: 720px) {
  .intent-title {
    font-size: clamp(31px, 8.2vw, 38px);
    line-height: 1.08;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .intent-title {
    font-size: 30px;
  }
}

/* Main refine 2026-06-24 round 12: keep intent title two-line on phones */
@media (max-width: 720px) {
  .intent-title {
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.12;
  }
}

/* Rabota 2026-06-24: hero open form and consultation copy */
.rabota-ref-page .audit-owner-label {
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0;
}

.rabota-ref-page .audit-hero-copy h1 {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.06;
  font-weight: 800;
}

.rabota-ref-page .audit-hero-text {
  margin-bottom: 18px;
}

.rabota-ref-page .audit-hero-form {
  width: min(100%, 760px);
  margin-top: 0;
}

.rabota-ref-page .audit-hero-form .hero-form-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 250px;
}

.rabota-ref-page .audit-hero-form .button {
  border-radius: 6px;
}

@media (min-width: 1021px) {
  .rabota-ref-page .audit-hero-grid {
    grid-template-columns: minmax(430px, 0.82fr) minmax(620px, 1.18fr);
    gap: 42px;
  }

  .rabota-ref-page .audit-person-card {
    width: min(560px, 100%);
    margin-left: 0;
  }

  .rabota-ref-page .audit-person-card img {
    height: min(540px, calc(100vh - 168px));
  }
}

.rabota-ref-page .consultation-benefits-list {
  grid-template-columns: 1fr;
}

.rabota-ref-page .audit-form-box h2 {
  line-height: 1.2;
}

.rabota-ref-page .audit-form-agree {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, auto);
  column-gap: 10px;
  align-items: start;
  justify-content: center;
  width: auto;
  max-width: 720px;
  margin: 4px auto 0;
  text-align: left;
}

.rabota-ref-page .audit-form-agree input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.rabota-ref-page .audit-form-agree span {
  line-height: 1.35;
}

@media (max-width: 1020px) {
  .rabota-ref-page .audit-hero-form .hero-form-row {
    grid-template-columns: 1fr;
  }

  .rabota-ref-page .audit-person-card img {
    height: 440px;
  }
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-hero-copy h1 {
    font-size: 31px;
    line-height: 1.1;
  }

  .rabota-ref-page .audit-hero-form {
    padding: 17px 16px 15px;
  }

  .rabota-ref-page .audit-hero-form .hero-form-title {
    font-size: 18px;
  }

  .rabota-ref-page .audit-person-card img {
    height: 300px;
  }

  .rabota-ref-page .audit-form-agree {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    justify-content: stretch;
  }
}

/* Rabota 2026-06-24: hero/title, benefits hover, final form panel */
.rabota-ref-page .audit-hero-copy h1 {
  color: var(--red);
  -webkit-text-fill-color: var(--red);
}

.rabota-ref-page .consultation-benefits-list li {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.rabota-ref-page .consultation-benefits-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 75, 201, 0.28);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(14, 31, 71, 0.12);
}

.rabota-ref-page .consultation-benefits-list li::before {
  animation: rabotaBenefitPulse 3.2s ease-in-out infinite;
}

@keyframes rabotaBenefitPulse {
  0%, 100% {
    background: var(--red);
    box-shadow: 0 0 0 7px rgba(237, 28, 36, 0.08);
    transform: translateY(-50%) scale(1);
  }
  50% {
    background: var(--blue-dark);
    box-shadow: 0 0 0 11px rgba(8, 75, 201, 0.13);
    transform: translateY(-50%) scale(1.08);
  }
}

.rabota-ref-page .audit-form-box {
  width: min(1120px, calc(100% - 40px));
  padding: 34px 38px 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 226, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(45, 44, 61, 0.15);
  backdrop-filter: blur(10px);
}

.rabota-ref-page .audit-form-box h2 {
  margin-bottom: 12px;
}

.rabota-ref-page .audit-form-box > p {
  margin-bottom: 22px;
  font-size: 25px;
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-form-box {
    width: calc(100% - 28px);
    padding: 24px 16px 22px;
  }

  .rabota-ref-page .audit-form-box > p {
    font-size: 18px;
    line-height: 1.32;
  }
}

/* Rabota 2026-06-24: red-only benefit pulse and lower hero form */
.rabota-ref-page .audit-hero-form {
  margin-top: 18px;
}

.rabota-ref-page .consultation-benefits-list li {
  padding-left: 44px;
}

.rabota-ref-page .consultation-benefits-list li::before {
  left: 18px;
  animation-name: rabotaBenefitPulseRed;
}

@keyframes rabotaBenefitPulseRed {
  0%, 100% {
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(237, 28, 36, 0.07);
    transform: translateY(-50%) scale(1);
  }
  50% {
    background: var(--red);
    box-shadow: 0 0 0 11px rgba(237, 28, 36, 0.15);
    transform: translateY(-50%) scale(1.08);
  }
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-hero-form {
    margin-top: 14px;
  }

  .rabota-ref-page .consultation-benefits-list li {
    padding-left: 40px;
  }

  .rabota-ref-page .consultation-benefits-list li::before {
    left: 16px;
  }
}

/* Rabota 2026-06-24: slightly lower hero form */
.rabota-ref-page .audit-hero-form {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-hero-form {
    margin-top: 20px;
  }
}

/* Rabota 2026-06-24: consultation laptop-only image */
.rabota-ref-page .consultation-benefits-visual img {
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 48px rgba(22, 30, 50, 0.18));
}

.rabota-ref-page .consultation-benefits-visual::before {
  inset: 18% 0 8% 11%;
}

/* Rabota 2026-06-25: realistic laptop image and centered agreement checkbox */
.rabota-ref-page .audit-form-agree {
  align-items: center;
}

.rabota-ref-page .audit-form-agree input {
  margin: 0;
  align-self: center;
}

.rabota-ref-page .audit-form-agree span {
  display: block;
}

.rabota-ref-page .consultation-benefits-visual img {
  filter: drop-shadow(0 34px 54px rgba(22, 30, 50, 0.2));
}

/* Rabota 2026-06-25: alternative consultation benefits layout for comparison */
.consultation-benefits-alt {
  padding-top: 68px;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 58%, #eef4ff 100%);
}

.consultation-benefits-alt-inner {
  display: grid;
  gap: 28px;
}

.consultation-benefits-alt-top {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 54px;
  align-items: center;
}

.consultation-benefits-alt-copy {
  max-width: 620px;
}

.consultation-benefits-alt-copy h2 {
  margin: 18px 0 24px;
  color: var(--ink);
  font-size: clamp(42px, 4.25vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.consultation-benefits-alt-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 450px;
}

.consultation-benefits-alt-visual::before {
  content: "";
  position: absolute;
  inset: 11% 0 8% 13%;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), rgba(8, 75, 201, 0.12));
  box-shadow: 0 34px 80px rgba(35, 49, 84, 0.08);
}

.consultation-benefits-alt-visual img {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  height: auto;
  filter: drop-shadow(0 34px 54px rgba(22, 30, 50, 0.2));
}

.consultation-benefits-alt-results {
  padding: 24px;
  border: 1px solid rgba(210, 221, 244, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 56px rgba(20, 32, 63, 0.09);
}

.consultation-benefits-alt-results .consultation-benefits-intro {
  margin: 0 0 18px;
}

.consultation-benefits-alt-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultation-benefits-alt-list li {
  position: relative;
  min-height: 94px;
  padding: 22px 22px 22px 58px;
  border: 1px solid rgba(210, 221, 244, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.consultation-benefits-alt-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(237, 28, 36, 0.08);
  transform: translateY(-50%);
  animation: rabotaBenefitPulseRed 3.2s ease-in-out infinite;
}

.consultation-benefits-alt-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 75, 201, 0.28);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(14, 31, 71, 0.12);
}

@media (max-width: 1180px) {
  .consultation-benefits-alt-top {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 34px;
  }

  .consultation-benefits-alt-copy h2 {
    font-size: clamp(38px, 4.3vw, 54px);
  }

  .consultation-benefits-alt-visual {
    min-height: 390px;
  }
}

@media (max-width: 960px) {
  .consultation-benefits-alt-top {
    grid-template-columns: 1fr;
  }

  .consultation-benefits-alt-copy {
    max-width: 760px;
  }

  .consultation-benefits-alt-visual {
    min-height: 0;
    justify-content: center;
  }

  .consultation-benefits-alt-visual img {
    width: min(720px, 100%);
  }
}

@media (max-width: 720px) {
  .consultation-benefits-alt {
    padding-top: 46px;
  }

  .consultation-benefits-alt-inner {
    gap: 20px;
  }

  .consultation-benefits-alt-copy h2 {
    margin: 12px 0 16px;
    font-size: clamp(30px, 8.6vw, 38px);
    line-height: 1.08;
  }

  .consultation-benefits-alt-visual::before {
    inset: 15% 0 6% 7%;
  }

  .consultation-benefits-alt-results {
    padding: 16px;
  }

  .consultation-benefits-alt-list {
    grid-template-columns: 1fr;
  }

  .consultation-benefits-alt-list li {
    min-height: 0;
    padding: 18px 16px 18px 48px;
    font-size: 15px;
  }

  .consultation-benefits-alt-list li::before {
    left: 18px;
  }
}

/* Rabota 2026-06-25: compact alternative consultation benefits layout */
.consultation-benefits-alt {
  min-height: auto;
  padding: 42px 0 46px;
}

.consultation-benefits-alt-top {
  gap: 44px;
}

.consultation-benefits-alt-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 3.75vw, 54px);
}

.consultation-benefits-alt-copy .consultation-benefits-lead {
  max-width: 570px;
  font-size: 18px;
  line-height: 1.38;
}

.consultation-benefits-alt-visual {
  min-height: 410px;
}

.consultation-benefits-alt-visual img {
  width: min(620px, 100%);
}

.consultation-benefits-alt-results {
  padding: 18px;
}

.consultation-benefits-alt-results .consultation-benefits-intro {
  margin-bottom: 12px;
}

.consultation-benefits-alt-list {
  gap: 12px;
}

.consultation-benefits-alt-list li {
  min-height: 76px;
  padding: 15px 18px 15px 50px;
  font-size: 15.5px;
  line-height: 1.24;
}

.consultation-benefits-alt-list li::before {
  left: 22px;
}

@media (max-width: 720px) {
  .consultation-benefits-alt {
    padding: 40px 0 42px;
  }

  .consultation-benefits-alt-visual {
    min-height: 0;
  }

  .consultation-benefits-alt-visual img {
    width: min(360px, 100%);
  }
}

/* Rabota 2026-06-25: fit alternative benefits block into desktop viewport */
.consultation-benefits-alt {
  padding: 34px 0 36px;
}

.consultation-benefits-alt-inner {
  gap: 20px;
}

.consultation-benefits-alt-top {
  gap: 38px;
}

.consultation-benefits-alt-visual {
  min-height: 380px;
}

.consultation-benefits-alt-visual img {
  width: min(560px, 100%);
}

.consultation-benefits-alt-results {
  padding: 14px;
}

.consultation-benefits-alt-results .consultation-benefits-intro {
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .consultation-benefits-alt {
    padding: 40px 0 42px;
  }
}

/* Rabota 2026-06-25: refine alternative benefits title */
.consultation-benefits-alt-copy h2 {
  margin-top: 0;
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 1.08;
  max-width: 610px;
}

@media (max-width: 720px) {
  .consultation-benefits-alt-copy h2 {
    font-size: clamp(28px, 7.8vw, 34px);
  }
}

/* Rabota 2026-06-25: alternative benefits blue kicker */
.consultation-benefits-alt-copy .section-kicker {
  margin: 0 0 12px;
  color: #0454c9;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

/* Rabota 2026-06-25: center alternative benefits result intro */
.consultation-benefits-alt-results .consultation-benefits-intro {
  text-align: center;
}

/* Rabota 2026-06-25: blue alternative benefits result intro */
.consultation-benefits-alt-results .consultation-benefits-intro {
  color: #0454c9;
}

/* Rabota 2026-06-25: fix landscape tablet hero overflow */
@media (min-width: 1021px) and (max-width: 1100px) {
  .rabota-ref-page .audit-hero-grid {
    width: min(1000px, calc(100% - 40px));
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
  }

  .rabota-ref-page .audit-hero-copy {
    min-width: 0;
  }

  .rabota-ref-page .audit-person-card {
    width: 100%;
    margin-left: 0;
  }

  .rabota-ref-page .audit-person-card img {
    height: min(560px, calc(100vh - 128px));
  }

  .rabota-ref-page .audit-hero-form {
    width: 100%;
  }

  .rabota-ref-page .audit-hero-form .hero-form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 230px);
    gap: 10px;
  }

  .rabota-ref-page .audit-hero-form .button {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 14px;
  }
}

/* Rabota 2026-06-25: controlled mobile hero label and title wrapping */
.rabota-ref-page .audit-owner-label span {
  white-space: nowrap;
}

.rabota-ref-page .audit-hero-copy h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 720px) {
  .rabota-ref-page .audit-owner-label {
    max-width: 100%;
    font-size: clamp(18px, 4.7vw, 22px);
    line-height: 1.12;
  }

  .rabota-ref-page .audit-owner-label span {
    display: block;
  }

  .rabota-ref-page .audit-hero-copy h1 {
    font-size: clamp(27px, 7.15vw, 29px);
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 370px) {
  .rabota-ref-page .audit-hero-copy h1 {
    font-size: 26px;
  }
}


/* Oferta 2026-07-06: standalone offer page and linked footer logo */
.footer-brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.offer-page .offer-only-content {
  padding-top: 54px;
}

.offer-document .doc-italic {
  font-style: italic;
}

@media (max-width: 720px) {
  .offer-page .offer-only-content {
    padding-top: 28px;
  }
}

/* SEO commercial pages: flexible landing template */
.seo-page {
  background: #ffffff;
}

.seo-page .site-header {
  z-index: 60;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.48) 100%),
    linear-gradient(145deg, rgba(255, 244, 244, 0.92), rgba(246, 244, 255, 0.86));
}

.seo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/career-hero.html") center right / cover no-repeat;
  opacity: 0.18;
}

.seo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: start;
}

.seo-hero-copy {
  min-width: 0;
}

.seo-breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.seo-breadcrumbs a {
  color: var(--blue-dark);
}

.seo-breadcrumbs span {
  color: var(--muted);
}

.seo-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.08;
  font-weight: 850;
}

.seo-hero-lead {
  max-width: 760px;
  margin: 0 0 22px;
  color: #343345;
  font-size: 18px;
  line-height: 1.55;
}

.seo-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-chip-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--blue-dark);
  background: rgba(8, 75, 201, 0.08);
  border: 1px solid rgba(8, 75, 201, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.seo-side-form {
  align-self: stretch;
}

.seo-form-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.seo-side-form .button {
  width: 100%;
}

.seo-section {
  padding: 58px 0;
}

.seo-section-muted {
  background: #fbfbff;
}

.seo-section-head {
  max-width: 820px;
  margin: 0 0 28px;
}

.seo-section-head h2,
.seo-text-block h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 850;
}

.seo-section-head p,
.seo-text-block p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.seo-stat-grid,
.seo-card-grid,
.seo-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.seo-stat {
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 32px;
  line-height: 1;
  font-weight: 850;
}

.seo-stat span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.seo-card,
.seo-result {
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 850;
}

.seo-card p,
.seo-result p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.seo-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-check-list li {
  position: relative;
  min-width: 0;
  padding-left: 30px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.seo-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: rgba(218, 2, 2, 0.08);
  border: 1px solid rgba(218, 2, 2, 0.28);
  border-radius: 50%;
}

.seo-check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
}

.seo-process {
  counter-reset: seoStep;
  display: grid;
  gap: 12px;
}

.seo-process-item {
  counter-increment: seoStep;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-process-item::before {
  content: counter(seoStep, decimal-leading-zero);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(218, 2, 2, 0.08);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 850;
}

.seo-process-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.seo-process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.seo-text-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.48fr);
  gap: 28px;
  align-items: start;
}

.seo-text-block {
  min-width: 0;
}

.service-about-section {
  padding: 56px 0 62px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 255, 0.74)),
    #ffffff;
}

.service-about-card {
  position: relative;
  padding: 32px 36px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(45, 44, 61, 0.08);
}

.service-about-card h2 {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
  font-weight: 850;
}

.service-about-text {
  position: relative;
  max-width: 980px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.service-about-text::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 58px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 78%);
}

.service-about-card.is-expanded .service-about-text::after {
  display: none;
}

.service-about-text p {
  margin: 0 0 14px;
}

.service-about-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.service-about-card.is-expanded .service-about-more {
  max-height: 7000px;
}

.service-about-toggle {
  margin-top: 18px;
  min-height: 42px;
  padding: 10px 22px;
}

.seo-note {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.86), rgba(246, 244, 255, 0.78)),
    #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
}

.seo-note p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.seo-faq-list {
  display: grid;
  gap: 10px;
}

.seo-faq-list details {
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
}

.seo-faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.seo-cta {
  padding: 58px 0 68px;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.94), rgba(246, 244, 255, 0.9)),
    #fbfbff;
}

.seo-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: 28px;
  align-items: center;
}

.seo-cta-copy h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 850;
}

.seo-cta-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .seo-hero-grid,
  .seo-text-layout,
  .seo-cta-card {
    grid-template-columns: 1fr;
  }

  .seo-hero h1 {
    font-size: 40px;
  }

  .seo-side-form {
    width: min(100%, 620px);
  }
}

@media (max-width: 720px) {
  .seo-hero {
    padding: 38px 0 34px;
  }

  .seo-hero::after {
    opacity: 0.1;
  }

  .seo-hero h1 {
    font-size: 31px;
    line-height: 1.12;
  }

  .seo-hero-lead {
    font-size: 16px;
  }

  .seo-section,
  .seo-cta {
    padding: 42px 0;
  }

  .seo-section-head h2,
  .seo-text-block h2,
  .seo-cta-copy h2 {
    font-size: 26px;
    line-height: 1.18;
  }

  .seo-process-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .seo-process-item::before {
    width: 36px;
    height: 36px;
  }

  .seo-side-form,
  .seo-cta-form {
    width: 100%;
  }

  .service-about-section {
    padding: 42px 0;
  }

  .service-about-card {
    padding: 24px 18px 26px;
  }

  .service-about-card h2 {
    font-size: 28px;
  }

  .service-about-text {
    font-size: 14px;
  }

  .service-about-card.is-expanded .service-about-more {
    max-height: 9000px;
  }

  .service-about-toggle {
    width: 100%;
  }
}

/* Full SEO landing pages: main-page blocks with longer commercial headings */
.seo-full-page {
  overflow-x: hidden;
}

.seo-full-page .hero {
  min-height: auto;
  padding: 52px 0 58px;
}

.seo-full-page .hero-content {
  min-height: auto;
  display: block;
}

.seo-full-page .hero-copy {
  min-width: 0;
  max-width: 760px;
}

.seo-full-page .hero h1 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.seo-full-page .hero-lead {
  max-width: 740px;
  overflow-wrap: anywhere;
}

.seo-full-page .hero-form {
  width: min(100%, 780px);
  max-width: 780px;
  margin-top: 24px;
}

.seo-full-page .hero-form-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 260px;
  gap: 12px;
}

.seo-full-page .hero-form-row .button {
  grid-column: auto;
  width: 100%;
}

.seo-full-page .section,
.seo-full-page .quiz-section,
.seo-full-page .section-intent,
.seo-full-page .section-market,
.seo-full-page .section-managed {
  min-height: auto;
}

.seo-full-page .section-title,
.seo-full-page .managed-title,
.seo-full-page .program-steps-title,
.seo-full-page .trust-title {
  overflow-wrap: anywhere;
}

.seo-full-page .program-head {
  max-width: min(100%, 1180px);
}

.seo-full-page .program-head h2 {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.seo-full-page .intent-title {
  font-size: 42px;
  line-height: 1.08;
}

@media (max-width: 1100px) {
  .seo-full-page .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 980px) {
  .seo-full-page .hero {
    padding: 44px 0 52px;
  }

  .seo-full-page .hero-content {
    display: block;
  }

  .seo-full-page .hero-form {
    max-width: 620px;
  }

  .seo-full-page .hero-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seo-full-page .hero {
    padding: 34px 0 40px;
  }

  .seo-full-page .hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .seo-full-page .intent-title {
    font-size: clamp(20px, 6vw, 24px);
  }

  .seo-full-page .hero-lead {
    font-size: 16px;
  }

  .seo-full-page .hero-form-row {
    grid-template-columns: 1fr;
  }
}

/* Blog and article pages */
.blog-page {
  overflow-x: hidden;
  background: #ffffff;
}

.blog-page .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.blog-hero,
.article-hero {
  background:
    linear-gradient(115deg, rgba(255, 246, 246, 0.92) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(239, 246, 255, 0.92) 100%),
    #ffffff;
  border-bottom: 1px solid rgba(232, 226, 240, 0.82);
}

.blog-hero-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 58px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  color: #777489;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--blue-dark);
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: #b8b4c7;
}

.blog-hero h1,
.article-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 850;
}

.article-page .article-hero h1 {
  font-size: 44px;
}

.blog-hero-lead,
.article-lead {
  max-width: 820px;
  margin: 20px 0 0;
  color: #555268;
  font-size: 19px;
  line-height: 1.7;
}

.blog-hero-visual {
  margin: 0;
  border: 1px solid rgba(8, 75, 201, 0.16);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(45, 44, 61, 0.12);
  background: #ffffff;
}

.blog-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.article-meta span,
.blog-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 75, 201, 0.08);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-hero-card {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(218, 2, 2, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(45, 44, 61, 0.1);
}

.article-hero-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-hero-card p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 700;
}

.blog-list-section {
  padding: 54px 0 72px;
}

.blog-list-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.blog-list-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 850;
}

.blog-list-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card a {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(45, 44, 61, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-card a:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 2, 2, 0.26);
  box-shadow: 0 22px 48px rgba(45, 44, 61, 0.12);
}

.blog-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.24;
  font-weight: 850;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.blog-card small {
  margin-top: auto;
  color: #7a778d;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 790px);
  gap: 54px;
  align-items: start;
  padding: 48px 0 74px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.article-toc,
.article-side-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(45, 44, 61, 0.07);
}

.article-toc {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.article-toc strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.article-toc a {
  color: #5f5c72;
  font-size: 14px;
  line-height: 1.35;
  transition: color 160ms ease;
}

.article-toc a:hover {
  color: var(--red);
}

.article-side-form {
  padding: 20px;
}

.article-side-form h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 850;
}

.article-side-form .field-compact {
  margin-bottom: 12px;
}

.article-side-form .checkbox {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.article-side-form .button {
  width: 100%;
  min-height: 48px;
  font-size: 13px;
}

.article-content {
  min-width: 0;
  color: #2f2d3e;
  font-size: 18px;
  line-height: 1.76;
}

.article-layout > * {
  min-width: 0;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.18;
  font-weight: 850;
}

.article-section,
.article-checklist,
.article-table-block,
.article-related,
.article-faq,
.article-cta {
  scroll-margin-top: 104px;
  margin-bottom: 42px;
}

.article-related {
  padding: 22px;
  border: 1px solid rgba(8, 75, 201, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(244, 248, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.article-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.article-related a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(8, 75, 201, 0.2);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-decoration: none;
}

.article-related a:hover {
  border-color: rgba(218, 2, 2, 0.28);
  color: var(--red);
}

.article-checklist,
.article-cta {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(218, 2, 2, 0.18);
  background: linear-gradient(135deg, rgba(255, 246, 246, 0.98), rgba(255, 255, 255, 0.96));
}

.article-checklist ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.article-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(218, 2, 2, 0.09);
}

.article-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 16px;
  line-height: 1.55;
}

.article-table th,
.article-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--blue-dark);
  background: rgba(8, 75, 201, 0.06);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.article-faq details + details {
  margin-top: 12px;
}

.article-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.36;
}

.article-faq p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 0;
}

.article-cta h2 {
  margin-bottom: 10px;
}

.article-cta p:last-child {
  margin-bottom: 0;
}

.article-cta .button {
  min-width: 260px;
}

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    order: 2;
  }
}

@media (max-width: 900px) {
  .blog-hero-grid,
  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 0 46px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: 38px;
  }

  .blog-hero-visual {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .blog-hero-grid,
  .article-hero-grid {
    padding: 34px 0 38px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: 30px;
    line-height: 1.13;
  }

  .article-page .article-hero h1 {
    font-size: 30px;
  }

  .blog-hero-lead,
  .article-lead,
  .article-content {
    font-size: 16px;
  }

  .blog-list-section,
  .article-layout {
    padding: 38px 0 50px;
  }

  .blog-list-head {
    display: block;
  }

  .blog-list-head h2,
  .article-content h2 {
    font-size: 25px;
  }

  .blog-list-head p {
    margin-top: 12px;
  }

  .blog-grid,
  .article-sidebar,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .article-hero-card,
  .article-checklist,
  .article-cta {
    padding: 22px;
  }

  .article-cta .button {
    width: 100%;
    min-width: 0;
  }
}

/* Vacancies catalog */
.vacancies-page {
  background: #f7f8fc;
}

.vacancies-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(24, 40, 72, 0.08);
  background: linear-gradient(100deg, rgba(255, 245, 245, 0.98) 0%, rgba(255, 255, 255, 0.96) 46%, rgba(230, 238, 255, 0.9) 100%);
}

.vacancies-hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: linear-gradient(90deg, rgba(247, 248, 252, 0.96), rgba(247, 248, 252, 0.34)), url("assets/rabota-ref/bg_3.html") center / cover no-repeat;
  opacity: 0.42;
}

.vacancies-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 520px);
  gap: 42px;
  align-items: center;
  min-height: auto;
  padding-top: 62px;
  padding-bottom: 54px;
}

/* Case detail sheet override 2026-08-11 */
.case-detail-page #case-list {
  background: #ffffff;
}

.case-detail-page .case-story-card,
.case-detail-page .case-story-card * {
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

.case-detail-page #case-list .cases-section-head {
  margin-bottom: 24px;
}

.case-detail-page .case-story-list {
  gap: 0;
}

.case-detail-page .case-story-card {
  position: relative;
  padding: 42px 0 50px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.case-detail-page .case-story-card + .case-story-card {
  margin-top: 10px;
  padding-top: 58px;
}

.case-detail-page .case-story-card + .case-story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  opacity: 0.62;
  background: linear-gradient(115deg, var(--red) 0%, #f51628 38%, var(--red-dark) 68%, var(--red) 100%);
  background-size: 220% 220%;
  box-shadow: 0 10px 24px rgba(218, 2, 2, 0.08);
}

.case-detail-page .case-story-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  margin-bottom: 36px;
}

.case-detail-page .case-story-head > span {
  width: auto;
  height: auto;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.08;
  font-weight: 700;
}

.case-detail-page .case-story-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.case-detail-page .case-story-head h3 span {
  color: var(--red);
  font-weight: 800;
}

.case-detail-page .case-story-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 600;
}

.case-detail-page .case-facts {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: clamp(46px, 8vw, 116px);
  align-items: start;
  margin: 0 0 42px;
}

.case-detail-page .case-detail-facts,
.case-detail-page .case-stat-facts,
.case-detail-page .case-detail-facts > div,
.case-detail-page .case-stat-facts > div {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-detail-page .case-stat-facts {
  width: min(100%, 420px);
  justify-self: start;
}

.case-detail-page .case-detail-facts > div {
  display: flex;
  gap: 4px;
  align-items: baseline;
  margin: 0 0 5px;
}

.case-detail-page .case-stat-facts > p {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.case-detail-page .case-stat-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 255px) max-content;
  column-gap: 16px;
  align-items: baseline;
  justify-content: start;
  margin: 0 0 4px;
}

.case-detail-page .case-facts dt,
.case-detail-page .case-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.42;
  text-transform: none;
}

.case-detail-page .case-facts dt {
  font-weight: 800;
}

.case-detail-page .case-facts dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.case-detail-page .case-stat-facts dd {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

.case-detail-page .case-story-body {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: 22px clamp(46px, 8vw, 116px);
  align-items: start;
}

.case-detail-page .case-story-body section:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.case-detail-page .case-story-body section:nth-child(3) {
  grid-column: 1;
}

.case-detail-page .case-story-body h4 {
  margin: 0 0 7px;
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.22;
  font-weight: 800;
  text-transform: uppercase;
}

.case-detail-page .case-story-body section:nth-child(3) h4 {
  color: var(--red);
}

.case-detail-page .case-story-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  font-weight: 500;
}

@media (max-width: 920px) {
  .case-detail-page .case-facts,
  .case-detail-page .case-story-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-detail-page .case-story-body section:nth-child(2),
  .case-detail-page .case-story-body section:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .case-detail-page .case-story-card {
    padding: 30px 0 34px;
  }

  .case-detail-page .case-story-card + .case-story-card {
    margin-top: 6px;
    padding-top: 42px;
  }

  .case-detail-page .case-story-card + .case-story-card::before {
    height: 3px;
  }

  .case-detail-page .case-story-head {
    margin-bottom: 24px;
  }

  .case-detail-page .case-story-head > span,
  .case-detail-page .case-story-head h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .case-detail-page .case-story-head p {
    font-size: 14px;
    line-height: 1.35;
  }

  .case-detail-page .case-detail-facts > div {
    display: block;
    margin-bottom: 7px;
  }

  .case-detail-page .case-stat-facts > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .case-detail-page .case-stat-facts > p,
  .case-detail-page .case-story-body h4 {
    font-size: 13px;
  }

  .case-detail-page .case-facts dt,
  .case-detail-page .case-facts dd,
  .case-detail-page .case-story-body p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Cases section 2026-08-10 */
.cases-page {
  background: #ffffff;
}

.cases-header {
  z-index: 70;
}

.cases-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.cases-nav a {
  transition: color 160ms ease;
}

.cases-nav a:hover {
  color: var(--red);
}

.cases-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 58px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 249, 249, 0.96) 52%, rgba(239, 246, 255, 0.92) 100%),
    #ffffff;
}

.cases-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 34px;
  align-items: stretch;
}

.cases-hero-copy {
  min-width: 0;
}

.cases-hero .seo-breadcrumbs {
  margin-bottom: 18px;
}

.cases-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.04;
  font-weight: 850;
}

.cases-hero-lead {
  max-width: 820px;
  margin: 0 0 26px;
  color: #3a394b;
  font-size: 18px;
  line-height: 1.6;
}

.cases-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cases-hero-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cases-hero-panel div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(45, 44, 61, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cases-hero-panel div:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 0, 26, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 248, 0.9) 100%);
    box-shadow: 0 24px 54px rgba(45, 44, 61, 0.12), 0 16px 34px rgba(226, 0, 26, 0.08);
  }
}

.cases-hero-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
}

.cases-hero-panel span {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.cases-section {
  padding: 62px 0;
  scroll-margin-top: 104px;
}

.cases-section-muted {
  background: #fbfbff;
}

.cases-section-head {
  max-width: 860px;
  margin: 0 0 30px;
}

.cases-section-head h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 850;
}

.cases-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

body.cases-page:not(.case-detail-page) .cases-hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 430px);
  align-items: center;
}

body.cases-page:not(.case-detail-page) .cases-hero-actions .button {
  min-width: 206px;
}

body.case-detail-page:not(.imported-it-case-page) .case-detail-hero .cases-hero-grid {
  grid-template-columns: minmax(0, 860px);
  align-items: start;
}

body.case-detail-page:not(.imported-it-case-page) .case-detail-hero .cases-hero-copy {
  max-width: 860px;
}

body.case-detail-page:not(.imported-it-case-page) .case-detail-hero h1,
body.case-detail-page:not(.imported-it-case-page) .cases-section-head h2,
body.case-detail-page:not(.imported-it-case-page) .case-story-head h3 {
  overflow-wrap: anywhere;
}

.cases-hero-photo {
  position: relative;
  min-width: 0;
  max-width: 430px;
  margin: 0;
  padding: 0;
}

.cases-hero-photo img {
  width: 100%;
  display: block;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(45, 44, 61, 0.16));
}

body.cases-page {
  padding-bottom: 78px;
}

.cases-ticking-line {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background:
    #2d2c3d
    url("../templates/demotractor/img/line.png")
    center / auto repeat;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  contain: paint;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.cases-ticking-line-wrap {
  display: block;
  overflow: hidden;
  background: #e8003f;
  transform: translate3d(0, 0, 0);
}

.cases-ticking-line-track {
  display: flex;
  width: max-content;
  animation: casesTickerMove 57s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.cases-ticking-line-track--js {
  animation: none;
  transition-property: transform;
  transition-timing-function: linear;
  transition-duration: 0ms;
}

.cases-ticking-line .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  width: max-content !important;
  transition-timing-function: linear !important;
}

.cases-ticking-line .swiper-slide {
  width: max-content !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  white-space: nowrap;
}

.cases-ticking-line:hover .cases-ticking-line-track,
.cases-ticking-line:focus-visible .cases-ticking-line-track {
  animation-play-state: paused;
}

.cases-ticking-line:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -8px;
}

.cases-ticking-line-slide {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  padding: 10px 15px;
  white-space: nowrap;
}

.cases-ticking-line-slide img {
  display: block;
  flex: 0 0 auto;
  height: auto;
  pointer-events: none;
}

.cases-ticking-line-slide img:first-child {
  width: 40px;
}

.cases-ticking-line-slide img:last-child {
  width: 80px;
}

.cases-ticking-line-text {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes casesTickerMove {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases-ticking-line-track {
    animation: none;
  }
}

@media (max-width: 767px) {
  body.cases-page {
    padding-bottom: 64px;
  }

  .cases-ticking-line {
    padding: 10px 0;
  }

  .cases-ticking-line-slide {
    padding: 7px 12px 8px;
  }

  .cases-ticking-line-slide img:first-child {
    width: 30px;
  }

  .cases-ticking-line-slide img:last-child {
    width: 70px;
  }

  .cases-ticking-line-text {
    font-size: 14px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 525px) {
  body.cases-page {
    padding-bottom: 48px;
  }

  .cases-ticking-line {
    padding: 5px 0;
  }

  .cases-ticking-line-slide {
    gap: 5px;
    padding: 5px 8px;
  }

  .cases-ticking-line-slide img:first-child {
    width: 20px;
  }

  .cases-ticking-line-slide img:last-child {
    width: 50px;
  }

  .cases-ticking-line-text {
    font-size: 10px;
  }
}


.cases-direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cases-direction-card {
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cases-direction-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 75, 201, 0.24);
  box-shadow: 0 18px 40px rgba(45, 44, 61, 0.09);
}

.cases-direction-card-featured {
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
  border-color: rgba(218, 2, 2, 0.24);
}

.cases-direction-count {
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 7px 10px;
  color: var(--blue-dark);
  background: rgba(8, 75, 201, 0.08);
  border: 1px solid rgba(8, 75, 201, 0.14);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.cases-direction-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
}

.cases-direction-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cases-direction-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--red);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 850;
}

.cases-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.cases-index.is-masonry {
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
}

.cases-index-group {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cases-index-group h3 {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
}

.cases-index-group ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cases-index-group li {
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.cases-index-group li:first-child {
  border-top: 0;
  padding-top: 0;
}

.cases-index-group span,
.cases-index-group a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.34;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.cases-index-group a {
  color: var(--red);
}

.cases-index-group small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.cases-reviews {
  padding: 64px 0 68px;
  scroll-margin-top: 104px;
  background: #ffffff;
}

.case-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(45, 44, 61, 0.08);
}

.case-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #151522;
  object-fit: cover;
}

.case-video-card h3 {
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.case-letters-head {
  margin: 38px 0 16px;
}

.case-letters-head h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
}

.case-letters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-letter-card {
  min-width: 0;
  display: block;
  aspect-ratio: 353 / 498;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(45, 44, 61, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-letter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 75, 201, 0.22);
  box-shadow: 0 20px 44px rgba(45, 44, 61, 0.12);
}

.case-letter-card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.cases-cta {
  padding: 58px 0 68px;
  background:
    linear-gradient(135deg, rgba(255, 244, 244, 0.95), rgba(246, 244, 255, 0.86)),
    #fbfbff;
}

.cases-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cases-cta-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 850;
}

.cases-cta-card p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.case-detail-hero .cases-hero-panel strong {
  font-size: 32px;
}

.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-summary-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.case-summary-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 32px;
  line-height: 1;
  font-weight: 850;
}

.case-summary-grid span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.case-story-list {
  display: grid;
  gap: 28px;
}

.case-story-card {
  min-width: 0;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(232, 226, 240, 0.78);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(45, 44, 61, 0.07);
}

.case-story-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  margin-bottom: 34px;
}

.case-story-head > span {
  color: #121212;
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1;
  font-weight: 500;
}

.case-story-head h3 {
  margin: 0;
  color: #121212;
  font-size: clamp(30px, 3.4vw, 43px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.case-story-head h3 span {
  color: #c5121b;
  font-weight: 850;
}

.case-story-head p {
  margin: 7px 0 0;
  color: #121212;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.15;
  font-style: italic;
  font-weight: 500;
}

.case-facts {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  margin: 0 0 42px;
}

.case-detail-facts,
.case-stat-facts {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.case-detail-facts div,
.case-stat-facts div {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.case-detail-facts div {
  display: flex;
  gap: 4px;
  align-items: baseline;
  margin: 0 0 4px;
}

.case-stat-facts p {
  margin: 0 0 6px;
  color: #201a12;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 850;
}

.case-stat-facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  margin: 0 0 3px;
}

.case-facts dt {
  margin: 0;
  color: #201a12;
  font-size: 18px;
  line-height: 1.24;
  font-weight: 850;
  text-transform: none;
}

.case-facts dd {
  margin: 0;
  color: #201a12;
  font-size: 18px;
  line-height: 1.24;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.case-stat-facts dd {
  color: #c5121b;
  font-weight: 850;
  white-space: nowrap;
}

.case-story-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
  gap: 20px clamp(34px, 7vw, 96px);
  align-items: start;
}

.case-story-body section {
  min-width: 0;
}

.case-story-body section:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.case-story-body section:nth-child(3) {
  grid-column: 1;
}

.case-story-body h4 {
  margin: 0 0 6px;
  color: #201a12;
  font-size: 19px;
  line-height: 1.22;
  font-weight: 850;
  text-transform: none;
}

.case-story-body section:nth-child(3) h4 {
  color: #c5121b;
}

.case-story-body p {
  margin: 0;
  color: #171717;
  font-size: 18px;
  line-height: 1.43;
  font-weight: 500;
}

.case-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-process-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.case-process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}

.case-process-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 850;
}

.case-process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.case-seo-section {
  padding: 38px 0 64px;
  background: #ffffff;
}

.case-seo-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.case-seo-details summary {
  min-height: 58px;
  cursor: pointer;
  padding: 18px 48px 18px 22px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
  list-style: none;
  position: relative;
}

.case-seo-details summary::-webkit-details-marker {
  display: none;
}

.case-seo-details summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue-dark);
  border-bottom: 2px solid var(--blue-dark);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.case-seo-details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.case-seo-text {
  min-height: 40px;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

@media (max-width: 1180px) {
  .cases-nav {
    display: none;
  }

  .cases-direction-grid,
  .case-video-grid,
  .case-summary-grid,
  .case-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-letters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-facts {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.74fr);
  }
}

@media (max-width: 920px) {
  body.cases-page:not(.case-detail-page) .cases-hero-grid,
  .cases-hero-grid,
  .cases-cta-card {
    grid-template-columns: 1fr;
  }

  .cases-hero-panel {
    width: min(100%, 640px);
  }

  .cases-hero-photo {
    width: min(100%, 380px);
  }

  .cases-index {
    grid-template-columns: 1fr;
  }

  .case-story-body {
    grid-template-columns: 1fr;
  }

  .case-facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-story-body section:nth-child(2),
  .case-story-body section:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .cases-page .footer-sitemap-brand {
    padding-bottom: 20px;
  }

  .cases-page .footer-sitemap-cta {
    display: flex;
    min-height: 40px;
    width: min(236px, 100%);
    margin: 18px auto 26px;
    padding: 8px 18px;
    font-size: 13px;
  }

  .cases-hero {
    padding: 38px 0 40px;
  }

  .cases-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  body.case-detail-page:not(.imported-it-case-page) .case-detail-hero h1 {
    font-size: 32px;
    line-height: 1.14;
  }

  .cases-hero-lead {
    font-size: 16px;
  }

  .cases-hero-actions {
    display: grid;
    gap: 10px;
    width: 100%;
  }

  body.cases-page:not(.case-detail-page) .cases-hero-actions .button,
  .cases-hero-actions .button,
  .cases-cta-card .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .cases-hero-photo {
    width: min(100%, 300px);
    margin: 8px auto 0;
  }

  .cases-hero-photo img {
    max-height: 420px;
  }

  .cases-hero-panel,
  .cases-direction-grid,
  .case-video-grid,
  .case-summary-grid,
  .case-process-grid,
  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-letters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cases-hero-panel div {
    padding: 18px;
  }

  .cases-hero-panel strong {
    font-size: 30px;
  }

  .cases-section,
  .cases-reviews,
  .cases-cta {
    padding: 42px 0;
  }

  .cases-section-head h2,
  .cases-cta-card h2 {
    font-size: 27px;
    line-height: 1.18;
  }

  .cases-direction-card {
    min-height: auto;
  }

  .case-video-card h3 {
    padding: 14px 16px 16px;
  }

  .cases-index-group,
  .case-story-card,
  .case-summary-grid article,
  .case-process-grid article {
    padding: 18px;
  }

  .case-story-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    margin-bottom: 24px;
  }

  .case-story-head > span {
    width: auto;
    height: auto;
    font-size: 28px;
    line-height: 1.05;
  }

  .case-story-head h3 {
    font-size: 28px;
    line-height: 1.05;
  }

  .case-story-head p {
    font-size: 17px;
    line-height: 1.22;
  }

  .case-facts {
    margin-bottom: 28px;
  }

  .case-detail-facts div {
    display: block;
    margin-bottom: 7px;
  }

  .case-stat-facts div {
    gap: 12px;
  }

  .case-facts dt,
  .case-facts dd,
  .case-story-body p {
    font-size: 15px;
    line-height: 1.45;
  }

  .case-stat-facts p,
  .case-story-body h4 {
    font-size: 16px;
  }

  .case-story-body {
    gap: 18px;
  }

  .case-seo-section {
    padding: 30px 0 46px;
  }

  .case-seo-details summary {
    font-size: 15px;
    padding: 16px 44px 16px 18px;
  }
}

.vacancies-hero-copy h1 {
  max-width: 690px;
  margin: 0 0 16px;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  color: #df000b;
  overflow-wrap: anywhere;
}

.vacancies-hero-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 0;
  color: #64677f;
  font-size: 20px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.vacancies-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin-top: 28px;
}

.vacancies-stats div,
.vacancies-search-panel,
.vacancy-card,
.vacancies-sidebar,
.vacancies-help-card {
  border: 1px solid rgba(25, 65, 140, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(21, 39, 82, 0.08);
}

.vacancies-stats div {
  min-width: 0;
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 8px;
}

.vacancies-stats strong {
  display: block;
  color: #0c4dcc;
  font-size: 28px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.vacancies-stats div:nth-child(4) strong {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(21px, 5.1vw, 28px);
}

.vacancies-stats span {
  display: block;
  margin-top: 8px;
  color: #686c84;
  font-size: 13px;
  font-weight: 700;
}

.vacancies-search-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 24px 28px;
  border-radius: 8px;
}

.vacancies-search-panel label {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #22263a;
  font-size: 13px;
  font-weight: 800;
}

.vacancies-search-panel input,
.vacancies-search-panel select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d9e0f3;
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: #202636;
  font: inherit;
  font-weight: 600;
}

.vacancies-search-panel input:focus,
.vacancies-search-panel select:focus {
  outline: 2px solid rgba(0, 78, 204, 0.18);
  border-color: #1b58cf;
}

.vacancies-section {
  padding: 56px 0 84px;
}

.vacancies-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.vacancies-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
}

.vacancies-sidebar h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  color: #202636;
}

.vacancies-sidebar > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  border: 1px solid #dce3f6;
  border-radius: 8px;
  padding: 0 14px;
  background: #f7f9ff;
  color: #063f9f;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.vacancies-sidebar > button:hover {
  border-color: #c2d1f8;
  background: #eef3ff;
}

.vacancies-help-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fff4f5 100%);
}

.vacancies-help-card strong {
  color: #df000b;
  font-size: 20px;
}

.vacancies-help-card p {
  margin: 0;
  color: #62677f;
  font-size: 14px;
  line-height: 1.45;
}

.vacancies-list-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.vacancies-list-head h2 {
  margin: 0;
  color: #202636;
  font-size: 36px;
  line-height: 1.12;
}

.vacancies-count {
  margin: 0;
  color: #64677f;
  font-weight: 800;
}

.vacancies-count span {
  color: #df000b;
}

.vacancies-list {
  display: grid;
  gap: 16px;
}

.vacancy-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
}

.vacancy-card-main,
.vacancy-card-top,
.vacancy-card-bottom {
  min-width: 0;
}

.vacancy-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.vacancy-city {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #eef3ff;
  color: #0648b7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.vacancy-salary {
  max-width: 320px;
  color: #df000b;
  font-size: 24px;
  line-height: 1.16;
  text-align: right;
  overflow-wrap: anywhere;
}

.vacancy-card h3 {
  max-width: 780px;
  margin: 0 0 12px;
  color: #202636;
  font-size: 24px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.vacancy-description {
  margin: 0;
  color: #62677f;
  font-size: 16px;
  line-height: 1.55;
}

.vacancy-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.vacancy-skills span {
  border: 1px solid #dce3f6;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #063f9f;
  font-size: 12px;
  font-weight: 800;
}

.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #6c7087;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.vacancy-meta span {
  display: inline-flex;
  align-items: center;
}

.vacancy-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(25, 65, 140, 0.12);
  padding-top: 18px;
}

.vacancy-card-bottom .button {
  flex: 0 0 auto;
  min-width: 230px;
}

.vacancies-more {
  display: block;
  margin: 28px auto 0;
  border: 1px solid #d2dcf7;
  background: #fff;
  color: #0648b7;
}

.vacancies-empty {
  margin: 24px 0 0;
  border: 1px dashed #c9d5f2;
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  color: #62677f;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .vacancies-layout {
    grid-template-columns: 1fr;
  }

  .vacancies-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vacancies-sidebar h2,
  .vacancies-help-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .vacancies-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .vacancies-stats {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .vacancies-hero-inner {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .vacancies-hero-bg {
    width: 100%;
    opacity: 0.18;
  }

  .vacancies-hero-copy h1 {
    font-size: 38px;
  }

  .vacancies-hero-copy > p:not(.section-kicker) {
    font-size: 18px;
  }

  .vacancies-sidebar {
    grid-template-columns: 1fr;
  }

  .vacancies-stats div {
    min-height: 74px;
  }

  .vacancies-stats strong {
    font-size: 22px;
  }

  .vacancies-stats div:nth-child(4) strong {
    font-size: clamp(20px, 5.2vw, 22px);
  }

  .vacancy-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .vacancy-card-top,
  .vacancy-card-bottom {
    display: grid;
    justify-content: stretch;
  }

  .vacancy-salary {
    max-width: none;
    text-align: left;
    font-size: 22px;
  }

  .vacancy-card-bottom .button {
    width: 100%;
    min-width: 0;
  }

  .vacancies-list-head {
    display: grid;
    align-items: start;
  }

  .vacancies-list-head h2 {
    font-size: 30px;
  }
}

.top-agencies-page .rating-hero {
  background:
    linear-gradient(115deg, rgba(255, 241, 241, 0.92) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(232, 239, 255, 0.92) 100%),
    url("assets/team-sessions.html") right center / auto 100% no-repeat;
}

.rating-hero-grid {
  align-items: stretch;
}

.rating-hero-card {
  align-self: center;
}

.rating-hero-card .button {
  width: 100%;
  margin-top: 22px;
}

.rating-layout .article-content {
  gap: 26px;
}

.top-agencies-page .article-side-form .field-compact {
  display: block;
  margin-bottom: 10px;
}

.top-agencies-page .article-side-form input[type="text"],
.top-agencies-page .article-side-form input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(12, 83, 203, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  background: #fff;
  outline: none;
}

.top-agencies-page .article-side-form input[type="text"]:focus,
.top-agencies-page .article-side-form input[type="tel"]:focus {
  border-color: rgba(12, 83, 203, 0.48);
  box-shadow: 0 0 0 4px rgba(12, 83, 203, 0.08);
}

.top-agencies-page .article-side-form .checkbox {
  align-items: flex-start;
  margin: 10px 0 18px;
}

.top-agencies-page .article-side-form .checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.top-agencies-page .article-side-form .button {
  width: 100%;
}

.rating-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rating-source-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(12, 83, 203, 0.16);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  background: rgba(246, 248, 255, 0.82);
}

.rating-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  counter-reset: ratingCriteria;
}

.rating-intro-grid > div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 6px 16px;
  align-items: start;
  min-height: 128px;
  padding: 20px 22px;
  border: 1px solid rgba(12, 83, 203, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.82)),
    radial-gradient(circle at 100% 100%, rgba(232, 0, 22, 0.08), transparent 46%);
  box-shadow: 0 16px 38px rgba(12, 83, 203, 0.07);
  counter-increment: ratingCriteria;
}

.rating-intro-grid > div::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 12px 24px rgba(12, 83, 203, 0.18);
  content: counter(ratingCriteria);
}

.rating-intro-grid strong {
  display: block;
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
}

.rating-intro-grid span {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.48;
}

.rating-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.rating-type-grid > div {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(12, 83, 203, 0.14);
  border-radius: 8px;
  background: linear-gradient(150deg, #fff 0%, rgba(246, 248, 255, 0.82) 100%);
}

.rating-type-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.rating-type-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.rating-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.rating-terms-grid > div {
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: rgba(246, 248, 255, 0.74);
}

.rating-terms-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.rating-terms-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.rating-section-head {
  margin-bottom: 24px;
}

.rating-section-head > span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.rating-section-head h2 {
  margin-top: 8px;
}

.rating-section-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.rating-agency-list {
  display: grid;
  gap: 18px;
}

.rating-agency-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(12, 83, 203, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(12, 83, 203, 0.08);
}

.rating-agency-card:first-child {
  border-color: rgba(232, 0, 22, 0.32);
  box-shadow: 0 28px 70px rgba(232, 0, 22, 0.12);
}

.rating-agency-rank {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
}

.rating-agency-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 14px;
}

.rating-agency-head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(12, 83, 203, 0.08);
}

.rating-agency-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1.08;
}

.rating-agency-head p {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  background: rgba(232, 0, 22, 0.05);
}

.rating-agency-body > p {
  margin: 0 0 18px;
}

.rating-agency-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.rating-agency-facts div {
  padding: 14px;
  border: 1px solid rgba(12, 83, 203, 0.12);
  border-radius: 8px;
  background: rgba(246, 248, 255, 0.72);
}

.rating-agency-facts div:last-child {
  grid-column: 1 / -1;
}

.rating-agency-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.rating-agency-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rating-tags li {
  padding: 8px 12px;
  border: 1px solid rgba(12, 83, 203, 0.14);
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  background: #fff;
}

.rating-table td:first-child {
  color: var(--red);
  font-size: 20px;
  font-weight: 800;
}

.rating-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.55fr);
  gap: 18px 34px;
  align-items: center;
  min-height: 260px;
  padding: 34px 36px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 248, 0.96) 54%, rgba(235, 241, 255, 0.82) 100%),
    url("assets/lead-consultation.html") right bottom / auto 95% no-repeat;
}

.rating-cta h2,
.rating-cta p,
.rating-cta .button {
  position: relative;
  z-index: 1;
}

.rating-cta h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.rating-cta p {
  grid-column: 1;
  max-width: 640px;
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}

.rating-cta .button {
  grid-column: 1;
  justify-self: start;
  min-width: 300px;
  margin-top: 2px;
}

.rating-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.62) 58%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .rating-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rating-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rating-agency-head,
  .rating-agency-facts {
    grid-template-columns: 1fr;
  }

  .rating-cta {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 245, 0.96)),
      url("assets/lead-consultation.html") right bottom / auto 100% no-repeat;
  }

  .rating-cta p {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .top-agencies-page .rating-hero {
    background: linear-gradient(150deg, rgba(255, 241, 241, 0.96), rgba(232, 239, 255, 0.92));
  }

  .rating-intro-grid,
  .rating-type-grid,
  .rating-terms-grid,
  .rating-agency-head,
  .rating-agency-facts {
    grid-template-columns: 1fr;
  }

  .rating-agency-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px 12px;
    align-items: center;
  }

  .rating-agency-rank {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .rating-agency-body {
    display: contents;
  }

  .rating-agency-head {
    display: contents;
  }

  .rating-agency-head > div {
    min-width: 0;
  }

  .rating-agency-head > div:first-child {
    display: contents;
  }

  .rating-agency-head span {
    grid-column: 2;
    align-self: center;
  }

  .rating-agency-head span {
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(10px, 2.85vw, 12px);
    line-height: 1.15;
  }

  .rating-agency-head h2,
  .rating-agency-head p,
  .rating-agency-body > p,
  .rating-agency-facts,
  .rating-tags {
    grid-column: 1 / -1;
  }

  .rating-agency-head h2 {
    margin-top: 2px;
  }

  .rating-agency-card {
    padding: 18px;
  }

  .rating-source-list a {
    width: 100%;
    justify-content: center;
  }

  .rating-intro-grid {
    margin-bottom: 30px;
  }

  .article-table-wrap:has(.rating-table) {
    border: 0;
    overflow: visible;
    background: transparent;
  }

  .rating-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    font-size: 15px;
  }

  .rating-table thead {
    display: none;
  }

  .rating-table tbody {
    display: grid;
    gap: 12px;
  }

  .rating-table tr {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .rating-table td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
  }

  .rating-table td:first-child {
    grid-row: 1 / span 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(135deg, var(--red), var(--blue));
  }

  .rating-table td:nth-child(2) {
    color: var(--ink);
    font-size: 18px;
    font-weight: 850;
  }

  .rating-table td:nth-child(3),
  .rating-table td:nth-child(4) {
    color: var(--muted);
    line-height: 1.45;
  }

  .rating-table td:nth-child(3)::before,
  .rating-table td:nth-child(4)::before {
    display: block;
    margin-bottom: 3px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .rating-table td:nth-child(3)::before {
    content: "Фокус";
  }

  .rating-table td:nth-child(4)::before {
    content: "Кому подходит";
  }

  .rating-cta {
    padding: 24px 20px;
    background: linear-gradient(135deg, rgba(255, 247, 248, 0.98), rgba(238, 243, 255, 0.96));
  }

  .rating-cta h2 {
    font-size: 28px;
  }

  .rating-cta p {
    font-size: 17px;
  }

  .rating-cta .button {
    width: 100%;
    min-width: 0;
  }
}

/* Imported legacy case pages 2026-08-27 */
.imported-it-case-page .cases-hero.case-detail-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 252, 0.92) 100%);
}

.imported-it-case-page .cases-hero-panel {
  gap: 14px;
}

.imported-it-case-page .cases-hero-panel div {
  min-height: 104px;
  overflow: hidden;
}

.imported-it-case-page .cases-hero-panel strong {
  font-size: clamp(28px, 2.6vw, 32px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.imported-it-case-page .cases-hero-panel span {
  overflow-wrap: anywhere;
}

.imported-it-case-page .imported-case-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.imported-it-case-page .imported-case-overview article {
  min-width: 0;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(13, 40, 84, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(13, 40, 84, 0.06);
}

.imported-it-case-page .imported-case-overview span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.imported-it-case-page .imported-case-overview strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.imported-it-case-page .imported-single-case .case-facts {
  grid-template-columns: minmax(0, 0.88fr) minmax(330px, 0.72fr);
}

.imported-it-case-page .imported-case-body {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: 28px clamp(46px, 8vw, 116px);
  align-items: start;
}

.imported-it-case-page .imported-case-body section:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.imported-it-case-page .imported-case-body section {
  min-width: 0;
}

.imported-it-case-page .imported-case-body h4 {
  margin: 0 0 9px;
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.22;
  font-weight: 800;
  text-transform: uppercase;
}

.imported-it-case-page .imported-case-body section:last-child h4 {
  color: var(--red);
}

.imported-it-case-page .imported-case-body p,
.imported-it-case-page .imported-case-body li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  font-weight: 500;
}

.imported-it-case-page .imported-case-body p {
  margin: 0;
}

.imported-it-case-page .imported-case-list {
  margin: 0;
  padding-left: 18px;
}

.imported-it-case-page .imported-case-list li + li {
  margin-top: 7px;
}

.imported-it-case-page .it-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.imported-it-case-page .it-case-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(13, 40, 84, 0.12);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(13, 40, 84, 0.035);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

@media (max-width: 980px) {
  .imported-it-case-page .imported-case-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .imported-it-case-page .imported-case-body,
  .imported-it-case-page .imported-single-case .case-facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .imported-it-case-page .imported-case-overview {
    grid-template-columns: 1fr;
  }

  .imported-it-case-page .imported-case-overview article {
    min-height: auto;
    padding: 18px;
  }

  .imported-it-case-page .cases-hero-panel div {
    min-height: auto;
  }
}

