/* Company section and restored media archive. */

.site-menu-parent {
  position: relative;
}

.site-menu-parent-row {
  display: flex;
  align-items: center;
}

.site-submenu-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.site-submenu-toggle svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.site-menu-parent.is-open .site-submenu-toggle svg {
  transform: rotate(180deg);
}

.site-submenu {
  display: none;
}

.site-menu-parent.is-open .site-submenu {
  display: block;
}

.footer-requisites {
  color: inherit;
}

.company-page {
  min-height: 100vh;
  padding-top: 64px;
  color: #111a35;
  background: #f7f7fc;
}

.company-page *,
.company-page *::before,
.company-page *::after {
  box-sizing: border-box;
}

.company-page > article,
.company-page > section,
.media-archive-content,
.media-source-line {
  width: min(100% - 36px, 1040px);
  margin-inline: auto;
}

.company-page :is(h1, h2),
.company-page h2,
.company-page h3,
.company-page p,
.company-page figure,
.company-page blockquote,
.company-page dl {
  margin-top: 0;
}

.company-page :is(h1, h2),
.company-page h2,
.company-page h3 {
  text-wrap: balance;
}

.company-eyebrow {
  margin-bottom: 14px;
  color: #5263df;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.company-article > article,
.profile-page > article,
.requisites-page > article {
  max-width: 880px;
}

.company-article-hero {
  padding: 54px 0 34px;
}

.company-article-hero :is(h1, h2),
.media-archive-hero :is(h1, h2),
.profile-hero :is(h1, h2),
.company-split-hero :is(h1, h2) {
  margin-bottom: 22px;
  font-size: clamp(42px, 12vw, 64px);
  line-height: .97;
  letter-spacing: -.055em;
}

.company-lead {
  color: #252e4c;
  font-size: clamp(20px, 5.4vw, 26px);
  line-height: 1.34;
  letter-spacing: -.018em;
}

.company-article-hero > p:not(.company-eyebrow),
.company-reading-section > p,
.profile-reading p {
  color: #515a76;
  font-size: 17px;
  line-height: 1.64;
}

.company-wide-photo {
  position: relative;
  min-height: 400px;
  margin-bottom: 56px;
  overflow: hidden;
  border-radius: 26px;
  background: #07102d;
}

.company-wide-photo img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.company-wide-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  color: #fff;
  background: rgba(5, 11, 33, .74);
  backdrop-filter: blur(14px);
  font-size: 13px;
  line-height: 1.4;
}

.company-reading-section {
  padding: 0 0 62px;
}

.company-reading-section h2,
.company-facts-section h2,
.company-section-heading h2,
.profile-reading h2,
.profile-channels h2,
.profile-media h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 8.2vw, 52px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.company-reading-section blockquote {
  margin: 34px 0 0;
  padding: 28px 0 2px 20px;
  border-left: 3px solid #6375ff;
  color: #111a35;
  font-size: 22px;
  line-height: 1.42;
  font-weight: 760;
}

.company-principles {
  margin-top: 34px;
  border-top: 1px solid #cdd1e2;
}

.company-principles section {
  padding: 26px 0;
  border-bottom: 1px solid #cdd1e2;
}

.company-principles h3 {
  margin-bottom: 11px;
  font-size: 23px;
  line-height: 1.18;
}

.company-principles p {
  margin-bottom: 0;
  color: #59617a;
  font-size: 16px;
  line-height: 1.55;
}

.company-tradition {
  margin-bottom: 62px;
  padding: 32px 26px;
  border-radius: 24px;
  color: #fff;
  background: #080f2b;
}

.company-tradition .company-eyebrow {
  color: #91a0ff;
}

.company-tradition > p:last-child {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.42;
}

.company-facts-section {
  padding-bottom: 54px;
}

.company-facts {
  display: grid;
  gap: 10px;
}

.company-facts > div {
  padding: 21px;
  border: 1px solid #dadeed;
  border-radius: 18px;
  background: #fff;
}

.company-facts dt {
  margin-bottom: 5px;
  color: #3157ff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.company-facts dd {
  margin: 0;
  color: #5a627b;
  font-size: 14px;
  line-height: 1.4;
}

.company-facts-note {
  margin: 17px 0 0;
  color: #737a91;
  font-size: 13px;
  line-height: 1.5;
}

.company-quiet-link {
  margin-bottom: 70px;
  font-size: 17px;
  font-weight: 800;
}

.company-quiet-link a {
  color: #3157ff;
  text-decoration: none;
}

/* Advantages */
.company-split-hero {
  padding: 62px 0 48px;
}

.company-split-hero :is(h1, h2) span {
  color: #5165ee;
}

.advantages-balance {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 34px;
}

.advantages-balance span {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 15px;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: #0b1434;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.advantages-balance span:last-child {
  color: #0b1434;
  background: #e9ebff;
}

.advantages-balance b {
  align-self: center;
  color: #ff8858;
  font-size: 24px;
}

.advantages-contrast {
  display: grid;
  gap: 14px;
}

.advantages-panel {
  min-height: 360px;
  padding: 30px 24px;
  border-radius: 25px;
}

