:root {
  --brand: #056791;
  --brand-dark: #034861;
  --ink: #15202b;
  --muted: #5b6b78;
  --line: #d9e3ea;
  --bg: #f4f7fa;
  --white: #fff;
  --shadow: 0 12px 40px color-mix(in srgb, var(--brand) 12%, transparent);
  --radius: 18px;
  --max: 1160px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --font-style: normal;
  --display-style: normal;
  --font-weight: 400;
  --display-weight: 700;
  --topbar-opacity: 0.86;
  --surface-opacity: 1;
  --page-opacity: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-style: var(--font-style);
  font-weight: var(--font-weight);
  color: var(--ink);
  opacity: var(--page-opacity);
  background:
    radial-gradient(1200px 500px at 10% -10%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, #fff) 0%, var(--bg) 28%, color-mix(in srgb, var(--bg) 90%, #eef2f5) 100%);
  line-height: 1.55;
}
.brand strong,
.hero h1,
.section__head h2,
.page-hero h1,
.stat strong,
.footer h3 {
  font-style: var(--display-style);
  font-weight: var(--display-weight);
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, var(--topbar-opacity));
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 8%, transparent);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .85rem; color: inherit; }
.brand img { height: 46px; width: auto; }
.brand strong { display: block; font-family: var(--display); font-size: .95rem; letter-spacing: .02em; }
.brand span { display: block; color: var(--muted); font-size: .78rem; }
.nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }
/* .nav a has padding — must beat it with higher specificity */
.nav a.nav__phone {
  margin-left: .5rem;
  padding: var(--nav-phone-py, 0.55rem) var(--nav-phone-px, 0.95rem) !important;
  border-radius: var(--nav-phone-radius, 999px);
  font-size: var(--nav-phone-fs, 0.95rem);
  min-height: var(--nav-phone-mh, 0px);
  background: var(--brand); color: #fff !important;
  border: 0 !important; border-bottom: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav a.nav__phone:hover { background: var(--brand-dark); color: #fff !important; }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: .55rem .8rem; font: inherit; font-weight: 700;
}

.hero {
  position: relative; overflow: hidden;
  min-height: min(78vh, 720px);
  display: grid; align-items: end;
  color: #fff;
  background: #023247 center/cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2,34,55,.88) 0%, rgba(2,34,55,.55) 48%, rgba(2,34,55,.25) 100%),
    inherit;
}
.hero video, .hero .hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero__content { padding: 5.5rem 0 4rem; max-width: 720px; }
.eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .7rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 1rem; font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 700;
}
.hero p { margin: 0 0 1.6rem; font-size: 1.08rem; color: rgba(255,255,255,.9); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.2rem; border-radius: 14px;
  font-weight: 700; border: 1px solid transparent; transition: .2s ease;
}
.btn-primary {
  background: #fff; color: var(--brand-dark);
  font-size: var(--btn-primary-fs, 1rem);
  padding: var(--btn-primary-py, 0.75rem) var(--btn-primary-px, 1.2rem);
  min-height: var(--btn-primary-mh, 48px);
}
.btn-primary:hover { background: #e8f4fa; color: var(--brand-dark); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.45);
  font-size: var(--btn-ghost-fs, 1rem);
  padding: var(--btn-ghost-py, 0.75rem) var(--btn-ghost-px, 1.2rem);
  min-height: var(--btn-ghost-mh, 48px);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-solid {
  background: var(--brand); color: #fff;
  font-size: var(--btn-solid-fs, 1rem);
  padding: var(--btn-solid-py, 0.75rem) var(--btn-solid-px, 1.2rem);
  min-height: var(--btn-solid-mh, 48px);
}
.btn-solid:hover { background: var(--brand-dark); color: #fff; }

.section { padding: 4.5rem 0; }
.section--alt { background: rgba(255,255,255,.55); }
.section__head { max-width: 720px; margin-bottom: 2rem; }
.section__head h2 {
  margin: 0 0 .6rem; font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem); line-height: 1.2;
}
.section__head p { margin: 0; color: var(--muted); }

.grid-4, .grid-3, .grid-2 {
  display: grid; gap: 1.1rem;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.tile, .card {
  background: color-mix(in srgb, var(--white) calc(var(--surface-opacity) * 100%), transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 8%, transparent);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.tile {
  padding: var(--tile-pad, 1.25rem);
  border-radius: var(--tile-radius, var(--radius));
  min-height: var(--tile-mh, 0);
}
.tile h3 { margin: 0 0 .45rem; font-size: var(--tile-title, 1.05rem); }
.tile p { margin: 0; color: var(--muted); font-size: var(--tile-text, 0.94rem); }

.card {
  overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--card-radius, var(--radius));
  min-height: var(--card-mh, 0);
}
.card img {
  aspect-ratio: var(--card-img-ratio, 16/10);
  object-fit: cover; width: 100%; background: #dfe8ee;
}
.card__body {
  padding: var(--card-pad, 1.1rem) var(--card-pad-x, 1.15rem) var(--card-pad-b, 1.25rem);
  display: grid; gap: .45rem; flex: 1;
}
.card__body h3 { margin: 0; font-size: var(--card-title, 1.05rem); }
.card__body p { margin: 0; color: var(--muted); font-size: var(--card-text, 0.92rem); }
.card__body .more { margin-top: auto; font-weight: 700; color: var(--brand); }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.split__media {
  border-radius: 24px; overflow: hidden; min-height: 320px;
  background: #0b3a4f center/cover no-repeat; box-shadow: var(--shadow);
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.5rem;
}
.stat {
  padding: 1rem; border-radius: 16px; background: rgba(5,103,145,.07);
}
.stat strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--brand); }
.stat span { color: var(--muted); font-size: .85rem; }

