*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}


@font-face {
    font-family: 'TT Autonomous Mono Trl';
    src: url('../fonts/TTAutonomousMonoTrl-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



:root {
  --container-scale: clamp(1rem, 1vw + 0.5rem, 2rem);

  --background-color: #1D2244;

  --font-size-title: clamp(28px, 3vw, 64px);
  --font-size-paragrpah: clamp(14px, 3vw, 17px);

  --font-family-title: 'TT Autonomous Mono Trl';
  --font-family-paragraph: 'Inter'


}

svg {
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
}


html{
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body{
  background-color: var(--background-color);
  overflow-x: hidden;
}


.container {
  width: 100%;
  max-width: 1726px;
  padding-left: 64px;
  padding-right: 64px;
  margin: auto;
}

.nav{
  position: relative;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-family-paragraph);
  padding-bottom: 20px;
}

nav a{
  color: white;
}
.nav__list{
  display: flex;
  align-items: center;
  gap: 64px;
}

.burger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    color: #fff;
    z-index: 3;
    text-align: center;
    background-color: #060E1E;   
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
}

.burger-menu.show {
    transform: translateX(0);
    pointer-events: auto;
}

.burger-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 70px;
}

.burger-menu ul li {
    margin: 35px 0;
}

.burger-menu ul li a {
    color: black;
    font: 300 32px 'Montserrat';
}

.burger-icon {
    width: 69px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 3;
    border-radius: 20px;
    display: none;
}

.burger-stick {
    width: 33px;
    height: 2px;
    margin: 2.5px auto 0;
    position: absolute;
    left: 0;
    right: 0;
    background-color: white;   
    transition: 0.3s ease-in-out;
}

.burger-stick:nth-child(1) {
    top: 10px;
}

.burger-stick:nth-child(2) {
    top: 22px;
}

.burger-stick:nth-child(3) {
    top: 24px;
}

.burger-icon.active .burger-stick:nth-child(1) {
    transform: rotate(45deg);
    top: 16px;
}

.burger-icon.active .burger-stick:nth-child(2) {
    transform: rotate(-45deg);
    top: 16px;
}

.burger-icon.active .burger-stick:nth-child(3) {
    opacity: 0;
}