.advantages-panel h2 {
  margin-bottom: 20px;
  font-size: 35px;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.advantages-panel p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.advantages-panel-light {
  background: #e7eaff;
}

.advantages-panel-dark {
  color: #fff;
  background: #07102d;
}

.advantages-panel-dark .company-eyebrow {
  color: #91a0ff;
}

.advantages-panel-dark p:last-child {
  color: #ccd3ef;
}

.company-section {
  padding: 76px 0;
}

.company-section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.company-section-heading > p:last-child {
  color: #5b637c;
  font-size: 17px;
  line-height: 1.55;
}

.advantages-grid {
  display: grid;
  gap: 12px;
}

.advantages-grid article {
  padding: 26px 22px;
  border: 1px solid #dfe2ee;
  border-radius: 22px;
  background: #fff;
}

.advantages-grid article > span {
  color: #6578ff;
  font-size: 12px;
  font-weight: 900;
}

.advantages-grid h3 {
  margin: 26px 0 13px;
  font-size: 25px;
  line-height: 1.08;
}

.advantages-grid p {
  margin: 0;
  color: #5d657e;
  font-size: 15px;
  line-height: 1.5;
}

.advantages-conclusion {
  margin-bottom: 72px;
  padding: 30px 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #3157ff, #7866eb 52%, #ff805e);
}

.advantages-conclusion p {
  font-size: 23px;
  line-height: 1.35;
  font-weight: 780;
}

.advantages-conclusion a {
  color: #fff;
  font-weight: 850;
}

/* Expert profile */
.profile-hero {
  display: grid;
  gap: 26px;
  padding: 48px 0 64px;
}

.profile-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 30px 0 0;
}

.profile-quick-facts div {
  padding: 16px;
  border: 1px solid #d9ddec;
  border-radius: 16px;
  background: #fff;
}

.profile-quick-facts dt {
  font-weight: 900;
}

.profile-quick-facts dd {
  margin: 4px 0 0;
  color: #727990;
  font-size: 12px;
}

.profile-photo {
  min-height: 500px;
  overflow: hidden;
  border-radius: 28px;
  background: #07102d;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.profile-reading > section {
  padding: 0 0 62px;
}

.profile-reading .profile-source-note {
  padding-left: 16px;
  border-left: 2px solid #7685ee;
  color: #727990;
  font-size: 13px;
}

.profile-channels,
.profile-media {
  padding: 0 0 70px;
}

.company-channel-grid {
  margin-top: 28px;
}

.profile-footer-links {
  display: grid;
  gap: 0;
  margin-bottom: 72px;
  border-top: 1px solid #d5d9e7;
}

.profile-footer-links a {
  padding: 18px 0;
  border-bottom: 1px solid #d5d9e7;
  color: #111a35;
  font-size: 18px;
  font-weight: 820;
  text-decoration: none;
}

/* Media archive */
.media-archive-hero {
  padding: 60px 0 34px;
}

.media-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.media-stats div {
  padding: 18px;
  border: 1px solid #d9ddec;
  border-radius: 18px;
  background: #fff;
}

.media-stats dt {
  color: #3157ff;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.media-stats dd {
  margin: 6px 0 0;
  color: #70778e;
  font-size: 12px;
}

.media-source-line {
  margin-bottom: 34px;
  color: #666e87;
  font-size: 13px;
  line-height: 1.5;
}

.media-archive-content {
  padding-bottom: 72px;
}

.media-grid {
  display: grid;
  gap: 14px;
}

.media-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dde1ed;
  border-radius: 22px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(22, 31, 67, .11);
}

.media-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
  color: #111a35;
  text-decoration: none;
}

.media-card-image {
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: #e8ebf8;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-card-image-fallback {
  color: #3157ff;
  font-size: 64px;
  font-weight: 950;
}

.media-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 17px 5px 12px;
  color: #6a728a;
  font-size: 11px;
  line-height: 1.25;
}

.media-card-meta b {
  color: #5263df;
  font-weight: 850;
}

.media-card-link > strong {
  margin: 0 5px 11px;
  font-size: 20px;
  line-height: 1.16;
}

.media-card-description {
  margin: 0 5px 18px;
  color: #606880;
  font-size: 14px;
  line-height: 1.45;
}

.media-card-more {
  margin: auto 5px 0;
  color: #3157ff;
  font-size: 13px;
  font-weight: 850;
}

.media-load-more {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(110deg, #3157ff, #7b69ed 55%, #ff805d);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.media-load-more:disabled {
  opacity: .65;
}

.media-load-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #6c748c;
  text-align: center;
  font-size: 12px;
}

/* Requisites */
.requisites-page > article {
  padding-bottom: 72px;
}

.requisites-list {
  overflow: hidden;
  border: 1px solid #dce0ec;
  border-radius: 22px;
  background: #fff;
}

.requisites-list > div {
  padding: 18px 20px;
  border-bottom: 1px solid #e3e5ef;
}

.requisites-list > div:last-child {
  border-bottom: 0;
}

.requisites-list dt {
  margin-bottom: 6px;
  color: #70778d;
  font-size: 12px;
}

.requisites-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #111a35;
  font-size: 16px;
  font-weight: 750;
}

