

/* Start:/bitrix/templates/cpse/css/style.css?177617011836956*/
/* ============================================================
   CSS Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1e3050;
  --blue:       #003399;
  --gray:       #919191;
  --black:      #000;
  --white:      #fff;
  --light-gray: #f5f5f5;
  --font-serif: 'Tinos', Georgia, serif;
  --font-sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;
  --page-width: 1440px;
  --side:       155px;
}

html { font-size: 16px; }
body { background: var(--white); color: var(--black); font-family: var(--font-sans); }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; }


/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page { width: 100%; max-width: var(--page-width); margin: 0 auto; }
body  { overflow-x: hidden; }


/* ============================================================
   TOP BAR  (desktop)
   ============================================================ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 41px 16px;
  gap: 32px;
}

.topbar__logo          { width: 209px; height: 72px; flex-shrink: 0; }
.topbar__logo img      { width: 100%; height: 100%; object-fit: contain; }

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 42px;
  flex: 1;
  justify-content: flex-end;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--black);
}
.contact-icon         { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.contact-icon-link    { display: flex; align-items: center; }

/* email SVG has viewBox 22×18, preserveAspectRatio=none → force natural ratio */
.contact-icon-link .contact-icon { width: 22px; height: 18px; }

.clock-wrap           { width: 26px; height: 24px; overflow: hidden; background: white; flex-shrink: 0; }
.clock-wrap img       { width: 30px; height: 27px; margin: -1px 0 0 -4px; object-fit: cover; }

.lang-flag            { border: 0.5px solid rgba(0,0,0,.15); border-radius: 4px; overflow: hidden; width: 26px; height: 22px; flex-shrink: 0; }
.lang-flag img        { width: 100%; height: 100%; object-fit: cover; display: block; }


/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  padding: 2px 4px;
  letter-spacing: 0.5px;
  transition: color .2s;
}
.lang-btn:hover       { color: var(--black); }
.lang-btn--active     { color: var(--blue); }
.lang-sep             { color: var(--gray); font-size: 12px; }


/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mob-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  position: relative;
  z-index: 200;
}

.mob-header__logo { height: 43px; width: auto; }

