:root {
  --white: #ffffff;
  --paper: #f4f6f8;
  --paper-2: #eef2f7;
  --navy: #1f2f46;
  --navy-2: #172437;
  --blue: #2c5aa0;
  --blue-2: #214984;
  --primary: #2c5aa0;
  --gold: #f5b544;
  --ink: #111827;
  --text: #2e3745;
  --muted: #667085;
  --line: #dbe3ee;
  --shadow: 0 18px 48px rgba(31, 47, 70, 0.08);
  --radius: 14px;
  --container: 1180px;
  --header-height: 128px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 150px;
}

.section--soft {
  background: var(--paper);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head--wide {
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.12;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.16;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 760px;
  color: #344154;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(44, 90, 160, 0.22);
}

.btn--primary:hover {
  background: var(--blue-2);
  box-shadow: 0 18px 42px rgba(44, 90, 160, 0.3);
}

.btn--ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(31, 47, 70, 0.18);
}

.btn--ghost:hover {
  color: var(--blue);
  border-color: rgba(44, 90, 160, 0.44);
  background: var(--white);
}

.btn--light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.btn--small {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.site-header {
  position: fixed;
  z-index: 9000;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(31, 47, 70, 0.11);
}

.topline {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-2);
  font-size: 13px;
  font-weight: 700;
}

.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 24px;
}

.topline-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topline a:hover {
  color: var(--white);
}

.mainbar {
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  width: min(100% - 32px, 1360px);
  min-height: 92px;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand-logo-shell {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31, 47, 70, 0.08);
}

.brand-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #27364b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-height: 64px;
  padding: 0 34px;
  white-space: nowrap;
}

.nav-cta--mobile {
  display: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-self: stretch;
  align-items: center;
}

.mega-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mega-toggle svg {
  width: 18px;
  height: 18px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.mega-menu {
  position: fixed;
  top: var(--header-height, 128px);
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - var(--header-height, 128px) - 24px);
  overflow-y: auto;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}

.mega-menu::before {
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
  content: "";
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
}

.mega-menu__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 320px;
  min-width: 320px;
  gap: 0;
  height: 100%;
  overflow: hidden;
  padding: 32px 28px;
  box-sizing: border-box;
  border-radius: 18px;
  background: linear-gradient(180deg, #1f2f46 0%, #16243a 100%);
}