.no-scroll {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero {
  background-image: url(../images/polygraf-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}
.hero-office{
    background-image: url(../images/office-chek-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}

.hero-car{
    background-image: url(../images/car-protect-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}

.hero-lan{
    background-image: url(../images/lan-protect-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}

.hero-web{
    background-image: url(../images/web-security-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}

.hero-cyber{
    background-image: url(../images/audit-cyber-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}
.hero-audit-office{
    background-image: url(../images/audit-office.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}

.hero-incident{
    background-image: url(../images/incident-bg.webp);
  height: 1000px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 290px;
  position: relative;
  color: white;
}

.hero__title {
  font-size: 80px;
  font-family: var(--font-family-paragraph);
  text-align: center;
  color: white;
  font-weight: 400;
  text-align: left;
}

.hero__subtitle {
  font-size: 20px;
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-family-title);
}

.hero__block {
  display: flex;
  gap: 15px;
  font-family: var(--font-family-paragraph);
  justify-content: space-between;
}

.hero__block-p {
  font-size: var(--font-size-paragrpah);
  color: white;

  display: flex;
  flex-direction: column;
  max-width: 470px;

  gap: 20px;

  margin-top: 64px;
  margin-bottom: 64px;
}

.hero__block-p-one p{
    font-family: var(--font-family-title);
    font-size: 32px;
}

.hero__block-p-two{
    font-size: 18px;
    font-family: var(--font-family-paragraph);
}

.hero__block-p-one{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hr{
    background-color: #fff;
    width: 100%;
    height: 1px;
}

.hero__cta {
  display: inline-block;
  width: 430px;
  height: 64px;
  background-color: white;
  border-radius: 100px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 64px;
  text-decoration: none;
  transition: 0.3s;
  font-family: var(--font-family-paragraph);
}

.floating-button {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.floating-button img {
  width: 94px;
  height: 94px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeOut 0.3s forwards;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.3s forwards;
}

.modal {
  background-image: url('../images/modal-bg.png'); 
  background-size: cover;
  background-position: center;
  max-width: 470px;
  width: 100%;
  border-radius: 32px;
  padding: 32px;
  position: relative;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* --- Title --- */
.modal-title {
  margin-bottom: 24px;
  font-size: 28px;
  text-align: center;
  font-family: var(--font-family-title);
  text-transform: uppercase;
}

/* --- Form --- */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-form input,
.modal-form textarea {
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: rgba(232, 231, 221, 0.2);
  backdrop-filter: blur(7.5px);
  color: white;
  font-size: 16px;
  resize: none;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Submit button --- */
.modal-submit {
  background: white;
  color: black;
  font-weight: 500;
  font-size: 16px;
  padding: 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

/* --- Icons --- */
.modal-icons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 24px;
}

.modal-icons img {
  width: 24px;
  height: 24px;
}

.benefits img{
  width: 500px;
}
.benefits__row-first{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.benefits__row-second{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.benefits{
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 80px;
}


.swiper-pagination {
  position: relative !important; 
  margin-top: 5px; 
  text-align: center;
  bottom: auto !important; 
  width: 100%;
}

.swiper-pagination-bullet {
  background-color: #fff !important;
  opacity: 0.4 !important; 
}

.swiper-pagination-bullet-active {
  background-color: #fff !important; 
  opacity: 1 !important;
}
.benefits__title{
  font-size: var(--font-size-title);
  font-family: var(--font-family-title);
  text-align: center;
  color: white;
  margin-bottom: 80px;
  text-transform: uppercase;
}

.work-plan-div{
    display: flex;
    color: white;
    font-family: var(--font-family-title);
    align-items: center;
    max-width: 1400px;
    width: 100%;
    background: linear-gradient(90deg, rgba(41, 59, 106, 0.43) 35.59%, rgba(178, 162, 189, 0.215) 100%);
    border-radius: 100px;
    padding: clamp(15px, 2vw, 32px);
    gap: clamp(20px, 5vw, 60px);

}

.work-plan-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: end;
    margin-bottom: 80px;
}

.work-plan-p{
      font-size: clamp(14px, 2.5vw, 30px);
}
.work-plan-num{
   font-size: clamp(12px, 1.5vw, 18px);
}

.work-plan__title{
    font-size: var(--font-size-title);
    color: white;
    font-family: var(--font-family-title);
    margin-bottom: 40px;
    margin-top: 80px;
}


.work-plan-div:hover{
background: linear-gradient(90deg, rgba(41, 59, 106, 0.43) 35.59%, rgba(178, 162, 189, 0.215) 100%);
}


.contact {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}

.contact__title {
  flex: 1;
  font-family: var(--font-family-title);
  color: white;
  font-size: var(--font-size-title);
  text-transform: uppercase;
}

.contact__form {
  max-width: 580px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: var(--font-size-paragrpah);
  color: white;
  font-family: var(--font-family-paragraph);
}

.contact__input,
.contact__textarea {
  padding: 16px;
  background: rgba(232, 231, 221, 0.2);
  backdrop-filter: blur(7.5px);
  border-radius: 8px;
  border: none;
  font-size: var(--font-size-paragrpah);
  color: white;
  font-family: var(--font-family-paragraph);
  resize: none;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  box-shadow: none;
}

.contact__textarea {
  min-height: 120px;
}

.contact__button {
  width: 314px;
  height: 62px;
  background: #FFFFFF;
  border-radius: 100px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family-paragraph);
  color: #000;
}

.contact__button:hover {
  background: #f0f0f0;
}

/* Общие стили футера */
.footer {
  color: #fff;
  font-family: var(--font-family-paragraph);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Десктопная версия */
.footer__desktop {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__column {
  flex: 1 1 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Мобильная версия - скрыта по умолчанию */
.footer__mobile {
  display: none;
}

/* Первый ряд мобильной версии - лого+контакты и навигация в две колонки */
.footer__mobile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer__mobile-col {
  flex: 1;
  min-width: 200px;
}

/* Соцсети - центрируем на мобильных */
.footer__mobile-socials {
  margin-bottom: 20px;
  text-align: center;
}



/* Блоки услуг и документов - полная ширина */
.footer__mobile-services,
.footer__mobile-docs {
  margin-bottom: 20px;
}

/* Общие стили для обеих версий */
.footer-column__title {
  font-size: 28px;
  margin: 0 0 16px 0;
  color: #fff;
}

.footer-column__text,
.footer-column__block p {
  margin: 0;
  color: #fff;
}

.footer-column__link {
  color: #fff;
  text-decoration: none;
  margin: 0;
}

.footer-column__link:hover {
  text-decoration: underline;
}

.footer-column__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column__socials {
  display: flex;
  gap: 16px;
}

.footer-column__logo {
  width: 150px;
  height: 50px;
  display: block;
  object-fit: contain;
}

.footer-column__social-link img {
  width: 50px;
  height: 50px;
  display: block;
}

.footer-column__text-gray {
  color: rgba(255, 255, 255, 0.5) !important;
}


/* Общие стили для animate и вариаций */
.animate {
  opacity: 0;
  transition: all 0.8s ease-out;
  pointer-events: none; /* чтобы не мешали, пока скрыты */
}

/* Для вариантов с трансформацией — задаём начальный transform */
.animate-left {
  transform: translateX(-150px);
}

.animate-right {
  transform: translateX(150px);
}

.animate-up {
  transform: translateY(150px);
}

.animate-zoom {
  transform: scale(0.8);
}

/* При появлении */
.animate.show {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  pointer-events: auto;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  pointer-events: none;
}

.animate-fade-in-up.active {
  animation-name: fadeInUp;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  animation-delay: var(--delay, 0s);
  opacity: 1;
  pointer-events: auto;
}

.footer-column__services a{
  color: white;
}

.footer-column__services a:hover{
    text-decoration: underline;
}

/* Медиазапрос для мобильных устройств */
@media (max-width: 768px) {
  .footer__desktop {
    display: none;
  }
  
  .footer__mobile {
    display: block;
  }
  
  .footer__mobile-row {
    gap: 16px;
  }
  
  .footer__mobile-col {
    min-width: calc(50% - 8px);
  }
  
  .footer-column__title {
    font-size: 24px;
  }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
  .footer__mobile-col {
    min-width: 100%;
  }
  
  .footer-column__title {
    font-size: 22px;
  }
  
  .footer {
    font-size: 14px;
  }
  .hero-polygraf{
    background-image: url(../images/polygraf-bg-mobile.webp);
  }
  .hero-audit-office{
    background-image: url(../images/audit-office-mobile.webp);
  }
  .hero-cyber{
    background-image: url(../images/hero-cyber-mobile.webp);
  }
  .hero-car{
    background-image: url(../images/car-protect-mobile.webp);
  }
  .hero-incident{
    background-image: url(../images/incident-mobile-bg.webp);
  }
  .hero-lan{
    background-image: url();
  }
}



@media (max-width: 1070px) {
    .container{
      padding-left: 15px;
      padding-right: 15px;
    }
    .nav__container{
        display: none;
    }
    .burger-icon{
        display: block;
    }
    .burger-menu ul {
        list-style: none;
        margin-top: 120px;
        text-align: left;
        text-decoration: none;
        padding-inline: 20px;
    }
    .burger-menu ul li a{
        color: white;
        font-family: "Inter Tight", sans-serif;
        font-size: 18px;
        font-weight: 400;
        font-style: normal;
        text-transform: uppercase;
        text-decoration: none;
    }
    .burger-hr{
        height: 1px;
        width: 100%;
        background-color: #fff;
        opacity: 0.2;
    }
    .nav{
        height: fit-content;
        background-color: transparent;
    }
    .logo{
        z-index: 1234;
        position: relative;
    }
    .hero__title{
      font-size: 31px;
      margin-bottom: 20px;
    }
    .hero__subtitle{
      font-size: 18px;
    }
    .hero, .hero-web, .hero-audit-office, .hero-cyber, .hero-lan, .hero-incident, .hero-office, .hero-car{
      height: 670px;
      padding-top: 0;
      padding-bottom: 0;
    }
    .hero__block-p-one p{
        font-size: 20px;
    }
    .hero__block{
        flex-direction: column;
    }
    .hero__block-p{
        margin-top: 10px;
        margin-bottom: 10px;
        gap: 10px;
    }
    .hero__block-p-two{
        font-size: 14px;
    }
    .hero__cta{
        margin: auto;
        width: 340px;
        margin-top: 20px;
    }
    .benefits__title{
        margin-bottom: 0px;
    }
    .benefits{
        margin-top: 40px;
    }
      .contact{
    flex-direction: column;
  }
}


@media (max-width: 1670px) {
  .benefits__row-first,
  .benefits__row-second {
    display: none;
  }

  .benefits__swiper {
    display: block;
  }

  .benefits__image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .swiper{
    width: 340px;
    margin: auto;
  }
  .swiper-slide{
    text-align: center !important;
  }
  
}

@media (min-width: 1675px) {
  /* На десктопе скрываем слайдер */
  .benefits__swiper {
    display: none !important;
  }
  .swiper{
    display: none !important;
  }
}