.mob-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher--mob .lang-btn  { color: var(--navy); }
.lang-switcher--mob .lang-btn--active { color: var(--blue); }
.lang-switcher--mob .lang-sep  { color: #aaa; }

.mob-header__menu-btn {
  background: var(--navy);
  border: none;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 201;
}
.mob-header__menu-btn img { width: 16px; height: 16px; }


/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 190;
  overflow-y: auto;
  padding: 100px 32px 48px;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mob-menu.is-open {
  transform: translateY(0);
}

.mob-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mob-menu__link {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mob-menu__link:hover { color: #aac4ff; }

.mob-menu__group {
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mob-menu__group-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 0 8px;
}

.mob-menu__sub {
  padding: 0 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mob-menu__sub-link {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 8px 0;
}
.mob-menu__sub-link:hover { color: #aac4ff; }


/* ============================================================
   NAV  (desktop) with dropdowns
   ============================================================ */
.nav {
  display: flex;
  justify-content: center;
  padding: 0 40px;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--black);
  border-radius: 16px;
  padding: 16px 22px;
  width: 911px;
  max-width: 100%;
  position: relative;
  z-index: 100;
}

.nav__burger { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }

.nav__link {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.28px;
  white-space: nowrap;
}
.nav__link:hover { color: #aac4ff; }

/* dropdown wrapper */
.nav__item {
  position: relative;
}

/* arrow indicator */
.nav__link--arrow::after {
  content: '▾';
  margin-left: 4px;
  font-size: 10px;
  opacity: .7;
}

/* dropdown panel
   top: 100% без зазора — padding-top создаёт отступ визуально,
   но hover-зона остаётся непрерывной (мышь не «проваливается») */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 12px 0 8px;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s;
  z-index: 200;
}

/* визуальный блок внутри — отдельный элемент чтобы тень не обрезалась */
.nav__dropdown::before {
  content: '';
  position: absolute;
  inset: 12px 0 0;
  background: var(--black);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: -1;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(245,245,245,.8);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 10px 20px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__dropdown-link:hover {
  background: rgba(255,255,255,.06);
  color: #aac4ff;
}


/* ============================================================
   HERO BANNER SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 575px;
  border-radius: 42px;
  overflow: hidden;
  margin: 22px 0 0;
  background: var(--navy);
}

/* scrolling track */
.hero__track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* each slide fills the full hero */
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.hero__bg           { position: absolute; inset: 0; }
.hero__bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(40,124,216,.3), rgba(0,51,153,.3));
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 62px;
  padding-top: 201px;
  color: var(--white);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: normal;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 48px;
  line-height: normal;
}

/* dots */
.hero__dots {
  position: absolute;
  right: 82px;
  bottom: 34px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.hero__dot--active {
  background: var(--white);
  transform: scale(1.25);
}


/* ============================================================
   FEATURES  01 / 02 / 03
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 60px var(--side);
  gap: 60px;
}

.features__col { display: flex; flex-direction: column; gap: 0; }

.features__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: normal;
  color: var(--black);
  display: block;
  margin-bottom: 8px;
}

.features__block { display: flex; flex-direction: column; gap: 32px; }

.features__head {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--blue);
}

.features__text {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  color: var(--gray);
}


/* ============================================================
   EXPERTISE SECTION
   ============================================================ */
.expertise {
  display: flex;
  align-items: stretch;
  min-height: 1045px;
  margin: 0 0 80px;
}

.expertise__left {
  position: relative;
  width: 525px;
  flex-shrink: 0;
  border-radius: 0 0 0 42px;
  overflow: hidden;
}

.expertise__photo          { position: absolute; inset: 0; }
.expertise__photo img      { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.expertise__photo-overlay  { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(40,124,216,.2), rgba(0,51,153,.2)); }

.expertise__left-text { position: relative; padding: 89px 40px 40px 156px; color: var(--white); }

.expertise__left-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: normal;
  margin-bottom: 32px;
}

.expertise__left-desc {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 29px;
  margin-bottom: 24px;
}
.expertise__left-desc:last-child { margin-bottom: 0; }

.expertise__right {
  flex: 1;
  background: linear-gradient(to bottom, rgba(40,124,216,.05), rgba(0,51,153,.05));
  padding: 241px 40px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 0;
  align-content: start;
}

.expertise-card { display: flex; align-items: flex-start; gap: 20px; padding-right: 20px; }

.expertise-card__icon { width: 36px; height: 43px; object-fit: contain; flex-shrink: 0; margin-top: 2px; }

.expertise-card__body { display: flex; flex-direction: column; gap: 32px; }

.expertise-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--blue);
}

.expertise-card__text {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  color: var(--gray);
}


/* ============================================================
   ABOUT / STATS
   ============================================================ */
.about {
  display: flex;
  align-items: flex-start;
  padding: 0 var(--side) 80px;
  gap: 60px;
}

.about__left { flex: 0 0 555px; }

.about__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 32px;
}

.about__text {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 29px;
  color: var(--gray);
}

.about__stats { display: flex; flex: 1; justify-content: flex-end; }

.stat { display: flex; flex-direction: column; gap: 12px; width: 325px; padding-right: 20px; }

.stat__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 68px;
  color: var(--navy);
}

.stat__label {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  color: var(--gray);
}


/* ============================================================
   OUR EXPERTISES SLIDER
   ============================================================ */
.our-expertises {
  background: var(--navy);
  border-radius: 42px;
  padding: 43px 40px 52px;
  margin: 0 0 80px;
}

.our-expertises__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 36px;
  color: var(--white);
  text-align: center;
  margin-bottom: 52px;
}

/* ---- slider shell ---- */
.slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider__viewport {
  flex: 1;
  overflow: hidden;
}

.slider__track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slider__slide { flex: 0 0 calc((100% - 80px) / 5); }