.partners {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem;
}
.partners img {
  height: 72px; width: 100%; object-fit: contain; padding: .9rem;
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
}

.news-list { display: grid; gap: .85rem; }
.news-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center;
  padding: .85rem; background: #fff; border-radius: 16px; border: 1px solid var(--line);
}
.news-item img { width: 140px; height: 88px; object-fit: cover; border-radius: 12px; }
.news-item h3 { margin: 0 0 .25rem; font-size: 1rem; }
.news-item p { margin: 0; color: var(--muted); font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; }
.contact-box { padding: 1.4rem; }
.contact-box dt { color: var(--muted); font-size: .85rem; margin-top: .85rem; }
.contact-box dd { margin: .2rem 0 0; font-weight: 700; font-size: 1.05rem; }
.contact-box dd a { color: inherit; }

.page-hero {
  padding: 3.2rem 0 2rem;
  background:
    linear-gradient(135deg, rgba(5,103,145,.12), transparent 55%),
    linear-gradient(180deg, #fff, transparent);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 .6rem; font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.page-hero p { margin: 0; color: var(--muted); max-width: 46rem; }
.breadcrumb { margin-bottom: .8rem; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--muted); }

.footer {
  margin-top: 2rem; padding: 2.5rem 0 1.5rem;
  background: #062636; color: rgba(255,255,255,.86);
}
.footer a { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;
}
.footer h3 { margin: 0 0 .8rem; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255,255,255,.65);
}

.reveal { opacity: 0; transform: translateY(18px); transition: .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.license-subtitle {
  margin: 1.6rem 0 .85rem; font-size: 1.15rem; font-weight: 700;
  font-family: var(--display); color: var(--ink);
}
.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: .4rem 0 1rem;
}
.license-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.license-card:hover {
  box-shadow: 0 12px 28px rgba(11,58,79,.14);
  transform: translateY(-2px);
}
.license-card__media {
  display: block;
  width: 100%;
  padding-top: 128%;
  background: #edf2f5 center/contain no-repeat;
}
.license-card__zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16' fill='none'%3E%3Cpath fill='%23056791' fill-rule='evenodd' d='M2.55 0A2 2 0 0 0 .55 2v2a1 1 0 0 0 2 0V2h2.14a1 1 0 1 0 0-2H2.55Zm10.52 0a1 1 0 1 0 0 2H15.2v2a1 1 0 1 0 2 0V2a2 2 0 0 0-2-2h-2.14ZM2.55 12a1 1 0 1 0-2 0v2a2 2 0 0 0 2 2h2.14a1 1 0 1 0 0-2H2.55v-2Zm14.66 0a1 1 0 1 0-2 0v2h-2.14a1 1 0 1 0 0 2H15.2a2 2 0 0 0 2-2v-2Z'/%3E%3C/svg%3E") center/18px 16px no-repeat;
  opacity: 0;
  transition: opacity .2s ease;
}
.license-card:hover .license-card__zoom { opacity: 1; }
.license-card__title {
  display: block;
  padding: .85rem 1rem 1rem;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  min-height: 2.6em;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}