@media (max-width: 1023px) {
  .site-menu-parent-row {
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .site-menu .site-menu-parent-row > a {
    flex: 1 1 auto;
    border-bottom: 0;
  }

  .site-submenu-toggle {
    flex: 0 0 46px;
  }

  .site-submenu {
    padding: 4px 0 10px 18px;
  }

  .site-menu .site-submenu a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.74);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 680;
  }

  .site-menu .site-submenu a:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 640px) {
  .company-facts,
  .advantages-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-menu-parent-row {
    height: 82px;
  }

  .site-menu .site-menu-parent-row > a {
    padding-right: 2px;
  }

  .site-submenu-toggle {
    width: 22px;
    height: 42px;
    margin-left: 1px;
    color: rgba(255,255,255,.76);
  }

  .site-menu-parent:hover .site-submenu,
  .site-menu-parent:focus-within .site-submenu,
  .site-menu-parent.is-open .site-submenu {
    display: block;
  }

  .site-submenu {
    position: absolute;
    top: 70px;
    left: 50%;
    width: 246px;
    padding: 9px;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    background: rgba(4, 9, 30, .98);
    box-shadow: 0 22px 48px rgba(0,0,0,.28);
  }

  .site-menu .site-submenu a,
  .site-menu.is-open .site-submenu a,
  .menu-opened .site-menu .site-submenu a {
    width: 100%;
    display: block;
    padding: 12px 13px;
    border-radius: 10px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.25;
  }

  .site-menu .site-submenu a:hover,
  .site-menu .site-submenu a:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.08);
  }

  .company-page {
    max-width: none;
    padding-top: 82px;
  }

  .company-page > article,
  .company-page > section,
  .media-archive-content,
  .media-source-line {
    width: min(100% - 48px, 1200px);
  }

  .company-article > article,
  .profile-page > article,
  .requisites-page > article {
    max-width: 1040px;
  }

  .company-article-hero {
    width: min(100%, 880px);
    padding: 104px 0 62px;
  }

  .company-article-hero :is(h1, h2),
  .media-archive-hero :is(h1, h2),
  .profile-hero :is(h1, h2),
  .company-split-hero :is(h1, h2) {
    font-size: clamp(68px, 6vw, 92px);
  }

  .company-article-hero > p:not(.company-eyebrow),
  .company-reading-section > p,
  .profile-reading p {
    font-size: 19px;
  }

  .company-wide-photo {
    min-height: 560px;
    margin-bottom: 92px;
  }

  .company-wide-photo img {
    height: 620px;
    object-position: center 20%;
  }

  .company-wide-photo figcaption {
    right: 26px;
    bottom: 26px;
    left: auto;
    width: 330px;
    padding: 18px 20px;
  }

  .company-reading-section,
  .company-facts-section,
  .company-quiet-link {
    width: min(100%, 880px);
    margin-inline: auto;
  }

  .company-reading-section {
    padding-bottom: 90px;
  }

  .company-reading-section h2,
  .company-facts-section h2,
  .company-section-heading h2,
  .profile-reading h2,
  .profile-channels h2,
  .profile-media h2 {
    font-size: 54px;
  }

  .company-reading-section blockquote {
    margin-top: 48px;
    padding: 20px 60px 20px 32px;
    font-size: 30px;
  }

  .company-principles section {
    display: grid;
    grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr);
    gap: 48px;
    padding: 32px 0;
  }

  .company-principles p {
    font-size: 17px;
  }

  .company-tradition {
    padding: 48px 56px;
  }

  .company-tradition > p:last-child {
    max-width: 850px;
    font-size: 31px;
  }

  .company-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-facts > div {
    padding: 27px;
  }

  .company-split-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 70px;
    align-items: end;
    padding: 112px 0 86px;
  }

  .advantages-balance {
    margin: 0;
  }

  .advantages-balance span {
    min-height: 210px;
    font-size: 17px;
  }

  .advantages-contrast {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-panel {
    min-height: 510px;
    display: flex;
    flex-direction: column;
    padding: 48px 44px;
  }

  .advantages-panel h2 {
    font-size: 47px;
  }

  .advantages-panel p:last-child {
    margin-top: auto;
    font-size: 18px;
  }

  .company-section {
    padding: 112px 0;
  }

  .company-section-heading {
    margin-bottom: 52px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid article {
    min-height: 290px;
    padding: 35px 32px;
  }

  .advantages-grid h3 {
    margin-top: 54px;
    font-size: 33px;
  }

  .advantages-grid p {
    font-size: 16px;
  }

  .advantages-conclusion {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    padding: 42px 50px;
  }

  .advantages-conclusion p {
    max-width: 760px;
    margin: 0;
    font-size: 28px;
  }

  .advantages-conclusion a {
    white-space: nowrap;
  }

  .profile-hero {
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    gap: 70px;
    align-items: center;
    padding: 90px 0 110px;
  }

  .profile-photo {
    height: 690px;
  }

  .profile-photo img {
    height: 100%;
  }

  .profile-reading {
    width: min(100%, 880px);
    margin-inline: auto;
  }

  .profile-reading > section {
    padding-bottom: 86px;
  }

  .profile-channels,
  .profile-media {
    padding-bottom: 100px;
  }

  .company-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-footer-links {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #d5d9e7;
  }

  .profile-footer-links a {
    padding: 22px 0;
    border-right: 1px solid #d5d9e7;
    border-bottom: 0;
    text-align: center;
  }

  .profile-footer-links a:last-child {
    border-right: 0;
  }

  .media-archive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 80px;
    align-items: end;
    padding: 110px 0 54px;
  }

  .media-stats {
    margin: 0;
  }

  .media-stats div {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .media-stats dt {
    font-size: 44px;
  }

  .media-source-line {
    margin-bottom: 52px;
    font-size: 14px;
  }

  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-card-image {
    height: 220px;
  }

  .media-card-link > strong {
    font-size: 22px;
  }

  .media-load-more {
    width: min(100%, 420px);
    display: block;
    margin: 34px auto 0;
  }

  .requisites-page > article {
    padding-bottom: 110px;
  }

  .requisites-list > div {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    padding: 22px 28px;
  }

  .requisites-list dt {
    margin: 0;
  }
}

@media (min-width: 1440px) {
  .company-page > article,
  .company-page > section,
  .media-archive-content,
  .media-source-line {
    width: min(100% - 240px, 1200px);
  }

  .company-article > article,
  .profile-page > article,
  .requisites-page > article {
    max-width: 1040px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-card,
  .site-submenu-toggle svg {
    transition: none;
  }
}

/* Approved continuous editorial layout for /o-kompanii/. */
.about-reference-page {
  background: #fff;
}

.about-reference-page > .about-reference {
  width: 100%;
  max-width: none;
  margin: 0;
}

.about-reference {
  color: #090f24;
  background: #fff;
}

.about-ref-section {
  width: min(calc(100% - 38px), 1040px);
  margin-inline: auto;
  padding: 44px 0;
}

.about-ref-copy {
  min-width: 0;
}

.about-ref-mobile-heading {
  display: block;
}

.about-ref-standard-heading {
  display: none;
}

.about-reference :is(h1, h2),
.about-reference h2 {
  margin: 0 0 30px;
  color: #080d20;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.045em;
}

.about-reference h3 {
  margin: 0 0 9px;
  color: #090f24;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -.018em;
}

.about-reference p {
  margin: 0 0 20px;
  color: #1e263e;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.012em;
}

.about-reference p:last-child {
  margin-bottom: 0;
}

.about-ref-intro {
  padding-top: 28px;
  padding-bottom: 38px;
}

.about-ref-intro :is(h1, h2) {
  margin-bottom: 34px;
  font-size: 34px;
}

.about-ref-lead {
  font-size: 17px;
  line-height: 1.62;
}

.about-ref-accent {
  position: relative;
  margin-top: 52px !important;
  padding-top: 27px;
  font-size: 17px !important;
  line-height: 1.52 !important;
}

.about-ref-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #5d45ff, #9d5dff);
}

.about-ref-accent strong {
  display: block;
  margin-bottom: 3px;
  color: #090f24;
  font-weight: 900;
}

.about-ref-art {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about-ref-city {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 34px;
  object-fit: contain;
}

.about-ref-city-frame {
  display: contents;
}

.about-ref-path {
  padding-top: 38px;
}

.about-ref-path p,
.about-ref-today p {
  font-size: 15px;
  line-height: 1.58;
}

.about-ref-road {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 34px;
  object-fit: contain;
}

.about-ref-approach {
  padding-top: 58px;
  padding-bottom: 54px;
}

.about-ref-principles {
  display: grid;
  gap: 35px;
}

.about-ref-principles article {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.about-ref-principles p {
  color: #343c55;
  font-size: 14px;
  line-height: 1.52;
}

.about-ref-icon {
  width: 64px;
  height: 64px;
  display: block;
  color: #6246ff;
}

.about-ref-icon svg,
.about-ref-phone-icon svg,
.about-ref-exp-icon svg,
.about-ref-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-ref-tradition {
  padding-top: 56px;
  padding-bottom: 22px;
}

.about-ref-tradition p {
  font-size: 17px;
  line-height: 1.66;
}

.about-ref-moscow-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 34px;
}

.about-ref-moscow {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.about-reference :is(h1, h2) span,
.about-reference h2 span {
  background: linear-gradient(105deg, #614cff 0%, #b54be8 55%, #f34865 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-ref-director {
  width: calc(100% - 24px);
  margin: 24px auto;
  padding: 42px 20px;
  border: 1px solid rgba(119, 85, 255, .22);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(101, 54, 255, .15), transparent 34%),
    linear-gradient(160deg, #080a2b 0%, #030921 58%, #02081f 100%);
  box-shadow: 0 22px 52px rgba(12, 14, 42, .13);
}

.about-ref-director h2,
.about-ref-director p {
  color: #fff;
}

.about-ref-director p {
  font-size: 16px;
  line-height: 1.58;
}

.about-ref-today {
  padding-top: 62px;
  padding-bottom: 54px;
}

.about-ref-today-list-intro {
  margin-bottom: 18px !important;
}

.about-ref-today-list {
  display: grid;
  gap: 13px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.about-ref-today-list li {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 10px;
  color: #1e263e;
  font-size: 15px;
  line-height: 1.55;
}

.about-ref-today-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: .62em;
  border-radius: 50%;
  background: linear-gradient(135deg, #614cff, #f34865);
}

.about-ref-experience {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.about-ref-experience article {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, #f5f1ff, #fbf8ff);
}

.about-ref-experience p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.about-ref-experience strong {
  color: #090f24;
  font-size: 15px;
}

.about-ref-more {
  color: #6749ff;
  font-size: 1.14em;
  line-height: 1;
}

.about-ref-experience .about-ref-experience-wide {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, #eee8ff 0%, #f8f2ff 52%, #fff1f6 100%);
}

.about-ref-awards {
  display: grid;
  gap: 14px;
}

.about-ref-awards p + p {
  padding-top: 14px;
  border-top: 1px solid rgba(103, 73, 255, .18);
}

.about-ref-award-icon {
  width: 58px;
  height: 58px;
}

.about-ref-exp-icon {
  width: 54px;
  height: 54px;
  color: #6749ff;
}

.about-ref-manifesto {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 58px 19px 34px;
  color: #fff;
  background: #02081f;
}

.about-ref-manifesto .about-ref-copy {
  width: min(100%, 392px);
  margin-inline: auto;
}

.about-ref-manifesto p {
  color: #fff;
}

.about-ref-manifesto-lead {
  margin-bottom: 30px !important;
  font-size: 21px !important;
  line-height: 1.55 !important;
  font-weight: 400;
}

.about-ref-manifesto-body {
  margin-bottom: 30px !important;
  font-size: 21px !important;
  line-height: 1.55 !important;
  font-weight: 400;
}

.about-ref-gradient-text {
  margin-bottom: 0 !important;
  font-size: 24px !important;
  line-height: 1.45 !important;
  font-weight: 760;
  background: linear-gradient(160deg, #7b55ff 0%, #bd48ed 48%, #ff4d82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.about-ref-manifesto-end {
  font-weight: 850;
}

.about-ref-quote-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 28px auto 0;
}

.about-ref-quote-photo {
  display: contents;
}

.about-ref-quote-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center bottom;
}

.about-ref-quote-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 14px;
  color: #fff;
  text-align: center;
}

.about-ref-quote-figure strong {
  font-size: 17px;
  line-height: 1.25;
}

.about-ref-quote-figure span {
  color: #b9bed0;
  font-size: 14px;
  line-height: 1.35;
}

.about-ref-links {
  padding-top: 30px;
  padding-bottom: 54px;
}

.about-ref-links a {
  min-height: 124px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #e0e2e9;
  color: #10162c;
  text-decoration: none;
}

.about-ref-links a:last-child {
  border-bottom: 0;
}

.about-ref-links a > span:nth-child(2) {
  font-size: 16px;
  line-height: 1.36;
}

.about-ref-links b {
  color: #6548ff;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.about-ref-link-icon {
  width: 54px;
  height: 54px;
  color: #6548ff;
}

@media (max-width: 767px) {
  .about-ref-manifesto {
    position: relative;
    width: calc(100% - 24px);
    margin: 24px auto 30px;
    padding: 42px 20px 28px;
    overflow: hidden;
    border: 1px solid rgba(119, 85, 255, .22);
    border-radius: 24px;
    background:
      radial-gradient(circle at 88% 10%, rgba(101, 54, 255, .18), transparent 34%),
      linear-gradient(160deg, #080a2b 0%, #030921 58%, #02081f 100%);
    box-shadow: 0 22px 52px rgba(12, 14, 42, .16);
  }

  .about-ref-manifesto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 76px;
    height: 3px;
    border-radius: 0 0 99px 99px;
    background: linear-gradient(90deg, #654cff, #f04460);
  }

  .about-ref-manifesto .about-ref-copy {
    width: 100%;
  }

  .about-ref-manifesto-lead {
    margin-bottom: 24px !important;
    font-size: 23px !important;
    line-height: 1.4 !important;
  }

  .about-ref-manifesto-body {
    margin-bottom: 26px !important;
    font-size: 19px !important;
    line-height: 1.55 !important;
    font-weight: 560;
  }

  .about-ref-gradient-text {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  .about-ref-quote-figure {
    margin-top: 30px;
  }

  .about-ref-quote-figure img {
    height: 290px;
  }
}

@media (min-width: 768px) {
  .about-ref-mobile-heading {
    display: none;
  }

  .about-ref-standard-heading {
    display: block;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .about-ref-section {
    width: min(calc(100% - 88px), 720px);
  }

  .about-ref-city,
  .about-ref-road,
  .about-ref-moscow-media {
    max-height: 410px;
  }

  .about-ref-principles,
  .about-ref-experience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-ref-manifesto {
    width: 100%;
    padding-inline: 44px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-ref-section {
    padding: 34px 0;
  }

  .about-ref-intro,
  .about-ref-path,
  .about-ref-today {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
    gap: 34px;
    align-items: center;
  }

  .about-ref-intro .about-ref-copy,
  .about-ref-path .about-ref-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .about-ref-city,
  .about-ref-road {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
  }

  .about-ref-approach {
    display: grid;
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 34px;
    align-items: start;
  }

  .about-ref-tradition {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
    grid-template-areas:
      "title art"
      "copy art";
    gap: 20px 34px;
    align-items: center;
  }

  .about-ref-tradition h2 {
    grid-area: title;
    margin-bottom: 0;
  }

  .about-ref-tradition p {
    grid-area: copy;
    margin: 0;
  }

  .about-ref-moscow-media {
    grid-area: art;
    margin: 0;
  }

  .about-ref-director {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 34px;
    align-items: start;
    padding: 38px 44px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .about-ref-director h2 {
    margin: 0;
  }

  .about-ref-today {
    grid-template-columns: minmax(0, 1.05fr) minmax(285px, .95fr);
    align-items: start;
  }

  .about-ref-experience {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .about-ref-manifesto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr);
    gap: 34px;
    align-items: center;
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .about-ref-quote-figure {
    margin: 0;
  }

  .about-ref-quote-figure img {
    height: 340px;
  }

  .about-ref-links {
    padding-top: 28px;
    padding-bottom: 36px;
  }
}

@media (min-width: 1024px) {
  .about-reference-page > .about-reference {
    width: 100%;
    max-width: none;
  }

  .about-ref-section {
    width: min(calc(100% - 48px), 1200px);
    padding: 48px 0;
  }

  .about-reference :is(h1, h2),
  .about-reference h2 {
    margin-bottom: 42px;
    font-size: clamp(46px, 3.9vw, 56px);
    line-height: 1.02;
  }

  .about-reference p {
    font-size: 18px;
    line-height: 1.62;
  }

  .about-ref-intro,
  .about-ref-path,
  .about-ref-today {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: clamp(52px, 6vw, 88px);
    align-items: center;
  }

  .about-ref-intro {
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .about-ref-intro :is(h1, h2) {
    margin-bottom: 42px;
    font-size: clamp(58px, 4.8vw, 68px);
  }

  .about-ref-lead {
    font-size: 23px !important;
  }

  .about-ref-accent {
    max-width: 450px;
    margin-top: 52px !important;
    font-size: 21px !important;
  }

  .about-ref-city {
    grid-column: 2;
    grid-row: 1;
    max-height: 420px;
    margin: 0;
  }

  .about-ref-path {
    min-height: 0;
  }

  .about-ref-path p,
  .about-ref-today p {
    font-size: 17px;
  }

  .about-ref-road {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-height: 420px;
    margin: 0;
  }

  .about-ref-approach {
    display: grid;
    grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
    gap: 58px;
    align-items: start;
  }

  .about-ref-principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-ref-principles article {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
  }

  .about-ref-icon {
    width: 72px;
    height: 72px;
  }

  .about-reference h3 {
    font-size: 21px;
  }

  .about-ref-principles p {
    font-size: 15px;
  }

  .about-ref-tradition {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    grid-template-areas:
      "title art"
      "copy art";
    gap: 26px clamp(52px, 6vw, 88px);
    align-items: center;
  }

  .about-ref-tradition h2 {
    grid-area: title;
    margin-bottom: 0;
  }

  .about-ref-tradition p {
    grid-area: copy;
    margin: 0;
    font-size: 21px;
  }

  .about-ref-moscow {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .about-ref-moscow-media {
    grid-area: art;
    width: 100%;
    max-height: 360px;
    margin: 0;
  }

  .about-ref-director {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
    gap: clamp(52px, 6vw, 88px);
    align-items: start;
    padding: 42px max(24px, calc((100% - 1200px) / 2));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .about-ref-director h2 {
    margin: 0;
  }

  .about-ref-director-copy {
    max-width: 650px;
    padding-top: 6px;
  }

  .about-ref-today {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: start;
  }

  .about-ref-experience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: calc(clamp(46px, 3.9vw, 56px) * 1.02 + 42px) 0 0;
  }

  .about-ref-experience article {
    min-height: 142px;
    padding: 22px;
  }

  .about-ref-experience .about-ref-experience-wide {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .about-ref-experience p {
    font-size: 15px;
  }

  .about-ref-today-list {
    gap: 14px;
    margin-bottom: 28px;
  }

  .about-ref-today-list li {
    font-size: 17px;
  }

  .about-ref-manifesto {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(480px, 1fr) minmax(360px, .8fr);
    gap: clamp(52px, 6vw, 88px);
    align-items: stretch;
    padding: 48px max(24px, calc((100% - 1200px) / 2)) 44px;
  }

  .about-ref-manifesto .about-ref-copy {
    width: 100%;
    max-width: 500px;
    margin: 0;
  }

  .about-ref-manifesto-lead {
    font-size: 28px !important;
  }

  .about-ref-manifesto-body {
    margin-bottom: 34px !important;
    font-size: 28px !important;
    line-height: 1.5 !important;
  }

  .about-ref-gradient-text {
    font-size: 34px !important;
  }

  .about-ref-quote-figure {
    height: calc(100% + 28px);
    min-height: 0;
    margin: 0;
    justify-content: space-between;
  }

  .about-ref-quote-photo {
    display: flex;
    width: 100%;
    min-height: 0;
    flex: 1 1 0;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }

  .about-ref-quote-photo img {
    width: auto;
    max-width: none;
    height: 130%;
    min-height: 0;
    flex: none;
    object-fit: contain;
    object-position: center top;
  }

  .about-ref-quote-figure figcaption {
    margin-top: 12px;
  }

  .about-ref-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .about-ref-links a {
    min-height: 150px;
    padding: 0 28px;
    border-right: 1px solid #e0e2e9;
    border-bottom: 0;
  }

  .about-ref-links a:last-child {
    border-right: 0;
  }

  .about-ref-intro,
  .about-ref-path,
  .about-ref-tradition,
  .about-ref-director,
  .about-ref-today,
  .about-ref-manifesto {
    grid-template-columns: minmax(0, 1.025fr) minmax(0, .975fr);
    column-gap: clamp(52px, 6vw, 88px);
  }

  .about-ref-approach {
    display: block;
  }

  .about-ref-approach > h2 {
    max-width: 570px;
    margin-bottom: 52px;
  }

  .about-ref-principles {
    grid-template-columns: minmax(0, 1.025fr) minmax(0, .975fr);
    gap: 42px clamp(52px, 6vw, 88px);
  }

  .about-ref-principles article:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .about-ref-principles article:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .about-ref-principles article:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .about-ref-principles article:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .about-ref-city-frame {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    overflow: clip;
  }

  .about-ref-city {
    width: 131%;
    max-width: none;
    max-height: none;
    margin-left: -15.5%;
  }
}

@media (min-width: 1200px) {
  .about-ref-manifesto .about-ref-quote-figure {
    transform: translateY(-28px);
  }

  .about-ref-manifesto .about-ref-quote-photo {
    position: relative;
  }

  .about-ref-manifesto .about-ref-quote-photo::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 82px;
    background: linear-gradient(to bottom, rgba(2, 8, 31, 0), #02081f 100%);
    content: "";
    pointer-events: none;
  }
}

/* Approved continuous editorial layout for /nashi-preimushhestva/. */
.advantages-reference-page,
.advantages-reference {
  color: #090f24;
  background: #fff;
}

.advantages-reference-page > .advantages-reference {
  width: 100%;
  max-width: none;
  margin: 0;
}

.adv-ref-section,
.adv-ref-links {
  width: min(calc(100% - 38px), 1040px);
  margin-inline: auto;
}

.adv-ref-section {
  padding: 48px 0 30px;
}

.adv-ref-copy {
  min-width: 0;
}

.advantages-reference :is(h1, h2),
.advantages-reference h2 {
  margin: 0 0 18px;
  color: #080d20;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.045em;
}

.advantages-reference :is(h1, h2) {
  font-size: 40px;
  line-height: .98;
}

.advantages-reference p {
  margin: 0 0 20px;
  color: #1e263e;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.advantages-reference p:last-child {
  margin-bottom: 0;
}

.adv-ref-lead {
  color: #0b1127 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 730;
}

.adv-ref-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.adv-ref-intro {
  padding-top: 38px;
}

.adv-ref-city {
  width: calc(100% + 48px);
  max-width: none;
  margin: 34px -24px 0;
}

.adv-ref-individual,
.adv-ref-team {
  padding-top: 52px;
}

.adv-ref-office {
  width: calc(100% + 18px);
  max-width: none;
  margin: 28px -9px 0;
}

.adv-ref-network {
  width: calc(100% + 8px);
  max-width: none;
  margin: 30px -4px 0;
}

.adv-ref-specialists {
  padding-top: 50px;
  padding-bottom: 46px;
}

.adv-ref-card-list {
  display: grid;
  gap: 14px;
}

.adv-ref-card-list article {
  min-height: 82px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 17px;
  border: 1px solid #dfe2ec;
  border-radius: 9px;
  background: #fff;
}

.adv-ref-card-list p {
  margin: 0;
  color: #171e34;
  font-size: 14px;
  line-height: 1.36;
}

.adv-ref-card-list strong {
  font-weight: 850;
}

.adv-ref-card-icon,
.adv-ref-note-icon,
.adv-ref-link-icon {
  display: block;
  color: #6445ff;
}

.adv-ref-card-icon {
  width: 52px;
  height: 52px;
}

.adv-ref-card-icon svg,
.adv-ref-note-icon svg,
.adv-ref-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adv-ref-quality {
  padding-top: 54px;
}

.adv-ref-quality-art {
  width: 86%;
  margin: 32px auto 0;
}

.adv-ref-apartments,
.adv-ref-banks {
  padding-top: 55px;
}

.adv-ref-note {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-top: 28px;
  padding: 17px 18px;
  border-radius: 11px;
  background: linear-gradient(120deg, #f2efff, #fbf8ff);
}

.adv-ref-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.adv-ref-note-icon {
  width: 48px;
  height: 48px;
}

.adv-ref-apartment-art {
  width: calc(100% + 14px);
  max-width: none;
  margin: 25px -7px 0;
}

.adv-ref-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 23px;
}

.adv-ref-bank-grid span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 5px 4px;
  border: 1px solid #d9ddea;
  border-radius: 6px;
  color: #20273c;
  font-size: 9px;
  line-height: 1.15;
  text-align: center;
  background: #fff;
}

.adv-ref-bank-grid span::before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0 2px, #71798e 2px 3px, transparent 3px 5px);
  clip-path: polygon(50% 0, 100% 28%, 88% 28%, 88% 88%, 100% 88%, 100% 100%, 0 100%, 0 88%, 12% 88%, 12% 28%, 0 28%);
}

.adv-ref-bank-caption {
  margin-top: 14px !important;
  color: #3a4155 !important;
  font-size: 12px !important;
}

.adv-ref-bank-art {
  width: calc(100% + 14px);
  max-width: none;
  margin: 22px -7px 0;
}

.adv-ref-manifesto {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  padding: 38px 19px 0;
  color: #fff;
  background: #02071b;
}

.adv-ref-manifesto-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 322px);
  margin-inline: auto;
}

.adv-ref-manifesto p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.33;
  font-weight: 800;
}

.adv-ref-quote {
  display: block;
  height: 34px;
  margin-bottom: 4px;
  color: #724dff;
  font-family: Georgia, serif;
  font-size: 55px;
  line-height: .9;
  font-weight: 800;
}

.adv-ref-gradient {
  background: linear-gradient(155deg, #704cff, #ba47ed 50%, #ff4f80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.adv-ref-manifesto-art {
  position: absolute;
  right: -34px;
  bottom: -18px;
  z-index: 1;
  width: 88%;
  height: auto;
}

.adv-ref-links {
  padding-top: 0;
  padding-bottom: 30px;
}

.adv-ref-links a {
  min-height: 92px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e0e2e9;
  color: #10162c;
  text-decoration: none;
}

.adv-ref-links a:last-child {
  border-bottom: 0;
}

.adv-ref-links a > span:nth-child(2) {
  font-size: 15px;
  line-height: 1.35;
}

.adv-ref-links b {
  color: #6548ff;
  font-size: 31px;
  line-height: 1;
  font-weight: 400;
}

.adv-ref-link-icon {
  width: 42px;
  height: 42px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .adv-ref-section,
  .adv-ref-links {
    width: min(calc(100% - 88px), 720px);
  }

  .adv-ref-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adv-ref-card-list article {
    min-height: 112px;
  }

  .adv-ref-manifesto {
    min-height: 430px;
    padding-inline: 44px;
  }

  .adv-ref-manifesto-copy {
    width: min(100%, 680px);
  }

  .adv-ref-manifesto p {
    font-size: 27px;
  }

  .adv-ref-manifesto-art {
    width: 65%;
  }
}

@media (min-width: 1024px) {
  .advantages-reference-page > .advantages-reference {
    width: 100%;
    max-width: none;
  }

  .adv-ref-section,
  .adv-ref-links {
    width: min(calc(100% - 48px), 1200px);
  }

  .adv-ref-section {
    padding: 96px 0;
  }

  .advantages-reference :is(h1, h2),
  .advantages-reference h2 {
    margin-bottom: 34px;
    font-size: clamp(46px, 3.9vw, 56px);
    line-height: 1.02;
  }

  .advantages-reference :is(h1, h2) {
    font-size: clamp(58px, 4.8vw, 68px);
  }

  .advantages-reference p {
    font-size: 18px;
    line-height: 1.58;
  }

  .adv-ref-lead {
    font-size: 22px !important;
  }

  .adv-ref-intro,
  .adv-ref-individual,
  .adv-ref-team,
  .adv-ref-apartments,
  .adv-ref-banks {
    min-height: 730px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
    gap: clamp(60px, 7vw, 110px);
    align-items: center;
  }

  .adv-ref-intro {
    padding-top: 112px;
  }

  .adv-ref-city,
  .adv-ref-office,
  .adv-ref-network,
  .adv-ref-apartment-art,
  .adv-ref-bank-art {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .adv-ref-specialists {
    display: grid;
    grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr);
    gap: 80px;
    align-items: start;
  }

  .adv-ref-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .adv-ref-card-list article {
    min-height: 150px;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 24px;
    border-radius: 14px;
  }

  .adv-ref-card-list p {
    font-size: 16px;
  }

  .adv-ref-card-icon {
    width: 64px;
    height: 64px;
  }

  .adv-ref-quality {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(350px, .7fr);
    gap: 80px;
    align-items: center;
  }

  .adv-ref-quality-art {
    width: 100%;
    margin: 0;
  }

  .adv-ref-note {
    max-width: 520px;
    margin-top: 34px;
    padding: 22px;
  }

  .adv-ref-note p {
    font-size: 15px;
  }

  .adv-ref-bank-grid {
    gap: 10px;
  }

  .adv-ref-bank-grid span {
    min-height: 44px;
    font-size: 11px;
  }

  .adv-ref-bank-caption {
    font-size: 14px !important;
  }

  .adv-ref-manifesto {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(400px, .85fr) minmax(520px, 1.15fr);
    gap: 60px;
    align-items: center;
    padding: 90px max(24px, calc((100vw - 1200px) / 2));
  }

  .adv-ref-manifesto-copy {
    width: 100%;
    max-width: 520px;
    margin: 0;
  }

  .adv-ref-manifesto p {
    font-size: 32px;
    line-height: 1.35;
  }

  .adv-ref-manifesto-art {
    position: static;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }

  .adv-ref-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 54px;
    padding-bottom: 70px;
  }

  .adv-ref-links a {
    min-height: 140px;
    padding: 0 28px;
    border-right: 1px solid #e0e2e9;
    border-bottom: 0;
  }

  .adv-ref-links a:last-child {
    border-right: 0;
  }
}