/* ---- slide card ---- */
.slide-card {
  background: var(--white);
  border-radius: 8px;
  height: 305px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.slide-card__img {
  width: 100%;
  height: 120px;
  border-radius: 6px;
  background: #e8edf5;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.slide-card__img--1 { background-color: #d4e0f5; }
.slide-card__img--2 { background-color: #cfe5d4; }
.slide-card__img--3 { background-color: #f0ddd5; }
.slide-card__img--4 { background-color: #ddd5f0; }
.slide-card__img--5 { background-color: #d5eef0; }
.slide-card__img--6 { background-color: #f0f0d5; }
.slide-card__img--7 { background-color: #f0d5e8; }

.slide-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  color: var(--blue);
}

.slide-card__text {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* ---- arrows ---- */
.slider__arrow {
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 4px;
  width: 24px;
  height: 38px;
  opacity: .9;
  transition: opacity .2s;
}
.slider__arrow:hover { opacity: 1; }
.slider__arrow--disabled { opacity: .3; pointer-events: none; }
.slider__arrow img { width: 16px; height: 30px; object-fit: contain; }

/* ---- dots ---- */
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  padding: 0;
  transition: background .25s, transform .25s;
}
.slider__dot--active {
  background: var(--white);
  transform: scale(1.2);
}


/* ============================================================
   RECOMMENDATIONS
   ============================================================ */
.recommendations { padding: 0 var(--side) 80px; }

.recommendations__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 36px;
  color: var(--blue);
  text-align: center;
  margin-bottom: 44px;
}

.recommendations__cards { display: flex; gap: 40px; }

.rec-card { flex: 0 0 443px; display: flex; flex-direction: column; gap: 16px; }

.rec-card__img-wrap {
  width: 443px;
  height: 253px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.rec-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.rec-card__info { display: flex; flex-direction: column; gap: 2px; }

.rec-card__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--blue);
}

.rec-card__sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  line-height: 22px;
  color: var(--gray);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px;
  gap: 40px;
}

.footer__logo-block { display: flex; flex-direction: column; gap: 8px; }

/* white logo via CSS mask on dark footer background
   path is relative to this CSS file: ../images/ */
.footer__logo {
  width: 73px;
  height: 53px;
  background: #fff;
  -webkit-mask-image: url('/bitrix/templates/cpse/css/../images/logo-mask.png');
  mask-image: url('/bitrix/templates/cpse/css/../images/logo-mask.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}

.footer__org {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.24px;
  max-width: 202px;
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.24px;
  white-space: nowrap;
}

.footer__nav { display: flex; gap: 48px;     flex-wrap: wrap; }

.footer__nav-col { display: flex; flex-direction: column; gap: 24px; }

.footer__nav-link {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.24px;
  white-space: nowrap;
}
.footer__nav-link:hover { color: #aac4ff; }

.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }

.footer__privacy {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.24px;
  white-space: nowrap;
}
.footer__privacy:hover { color: #aac4ff; }

.footer__dev-logo { width: 164px; height: 57px; object-fit: contain; }


/* ============================================================
   LARGE  1200px – 1399px  (фиксированные блоки не влезают)
   ============================================================ */
@media (min-width: 1200px) and (max-width: 1399px) {
  :root { --side: 60px; }

  .about__left { flex: 0 0 440px; }
  .stat { width: 260px; }

  .recommendations__cards { flex-wrap: wrap; gap: 24px; }
  .rec-card { flex: 0 0 calc(33.333% - 16px); }
  .rec-card__img-wrap { width: 100%; }
}


/* ============================================================
   MEDIUM  769px – 1199px  (нет горизонтальной прокрутки)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1199px) {
  :root { --side: 40px; }

  .nav { padding: 0 20px; }
  .nav__inner { width: 100%; gap: 16px; }
  .nav__link { font-size: 11px; }

  .hero__title    { font-size: 42px; }
  .hero__subtitle { font-size: 32px; }

  .features { padding: 60px var(--side); gap: 40px; }

  .expertise__left       { width: 380px; }
  .expertise__left-text  { padding: 60px 24px 40px 40px; }
  .expertise__left-title { font-size: 42px; }

  .expertise__right { padding: 160px 24px 40px 24px; gap: 60px 0; }

  .about { padding: 0 var(--side) 60px; }
  .about__left { flex: 0 0 420px; }

  .recommendations__cards { flex-wrap: wrap; }
  .rec-card { flex: 0 0 calc(50% - 20px); }
  .rec-card__img-wrap { width: 100%; }

  .footer {
    padding: 40px var(--side);
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer__nav-link,
  .footer__privacy { white-space: normal; }
}


/* ============================================================
   MOBILE  ≤ 480px
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --side: 17px;
  }

  .page { width: 100%; }

  /* hide desktop elements */
  .topbar, .nav { display: none; }

  /* show mobile header + menu */
  .mob-header { display: flex; }
  .mob-menu   { display: block; }

  /* ---- HERO ---- */
  .hero {
    height: 541px;
    border-radius: 42px;
    margin: 0;
  }

  .hero__content { gap: 40px; padding-top: 77px; }

  .hero__title { font-size: 38px; padding: 0 16px; }

  .hero__subtitle { font-size: 24px; padding: 0 15px; }

  .hero__dots { left: 50%; transform: translateX(-50%); right: auto; bottom: 30px; }

  /* ---- FEATURES 01/02/03 ---- */
  .features {
    grid-template-columns: 1fr;
    padding: 40px var(--side);
    gap: 40px;
  }

  .features__num { font-size: 36px; color: var(--navy); margin-bottom: 4px; }
  .features__head { font-size: 18px; }
  .features__text { font-size: 14px; }
  .features__block { gap: 24px; }

  /* ---- EXPERTISE SECTION ---- */
  .expertise {
    flex-direction: column;
    min-height: auto;
    margin: 0 0 40px;
  }

  .expertise__left {
    width: 100%;
    min-height: 696px;
    border-radius: 42px;
    margin: 0 1px;
    width: calc(100% - 2px);
  }

  .expertise__photo-overlay {
    background: linear-gradient(to bottom, rgba(40,124,216,.2), rgba(0,51,153,.3));
  }

  .expertise__left-text {
    padding: 65px 27px 40px 27px;
  }

  .expertise__left-title { font-size: 42px; margin-bottom: 24px; }
  .expertise__left-desc  { font-size: 16px; line-height: 29px; }

  .expertise__right {
    grid-template-columns: 1fr;
    padding: 40px var(--side);
    gap: 40px;
    background: linear-gradient(to bottom, rgba(40,124,216,.05), rgba(0,51,153,.05));
  }

  .expertise-card__icon  { width: 28px; height: 28px; }
  .expertise-card__title { font-size: 18px; }
  .expertise-card__text  { font-size: 14px; }
  .expertise-card__body  { gap: 24px; }

  /* ---- ABOUT ---- */
  .about {
    flex-direction: column;
    padding: 40px var(--side);
    gap: 40px;
  }

  .about__left { flex: none; width: 100%; }
  .about__title { font-size: 32px; }
  .about__text  { font-size: 16px; }

  .about__stats { flex-direction: column; gap: 20px; justify-content: flex-start; }

  .stat       { width: 100%; padding-right: 0; }
  .stat__num  { font-size: 68px; }

  /* ---- OUR EXPERTISES ---- */
  .our-expertises {
    border-radius: 42px;
    margin: 0 0 40px;
    padding: 43px 20px 50px;
  }

  .our-expertises__title { font-size: 32px; }

  .slider { gap: 12px; }

  .slider__slide { flex: 0 0 calc((100% - 20px) / 1); }

  /* ---- RECOMMENDATIONS ---- */
  .recommendations { padding: 40px var(--side) 40px; }

  .recommendations__title { font-size: 32px; margin-bottom: 32px; }

  .slider__slide { flex: 0 0 calc(100% - 20px); }

  .recommendations__cards {
    flex-direction: column;
    gap: 24px;
  }

  .rec-card      { flex: none; width: 100%; }
  .rec-card__img-wrap { width: 100%; height: 183px; }

  /* ---- FOOTER ---- */
  .footer {
    flex-direction: column;
    gap: 32px;
    padding: 40px var(--side);
    background: var(--navy);
  }

  .footer__logo-block { width: 100%; }

  .footer__nav {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .footer__nav-col { gap: 14px; }

  .footer__right {
    align-items: flex-start;
    width: 100%;
  }

  .footer__dev-logo { width: 130px; height: auto; }

  .footer__nav-link,
  .footer__privacy { white-space: normal; }
}


/* ============================================================
   TABLET  481px – 768px
   ============================================================ */
@media (min-width: 481px) and (max-width: 768px) {
  :root { --side: 32px; }

  .page { width: 100%; }

  .topbar, .nav { display: none; }
  .mob-header   { display: flex; }

  .hero        { margin: 0; }
  .hero__title { font-size: 42px; }
  .hero__subtitle { font-size: 32px; }

  .features { grid-template-columns: 1fr; padding: 40px var(--side); gap: 40px; }

  .expertise { flex-direction: column; min-height: auto; }

  .expertise__left  { width: 100%; min-height: 500px; border-radius: 42px; }
  .expertise__left-text { padding: 60px var(--side); }
  .expertise__right { grid-template-columns: 1fr 1fr; padding: 40px var(--side); }

  .about { flex-direction: column; padding: 40px var(--side); }
  .about__left { flex: none; width: 100%; }
  .about__stats { flex-direction: row; justify-content: flex-start; gap: 40px; }

  .slider__slide { flex: 0 0 calc((100% - 40px) / 2); }

  .recommendations__cards { overflow-x: auto; scroll-snap-type: x mandatory; flex-wrap: nowrap; padding-bottom: 8px; }
  .rec-card { flex: 0 0 300px; scroll-snap-align: start; }
  .rec-card__img-wrap { width: 100%; }

  .footer {
    flex-wrap: wrap;
    gap: 32px;
    padding: 40px var(--side);
  }

  .footer__logo-block { flex: 0 0 100%; }

  .footer__nav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    gap: 24px 40px;
  }

  .footer__nav-col { gap: 16px; }

  .footer__right { align-items: flex-start; }

  .footer__nav-link,
  .footer__privacy { white-space: normal; }
}


/* ============================================================
   INNER PAGE — page-hero + info-content
   ============================================================ */

/* ============================================================
   SPECIALISTS PAGE
   ============================================================ */

.spec-section {
  padding: 64px var(--side) 72px;
  display: flex;
  flex-direction: column;
}

/* одна строка специалиста */
.spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
}

.spec-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0;
}

/* левая колонка: фото + имя */
.spec-row__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec-row__photo {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.spec-row__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.spec-row__info { display: flex; flex-direction: column; gap: 8px; }

.spec-row__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
}

.spec-row__role {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.spec-row__cert {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* правая колонка: галерея документов */
.spec-row__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.spec-doc-thumb {
  display: block;
  width: 140px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: box-shadow .2s, transform .2s;
  flex-shrink: 0;
}

.spec-doc-thumb:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transform: translateY(-2px);
}

.spec-doc-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* серый фон для секции с юридическим текстом */
.info-page--gray {
  background: var(--light-gray);
}

/* адаптив */
@media (min-width: 769px) and (max-width: 1199px) {
  .spec-row { grid-template-columns: 200px 1fr; gap: 32px; }
  .spec-doc-thumb { width: 120px; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .spec-section { padding: 40px var(--side); }
  .spec-row { grid-template-columns: 160px 1fr; gap: 24px; padding: 36px 0; }
  .spec-doc-thumb { width: 100px; }
}
@media (max-width: 480px) {
  .spec-section { padding: 32px var(--side); }
  .spec-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .spec-row__photo { width: 160px; }
  .spec-doc-thumb { width: 90px; }
}


/* ============================================================
   INNER PAGE EXTRAS
   ============================================================ */

/* широкий контейнер для страниц без боковой колонки */
.info-page__inner--wide { max-width: 1000px; }

/* подзаголовок в page-hero */
.page-hero__subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(255,255,255,.6);
  margin-top: 10px;
  font-style: italic;
}

/* ── FAQ ── */
.faq-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--blue);
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-item:first-of-type { border-top: 1px solid #ddd; }

.faq-item__q {
  list-style: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 20px 48px 20px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}
.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 20px;
  font-size: 24px;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 0 20px;
}
.faq-item__a p,
.faq-item__a ul,
.faq-item__a ol {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}
.faq-item__a ul,
.faq-item__a ol { margin-left: 20px; }
.faq-item__a li { margin-bottom: 4px; }
.faq-item__a ul li::marker { color: var(--blue); }

/* ── блок "О центре" с фото ── */
.expert-about__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}

.expert-about__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.expert-about__photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .expert-about__inner { grid-template-columns: 260px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .expert-about__inner { grid-template-columns: 1fr; gap: 24px; }
  .expert-about__photo img { height: 200px; }
  .faq-item__q { font-size: 15px; }
}


/* ── заголовочная полоса ── */
.page-hero {
  background: var(--navy);
  padding: 48px var(--side) 52px;
  margin-top: 16px;
}

.page-hero__breadcrumb {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.page-hero__breadcrumb a:hover { color: #fff; }

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 48px;
  color: var(--white);
  line-height: 1.2;
}

/* ── обёртка контентной зоны ── */
.info-page { padding: 64px var(--side) 80px; }

.info-page__inner {
  max-width: 860px;
}

/* ── типографика контента ── */
.info-content h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--blue);
  margin: 0 0 24px;
  line-height: 1.25;
}

.info-content h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  margin: 40px 0 16px;
  line-height: 1.3;
}

.info-content h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  margin: 32px 0 12px;
}