.logo-grid--compact { grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.logo-grid__item {
  margin: 0;
  display: grid;
  place-items: center;
  gap: .55rem;
  min-height: 110px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.logo-grid__item img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-grid__item figcaption {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}
.logo-grid--compact .logo-grid__item { min-height: 88px; padding: .75rem; }
.logo-grid--compact figcaption { display: none; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.news-grid--home { grid-template-columns: repeat(3, 1fr); }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.news-card:hover { box-shadow: 0 12px 28px rgba(11,58,79,.12); transform: translateY(-2px); }
.news-card__media {
  display: block;
  width: 100%;
  padding-top: 62%;
  background: #edf2f5 center/cover no-repeat;
}
.news-card__body { display: grid; gap: .45rem; padding: 1rem 1.05rem 1.15rem; }
.news-card__body h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.news-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-detail { max-width: 860px; }
.news-detail__media { margin: 0 0 1.25rem; border-radius: 4px; overflow: hidden; }
.news-detail__media img { width: 100%; height: auto; display: block; }

.contact-office { margin: 0 0 1rem; border-radius: 4px; overflow: hidden; }
.contact-office img { width: 100%; height: auto; display: block; }
.contact-map {
  margin-top: 1.4rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #edf2f5;
}
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.contact-form, .vacancy-form {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}
.contact-form label, .vacancy-form label {
  display: grid;
  gap: .3rem;
  font-size: .88rem;
  font-weight: 650;
  color: var(--ink);
}
.contact-form input, .contact-form textarea,
.vacancy-form input, .vacancy-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .65rem .75rem;
  font: inherit;
  background: #fff;
}
.vacancy-list { display: grid; gap: .75rem; margin: 1.2rem 0; }
.vacancy-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: .2rem 1rem;
}
.vacancy-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: .85rem 0;
  list-style: none;
}
.vacancy-item summary::-webkit-details-marker { display: none; }
.vacancy-item p { margin: 0 0 1rem; color: var(--muted); }
.vacancy-card {
  padding: 1rem 1.15rem 1.15rem;
}
.vacancy-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: .35rem;
}
.vacancy-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--display);
  line-height: 1.3;
}
.vacancy-card__salary {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}
.vacancy-card__cat {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: .55rem;
}
.vacancy-card__meta {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  color: var(--muted);
  font-size: .92rem;
}
.vacancy-card__meta li {
  position: relative;
}
.vacancy-card__link {
  display: inline-flex;
  margin-top: .15rem;
}
.vacancy-empty { color: var(--muted); margin: 1rem 0; }
.vacancy-enbek-more { margin: 0 0 1.25rem; }
.vacancy-form-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.vacancy-form-box h3 { margin: 0 0 .35rem; font-family: var(--display); }

.contact-cta {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, #fff), #fff 55%);
}
.contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: .5rem 0;
}
.contact-cta h2 { margin: 0 0 .4rem; font-family: var(--display); }
.contact-cta p { margin: 0; color: var(--muted); max-width: 36rem; }

.product-cat { margin: 2rem 0 1.2rem; scroll-margin-top: 100px; }
.product-grid { margin-top: .5rem; }
.catalog-sections { margin-bottom: 1.5rem; }
.catalog-section-card {
  display: grid;
  grid-template-rows: 160px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.catalog-section-card:hover {
  box-shadow: 0 12px 28px rgba(11,58,79,.12);
  transform: translateY(-2px);
}
.catalog-section-card__media {
  display: block;
  background: #edf2f5 center/cover no-repeat;
}
.catalog-section-card__body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .35rem; }
.catalog-section-card__body h3 { margin: 0; font-size: 1.05rem; }
.catalog-section-card__body p { margin: 0; color: var(--muted); font-size: .9rem; }
.solutions-page { max-width: 1100px; }
.solution-card { color: inherit; }

