/* SPRAVA v3 — final, DRY, single .container */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}



html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.65;
  color: var(--d);
  background: var(--bg);
  overflow-x: hidden
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--e)
}

img {
  max-width: 100%;
  display: block
}

button {
  font-family: inherit
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 14px/1 var(--f);
  padding: 13px 28px;
  border-radius: var(--rs);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--e);
  white-space: nowrap
}

.btn--primary {
  background: var(--c);
  color: var(--w);
  border-color: var(--c)
}

.btn--primary:hover {
  background: var(--cd);
  border-color: var(--cd);
  transform: translateY(-2px);
  box-shadow: var(--shb)
}

.btn--outline-dark {
  background: 0 0;
  color: var(--d);
  border-color: var(--d3)
}

.btn--outline-dark:hover {
  border-color: var(--c);
  color: var(--c)
}

.btn--white {
  background: var(--w);
  color: var(--d);
  border-color: var(--w)
}

.btn--white:hover {
  background: var(--c50);
  transform: translateY(-2px);
  box-shadow: var(--shl)
}

.btn--glass {
  background: rgba(255, 255, 255, .12);
  color: var(--w);
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px)
}

.btn--glass:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-2px)
}

.btn--lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: var(--r)
}

.btn--block {
  width: 100%
}

/* === SECTION HEADERS === */
.s-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px
}

.s-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center
}

.s-header__left {
  display: flex;
  flex-direction: column
}

.s-label {
  display: inline-block;
  font: 700 12px/1 var(--f);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--c);
  margin-bottom: 12px
}

.s-label--light {
  color: rgba(255, 255, 255, .6)
}

.s-title {
  font: 800 clamp(26px, 3.5vw, 42px)/1.15 var(--f);
  color: var(--d);
  letter-spacing: -.5px
}

.s-title--left {
  text-align: left
}

.s-desc {
  font-size: 17px;
  color: var(--d5);
  max-width: 740px;
  margin-top: 12px
}

.s-header__btn {
  flex-shrink: 0
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ============= HEADER (index2 style) ============= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform .35s ease
}

.header.top-hidden {
  transform: translateY(-40px)
}

.header-top {
  background: var(--d);
  color: var(--d4);
  font-size: 13px;
  height: 40px;
  transition: opacity .35s ease
}

.header.top-hidden .header-top {
  opacity: 0;
  pointer-events: none
}

.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px
}

.header-top__left {
  display: flex;
  align-items: center;
  gap: 20px
}

.header-top__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--d4);
  transition: color var(--e)
}

.header-top__link--phone {
  color: var(--w);
  font-weight: 600
}

.header-top__link--phone:hover {
  color: var(--c200)
}

.header-top__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .12)
}

.header-top__right {
  display: flex;
  align-items: center;
  gap: 20px
}

.header-top__nav-link {
  color: var(--d4);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--e)
}

.header-top__nav-link:hover {
  color: var(--w)
}

.header-top__socials {
  display: flex;
  gap: 10px;
  margin-left: 8px
}

.header-top__socials a {
  color: var(--d5);
  transition: color var(--e)
}

.header-top__socials a:hover {
  color: var(--w)
}

.header-main {
  background: var(--w);
  border-bottom: 1px solid var(--d2);
  transition: box-shadow var(--e), border-color var(--e)
}

.header-main.scrolled {
  box-shadow: var(--shm);
  border-color: transparent
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px
}

.logo {
  flex-shrink: 0
}

.logo img {
  height: 40px;
  width: auto
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center
}

.main-nav__list {
  display: flex;
  list-style: none;
  gap: 4px
}

.main-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font: 600 15px var(--f);
  color: var(--d7);
  border-radius: var(--rs);
  transition: color var(--e), background var(--e);
  white-space: nowrap
}

.main-nav__link:hover,
.main-nav__item:hover .main-nav__link {
  color: var(--c);
  background: var(--c50)
}

/* Chevron for nav items with dropdown — single definition, inherits color */
.main-nav__item.has-mega > .main-nav__link::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform var(--e);
  flex-shrink: 0
}

.main-nav__item.has-mega:hover > .main-nav__link::after {
  transform: rotate(180deg)
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 480px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease
}

.mega-dropdown--wide {
  min-width: 640px
}

.main-nav__item {
  position: relative
}

.main-nav__item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0)
}

.mega-dropdown__inner {
  background: var(--w);
  border-radius: var(--r);
  box-shadow: var(--shx);
  border: 1px solid var(--d2);
  display: flex;
  overflow: hidden
}

.mega-dropdown__col {
  padding: 28px;
  min-width: 240px
}

.mega-dropdown__col+.mega-dropdown__col {
  border-left: 1px solid var(--d1)
}

.mega-dropdown__heading {
  font: 700 12px var(--f);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--d4);
  margin-bottom: 16px
}

.mega-dropdown__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mega-dropdown__links a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font: 500 14px var(--f);
  color: var(--d7);
  border-radius: var(--rs);
  transition: background var(--e), color var(--e)
}

.mega-dropdown__links a:hover {
  background: var(--c50);
  color: var(--c)
}

.mega-dropdown__preview {
  width: 220px;
  flex-shrink: 0;
  background: var(--d0);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--d1)
}

.mega-dropdown__preview img {
  border-radius: var(--rs);
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block
}

.mega-dropdown__all {
  font: 600 13px var(--f);
  color: var(--c)
}

.header-main__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px
}

.header-phone__icon {
  width: 40px;
  height: 40px;
  background: var(--c50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  flex-shrink: 0
}

.header-phone__text {
  display: flex;
  flex-direction: column
}

.header-phone__number {
  font: 700 15px var(--f);
  color: var(--d);
  line-height: 1.2
}

.header-phone__label {
  font-size: 12px;
  color: var(--d5)
}

.header-phone:hover .header-phone__number {
  color: var(--c)
}

.header-main__cta {
  font-size: 13px;
  padding: 10px 20px
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: 0 0;
  border: 0;
  cursor: pointer;
  padding: 6px
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--d);
  border-radius: 2px;
  transition: var(--e)
}

/* ============= MOBILE MENU ============= */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden
}

.mob-menu.active {
  pointer-events: all;
  visibility: visible
}

.mob-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity var(--e)
}

.mob-menu.active .mob-menu__overlay {
  opacity: 1
}

.mob-menu__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 340px;
  max-width: 88vw;
  background: var(--w);
  transform: translateX(100%);
  transition: transform var(--e);
  display: flex;
  flex-direction: column
}

.mob-menu.active .mob-menu__panel {
  transform: translateX(0)
}

.mob-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--d2)
}

.mob-menu__logo {
  height: 32px
}

.mob-menu__close {
  background: 0 0;
  border: 0;
  font-size: 28px;
  color: var(--d5);
  cursor: pointer
}

.mob-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mob-menu__nav a {
  padding: 12px 16px;
  font: 600 15px var(--f);
  color: var(--d);
  border-radius: var(--rs)
}

.mob-menu__nav a:hover {
  background: var(--c50);
  color: var(--c)
}

.mob-menu__divider {
  height: 1px;
  background: var(--d2);
  margin: 8px 0
}

.mob-menu__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--d2)
}

