﻿* {
  font-size: 62.5%;
}
@font-face {
  font-family: "Cruinn";
  src:
    local("Cruinn Regular"),
    local("Cruinn"),
    url("../assets/fonts/Cruinn Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cruinn";
  src:
    local("Cruinn Medium"),
    url("../assets/fonts/Cruinn Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #00263ae8;
  --dark-2: #001f80;
  --cyan: #8afcff;
  --teal: #008f88;
  --teal-2: #2b6471;
  --white: #f8fbfb;
  --text: #f4f7f8;
  --black: #101719;
  --shell: 1204px;
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main {
  width: 1340px;
  margin: 0 auto;
}

body {
  margin: 0;
  background: var(--dark);
  background-image: url(../assets/images/background.jpg);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  font-family: "Cruinn", "Trebuchet MS", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
}

.shell {
  /* width: min(var(--shell), calc(100% - 40px)); */
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0; /* Убрать right: 0 и left: 290px */
  right: 0; /* Или оставить для центрирования */
  background: rgba(0, 30, 48, 0.35);
  backdrop-filter: blur(4px);
  max-width: 1340px;
  margin: 0 auto; /* Добавить для центрирования самого header */
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 96px;
  padding-left: 58px;
  font-size: 18px;
  line-height: 1;
  justify-content: center; /* Изменить с flex-start на center */
  margin: 0 auto;
  transform: translate(-200px, 0);
}

.nav a + a::before {
  content: "|";
  margin-right: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.nav-toggle,
.nav-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 966px;
  overflow: hidden;
  z-index: 2;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.5) translate(-116px, -33px);
  filter: brightness(1.1);
  opacity: 0.85;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 30, 48, 0.6) -40%,
    rgba(0, 30, 48, 0.92) 85%,
    var(--dark) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 3;
  min-height: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 145px 71em;
  align-items: flex-start;
}

.hero h2 {
  width: 618px;
  margin: 0;
  color: #fff;
  font-size: 40px;
  line-height: 125%;
  font-weight: 400;
}

.hero-logo {
  display: block;
  width: 1190px;
  margin-left: -30em;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(138, 252, 255, 0.88));
}

.hero p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 37px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.intro {
  position: relative;
  background: var(--dark); /* Сплошной тёмный фон-база */
  z-index: 1;
  margin-top: -1px; /* Убирает субпиксельный зазор между секциями */
}

.intro__hero {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  overflow: hidden;
}

.intro__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.3) brightness(0.75);
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
}

.intro__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cyan);
  transform: translate(10px, 96px);
}

.mini-logo {
  width: 138px;
  margin: 0 auto;
  filter: drop-shadow(0 0 12px rgba(138, 252, 255, 0.8));
}

.intro__copy h2 {
  margin: 22px 0 6px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.intro__copy p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 22px;
  padding: 0 64px 72px;
  transform: translateY(-6px);
  opacity: 0.8;
}

.stats article div {
  transform: translate(0px, 5px);
}

.stats article .except_div {
  transform: translate(-5px, 30px);
}

.stats article {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 8px;
}

.stats article:nth-child(3) strong span {
  display: inline-block;
  font-size: 260px;
  clip-path: inset(0 0 63% 0);
}

.stats strong {
  display: flex;
  color: rgba(138, 252, 255, 0.58);
  font-size: clamp(150px, 18vw, 260px);
  line-height: 0.85;
  font-weight: 500;
}

.stats h3 {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.06;
  font-weight: 400;
  text-transform: uppercase;
}

.stats p {
  margin: 0;
  font-size: 22px;
  line-height: 1.55;
}

.who {
  padding: 0 0em 145px 22em;
}

.lens .extra_h2 {
  margin-top: 0.9em;
}

.who h2,
.lens h2,
.catalog h2,
.projects h2 {
  margin: 0 0 58px;
  color: var(--cyan);
  font-size: 64px;
  line-height: 1.12;
  font-weight: 400;
}

.image-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 37px;
}

.image-cards article {
  overflow: hidden;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: var(--teal-2);
  width: 270px;
  height: 409px;
}

.image-cards img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1.25) translate(0, -18px);
}

.image-cards-who img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1);
}

.image-cards p {
  min-height: 116px;
  margin: 0;
  padding: 32px 12px 18px;
  background: var(--teal-2);
  color: var(--text);
  font-size: 20px;
  line-height: 1.18;
}