.info-content p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 20px;
}

.info-content ul,
.info-content ol {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin: 0 0 24px 24px;
}

.info-content li { margin-bottom: 6px; }

.info-content ul li::marker { color: var(--blue); }
.info-content ol li::marker { color: var(--blue); font-weight: 700; }

.info-content blockquote {
  border-left: 3px solid var(--blue);
  margin: 32px 0;
  padding: 16px 24px;
  background: rgba(0,51,153,.04);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--navy);
}

.info-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-content a:hover { color: var(--navy); }

.info-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

/* ── адаптив внутренней страницы ── */
@media (max-width: 768px) {
  .page-hero { padding: 32px var(--side) 36px; }
  .page-hero__title { font-size: 32px; }

  .info-page { padding: 40px var(--side) 48px; }

  .info-content h2 { font-size: 26px; }
  .info-content h3 { font-size: 20px; }
  .info-content p,
  .info-content ul,
  .info-content ol  { font-size: 16px; }
}


/* ============================================================
   CONTACTS PAGE
   ============================================================ */

/* ── секция карточек + карта ── */
.contacts-section {
  padding: 60px 155px 72px;
}

.contacts-section__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-card__value {
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
}

.contact-card__value--link {
  color: var(--blue);
  transition: color .2s;
}
.contact-card__value--link:hover { color: var(--navy); }