.mob-menu__phone {
  display: block;
  font: 700 20px var(--f);
  color: var(--c);
  margin-bottom: 16px
}

/* ============= HERO — split layout with light bg ============= */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f1f6ff 0%, var(--bg) 100%);
  overflow: hidden
}

.hero__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none
}

.hero__deco-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%)
}

.hero__deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4
}

.hero__deco-blob--1 {
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 70%)
}

.hero__deco-blob--2 {
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, .2), transparent 70%)
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center
}

.hero__col-text {
  max-width: 640px
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 12.5px var(--f);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c);
  background: var(--w);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--c100);
  box-shadow: var(--sh);
  margin-bottom: 24px
}

.hero__label-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s infinite
}

@keyframes blink {
  0%, 100% { opacity: 1 }
  50% { opacity: .3 }
}

.hero__title {
  font: 900 clamp(36px, 4.2vw, 58px)/1.08 var(--f);
  color: var(--d);
  margin-bottom: 24px;
  letter-spacing: -1.2px
}

.hero__title em {
  font-style: normal;
  color: var(--c);
  position: relative;
  background: linear-gradient(90deg, var(--c), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.hero__desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--d5);
  margin-bottom: 36px;
  max-width: 560px
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* Showcase — slider with arrows + thumb-strip */
.hero__showcase {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.hero__slider {
  position: relative;
  height: 460px;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--shl);
  background: var(--d1)
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease
}

.hero__slide.active {
  opacity: 1
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero__slide-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 100px;
  font: 700 12px var(--f);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c);
  box-shadow: var(--shm);
  z-index: 2
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border: 0;
  color: var(--d);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shm);
  transition: all var(--e);
  z-index: 3
}

.hero__arrow:hover {
  background: var(--c);
  color: var(--w)
}

.hero__arrow--prev { left: 16px }
.hero__arrow--next { right: 16px }

/* Thumb-strip */
.hero__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.hero__thumb {
  position: relative;
  height: 74px;
  border-radius: var(--rs);
  overflow: hidden;
  border: 2px solid transparent;
  background: 0 0;
  padding: 0;
  cursor: pointer;
  transition: all var(--e);
  opacity: .6
}

.hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero__thumb:hover { opacity: 1 }

.hero__thumb.active {
  border-color: var(--c);
  opacity: 1;
  box-shadow: var(--shm)
}

/* ============= TRUST BAR ============= */
.trust-bar {
  padding: 0;
  margin-top: -48px;
  position: relative;
  z-index: 10
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--w);
  border-radius: var(--rl);
  box-shadow: var(--shx);
  overflow: hidden
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--d1);
  transition: background var(--e)
}

.trust-bar__item:last-child {
  border-right: 0
}

.trust-bar__item:hover {
  background: var(--c50)
}

.trust-bar__item img,
.trust-bar__item svg {
  flex-shrink: 0
}

.trust-bar__text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--d);
  line-height: 1.3
}

.trust-bar__text span {
  font-size: 13px;
  color: var(--d5)
}

/* ============= CATALOG GRID ============= */
.catalog {
  padding: 100px 0
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px
}

.cat-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  display: block
}

.cat-card--hero {
  grid-row: span 2
}

.cat-card--wide {
  grid-column: span 3
}

.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease
}

.cat-card:hover .cat-card__img {
  transform: scale(1.06)
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(12, 18, 34, .85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--e)
}

.cat-card:hover .cat-card__overlay {
  background: linear-gradient(180deg, rgba(37, 99, 235, .1) 0%, rgba(12, 18, 34, .9) 100%)
}

.cat-card__count {
  font: 700 11px var(--f);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c200);
  margin-bottom: 8px
}

.cat-card__title {
  font: 800 22px var(--f);
  color: var(--w);
  margin-bottom: 6px
}

.cat-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 12px;
  line-height: 1.5
}

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13px var(--f);
  color: var(--c200);
  transition: gap var(--e)
}

.cat-card:hover .cat-card__link {
  gap: 12px
}

/* ============= PRODUCT ROWS ============= */
.products {
  padding: 60px 0 40px
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px
}

.product-row--reverse {
  direction: rtl
}

.product-row--reverse>* {
  direction: ltr
}

.product-row__img {
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--shl)
}

.product-row__img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform .6s ease
}

.product-row:hover .product-row__img img {
  transform: scale(1.03)
}

.product-row__body {
  max-width: 520px
}

.product-row__title {
  font: 800 clamp(22px, 2.5vw, 32px)/1.2 var(--f);
  color: var(--d);
  margin: 8px 0 16px
}

.product-row__body p {
  font-size: 15px;
  color: var(--d5);
  line-height: 1.7;
  margin-bottom: 20px
}

.product-row__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px
}

.product-row__tags li {
  font: 600 12px var(--f);
  padding: 6px 14px;
  background: var(--c50);
  color: var(--c);
  border-radius: 100px
}

/* ============= ABOUT ============= */
.about {
  padding: 100px 0;
  background: var(--w)
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.about__gallery {
  position: relative;
  height: 520px
}

.about__img--main {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 78%;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--shl)
}

.about__img--main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about__img--sm {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 52%;
  border-radius: var(--rl);
  overflow: hidden;
  border: 6px solid var(--w);
  box-shadow: var(--shl)
}

.about__img--sm img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about__badge {
  position: absolute;
  bottom: 60px;
  left: 16px;
  background: var(--c);
  color: var(--w);
  padding: 20px 24px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shb)
}

.about__badge-num {
  font: 900 36px var(--f);
  line-height: 1
}

.about__badge-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3
}

.about__text {
  font-size: 16px;
  color: var(--d5);
  line-height: 1.75;
  margin-bottom: 12px
}

.about__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px
}

.about__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 14px var(--f);
  color: var(--d)
}

.about__btns {
  display: flex;
  gap: 12px
}

/* ============= ADVANTAGES ============= */
.advantages {
  padding: 100px 0;
  background: var(--d0)
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.adv-card {
  background: var(--w);
  padding: 32px 28px;
  border-radius: var(--r);
  border: 1px solid var(--d1);
  position: relative;
  overflow: hidden;
  transition: all var(--e)
}

.adv-card:hover {
  border-color: var(--c200);
  transform: translateY(6px);
  box-shadow: var(--shl)
}

.adv-card__num {
  position: absolute;
  top: 20px;
  right: 20px;
  font: 900 48px var(--f);
  color: var(--d2);
  line-height: 1;
  transition: color var(--e)
}

.adv-card:hover .adv-card__num {
  color: var(--c200)
}

.adv-card__icon {
  width: 56px;
  height: 56px;
  background: var(--c50);
  border-radius: var(--rs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  margin-bottom: 20px
}

.adv-card h3 {
  font: 700 17px var(--f);
  color: var(--d);
  margin-bottom: 10px
}

.adv-card p {
  font-size: 14px;
  color: var(--d5);
  line-height: 1.6
}

/* ============= PROCESS — timeline with dashed line ============= */
.process {
  padding: 100px 0;
  background: var(--w)
}

.process-flow {
  position: relative;
  padding: 20px 0
}

.process-flow__line {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--c200) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0
}

.process-flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  z-index: 1
}