.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: none;
  align-items: center; justify-content: center;
  background: rgba(6, 22, 32, .86); padding: 1.25rem;
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  position: relative; max-width: min(920px, 96vw); max-height: 92vh;
  display: grid; gap: .75rem; justify-items: center;
}
.lightbox__inner img {
  max-width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.lightbox__caption {
  color: #fff; text-align: center; font-size: .95rem; max-width: 40rem;
}
.lightbox__close {
  position: absolute; top: -0.4rem; right: -0.4rem;
  width: 2.4rem; height: 2.4rem; border: 0; border-radius: 999px;
  background: #fff; color: #0b3a4f; font-size: 1.4rem; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.page-hero--compact { padding-bottom: .5rem; }
.page-hero--compact h1 { margin-bottom: .35rem; }
.company-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.company-sidebar {
  position: sticky; top: 90px;
  margin-bottom: 20px;
}
.company-sidebar__toggle {
  display: none;
  width: 100%;
  margin-bottom: .75rem;
  padding: .7rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Боковое меню — как Aspro left-menu в perspectiva.kz_old */
.sidebar .bordered {
  border: 1px solid #e5e5e5;
  background: #fff;
}
.sidebar .rounded-4 { border-radius: 4px; }
.side-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.side-menu > li {
  padding: 0;
  margin: 0;
}
.side-menu > li:not(:first-of-type) {
  border-top: 1px solid #e5e5e5;
}
.side-menu .link-wrapper {
  display: block;
  position: relative;
}
.side-menu li a {
  position: relative;
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.35;
}
.side-menu > li .top-level-link {
  padding: 17px 23px 16px 23px;
}
.side-menu > li .top-level-link:hover,
.side-menu > li .top-level-link:focus {
  color: var(--brand);
  background-color: transparent;
}
.side-menu li.active .link--active {
  font-weight: 700;
  color: var(--brand-dark);
}
.link-with-flag:before {
  content: "";
  display: block;
  position: absolute;
  left: -1px;
  top: 24px;
  width: 3px;
  height: 10px;
  border-radius: 0 50% 50% 0;
  background-color: var(--brand);
  z-index: 2;
  opacity: 0;
  transition: opacity .3s ease;
}
.side-menu li.active .link-with-flag:before,
.side-menu li.opened .link-with-flag:before {
  opacity: 1;
}
.company-banner,
.company-table,
.company-inline-media {
  margin: 0 0 1.25rem;
  border-radius: 16px;
  overflow: hidden;
}
.company-banner img,
.company-table img,
.company-inline-media img {
  width: 100%;
  height: auto;
}
.company-prose { display: grid; gap: .95rem; }
.company-prose p { margin: 0; text-align: justify; color: var(--ink); }
.company-prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.company-prose--offer p { text-align: left; font-size: .95rem; }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 1.6rem;
}
.staff-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  background: #1b2430;
  min-height: 0;
}
.staff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  z-index: 2;
  transition: opacity .2s ease-in-out;
  pointer-events: none;
}
.staff-card__media {
  display: block;
  width: 100%;
  padding-top: 128%;
  background-color: #2a3440;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.staff-card--no-photo .staff-card__media {
  background-image: linear-gradient(160deg, #3a4a58, #1b2430);
}
.staff-card__shade {
  position: absolute;
  left: 0;
  right: 0;
  top: 51%;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 100%);
}
.staff-card__preview,
.staff-card__hover {
  position: absolute;
  left: 32px;
  right: 32px;
  z-index: 3;
  color: #fff;
}
.staff-card__preview {
  bottom: 25px;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
.staff-card__hover {
  bottom: 0;
  padding: 26px 0 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
.staff-card__label {
  margin: 0 0 5px;
  font-size: .87em;
  line-height: 1.35;
  color: #fff;
  opacity: .5;
}
.staff-card__name {
  margin: 0;
  font-size: 1.2em;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}
.staff-card__text {
  margin: .75rem 0 0;
  color: #fff;
  opacity: .85;
  font-size: .9em;
  line-height: 1.4;
}
.staff-card:hover::before {
  opacity: .35;
}
.staff-card:hover .staff-card__preview {
  opacity: 0;
  visibility: hidden;
}
.staff-card:hover .staff-card__hover {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 600px) {
  .staff-card__preview,
  .staff-card__hover {
    left: 20px;
    right: 20px;
  }
  .staff-card__hover {
    padding-bottom: 20px;
  }
}

.faq-list { display: grid; gap: .75rem; max-width: 860px; }
.faq-item {
  border: 1px solid color-mix(in srgb, var(--brand) 10%, var(--line));
  border-radius: 14px;
  background: #fff;
  padding: .2rem 1rem 0.2rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: .9rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__body {
  padding: 0 0 1rem;
  color: var(--muted);
  white-space: pre-wrap;
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .partners { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .footer__grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 110px 1fr; }
  .company-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .company-sidebar { position: static; }
  .company-sidebar__toggle { display: inline-flex; justify-content: space-between; align-items: center; }
  .side-menu { display: none; }
  .side-menu.is-open { display: block; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .license-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .logo-grid, .logo-grid--compact, .news-grid, .news-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 74px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 1rem; flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav__phone { margin-left: 0; text-align: center; }
  .grid-4, .grid-3, .grid-2, .partners, .stats { grid-template-columns: 1fr; }
  .hero__content { padding: 4.5rem 0 3rem; }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { width: 100%; height: 160px; }
  .staff-grid { grid-template-columns: 1fr; }
  .license-grid, .logo-grid, .logo-grid--compact, .news-grid, .news-grid--home { grid-template-columns: 1fr; }
  .contact-map iframe { height: 260px; }
}