.mega-menu__promo .btn,
.mega-menu__promo .promo-btn {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  margin-top: 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.mega-menu__promo-title {
  max-width: 100%;
  margin: 18px 0 20px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.mega-menu__promo-title span {
  display: block;
}

.mega-menu__promo-text {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.mega-menu__promo-title,
.mega-menu__promo-text {
  color: var(--white);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.mega-menu__promo .eyebrow {
  color: #d8e7ff;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 32px;
}

.mega-col h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.mega-list {
  display: grid;
  gap: 8px;
}

.mega-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mega-link .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.mega-link strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.2;
}

.mega-link small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mega-link:hover {
  border-color: rgba(44, 90, 160, 0.22);
  background: #f8fbff;
  transform: translateY(-2px);
}

.burger,
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.burger span,
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.burger.is-open span:nth-child(1),
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2),
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3),
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 860px;
  padding: 208px 0 92px;
  overflow: hidden;
  background: linear-gradient(125deg, #f8fafc 0%, #ffffff 45%, #edf2f8 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(31, 47, 70, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 47, 70, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 76%, transparent 100%);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.94fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  padding-left: 12px;
}

.hero-subtitle {
  color: var(--blue);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-stats div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-stats strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: auto;
}

.hero-logo-card {
  position: relative;
  width: min(100%, 620px);
  padding: 14px;
  border: 1px solid rgba(219, 227, 238, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-logo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-note {
  position: relative;
  width: min(100%, 620px);
  padding: 28px;
  color: var(--white);
  border-radius: 16px;
  background: var(--navy);
  box-shadow: 0 24px 58px rgba(31, 47, 70, 0.24);
}

.hero-note small {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  font-size: 21px;
  line-height: 1.24;
}

.hero-note p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.page-hero {
  position: relative;
  padding: 188px 0 76px;
  overflow: hidden;
  background: linear-gradient(125deg, #f8fafc 0%, #ffffff 50%, #edf2f8 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: center;
}

.page-hero-content {
  min-width: 0;
  max-width: 860px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.page-hero .lead {
  margin-top: 22px;
}

.page-hero-aside {
  display: grid;
  justify-items: center;
  justify-self: end;
  gap: 18px;
  width: 320px;
  min-width: 320px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  text-align: center;
}

.page-hero-aside img {
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto 4px;
}

.page-hero-aside p {
  max-width: 260px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 54px;
  align-items: start;
}

.prose {
  display: grid;
  gap: 18px;
}

.panel,
.card,
.expert-card,
.practice-card,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(31, 47, 70, 0.07);
}

.panel {
  padding: 30px;
}

.cards {
  display: grid;
  gap: 22px;
}

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

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

.card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover,
.expert-card:hover,
.practice-card:hover {
  transform: translateY(-5px);
  border-color: rgba(44, 90, 160, 0.34);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  border: 1px solid rgba(44, 90, 160, 0.18);
  border-radius: 12px;
  background: rgba(44, 90, 160, 0.07);
  box-shadow: 0 10px 24px rgba(31, 47, 70, 0.05);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon .icon-fill {
  fill: currentColor;
  opacity: 0.1;
  stroke: none;
}

.card:hover .icon,
.expert-card:hover .icon,
.vacancy-card:hover .icon,
.practice-card:hover .icon,
.mega-link:hover .icon,
.contact-list > div:hover .icon {
  color: var(--navy);
  border-color: rgba(245, 181, 68, 0.48);
  background: rgba(245, 181, 68, 0.11);
  box-shadow: 0 12px 26px rgba(31, 47, 70, 0.07);
  transform: scale(1.04);
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-2);
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.expert-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 26px;
  border-radius: 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.expert-card__content {
  display: grid;
  flex: 1 1 auto;
  gap: 16px;
  align-content: start;
}

.expert-card h3 {
  font-size: 21px;
}

.expert-card p strong {
  color: var(--navy);
}

.expert-card__actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.expert-card__actions .btn {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
  white-space: nowrap;
}

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.vacancy-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(31, 47, 70, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.vacancy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(44, 90, 160, 0.34);
  box-shadow: var(--shadow);
}

.vacancy-card__content {
  display: grid;
  flex: 1 1 auto;
  gap: 16px;
  align-content: start;
}

.vacancy-card__footer {
  margin-top: auto;
  padding-top: 24px;
}

.vacancy-card__footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.clean-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.info-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr) minmax(0, 1.1fr);
  gap: 1px;
}

.table-head div,
.table-row div {
  padding: 18px 20px;
  background: var(--white);
}

.table-head div {
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

.table-row strong {
  color: var(--navy);
}

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

.practice-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.practice-card.is-hidden {
  display: none;
}

.practice-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: var(--blue);
  border-radius: 999px;
  background: rgba(44, 90, 160, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.section-actions {
  margin-top: 28px;
}

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

.step {
  padding: 26px;
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  border-radius: 50%;
  background: var(--navy);
}

.note {
  padding: 18px 20px;
  color: #465365;
  border-left: 3px solid var(--blue);
  background: rgba(44, 90, 160, 0.07);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.faq-question svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.cta {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.cta .eyebrow,
.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

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

.cta-inner > div {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 30px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: center;
}

.contact-list .icon {
  grid-row: span 2;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.contact-list a,
.contact-list strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.map {
  height: 320px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 126px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.1);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.form-policy {
  position: relative;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

.consent a {
  color: var(--blue);
  font-weight: 800;
}

.consent a:hover {
  color: var(--blue-2);
}

.consent input {
  margin-top: 4px;
}

.form-policy input {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.form-policy span {
  pointer-events: auto;
}

.form-policy a {
  position: relative;
  z-index: 3;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.form-policy a:hover {
  opacity: 0.75;
}

.dropzone {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 22px;
  border: 1px dashed rgba(44, 90, 160, 0.42);
  border-radius: var(--radius);
  background: rgba(44, 90, 160, 0.05);
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone.is-dragover {
  border-color: var(--blue);
  background: rgba(44, 90, 160, 0.1);
}

.dropzone input {
  display: none;
}

.dropzone span {
  font-weight: 700;
}

.dropzone small {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 960px);
  gap: 44px;
  align-items: start;
  justify-content: center;
}

.legal-toc {
  position: sticky;
  top: 154px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(31, 47, 70, 0.07);
}

.legal-toc strong {
  color: var(--navy);
}

.legal-toc nav {
  display: grid;
  gap: 8px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 14px;
}

.legal-toc a:hover {
  color: var(--blue);
}

.legal-content {
  max-width: 960px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-document-title {
  margin-bottom: 18px;
  color: var(--navy);
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.legal-meta {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 8px 12px;
  color: var(--blue);
  border-radius: 999px;
  background: rgba(44, 90, 160, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.legal-intro {
  display: grid;
  gap: 14px;
  font-size: 17px;
  line-height: 1.8;
}

.legal-section {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.8;
}

.legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-section h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
}

.legal-list {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-list li::marker {
  color: var(--blue);
}

.legal-back-top {
  display: inline-flex;
  margin-top: 34px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back-top:hover {
  color: var(--blue-2);
}

.form-status {
  min-height: 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.sticky-messengers {
  position: fixed !important;
  top: auto !important;
  right: 22px !important;
  bottom: 28px !important;
  left: auto !important;
  z-index: 9999;
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-messenger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
  visibility: visible !important;
  opacity: 1 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sticky-messenger__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: currentColor;
  font: inherit;
}

.sticky-messenger:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.26);
}

.sticky-messenger--whatsapp {
  background: #1f9d55;
}

.sticky-messenger--telegram {
  background: #2c8cd6;
}

.sticky-messenger--max {
  background: var(--navy);
}

.site-footer {
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(180px, 0.55fr) minmax(240px, 0.75fr) minmax(240px, 0.75fr);
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 14px;
}

.footer-links,
.footer-contacts {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover,
.footer-contacts a:hover,
.footer-bottom a:hover {
  color: var(--blue);
}

.footer-contacts a,
.footer-contacts span {
  overflow-wrap: anywhere;
}

.footer-contacts strong {
  color: var(--navy);
}

.footer-disclaimer {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(17, 24, 39, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1400px) {
  .header-inner {
    gap: 18px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo-shell {
    width: 68px;
    height: 68px;
    padding: 5px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .site-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 14px;
  }

  .header-cta {
    height: 56px;
    min-height: 56px;
    padding: 0 22px;
    font-size: 14px;
  }
}

@media (max-width: 1340px) {
  .header-inner {
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    min-height: 82px;
    gap: 16px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo-shell {
    width: 58px;
    height: 58px;
    padding: 4px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 12px;
  }

  .nav-link {
    font-size: 13px;
    white-space: nowrap;
  }

  .header-cta {
    display: none !important;
  }

  .mega-menu {
    width: calc(100vw - 32px);
  }

  .mega-menu__inner {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .mega-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  :root {
    --header-height: 112px;
  }

  .topline {
    display: block;
    font-size: 12px;
  }

  .topline-inner {
    min-height: 30px;
    gap: 12px;
  }

  .topline-group {
    gap: 14px;
  }

  .header-inner {
    display: flex;
    width: min(100% - 32px, var(--container));
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo-shell {
    width: 58px;
    height: 58px;
  }

  .brand-copy small {
    display: block;
  }

  .burger,
  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .header-cta {
    display: none !important;
  }

  .site-nav {
    position: fixed;
    align-self: auto;
    top: var(--header-height, 112px);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--header-height, 112px));
    padding: 24px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 9999;
    gap: 0;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta--mobile {
    display: inline-flex;
    min-height: 52px;
    margin-top: 16px;
  }

  .nav-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    align-self: auto;
  }

  .nav-dropdown > .nav-link {
    grid-column: 1;
  }

  .mega-toggle {
    display: inline-flex;
    grid-column: 2;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdown.is-open .mega-toggle svg {
    transform: rotate(180deg);
  }

  .mega-menu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    transition: max-height 0.28s ease;
  }

  .mega-menu::before {
    display: none;
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu {
    transform: none;
  }

  .nav-dropdown.is-open .mega-menu {
    max-height: 1600px;
  }

  .mega-menu__inner {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    padding: 16px;
    border-radius: 14px;
    box-shadow: none;
  }

  .mega-menu__promo {
    display: none;
  }

  .mega-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding: 142px 0 72px;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    justify-items: start;
  }

  .hero-note {
    justify-self: end;
  }

  .page-hero {
    padding: 136px 0 64px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 8vw, 58px);
  }

  .page-hero-aside {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    justify-self: start;
  }

  .expert-grid,
  .vacancy-grid,
  .cards--3,
  .cards--4,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .table-head,
  .table-row {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 112px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .topline {
    display: block;
    font-size: 12px;
  }

  .topline-inner {
    justify-content: center;
    gap: 12px;
  }

  .topline-inner > span {
    display: none;
  }

  .section {
    padding: 58px 0;
    scroll-margin-top: 96px;
  }

  .header-inner {
    min-height: 82px;
  }

  .brand-logo-shell {
    width: 52px;
    height: 52px;
    padding: 5px;
  }

  .brand-copy strong {
    max-width: 145px;
    font-size: 13px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    top: var(--header-height, 112px);
    max-height: calc(100vh - var(--header-height, 112px));
  }

  .hero {
    padding-top: 128px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-actions,
  .expert-card__actions {
    display: grid;
  }

  .hero-stats,
  .mega-menu__grid,
  .expert-grid,
  .vacancy-grid,
  .cards--3,
  .cards--4,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    width: 92%;
    padding: 18px;
  }

  .hero-note {
    width: 88%;
    padding: 18px;
  }

  .legal-content {
    padding: 24px;
  }

  .panel,
  .card,
  .expert-card,
  .vacancy-card,
  .practice-card,
  .contact-form {
    padding: 22px;
  }

  .page-hero {
    padding-top: 126px;
  }

  .page-hero-aside {
    display: none;
  }

  .faq-question {
    padding: 18px;
  }

  .faq-answer p {
    padding: 0 18px 18px;
  }

  .sticky-messengers {
    right: 14px !important;
    bottom: 18px !important;
    gap: 10px;
  }

  .sticky-messenger {
    width: 50px;
    height: 50px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

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

body {
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
a,
span,
li,
button {
  max-width: 100%;
}

.expert-card,
.vacancy-card,
.service-card,
.info-card {
  min-width: 0;
  overflow: hidden;
}

.expert-card h3,
.vacancy-card h3,
.service-card h3,
.info-card h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.expert-card p,
.vacancy-card p,
.service-card p,
.info-card p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.section-title,
.page-title,
.hero-title {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.05;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.expert-grid,
.vacancy-grid,
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .expert-card h3,
  .vacancy-card h3,
  .service-card h3 {
    font-size: 22px;
  }

  .expert-card__actions {
    flex-direction: column;
  }

  .expert-card__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .section-title,
  .page-title,
  .hero-title {
    font-size: 34px;
  }

  .expert-card h3,
  .vacancy-card h3,
  .service-card h3 {
    font-size: 20px;
  }

  .expert-card p,
  .vacancy-card p,
  .service-card p {
    font-size: 15px;
  }
}

/* Real page selectors: expertise catalog text adaptation */
.section--soft .expert-grid,
#catalog .expert-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

#catalog .expert-card,
.section--soft .expert-grid > .expert-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

#catalog .expert-card__content,
.section--soft .expert-card .expert-card__content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#catalog .expert-card h3,
.section--soft .expert-card h3 {
  max-width: 100% !important;
  font-size: clamp(20px, 1.8vw, 26px) !important;
  line-height: 1.18 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

#catalog .expert-card p,
#catalog .expert-card li,
.section--soft .expert-card p,
.section--soft .expert-card li {
  max-width: 100% !important;
  font-size: clamp(15px, 1.2vw, 17px) !important;
  line-height: 1.55 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

#catalog .expert-card__actions,
.section--soft .expert-card .expert-card__actions {
  margin-top: auto !important;
  display: flex !important;
  gap: 12px !important;
  align-items: stretch !important;
}

#catalog .expert-card__actions .btn,
.section--soft .expert-card .expert-card__actions .btn {
  min-width: 0 !important;
  flex: 1 1 0 !important;
  white-space: normal !important;
  text-align: center !important;
}

.page-hero h1,
.page-hero-content h1 {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

.mega-link,
.mega-link strong,
.mega-link span {
  min-width: 0 !important;
  max-width: 100% !important;
}

.mega-link strong {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

@media (max-width: 900px) {
  .section--soft .expert-grid,
  #catalog .expert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .section--soft .expert-grid,
  #catalog .expert-grid {
    grid-template-columns: 1fr !important;
  }

  #catalog .expert-card__actions,
  .section--soft .expert-card .expert-card__actions {
    flex-direction: column !important;
  }
}

/* Home expertise accordion */
.home-expertise-catalog .section-head {
  margin-bottom: 30px;
}

.expert-accordion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.expert-accordion {
  overflow: hidden;
  border: 1px solid rgba(31, 47, 70, 0.12);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.expert-accordion:hover,
.expert-accordion.is-open {
  border-color: rgba(44, 90, 160, 0.32);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.expert-accordion.is-open {
  transform: translateY(-1px);
}

.expert-accordion__header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  gap: 14px;
  padding: 16px;
  border: 0;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(44, 90, 160, 0.12);
}

.expert-accordion__header:hover {
  background: rgba(44, 90, 160, 0.04);
}

.expert-accordion.is-open .expert-accordion__header {
  background: rgba(44, 90, 160, 0.08);
}

.expert-accordion__icon.icon {
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(44, 90, 160, 0.22);
}

.expert-accordion__icon.icon svg {
  width: 22px;
  height: 22px;
}

.expert-accordion__icon.icon .icon-fill {
  opacity: 0.18;
}

.expert-accordion__title {
  min-width: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.expert-accordion__arrow {
  justify-self: center;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.expert-accordion.is-open .expert-accordion__arrow {
  transform: rotate(-135deg);
}

.expert-accordion__body {
  max-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 16px;
  color: #4b5563;
  border-top: 1px solid rgba(31, 47, 70, 0);
  background: linear-gradient(180deg, rgba(244, 246, 248, 0.45) 0%, #ffffff 100%);
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease, border-color 0.25s ease;
}

.expert-accordion.is-open .expert-accordion__body {
  padding-top: 18px;
  padding-bottom: 18px;
  border-top-color: rgba(31, 47, 70, 0.08);
}

.expert-accordion__body p {
  width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
}

.expert-accordion__body strong {
  color: var(--navy);
}

.expert-accordion__more {
  display: inline-flex;
  margin-top: 12px;
  max-width: 100%;
}

.expert-accordion__actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 2px;
  width: 100%;
}

.expert-accordion__actions .btn {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  text-align: center;
  white-space: normal;
}

/* FAQ documents */
.faq-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.faq-doc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(31, 47, 70, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.faq-doc-card .icon {
  margin-bottom: 18px;
}

.faq-doc-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.faq-doc-card p {
  color: #4b5563;
  line-height: 1.62;
}

.faq-doc-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #4b5563;
}

.faq-doc-card li {
  line-height: 1.55;
}

.doc-inline-link {
  display: inline-flex;
  margin-left: 10px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.doc-inline-link:hover {
  color: var(--navy);
  opacity: 0.82;
}

.faq-doc-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 16px;
  color: var(--muted);
  border: 1px solid rgba(31, 47, 70, 0.12);
  border-radius: 12px;
  background: #f4f6f8;
  font-weight: 800;
  cursor: not-allowed;
}

.doc-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  color: #fff;
  border-radius: 12px;
  background: var(--blue);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.doc-link:hover {
  color: #fff;
  background: var(--navy);
  transform: translateY(-1px);
}

.doc-link--muted,
.doc-link--muted:hover {
  color: #6b7280;
  background: #f3f4f6;
  cursor: default;
  pointer-events: none;
  transform: none;
}

@media (max-width: 900px) {
  .expert-accordion-list,
  .faq-docs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-logo-card,
  .professional-logo-card,
  .home-logo-card,
  .position-logo-card {
    display: none !important;
  }

  .hero-visual {
    gap: 0;
    justify-items: stretch;
  }

  .hero-note,
  .professional-section,
  .position-section {
    width: 100%;
    margin-top: 24px !important;
  }
}

@media (max-width: 640px) {
  .expert-accordion__header {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    min-height: 68px;
    gap: 12px;
    padding: 14px;
  }

  .expert-accordion__icon.icon {
    width: 40px;
    height: 40px;
  }

  .expert-accordion__title {
    font-size: 16px;
  }

  .expert-accordion__body {
    padding: 0 14px;
  }

  .expert-accordion.is-open .expert-accordion__body {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .expert-accordion__actions {
    flex-direction: column;
  }

  .faq-doc-card {
    padding: 24px 20px;
  }

  .doc-link {
    width: 100%;
  }

  .faq-docs-section {
    padding-bottom: 96px;
  }

  .sticky-messengers {
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
}