.pstep {
  text-align: center;
  padding: 0 8px
}

.pstep__circle {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--w);
  border: 2px solid var(--c100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  margin: 0 auto 18px;
  transition: all var(--e);
  box-shadow: 0 0 0 8px var(--w)
}

.pstep__num {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--c);
  color: var(--w);
  font: 800 11px var(--f);
  padding: 4px 8px;
  border-radius: 100px;
  letter-spacing: .5px;
  box-shadow: var(--shm)
}

.pstep:hover .pstep__circle {
  background: var(--c);
  color: var(--w);
  border-color: var(--c);
  transform: translateY(-4px);
  box-shadow: 0 0 0 8px var(--w), var(--shb)
}

.pstep--accent .pstep__circle {
  background: var(--c);
  color: var(--w);
  border-color: var(--c);
  box-shadow: 0 0 0 8px var(--w), var(--shb)
}

.pstep--accent .pstep__num {
  background: #16a34a
}

.process--4 .process-flow__steps {
  grid-template-columns: repeat(4, 1fr)
}

.process--4 .process-flow__line {
  left: 12.5%;
  right: 12.5%;
  top: 62px
}

.pstep__title {
  display: block;
  font: 700 15px var(--f);
  color: var(--d);
  margin-bottom: 6px
}

.pstep p {
  font-size: 13px;
  color: var(--d5);
  line-height: 1.5
}

/* ============= PORTFOLIO — masonry ============= */
.portfolio {
  padding: 100px 0
}

.portfolio__masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px
}

.portfolio__item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
}

.portfolio__item--tall {
  grid-row: span 2
}

.portfolio__item--wide {
  grid-column: span 2
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.portfolio__item:hover img {
  transform: scale(1.05)
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 18, 34, .85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--e)
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1
}

.portfolio__badge {
  display: inline-block;
  font: 700 11px var(--f);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c200);
  margin-bottom: 8px;
  background: rgba(37, 99, 235, .2);
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
  backdrop-filter: blur(4px)
}

.portfolio__overlay h3 {
  font: 700 18px var(--f);
  color: var(--w);
  margin-bottom: 4px
}

.portfolio__overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, .6)
}

/* ============= CTA — two-column card ============= */
.cta-section {
  padding: 100px 0
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shx)
}

.cta-card__left {
  background: linear-gradient(135deg, var(--c) 0%, #1e40af 100%);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden
}

.cta-card__left::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%
}

.cta-card__left::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 120%;
  background: rgba(255, 255, 255, .03);
  border-radius: 50%
}

.cta-card__left>* {
  position: relative;
  z-index: 1
}

.cta-card__title {
  font: 800 clamp(24px, 3vw, 34px)/1.2 var(--f);
  color: var(--w);
  margin: 8px 0 16px
}

.cta-card__title em {
  font-style: normal;
  background: linear-gradient(90deg, #fff, #bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap
}

.cta-card__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
  margin-bottom: 28px
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .15)
}

.cta-ci {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity var(--e)
}

.cta-ci:hover {
  opacity: .8
}

.cta-ci__ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w);
  backdrop-filter: blur(6px)
}

.cta-ci__body {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.cta-ci__label {
  font: 500 11px/1 var(--f);
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .7px
}

.cta-ci__val {
  font: 700 17px/1.2 var(--f);
  color: var(--w)
}

.cta-card__right {
  background: var(--w);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

/* ============= UNIVERSAL FORM (.form-app) ============= */
.form-app__title {
  font: 800 22px var(--f);
  color: var(--d);
  margin-bottom: 8px
}

.form-app__subtitle {
  font-size: 14px;
  color: var(--d5);
  line-height: 1.6;
  margin-bottom: 24px
}

.form-app__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px
}

.form-app__row--single {
  grid-template-columns: 1fr
}

.form-app__field {
  margin-bottom: 14px
}

.form-app label em.req {
  color: var(--c);
  font-style: normal
}

.form-app label {
  display: block;
  font: 600 12px var(--f);
  color: var(--d7)
}

.form-app label span {
  display: block;
  margin-bottom: 6px
}

.form-app input,
.form-app textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--d2);
  border-radius: var(--rs);
  font: 400 14px var(--f);
  font-family: var(--f);
  background: var(--d0);
  color: var(--d);
  transition: border-color var(--e), box-shadow var(--e)
}

.form-app textarea {
  resize: vertical;
  min-height: 100px
}

.form-app input:focus,
.form-app textarea:focus {
  outline: 0;
  border-color: var(--c);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

.form-app__submit {
  margin-top: 4px
}

.form-app__note {
  font-size: 11px;
  color: var(--d4);
  text-align: center;
  margin-top: 12px
}

.form-app__note a {
  color: var(--c);
  text-decoration: underline
}

.form-app__ok {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  min-height: 340px;
  gap: 14px
}

.form-app__ok.is-shown {
  display: flex
}

.form-app__ok .sps {
  font: 800 22px var(--f);
  color: var(--d)
}

.form-app__ok-title {
  font: 700 22px var(--f);
  color: var(--d)
}

.form-app__ok p {
  font-size: 15px;
  color: var(--d5)
}

/* ============= PARTNERS — head + marquee ============= */
.partners {
  padding: 80px 0;
  background: var(--w)
}

.partners__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--d0);
  border-radius: var(--rl);
  padding: 48px;
  border: 1px solid var(--d1)
}

.partners__head .s-label {
  margin-bottom: 10px
}

.partners__head .s-title {
  font-size: 30px
}

.partners__desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--d5);
  line-height: 1.65;
  max-width: 280px
}

.partners__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%)
}

.partners__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 28s linear infinite
}

.partners__marquee:hover .partners__track {
  animation-play-state: paused
}

@keyframes marquee {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

.partners__logo {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  padding: 18px 24px;
  background: var(--w);
  border: 1px solid var(--d2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--e)
}

.partners__logo:hover {
  border-color: var(--c200);
  box-shadow: var(--shm);
  transform: translateY(-3px)
}

.partners__logo img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter var(--e)
}

.partners__logo:hover img {
  filter: none
}

/* ============= REVIEWS ============= */
.reviews {
  padding: 100px 0;
  background: var(--d0)
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.review-card {
  background: var(--w);
  padding: 32px;
  border-radius: var(--r);
  border: 1px solid var(--d1);
  transition: all var(--e)
}

.review-card:hover {
  border-color: var(--c200);
  transform: translateY(-4px);
  box-shadow: var(--shl)
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--c), var(--cd));
  color: var(--w);
  font: 700 15px var(--f);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0
}

.review-card__head strong {
  display: block;
  font: 700 15px var(--f);
  color: var(--d)
}

.review-card__head span {
  font-size: 13px;
  color: var(--d5)
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px
}

.review-card p {
  font-size: 14px;
  color: var(--d7);
  line-height: 1.7;
  font-style: italic
}

.reviews__dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 20px
}

.reviews__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--d3);
  cursor: pointer;
  transition: all var(--e)
}

.reviews__dot.is-active {
  background: var(--c);
  width: 24px;
  border-radius: 100px
}

/* ============= FAQ — split layout with contact card ============= */
.faq {
  padding: 100px 0;
  background: var(--w)
}