.image-cards b {
  display: block;
  color: var(--cyan);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 20px;
}

.panel-dark {
  background: var(--dark);
  padding: 58px 0 76px;
}

.experience h2 {
  margin: 0 0 28px;
  color: var(--white);
  font-size: 64px;
  line-height: 1.08;
  font-weight: 400;
  padding: 0 0em 0 0.7em;
}

.experience h2 span {
  font-size: 64px;
}

.experience h2::first-letter,
.experience h2 span,
.success span {
  color: var(--cyan);
}

.band {
  margin: 0;
  padding: 9px 64px;
  background: var(--teal-2);
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-row {
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px;
  align-items: center;
  padding: 22px 66px;
}

.logo-row:nth-child(1) {
  scale: 0.7;
}

.logo-row img,
.logo-row .brand-svg {
  max-height: 76px;
  width: 100%;
  object-fit: contain;
}

.logo-row .brand-svg {
  display: block;
  margin: 0 auto;
}

.logo-row .brand-svg:nth-child(1) {
  scale: 0.6;
}

.shell hr {
  border: 1px solid #86fbfe;
  width: 1000px;
  height: 0px;
}

.success {
  margin: 10px;
  text-align: center;
  font-size: 40px;
  line-height: 1.2;
}

.success span {
  color: var(--cyan);
  font-size: 40px;
}

.lens-section {
  padding: 68px 0 44px;
  background: var(--dark);
}

.lens {
  position: relative;
  overflow: hidden;
  padding: 88px 56px 78px;
  background: var(--white);
  color: var(--black);
  border-radius: 50% / 7%;
}

.lens::before {
  content: "s";
  position: absolute;
  inset: -8% auto auto 10%;
  color: rgba(0, 31, 49, 0.055);
  font-size: 900px;
  line-height: 0.8;
  pointer-events: none;
}

.lens > * {
  position: relative;
  z-index: 1;
}

.lens h2,
.lens h3,
.projects h2 {
  color: var(--teal);
}

.teal article {
  background: var(--teal);
}

.teal p {
  min-height: 102px;
  background: var(--teal);
  color: var(--white);
  text-transform: uppercase;
}

.lens h3 {
  margin: 44px 0 26px;
  font-size: 64px;
  line-height: 1.08;
  font-weight: 400;
}

.benefit-grid {
  margin-top: 50em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px; /* Вертикаль / Горизонталь под макет */
}

.benefit-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-img {
  position: relative;
  width: 294px;
  height: 294px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  flex-shrink: 0;
}

.benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to bottom, #000 -20%, transparent 100%);
}

.benefit-grid p {
  margin: 0;
  color: var(--black, #1a1a1a);
  font-size: 24px;
  font-weight: 400;
  text-align: left;
  position: relative;
  top: -5em;
  left: 0;
}

#benefit-p-1 {
  left: -20px;
  top: -6em;
}

#benefit-p-2 {
  left: -35px;
}

#benefit-p-3 {
  left: -66px;
  top: -6em;
}

#benefit-p-4 {
  left: -10px;
  top: -139px;
}

#benefit-p-5 {
  left: -23px;
  top: -5.5em;
}

#benefit-p-6 {
  left: -25px;
  top: -5.8em;
}

/* Стили для обёртки картинки */
.benefit-img {
  position: relative;
  width: 294px;
  height: 294px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  flex-shrink: 0;
}

.benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Позиционирование дуги */
.benefit-arc {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
  z-index: 2;
}

.useful_vector {
  position: absolute;
}
.useful_vector-1 {
  position: absolute;
  top: 1em;
  left: 38px;
}
.useful_vector-2 {
  position: absolute;
  position: absolute;
  top: 1em;
  left: 462px;
}
.useful_vector-3 {
  position: absolute;
  top: 1em;
  left: 878px;
}
.useful_vector-4 {
  position: absolute;
  top: 456px;
  left: 42px;
}
.useful_vector-5 {
  position: absolute;
  top: 464px;
  left: 455px;
}
.useful_vector-6 {
  position: absolute;
  top: 449px;
  left: 880px;
}

.catalog {
  padding: 0 0 58px;
}

.catalog .shell {
  width: min(864px, 100%);
}