/* ── карта ── */
.contacts-map {
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── секция формы ── */
.contacts-form-section {
  background: var(--light-gray);
  padding: 72px 155px 80px;
}

.contacts-form-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.contacts-form-text__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.contacts-form-text__desc {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contacts-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-form__label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  letter-spacing: .04em;
}

.contacts-form__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  border: 1.5px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s;
}
.contacts-form__input:focus { border-color: var(--blue); }
.contacts-form__input::placeholder { color: #bbb; }

.contacts-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contacts-form__btn {
  align-self: flex-start;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 36px;
  border: none;
  border-radius: 8px;
  transition: background .2s, transform .15s;
}
.contacts-form__btn:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

/* ── адаптив контактов ── */
@media (max-width: 1199px) {
  .contacts-section { padding: 48px 40px 60px; }
  .contacts-section__inner { grid-template-columns: 300px 1fr; gap: 36px; }
  .contacts-form-section { padding: 60px 40px 72px; }
  .contacts-form-wrap { gap: 48px; }
}

@media (max-width: 768px) {
  .contacts-section { padding: 36px 20px 48px; }
  .contacts-section__inner {
    grid-template-columns: 1fr;
  }
  .contacts-map { height: 280px; }

  .contacts-form-section { padding: 48px 20px 60px; }
  .contacts-form-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contacts-form__row { grid-template-columns: 1fr; }
  .contacts-form__btn { width: 100%; text-align: center; }
}

/* End */
/* /bitrix/templates/cpse/css/style.css?177617011836956 */