.faq-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: flex-start
}

.faq-aside {
  position: sticky;
  top: 140px
}

.faq-aside__text {
  font-size: 15px;
  color: var(--d5);
  line-height: 1.7;
  margin: 14px 0 28px
}

.faq-contact {
  background: linear-gradient(135deg, var(--c) 0%, var(--cd) 100%);
  padding: 28px;
  border-radius: var(--rl);
  color: var(--w);
  box-shadow: var(--shb);
  position: relative;
  overflow: hidden
}

.faq-contact::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%
}

.faq-contact>* {
  position: relative;
  z-index: 1
}

.faq-contact__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px
}

.faq-contact__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.faq-contact__head strong {
  display: block;
  font: 700 15px var(--f)
}

.faq-contact__head span {
  font-size: 13px;
  color: rgba(255, 255, 255, .75)
}

.faq-contact__phone {
  display: block;
  font: 800 24px var(--f);
  color: var(--w);
  margin-bottom: 20px;
  letter-spacing: -.3px
}

.faq-contact__phone:hover {
  color: var(--c100)
}

.faq-contact__btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.faq-contact__btns .btn {
  flex: 1;
  min-width: 130px
}

/* Tabs */
.faq-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.faq-tab {
  padding: 8px 18px;
  font: 600 13px var(--f);
  color: var(--d5);
  background: var(--d0);
  border: 1px solid var(--d2);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--e)
}

.faq-tab:hover {
  color: var(--c);
  border-color: var(--c200)
}

.faq-tab.active {
  background: var(--c);
  color: var(--w);
  border-color: var(--c)
}

/* Question items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.faq-q {
  background: var(--d0);
  border: 1px solid var(--d1);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--e)
}

.faq-q[open] {
  background: var(--w);
  border-color: var(--c200);
  box-shadow: var(--shm)
}

.faq-q summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: color var(--e)
}

.faq-q summary::-webkit-details-marker {
  display: none
}

.faq-q__num {
  font: 800 13px var(--f);
  color: var(--d4);
  letter-spacing: .5px;
  flex-shrink: 0;
  transition: color var(--e)
}

.faq-q[open] .faq-q__num {
  color: var(--c)
}

.faq-q__text {
  flex: 1;
  font: 600 15px var(--f);
  color: var(--d);
  transition: color var(--e)
}

.faq-q summary:hover .faq-q__text {
  color: var(--c)
}

.faq-q[open] .faq-q__text {
  color: var(--c)
}

.faq-q__toggle {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--w);
  border: 1.5px solid var(--d2);
  flex-shrink: 0;
  transition: all var(--e)
}

.faq-q__toggle::before,
.faq-q__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--d7);
  transition: all var(--e)
}

.faq-q__toggle::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%)
}

.faq-q__toggle::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%)
}

.faq-q[open] .faq-q__toggle {
  background: var(--c);
  border-color: var(--c)
}

.faq-q[open] .faq-q__toggle::before {
  background: var(--w)
}

.faq-q[open] .faq-q__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  background: var(--w)
}

.faq-q__body {
  padding: 0 24px 20px 66px;
  font-size: 14px;
  color: var(--d5);
  line-height: 1.7
}

.faq-q--hidden {
  display: none
}

/* ============= CONTACTS (index2 style) ============= */
.contacts {
  padding: 100px 0
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.contacts__card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--w);
  border-radius: var(--r);
  transition: all var(--e)
}

.contacts__card:hover {
  background: var(--c50)
}

.contacts__card-icon {
  width: 48px;
  height: 48px;
  background: var(--d0);
  border-radius: var(--rs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--sh)
}

.contacts__card .h4 {
  font: 700 14px var(--f);
  color: var(--d);
  margin-bottom: 4px
}

.contacts__card p {
  font-size: 14px;
  color: var(--d5);
  line-height: 1.5
}

.contacts__card a {
  color: var(--c)
}

.contacts__card a:hover {
  text-decoration: underline
}

.contacts__map {
  border-radius: var(--rl);
  overflow: hidden;
  min-height: 380px;
  background: var(--d1)
}

/* ============= FOOTER ============= */
.footer {
  position: relative;
  background: var(--d);
  color: var(--d4);
  padding: 64px 0 0;
  overflow: hidden
}

.footer__deco {
  position: absolute;
  top: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, .22), transparent 60%);
  filter: blur(60px);
  pointer-events: none
}

.footer .container {
  position: relative;
  z-index: 1
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px
}

.footer__col--brand .footer__logo {
  display: block;
  margin-bottom: 20px
}

.footer__col--brand .footer__logo img {
  filter: brightness(0) invert(1);
  opacity: .9
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--d5);
  margin-bottom: 20px
}

.footer__cta-btn {
  margin-bottom: 24px
}

.footer__socials {
  display: flex;
  gap: 10px
}

.footer__socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--d4);
  transition: all var(--e)
}

.footer__socials a:hover {
  background: var(--c);
  border-color: var(--c);
  color: var(--w);
  transform: translateY(-3px);
  box-shadow: var(--shb)
}

/* Column headings with underline */
.footer__col .f-title {
  position: relative;
  font: 700 14px var(--f);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--w);
  margin-bottom: 22px;
  padding-bottom: 12px
}

.footer__col .f-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--c);
  border-radius: 2px
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.footer__col ul a,
.footer__col ul li {
  font-size: 14px;
  color: var(--d4);
  transition: color var(--e), transform var(--e)
}

.footer__col ul a {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.footer__col ul a::before {
  content: '→';
  opacity: 0;
  margin-left: -14px;
  color: var(--c);
  transition: all var(--e)
}

.footer__col ul a:hover {
  color: var(--w)
}

.footer__col ul a:hover::before {
  opacity: 1;
  margin-left: 0
}

/* Contacts — icon bubbles */
.footer__contacts-list {
  gap: 14px
}

.footer__contacts-list li {
  display: flex;
  align-items: center;
  gap: 12px
}

.footer__contacts-list li a {
  gap: 0
}

.footer__contacts-list li a::before {
  display: none
}

.footer__ic {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .15);
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: var(--rs);
  color: var(--c200)
}

/* Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--d5);
  flex-wrap: wrap
}

.footer__bottom-links {
  display: flex;
  gap: 24px
}

.footer__bottom-links a {
  color: var(--d5);
  transition: color var(--e)
}

.footer__bottom-links a:hover {
  color: var(--w)
}

/* ============= MODAL ============= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--e)
}

.modal.on {
  opacity: 1;
  visibility: visible
}

.modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px)
}

.modal__box {
  position: relative;
  background: var(--w);
  padding: 40px;
  border-radius: var(--rl);
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shx);
  transform: translateY(20px) scale(.98);
  transition: transform var(--e)
}

.modal.on .modal__box {
  transform: translateY(0) scale(1)
}

.modal__x {
  position: absolute;
  top: 14px;
  right: 18px;
  background: 0 0;
  border: 0;
  font-size: 28px;
  color: var(--d4);
  cursor: pointer;
  transition: color var(--e)
}

.modal__x:hover {
  color: var(--d)
}

.modal__box .modal-title {
  font: 800 22px var(--f);
  color: var(--d);
  margin-bottom: 8px
}

.modal__box>p {
  font-size: 14px;
  color: var(--d5);
  margin-bottom: 24px
}

.modal__box input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--d2);
  border-radius: var(--rs);
  font: 400 15px var(--f);
  margin-bottom: 16px;
  background: var(--d0);
  transition: border-color var(--e)
}

.modal__box input:focus {
  outline: 0;
  border-color: var(--c);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

/* ============= SCROLL TOP ============= */
.totop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--c);
  color: var(--w);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--e);
  box-shadow: var(--shb);
  z-index: 100
}