.catalog h2 {
  margin: 0 0 13px;
  padding-left: 40px;
  color: var(--text);
  font-size: 64px;
  line-height: 1.04;
  text-transform: uppercase;
}

.catalog-group {
  margin: 0 0 57px;
}

.catalog-note {
  margin: -28px 40px 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  opacity: 0.9;
}

.catalog-group h3 {
  height: 41px;
  margin: 0 0 18px;
  padding: 6px 40px 5px;
  background: var(--teal-2);
  color: var(--text);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.catalog-group > p {
  margin: 0 40px 23px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(138, 252, 255, 0.72);
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.modules {
  display: grid;
  justify-content: space-between;
  gap: 54px 36px;
  margin: 0 40px 27px;
}

.catalog-group > h3 + .modules {
  margin-top: 27px;
}

.modules.four {
  grid-template-columns: repeat(4, 166px);
}

.modules.three {
  grid-template-columns: repeat(3, 166px);
  max-width: 572px;
}

.modules article {
  position: relative;
  width: 166px;
  height: 100px;
  display: flex;
  padding: 24px 8px 12px;
  border-radius: 5px;
  background-image: url(../assets/images/module_img.png);
  align-items: center;
}

.modules article::before {
  content: attr(data-label);
  position: absolute;
  left: 1px;
  top: 4px;
  width: 96px;
  height: 17px;
  padding: 3px 6px;
  border-bottom: 0;
  color: var(--text);
  font-size: 9px;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
}

.modules b {
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.modules span {
  margin-top: 0.15em;
  font-size: 9px;
  margin-left: 0.25em;
  text-transform: uppercase;
}

.service {
  row-gap: 48px;
}

.projects .lens {
  padding-bottom: 58px;
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 292px);
  gap: 6px;
  grid-template-rows: repeat(3, 292px);
  padding: 2rem;
}

.project-mosaic > * {
  min-height: 220px;
}

.project-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-mosaic article img.project-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.project-mosaic article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  background: var(--teal);
  color: var(--white);
}

.project-mosaic span {
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.project-mosaic small {
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer {
  padding: 0 0 40px;
  background: var(--dark);
  text-align: center;
  width: 1340px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.shell1 {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* Отступ между логотипом и почтой */
}

/* Линия с разрывом посередине */
.footer-line {
  position: absolute;
  top: 49px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cyan) 20%,
    var(--cyan) 80%,
    transparent 100%
  );
  opacity: 0.5;
  z-index: 1;
}

/* Круглая обёртка для логотипа */
.logo-wrapper {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--dark);
  /* border: 1.5px solid var(--cyan); */
  border-top: 1.5px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.footer-logo {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(138, 252, 255, 0.6));
  display: block;
}

.footer a {
  color: var(--text);
  font-size: 20px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 1;
}

@media (max-width: 980px) {
  .nav {
    overflow-x: auto;
    padding-left: 0;
    font-size: 15px;
  }

  .hero,
  .hero__inner {
    min-height: 720px;
  }

  .hero__inner {
    padding: 0 20px 78px;
  }

  .stats,
  .image-cards,
  .project-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 18px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .lens {
    border-radius: 28% / 4%;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .nav {
    height: 64px;
    gap: 10px;
  }

  .nav a + a::before {
    margin-right: 10px;
  }

  .hero,
  .hero__inner {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .wordmark {
    width: 100%;
  }

  .hero p {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .intro__hero {
    min-height: 290px;
  }

  .stats,
  .image-cards,
  .modules.four,
  .modules.three,
  .project-mosaic {
    grid-template-columns: 1fr;
  }

  .stats article {
    grid-template-columns: 100px 1fr;
  }

  .stats strong {
    font-size: 130px;
  }

  .catalog-group h3,
  .catalog-group > p,
  .modules {
    margin-left: 0;
    margin-right: 0;
  }

  .catalog-group h3 {
    padding-left: 12px;
  }
}

@media (max-width: 1340px) and (min-width: 1101px) {
  .useful_veсtor-1 {
    left: 15px;
  }
  .useful_vector-2 {
    left: 388px;
  }
  .useful_vector-3 {
    left: 752px;
  }
  .useful_vector-4 {
    left: 14px;
  }
  .useful_vector-5 {
    left: 382px;
  }
  .useful_vector-6 {
    left: 757px;
  }
}

/* Mobile adaptation layer. Desktop styles above 1340px are intentionally untouched. */
@media (max-width: 1340px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    background-attachment: scroll;
  }

  main,
  .footer,
  .site-header {
    width: 100%;
    max-width: 1340px;
  }

  .shell,
  .catalog .shell {
    width: min(100% - 48px, 1190px);
  }

  .site-header {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .nav {
    width: 100%;
    height: 72px;
    padding: 0 24px;
    transform: none;
    justify-content: center;
  }

  .hero__image {
    object-fit: cover;
    transform: none;
  }

  .hero__inner {
    width: min(100% - 80px, 1190px);
    padding: 0 0 130px;
    align-items: stretch;
  }

  .hero-logo {
    width: 100%;
    margin-left: 0;
  }

  .hero p {
    width: 100%;
  }

  .who {
    padding: 0 0 120px;
  }

  .image-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .image-cards article {
    width: 100%;
  }

  .lens {
    width: min(100% - 48px, 1190px);
  }

  .useful_verctor-1 {
    left: 14px;
  }
  .useful_verctor-2 {
    left: 388px;
  }
  .useful_verctor-3 {
    left: 23px;
  }
  .useful_verctor-4 {
    left: 14px;
  }
  .useful_verctor-5 {
    left: 382px;
  }
  .useful_verctor-6 {
    left: 757px;
  }

  .project-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    padding: 2rem 0;
  }

  .project-mosaic > * {
    min-height: 0;
    aspect-ratio: 1;
  }
}

@media (max-width: 1100px) {
  .shell,
  .catalog .shell {
    width: min(100% - 40px, 960px);
  }

  .site-header {
    backdrop-filter: blur(4px);
  }

  .nav {
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .nav a + a::before {
    margin-right: 12px;
  }

  .hero,
  .hero__inner {
    min-height: 820px;
  }

  .hero__inner {
    width: min(100% - 56px, 960px);
    padding-bottom: 96px;
  }

  .hero h2 {
    width: min(100%, 580px);
    font-size: 36px;
  }

  .hero p {
    font-size: 30px;
    line-height: 1.25;
  }

  .intro__hero {
    min-height: 360px;
  }

  .intro__copy {
    transform: translate(0, 64px);
  }

  .stats {
    padding: 28px 0 76px;
    gap: 24px;
  }

  .stats article {
    grid-template-columns: 112px 1fr;
  }

  .stats strong,
  .stats article:nth-child(3) strong span {
    font-size: 170px;
  }

  .stats h3 {
    font-size: 30px;
  }

  .stats p {
    font-size: 20px;
  }

  .who h2,
  .lens h2,
  .catalog h2,
  .projects h2,
  .experience h2,
  .experience h2 span {
    font-size: 54px;
  }

  .image-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-cards article {
    height: auto;
  }

  .image-cards img {
    aspect-ratio: 1.12;
  }

  .experience h2 {
    padding-left: 0;
  }

  .logo-row {
    gap: 36px;
    padding: 22px 32px;
  }

  .shell hr {
    width: min(100%, 820px);
  }

  .lens {
    padding: 78px 44px 74px;
  }

  .useful_verctor-1 {
    left: 14px;
  }
  .useful_verctor-2 {
    left: 388px;
  }
  .useful_verctor-3 {
    left: 23px;
  }
  .useful_verctor-4 {
    left: 14px;
  }
  .useful_vector-5 {
    left: 382px;
  }
  .useful_verctor-6 {
    left: 757px;
  }

  .benefit-grid {
    margin-top: 70px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 36px;
  }

  .benefit-grid p,
  #benefit-p-1,
  #benefit-p-2,
  #benefit-p-3,
  #benefit-p-4,
  #benefit-p-5,
  #benefit-p-6 {
    top: auto;
    left: auto;
    width: min(100%, 294px);
  }

  .useful_vector-1,
  .useful_vector-2,
  .useful_vector-3,
  .useful_vector-4,
  .useful_vector-5,
  .useful_vector-6 {
    display: none;
  }

  .modules.four,
  .modules.three {
    grid-template-columns: repeat(3, 166px);
  }

  .modules {
    justify-content: start;
  }

  .project-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell,
  .catalog .shell {
    width: min(100% - 28px, 680px);
  }

  .nav {
    height: 60px;
    padding: 0 14px;
  }

  .nav a {
    font-size: 16px;
  }

  .hero,
  .hero__inner {
    min-height: 680px;
  }

  .hero__inner {
    width: min(100% - 28px, 680px);
    justify-content: flex-end;
    padding-bottom: 72px;
  }

  .hero h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .hero-logo {
    margin-top: 24px;
  }

  .hero p {
    margin: 18px 0 0;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.09em;
  }

  .intro__hero {
    min-height: 300px;
    padding: 36px 14px;
  }

  .intro__copy {
    transform: translate(0, 36px);
  }

  .mini-logo {
    width: 104px;
  }

  .intro__copy h2 {
    margin-top: 14px;
    font-size: 30px;
  }

  .intro__copy p {
    font-size: 13px;
  }

  .stats {
    grid-template-columns: 1fr;
    padding: 30px 0 66px;
  }

  .stats article,
  .stats article div,
  .stats article .except_div {
    transform: none;
  }

  .stats article {
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }

  .stats strong,
  .stats article:nth-child(3) strong span {
    font-size: 126px;
    clip-path: inset(0 0 0 0);
  }

  .stats h3 {
    font-size: 27px;
  }

  .stats p {
    font-size: 18px;
  }

  .who {
    padding-bottom: 78px;
  }

  .who h2,
  .lens h2,
  .catalog h2,
  .projects h2,
  .experience h2,
  .experience h2 span {
    margin: 34px 15px 34px;
    font-size: 42px;
    line-height: 1.08;
  }

  .image-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .image-cards article {
    max-width: 380px;
    margin: 0 auto;
  }

  .image-cards p {
    min-height: auto;
    padding: 30px 16px 20px;
    font-size: 18px;
  }

  .image-cards b {
    font-size: 18px;
  }

  .panel-dark {
    padding: 44px 0 58px;
  }

  .experience h2 {
    padding: 0;
  }

  .band {
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.25;
  }

  .logo-row {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 26px 18px;
  }

  .logo-row img,
  .logo-row .brand-svg {
    max-height: 64px;
  }

  .success,
  .success span {
    font-size: 28px;
  }

  .lens-section {
    padding: 44px 0 34px;
  }

  .lens {
    width: min(100% - 20px, 680px);
    padding: 62px 22px 58px;
    border-radius: 24% / 3%;
  }

  .lens::before {
    inset: 0 auto auto 0;
    font-size: 540px;
  }

  .lens .extra_h2 {
    margin-top: 42px;
  }

  .useful_verctor-1 {
    left: 14px;
  }
  .useful_verctor-2 {
    left: 388px;
  }
  .useful_verctor-3 {
    left: 23px;
  }
  .useful_verctor-4 {
    left: 14px;
  }
  .useful_verctor-5 {
    left: 382px;
  }
  .useful_verctor-6 {
    left: 757px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
    gap: 34px;
    justify-items: center;
  }

  .benefit-img {
    width: min(72vw, 260px);
    height: auto;
    aspect-ratio: 1;
    border: 6px solid var(--teal);
  }

  .benefit-grid article {
    align-items: flex-start;
  }

  .benefit-grid p,
  #benefit-p-1,
  #benefit-p-2,
  #benefit-p-3,
  #benefit-p-4,
  #benefit-p-5,
  #benefit-p-6 {
    width: 100%;
    font-size: 20px;
    text-align: center;
  }

  .catalog h2 {
    padding-left: 0;
  }

  .catalog-group {
    margin-bottom: 46px;
  }

  .catalog-group h3 {
    height: auto;
    min-height: 36px;
    padding: 9px 16px;
    font-size: 18px;
    line-height: 1.15;
  }

  .catalog-group > p {
    margin: 0 0 22px;
    font-size: 15px;
  }

  .catalog-note {
    margin: -20px 0 0;
    font-size: 15px;
    line-height: 1.25;
  }

  .modules article::before {
    left: 1px;
    top: 0px;
    width: 96px;
    height: 17px;
  }

  .modules,
  .modules.four,
  .modules.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    margin: 0 0 30px;
  }

  .modules article {
    width: 100%;
    min-height: 108px;
    height: auto;
    background-size: 100% 100%;
  }

  .modules span {
    font-size: 10px;
  }

  .projects .lens {
    padding-bottom: 44px;
  }

  .project-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .project-mosaic article {
    padding: 18px 14px;
  }

  .project-mosaic span {
    font-size: 18px;
  }

  .project-mosaic small {
    font-size: 10px;
  }

  .footer {
    padding-bottom: 30px;
  }
}

@media (max-width: 700px) {
  .site-header {
    background: rgba(0, 30, 48, 0.62);
    box-shadow: 0 10px 24px rgba(0, 16, 26, 0.18);
  }

  .nav {
    position: relative;
    height: 58px;
    gap: 8px;
    overflow: visible;
    padding: 0 12px;
  }

  .nav > a {
    font-size: 15px;
    line-height: 1;
  }

  .nav > a:nth-of-type(1) {
    order: 1;
  }

  .nav > a:nth-of-type(2) {
    order: 2;
  }

  .nav > a:nth-of-type(3),
  .nav > a:nth-of-type(4),
  .nav > a:nth-of-type(5) {
    display: none;
  }

  .nav > a:nth-of-type(6) {
    order: 3;
  }

  .nav a + a::before {
    margin-right: 8px;
  }

  .nav-toggle {
    order: 4;
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(138, 252, 255, 0.58);
    border-radius: 6px;
    background: rgba(0, 38, 58, 0.58);
    box-shadow: 0 0 12px rgba(138, 252, 255, 0.14);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    z-index: 30;
    width: min(260px, calc(100vw - 24px));
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(138, 252, 255, 0.58);
    border-radius: 8px;
    background: rgba(0, 30, 48, 0.94);
    box-shadow:
      0 18px 34px rgba(0, 10, 18, 0.36),
      0 0 18px rgba(138, 252, 255, 0.12);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav.is-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.1;
  }

  .nav-menu a::before {
    content: none !important;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(138, 252, 255, 0.12);
  }
}

@media (max-width: 480px) {
  .shell,
  .catalog .shell {
    width: calc(100% - 24px);
  }

  .nav {
    height: 56px;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .intro__copy h2 {
    font-size: 25px;
  }

  .stats article {
    grid-template-columns: 76px 1fr;
  }

  .stats strong,
  .stats article:nth-child(3) strong span {
    font-size: 98px;
    clip-path: inset(0 0 0 0);
  }

  .stats h3 {
    font-size: 22px;
  }

  .stats p {
    font-size: 16px;
  }

  .who h2,
  .lens h2,
  .catalog h2,
  .projects h2,
  .experience h2,
  .experience h2 span {
    font-size: 32px;
  }

  .lens {
    width: calc(100% - 14px);
    padding: 48px 16px 48px;
    border-radius: 18% / 2.5%;
  }

  .modules,
  .modules.four,
  .modules.three {
    grid-template-columns: 1fr;
  }

  .modules article {
    min-height: 104px;
  }

  .catalog-note {
    margin-top: -14px;
    font-size: 13px;
  }

  .project-mosaic {
    grid-template-columns: 1fr;
    max-width: 330px;
    margin: 0 auto;
  }

  .footer-line {
    top: 43px;
  }

  .logo-wrapper {
    width: 96px;
    height: 96px;
  }

  .footer a {
    font-size: 16px;
  }
}

@media (min-width: 390px) and (max-width: 480px) and (-webkit-device-pixel-ratio: 3) {
  .hero,
  .hero__inner {
    min-height: 660px;
  }

  .hero__inner {
    padding-bottom: 82px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 18px;
    letter-spacing: 0.09em;
  }

  .stats article {
    grid-template-columns: 92px 1fr;
  }

  .stats strong,
  .stats article:nth-child(3) strong span {
    font-size: 112px;
  }

  .stats h3 {
    font-size: 24px;
  }

  .modules,
  .modules.four,
  .modules.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .modules article {
    min-height: 112px;
    padding: 24px 7px 12px;
  }

  .modules b {
    font-size: 25px;
  }

  .modules span {
    font-size: 9px;
  }

  .catalog-note {
    font-size: 14px;
  }

  .project-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .project-mosaic article {
    padding: 14px 12px;
  }

  .project-mosaic article img.project-icon {
    width: 44px;
    height: 44px;
  }

  .project-mosaic span {
    font-size: 16px;
  }

  .project-mosaic small {
    font-size: 9px;
  }
}