.totop.on {
  opacity: 1;
  visibility: visible
}

.totop:hover {
  background: var(--cd);
  transform: translateY(-3px)
}

/* ============= REVEAL ============= */
.reveal {
  /* opacity: 0; */
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* ============= PAGE HEAD (reusable across pages) ============= */
.page-head {
  position: relative;
  padding: 160px 0;
  background: linear-gradient(180deg, #eef3ff 0%, #f8faff 60%, var(--bg) 100%);
  overflow: hidden;
  text-align: center
}

.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at center 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center 40%, black 20%, transparent 75%);
  pointer-events: none
}

.page-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--d2) 20%, var(--d2) 80%, transparent);
  pointer-events: none
}

.page-head__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.page-head__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .6
}

.page-head__orb--1 {
  top: -20%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 70%)
}

.page-head__orb--2 {
  bottom: -30%;
  right: -5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(96, 165, 250, .25), transparent 70%)
}

.page-head__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center
}

.page-head__crumbs {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--w);
  border: 1px solid var(--d2);
  border-radius: 100px;
  box-shadow: var(--sh);
  font: 500 13px var(--f);
  color: var(--d5);
  margin-bottom: 36px
}

.page-head__crumbs a {
  color: var(--d5);
  transition: color var(--e)
}

.page-head__crumbs a:hover {
  color: var(--c)
}

.page-head__crumbs svg {
  color: var(--d3)
}

.crumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.page-head__crumbs .crumb-item:last-child span,
.page-head__crumbs .crumb-item:last-child a {
  color: var(--d);
  font-weight: 600
}

.page-head__title {
  font: 900 clamp(30px, 4.2vw, 52px)/1.1 var(--f);
  letter-spacing: -1px;
  color: var(--d);
  max-width: 820px;
  margin-bottom: 40px
}

.page-head__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.page-head__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--d5);
  max-width: 745px
}

/* ============= CONTACT PAGE ============= */
.contact-page {
  padding-bottom: 100px;
  background: var(--bg)
}

.contact-page__wrap {
  padding-top: 32px;
  margin-top: -72px;
  position: relative;
  z-index: 2
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  margin-bottom: 32px
}

/* Info column */
.contact-info__heading{font:700 20px var(--f);color:var(--d);margin:0}

.contact-info {
  background: var(--w);
  border-radius: var(--rl);
  padding: 36px;
  box-shadow: var(--shm);
  border: 1px solid var(--d1);
  display: flex;
  flex-direction: column;
  gap: 28px
}

.contact-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px
}

.contact-info__item {
  display: flex;
  gap: 16px
}

.contact-info__ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--c50);
  color: var(--c);
  border-radius: var(--rs);
  display: flex;
  align-items: center;
  justify-content: center
}

.contact-info__body .ch4 {
  font: 700 14px var(--f);
  color: var(--d);
  margin-bottom: 6px
}

.contact-info__body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--d7)
}

.contact-info__body a {
  color: var(--d);
  font-weight: 600;
  transition: color var(--e)
}

.contact-info__body a:hover {
  color: var(--c)
}

.contact-info__sub {
  font-size: 12px !important;
  color: var(--d5) !important;
  margin-top: 2px
}

.contact-info__msgs {
  padding-top: 24px;
  border-top: 1px solid var(--d1)
}

.contact-info__msgs .title-info__msgs {
  font: 700 12px var(--f);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--d4);
  margin-bottom: 14px
}

.contact-info__msgs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.contact-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--d0);
  border: 1px solid var(--d2);
  border-radius: 100px;
  font: 600 13px var(--f);
  color: var(--d7);
  transition: all var(--e)
}

.contact-msg:hover {
  background: var(--c50);
  border-color: var(--c200);
  color: var(--c);
  transform: translateY(-2px)
}

.contact-msg svg {
  color: var(--c)
}

/* Form column — card wrapper */
.form-card {
  background: var(--w);
  border-radius: var(--rl);
  padding: 40px;
  box-shadow: var(--shm);
  border: 1px solid var(--d1)
}

/* ============= CUSTOM SELECT ============= */
.select {
  position: relative;
  font-family: var(--f)
}

.select__trigger {
  width: 100%;
  padding: 13px 42px 13px 16px;
  border: 1.5px solid var(--d2);
  border-radius: var(--rs);
  background: var(--d0);
  color: var(--d);
  font: 400 14px/1.4 var(--f);
  text-align: left;
  cursor: pointer;
  display: block;
  position: relative;
  transition: border-color var(--e), box-shadow var(--e)
}

.select__value {
  display: block
}

.select__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--d5);
  transition: transform var(--e), color var(--e);
  pointer-events: none
}

.select.is-open .select__chevron {
  transform: translateY(-50%) rotate(180deg);
  color: var(--c)
}

.select__trigger:hover {
  border-color: var(--d3)
}

.select.is-open .select__trigger {
  border-color: var(--c);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

.select__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.select:not(.is-filled) .select__value {
  color: var(--d4)
}

.select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  padding: 6px;
  background: var(--w);
  border: 1px solid var(--d2);
  border-radius: var(--rs);
  box-shadow: var(--shl);
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease
}

.select.is-open .select__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.select__opt {
  padding: 10px 14px;
  font: 500 14px var(--f);
  color: var(--d7);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--e), color var(--e)
}

.select__opt:hover {
  background: var(--c50);
  color: var(--c)
}

.select__opt.is-selected {
  background: var(--c50);
  color: var(--c);
  font-weight: 600
}

/* Map — full container width */
.contact-page__map {
  width: 100%;
  height: 460px;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--shm);
  border: 1px solid var(--d1);
  background: var(--d1)
}

.contact-page__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0
}

/* ============= CATEGORY PAGE ============= */
.cat-page > .cat-sub,
.cat-page > .cat-intro,
.cat-page > .cat-benefits,
.cat-page > .cat-text,
.cat-page > .cat-siblings {
  padding: 80px 0
}

.cat-siblings .s-title--left a {
  color: var(--c);
  text-decoration: none
}

.cat-siblings .s-title--left a:hover {
  text-decoration: underline;
  text-underline-offset: 3px
}

.cat-page > .cat-sub {
  padding-top: 32px;
  /* margin-top: -72px; */
  position: relative;
  z-index: 2
}

/* Subcategories */
.cat-sub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.sub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--w);
  border: 1px solid var(--d1);
  border-radius: var(--rl);
  overflow: hidden;
  transition: border-color var(--e), transform var(--e), box-shadow var(--e)
}

.sub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--rl);
  padding: 1px;
  background: linear-gradient(45deg, var(--c), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--e);
  pointer-events: none;
  z-index: 2
}

.sub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shl)
}

.sub-card:hover::before {
  opacity: 1
}

.sub-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--d1)
}

.sub-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 18, 34, .35) 100%);
  pointer-events: none;
  transition: background var(--e)
}

.sub-card:hover .sub-card__media::after {
  background: linear-gradient(180deg, rgba(37, 99, 235, .08) 0%, rgba(12, 18, 34, .5) 100%)
}

.sub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease
}

.sub-card:hover .sub-card__media img {
  transform: scale(1.08)
}

.sub-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--d);
  z-index: 1;
  transform: translateY(-4px);
  opacity: 0;
  transition: all var(--e)
}

.sub-card:hover .sub-card__arrow {
  transform: translateY(0);
  opacity: 1;
  background: var(--c);
  color: var(--w);
  box-shadow: var(--shb)
}

.sub-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.sub-card__body h3 {
  font: 800 20px var(--f);
  color: var(--d);
  letter-spacing: -.3px;
  transition: color var(--e)
}

.sub-card:hover .sub-card__body h3 {
  color: var(--c)
}

.sub-card__body p {
  font-size: 14px;
  color: var(--d5);
  line-height: 1.6;
  flex: 1
}

.sub-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--d1);
  font: 700 12px var(--f);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c);
  transition: gap var(--e)
}

.sub-card:hover .sub-card__link {
  gap: 12px
}

/* Intro + facts */
.cat-intro {
  background: var(--w)
}

.cat-intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center
}

.cat-intro__text p {
  font-size: 16px;
  color: var(--d5);
  line-height: 1.75;
  margin-top: 14px
}

.cat-intro__text a {
  color: var(--c);
  text-decoration: underline;
  text-underline-offset: 3px
}

.cat-intro__text a:hover {
  color: var(--cd)
}

.cat-facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.cat-facts__item {
  padding: 24px;
  background: var(--d0);
  border: 1px solid var(--d1);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--e), border-color var(--e)
}

.cat-facts__item:hover {
  background: var(--c50);
  border-color: var(--c200)
}

.cat-facts__num {
  font: 900 36px var(--f);
  color: var(--c);
  line-height: 1;
  letter-spacing: -1px
}

.cat-facts__label {
  font: 500 13px/1.3 var(--f);
  color: var(--d5)
}

/* Benefits */
.cat-benefits {
  background: var(--d0)
}

.cat-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.benefit {
  background: var(--w);
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--d1);
  transition: border-color var(--e), transform var(--e);
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: 44px auto;
  column-gap: 14px;
  align-items: center
}

.benefit:hover {
  border-color: var(--c200);
  transform: translateY(-4px)
}

.benefit__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--rs);
  background: var(--c50);
  color: var(--c);
  grid-column: 1;
  grid-row: 1
}

.benefit__title {
  font: 700 16px var(--f);
  color: var(--d);
  grid-column: 2;
  grid-row: 1
}

.benefit p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 14px;
  font-size: 13px;
  color: var(--d5);
  line-height: 1.55
}

/* Editorial text block */
.cat-text {
  background: var(--w);
  position: relative;
  overflow: hidden
}

.cat-text::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .07), transparent 70%);
  filter: blur(50px);
  pointer-events: none
}

.cat-text::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, .08), transparent 70%);
  filter: blur(60px);
  pointer-events: none
}

.cat-text__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--w) 0%, var(--d0) 100%);
  border: 1px solid var(--d1);
  border-radius: var(--rl);
  padding: 56px 64px;
  box-shadow: var(--shm)
}

.cat-text__inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 48px;
  bottom: 48px;
  width: 3px;
  background: linear-gradient(180deg, var(--c), transparent);
  border-radius: 2px
}

.cat-text__inner .s-label {
  margin-bottom: 14px
}

.cat-text__heading {
  font: 800 clamp(24px, 2.6vw, 32px)/1.3 var(--f);
  color: var(--d);
  letter-spacing: -.3px;
  margin-bottom: 28px;
  max-width: 640px
}

.cat-text__heading em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.cat-text__body {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.cat-text__body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--d7)
}

.cat-text__body p:first-child {
  font-size: 17px;
  color: var(--d);
  font-weight: 500
}

.cat-text__body a {
  color: var(--c);
  text-decoration: underline;
  text-underline-offset: 3px
}

.cat-text__body a:hover {
  color: var(--cd)
}

.cat-text__body ul,
.cat-text__body ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.cat-text__body ul {
  list-style: none;
  padding-left: 0
}

.cat-text__body ul li {
  padding-left: 22px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: var(--d7)
}

.cat-text__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c)
}

.cat-text__body ol {
  list-style: none;
  counter-reset: cat-ol;
  padding-left: 0
}

.cat-text__body ol li {
  padding-left: 28px;
  position: relative;
  counter-increment: cat-ol;
  font-size: 16px;
  line-height: 1.7;
  color: var(--d7)
}

.cat-text__body ol li::before {
  content: counter(cat-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font: 700 15px var(--f);
  color: var(--c)
}

.cat-text__sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--d2)
}

.cat-text__sign-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c50);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.cat-text__sign-text strong {
  display: block;
  font: 700 14px var(--f);
  color: var(--d)
}

.cat-text__sign-text span {
  font-size: 13px;
  color: var(--d5)
}

/* ============= GLASS VARIANTS ============= */
.cat-page > .cat-glass {
  padding: 80px 0;
  background: var(--b2, #f5f7fa)
}

.cat-glass__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.glass-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--d1, #e5e7eb);
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: var(--p, #2d7de3);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06)
}

.glass-card__swatch {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4)
}

.glass-card--pattern .glass-card__swatch {
  background-image: repeating-linear-gradient(45deg, rgba(15, 23, 42, .12) 0 2px, transparent 2px 8px) !important;
  background-color: #e8eaee !important
}

.glass-card__title {
  font: 600 15px var(--f);
  color: var(--d)
}

.cat-glass__more {
  display: none
}

@media (max-width: 900px) {
  .cat-glass__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 560px) {
  .cat-glass__grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 768px) {
  .cat-glass__grid .glass-card:nth-child(n+5) {
    display: none
  }

  .cat-glass__grid.is-expanded .glass-card {
    display: flex
  }

  .cat-glass__more {
    display: flex;
    margin: 20px auto 0
  }
}

/* ============= RAL palette ============= */
.cat-ral {
  padding: 80px 0;
  background: var(--d0)
}

.ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 16px;
  margin-top: 32px
}

.ral-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 6px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: border-color var(--e), background var(--e), transform var(--e)
}

.ral-swatch:hover {
  border-color: var(--d1);
  background: var(--w);
  transform: translateY(-3px)
}

.ral-swatch--hidden {
  display: none
}

.ral-swatch__img {
  width: 56px;
  height: 56px;
  border-radius: var(--rs);
  overflow: hidden;
  border: 1px solid var(--d1);
  flex-shrink: 0;
  transition: box-shadow var(--e)
}

.ral-swatch:hover .ral-swatch__img {
  box-shadow: 0 4px 12px rgba(0,0,0,.15)
}

.ral-swatch__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ral-swatch__code {
  font: 600 12px var(--f);
  color: var(--d);
  text-align: center
}

.ral-swatch__name {
  font-size: 14px;
  color: var(--d5);
  text-align: center;
  line-height: 1.3
}

.ral-note {
  max-width: 400px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--d5);
  align-self: flex-end
}

.ral-more {
  display: flex;
  justify-content: center;
  margin-top: 28px
}

@media (max-width: 768px) {
  .cat-ral {
    padding: 56px 0
  }
  .ral-grid {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px
  }
  .ral-swatch__img {
    width: 46px;
    height: 46px
  }
}

/* ============= AWARDS: сертификаты + благодарности ============= */
.cat-page > .awards {
  padding: 80px 0;
  background: var(--bg)
}

.awards__stack {
  display: flex;
  flex-direction: column;
  gap: 72px
}

.awards-grid {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.award-card {
  background: var(--w);
  border: 1px solid var(--d1);
  border-radius: var(--rl);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: var(--c200, #bfdbfe);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08)
}

.award-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--d);
  text-decoration: none
}

.award-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--d0, #f1f5f9);
  position: relative
}

.award-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, .08));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none
}

.award-card:hover .award-card__media::after {
  opacity: 1
}

.award-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease
}

.award-card:hover .award-card__media img {
  transform: scale(1.04)
}

.award-card__caption {
  display: block;
  padding: 14px 18px 18px;
  font: 600 14px/1.45 var(--f);
  color: var(--d);
  text-align: center
}

@media (max-width: 1100px) {
  .awards-grid { grid-template-columns: repeat(3, 1fr) }
}

@media (max-width: 780px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px }
  .awards__stack { gap: 56px }
  .cat-page > .awards { padding: 56px 0 }
}

@media (max-width: 480px) {
  .awards-grid { grid-template-columns: 1fr }
}

/* ============= WORKS / портфолио: фильтр + сетка ============= */
.cat-page > .works {
  padding: 80px 0;
  background: var(--bg)
}

.works__empty {
  padding: 60px 24px;
  background: var(--w);
  border: 1px dashed var(--d2);
  border-radius: var(--rl);
  text-align: center;
  color: var(--d5);
  font-size: 15px
}

.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px
}

.works-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--w);
  border: 1.5px solid var(--d2);
  border-radius: 100px;
  font: 600 14px var(--f);
  color: var(--d7);
  cursor: pointer;
  transition: all var(--e)
}

.works-filter__btn:hover {
  border-color: var(--c, #2563eb);
  color: var(--c)
}

.works-filter__btn.is-active {
  background: var(--c, #2563eb);
  border-color: var(--c, #2563eb);
  color: var(--w)
}

.works-filter__count {
  font-size: 12px;
  font-weight: 700;
  opacity: .7
}

.works-filter__btn.is-active .works-filter__count {
  opacity: .85
}

.works-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.works-grid__item {
  transition: opacity .25s ease, transform .25s ease
}

.works-grid__item.is-hidden {
  display: none
}

.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--w);
  border: 1px solid var(--d1);
  border-radius: var(--rl);
  overflow: hidden;
  text-decoration: none;
  color: var(--d);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--c200, #bfdbfe);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .1)
}

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--d0)
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease
}

.work-card:hover .work-card__media img {
  transform: scale(1.06)
}

.work-card__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .92);
  color: var(--d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .15)
}

.work-card:hover .work-card__zoom {
  opacity: 1;
  transform: scale(1)
}

.award-card__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .92);
  color: var(--d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .15)
}

.award-card:hover .award-card__zoom {
  opacity: 1;
  transform: scale(1)
}

/* ===== «Показать ещё» ===== */
.works-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.works-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px
}

.works-more[hidden] {
  display: none
}

@media (max-width: 1000px) {
  .works-grid { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 640px) {
  .works-grid { grid-template-columns: 1fr; gap: 18px }
  .cat-page > .works { padding: 56px 0 }
  .works-filter { gap: 8px }
  .works-filter__btn { padding: 8px 14px; font-size: 13px }
}

/* ============= LIGHTBOX ============= */
.sprava-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 12, 20, .95);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease
}

.sprava-lightbox.is-open {
  display: flex;
  opacity: 1
}

.sprava-lightbox__stage {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px
}

.sprava-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #111
}

.sprava-lightbox__meta {
  text-align: center;
  color: #fff;
  max-width: 640px
}

.sprava-lightbox__title {
  font: 700 18px var(--f, sans-serif);
  margin-bottom: 4px
}

.sprava-lightbox__caption {
  font: 400 14px var(--f, sans-serif);
  color: rgba(255, 255, 255, .75);
  margin-bottom: 8px
}

.sprava-lightbox__counter {
  font: 600 12px var(--f, sans-serif);
  color: rgba(255, 255, 255, .6);
  letter-spacing: .5px
}

.sprava-lightbox__close,
.sprava-lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease
}

.sprava-lightbox__close:hover,
.sprava-lightbox__nav:hover {
  background: rgba(255, 255, 255, .22);
  transform: scale(1.05)
}

.sprava-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font: 300 28px/1 var(--f, sans-serif)
}

.sprava-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px
}

.sprava-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.05)
}

.sprava-lightbox__nav--prev { left: 24px }
.sprava-lightbox__nav--next { right: 24px }

@media (max-width: 700px) {
  .sprava-lightbox__nav { width: 44px; height: 44px }
  .sprava-lightbox__nav--prev { left: 10px }
  .sprava-lightbox__nav--next { right: 10px }
  .sprava-lightbox__close { width: 40px; height: 40px; top: 14px; right: 14px }
  .sprava-lightbox__img { max-height: 70vh }
}

/* ============= VACANCIES ============= */
.cat-page > .vacancies {
  padding: 80px 0;
  background: var(--bg)
}

.vacancies__empty {
  margin-top: 32px;
  padding: 48px 32px;
  background: var(--w);
  border: 1px dashed var(--d2);
  border-radius: var(--rl);
  text-align: center;
  color: var(--d7);
  font-size: 15px;
  line-height: 1.6
}

.vacancies-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.vacancy {
  background: var(--w);
  border: 1px solid var(--d1);
  border-radius: var(--rl);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease
}

.vacancy:hover {
  border-color: var(--c200, #bfdbfe);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06)
}

.vacancy__details[open] {
  border-color: var(--c, #2563eb)
}

.vacancy__details > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  position: relative
}

.vacancy__details > summary::-webkit-details-marker { display: none }

.vacancy__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.vacancy__title {
  font: 700 19px/1.3 var(--f);
  color: var(--d);
  margin: 0
}

.vacancy__dept {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c50, #eff6ff);
  color: var(--c, #2563eb);
  border-radius: 100px;
  font: 600 12px var(--f);
  letter-spacing: .3px
}

.vacancy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px
}

.vacancy__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px var(--f);
  color: var(--d7)
}

.vacancy__meta-item svg {
  color: var(--c, #2563eb);
  flex-shrink: 0
}

.vacancy__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--d5);
  margin: 8px 0 0;
  padding-right: 140px
}

.vacancy__toggle {
  position: absolute;
  top: 24px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--d0, #f1f5f9);
  border-radius: 100px;
  font: 600 13px var(--f);
  color: var(--d7);
  transition: background .2s ease, color .2s ease
}

.vacancy__details > summary:hover .vacancy__toggle {
  background: var(--c, #2563eb);
  color: var(--w)
}

.vacancy__toggle-icon {
  transition: transform .25s ease
}

.vacancy__details[open] .vacancy__toggle-icon {
  transform: rotate(180deg)
}

.vacancy__toggle-text--open { display: none }
.vacancy__details[open] .vacancy__toggle-text--closed { display: none }
.vacancy__details[open] .vacancy__toggle-text--open { display: inline }

.vacancy__body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--d1)
}

.vacancy__content {
  padding: 20px 0;
  font: 400 15px/1.7 var(--f);
  color: var(--d7)
}

.vacancy__content h2,
.vacancy__content h3,
.vacancy__content h4 {
  font-weight: 700;
  color: var(--d);
  margin: 18px 0 10px
}

.vacancy__content h2 { font-size: 18px }
.vacancy__content h3 { font-size: 16px }
.vacancy__content h4 { font-size: 15px }

.vacancy__content ul,
.vacancy__content ol {
  margin: 10px 0 14px 22px
}

.vacancy__content li { margin-bottom: 6px }
.vacancy__content p  { margin: 10px 0 }
.vacancy__content strong { color: var(--d) }

.vacancy__apply {
  display: inline-flex;
  align-items: center;
  margin-top: 8px
}

/* Карточка без описания — плоская, не аккордеон */
.vacancy__summary--flat {
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px
}

.vacancy__summary--flat .vacancy__head { margin-bottom: 0; flex: 1 }
.vacancy__summary--flat .vacancy__meta { margin-bottom: 0 }

.vacancy__summary--flat .vacancy__apply {
  margin-top: 0;
  flex-shrink: 0
}

.btn--sm {
  padding: 9px 20px;
  font-size: 13px
}

@media (max-width: 780px) {
  .cat-page > .vacancies { padding: 56px 0 }
  .vacancy__details > summary { padding: 20px 20px 18px }
  .vacancy__title { font-size: 17px }
  .vacancy__toggle {
    position: static;
    margin-top: 12px;
    padding: 6px 12px;
    font-size: 12px
  }
  .vacancy__excerpt { padding-right: 0 }
  .vacancy__body { padding: 0 20px 22px }
}

/* ============= BLOG: listing ============= */
.blog-page {
  padding: 80px 0 100px
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.related-posts {
  padding: 80px 0
}

.related-posts .s-header {
  margin-bottom: 40px
}

.post-card {
  background: var(--w);
  border: 1px solid var(--d1);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--e), transform var(--e)
}

.post-card:hover {
  box-shadow: var(--shb);
  transform: translateY(-3px)
}

.post-card__img {
  display: block;
  overflow: hidden;
  height: 220px
}

.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block
}

.post-card:hover .post-card__img img {
  transform: scale(1.04)
}

.post-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.post-card__cat {
  font: 600 11px var(--f);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c);
  margin-bottom: 8px;
  display: block
}

.post-card__title {
  font: 700 17px/1.3 var(--f);
  color: var(--d);
  margin-bottom: 10px
}

.post-card__title a {
  color: inherit;
  transition: color var(--e)
}

.post-card__title a:hover {
  color: var(--c)
}

.post-card__excerpt {
  font-size: 14px;
  color: var(--d5);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px
}

.post-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.post-card__date {
  font: 500 12px var(--f);
  color: var(--d3)
}

.post-card__link {
  font: 600 13px var(--f);
  color: var(--c);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--e), color var(--e)
}

.post-card__link:hover {
  gap: 8px;
  color: var(--cd)
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  flex-wrap: wrap
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--d1);
  border-radius: var(--rs);
  font: 500 14px var(--f);
  color: var(--d5);
  transition: border-color var(--e), color var(--e), background var(--e)
}

.blog-pagination a:hover {
  border-color: var(--c);
  color: var(--c)
}

.blog-pagination .current {
  background: var(--c);
  border-color: var(--c);
  color: var(--w)
}

.blog-empty {
  text-align: center;
  color: var(--d5);
  padding: 80px 0
}

/* ============= ARTICLE: single post ============= */
.article-page {
  padding: 60px 0 100px
}

.article-wrap {
  max-width: 780px;
  margin: 0 auto
}

.article-cover {
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16/7
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 13px var(--f);
  color: var(--d5);
  margin-bottom: 14px
}

.article-meta__sep { color: var(--d2) }
.article-meta__cat { color: var(--c) }

.article-content {
  font: 400 17px/1.75 var(--f);
  color: var(--d7)
}

.article-content h2 {
  font: 700 26px/1.25 var(--f);
  color: var(--d);
  margin: 40px 0 16px
}

.article-content h3 {
  font: 700 20px/1.3 var(--f);
  color: var(--d);
  margin: 32px 0 12px
}

.article-content p { margin-bottom: 20px }

.article-content ul,
.article-content ol {
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none
}

.article-content ul li,
.article-content ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c)
}

.article-content ol {
  counter-reset: art-ol
}

.article-content ol li::before {
  counter-increment: art-ol;
  content: counter(art-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font: 700 15px var(--f);
  color: var(--c)
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  margin: 8px 0
}

.article-content blockquote {
  border-left: 3px solid var(--c);
  margin: 28px 0;
  padding: 16px 24px;
  background: #eff6ff;
  border-radius: 0 var(--rs) var(--rs) 0;
  font-style: italic;
  color: var(--d7)
}

.article-foot {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--d1)
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 768px) {
  .blog-page { padding: 48px 0 60px }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }
  .post-card__img { height: 180px }
  .article-page { padding: 40px 0 60px }
  .article-cover { margin-bottom: 32px }
  .article-content { font-size: 15px }
  .article-content h2 { font-size: 21px }
  .article-content h3 { font-size: 17px }
}

/* ===== 404 ===== */
.error404-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0
}

.error404-page__inner {
  text-align: center
}

.error404-page__num {
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--d1);
  letter-spacing: -4px;
  margin-bottom: 16px
}

.error404-page__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--d);
  margin-bottom: 14px
}

.error404-page__desc {
  font-size: 16px;
  color: var(--d5);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.6
}

.error404-page__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px
}

.error404-page__sections-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--d5);
  margin-bottom: 20px
}

.error404-page__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px
}

.error404-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--w);
  border: 1px solid var(--d1);
  border-radius: var(--rl);
  text-decoration: none;
  color: var(--d);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color .2s, box-shadow .2s, color .2s
}

.error404-card:hover {
  border-color: var(--c);
  color: var(--c);
  box-shadow: 0 6px 20px rgba(37,99,235,.1)
}

.error404-card__ic {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--d0);
  border-radius: 10px;
  color: var(--c);
  transition: background .2s
}

.error404-card:hover .error404-card__ic {
  background: var(--c50, #eff6ff)
}

@media (max-width: 900px) {
  .error404-page__grid { grid-template-columns: repeat(3, 1fr) }
}

@media (max-width: 500px) {
  .error404-page__grid { grid-template-columns: repeat(2, 1fr) }
  .error404-page__cta { flex-direction: column; align-items: center }
}
