* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body, html {
    font-family: Arial, sans-serif;
    height: 100%;
    overflow-x: hidden;
  }
  .background {
    position: relative;
    background-color: #b8eaff; /* голубой фон */
    overflow: hidden;
    z-index: 0;
  }

  /* Серый PNG слой */
  .background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("./img/фон.png") no-repeat;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
  }

  .background > * {
    position: relative;
    z-index: 2;
  }

  .header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
  }


  
  .arrow-menu {
    transition: transform 0.2s ease-in-out;
  }
  
  
  .arrow-menu.rotated {
    transform: rotate(180deg);
  }

  .menu-container {
    position: absolute;
    top: 20px;
    right: 0;
    width: auto; /* Ширина подстраивается под контент */       
    height: auto; /* Высота тоже */
    display: flex;
    align-items: center;
    padding-right: 20px;
    cursor: pointer;
    z-index: 100; 
  }
  
  .menu {
    display: flex;
    align-items: center;
    padding: 10px; /* Добавим отступы вокруг иконки меню */
    color: #000;
  }
  
  .menu span {
    font-size: 2em; 
  }
  
  .close-button svg {
    width: 35px;
    height: 27px;
  }

  .close-button {
    font-size: 35px; 
    font-weight: 100; 
    cursor: pointer;
    display: none; 
    margin-left: 10px; 
    color: #000000; /* Белый крестик для тёмного фона */
    background-color: rgba(200, 200, 200, 0.4); /* Полупрозрачный серый круг */
    border-radius: 50%; /* Круглая форма */
    margin-left: auto; /* Отправляем крестик вправо */
    margin-bottom: 20px; /* Отступ снизу */
    z-index: 101;
  }

  .close-button:hover {
    background-color: rgba(200, 200, 200, 0.6); /* Немного ярче при наведении */
  }
  
  .close-button.open {
    display: block;
  }
  
  .menu-items {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-image: url('./img/плашкаменю.png');
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
    box-sizing: border-box;
  }
  
  .menu-items.open {
    transform: translateX(0); /* Show the menu */
  }
  
  .menu-item {
    a
    {
      color: #ffffff;
      font-style: normal ;
      text-decoration: underline;
      text-underline-offset: 7px; /* отступ вниз от текста до подчёркивания */
      margin-bottom: 15px; /* отступ между пунктами */
      padding: 10px 0;
      font-size: 35px;
      width: 100%;
      display: block;
      text-align: left; /* Текст по левому краю */
      font-family: 'GothamPro-LightItalic';
    }
  }
  .main-menu
  {
    position: relative;
    z-index: 10;
    list-style: none;
  }
  .menu-item.with-children {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .submenu {
    display: none;
    margin-left: 15px;
  }
  
  .submenu.open {
    display: block;
  }
  
  
  
  .menu-description {
    margin-top: auto;
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    color: #ccc;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: 'GothamPro-LightItalic' ; 
  }
  
  .language-switch {
    margin-top: 5rem ; 
    font-style: italic;
    font-weight: bold;
    align-self: flex-start; 
  }
  
  .language-switch a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
  }
  
  .language-switch a.active {
    font-weight: bold;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
    z-index: 98; /* Below menu items */
    display: none !important;/* Initially hidden */
  }
  
  .overlay.open {
    display: block;
  }

  .header-text {
    font-family: 'GothamPro-LightItalic' ;
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #000000;
    font-weight: 300;
    line-height: 105%;
    letter-spacing: 3%;
    width: 60rem;
    text-align: center;
  }

  @font-face {
    font-family: 'GothamPro-LightItalic';
    src: url('./fonts/fonts/gothampro-lightitalic.eot');
    src: url('./fonts/fonts/gothampro-lightitalic.eot?#iefix') format('embedded-opentype'),
         url('./fonts/fonts/gothampro-lightitalic.woff2') format('woff2'),
         url('./fonts/fonts/gothampro-lightitalic.woff') format('woff'),
         url('./fonts/fonts/gothampro-lightitalic.ttf') format('truetype'),
         url('./fonts/fonts/gothampro-lightitalic.svg#gothampro-lightitalic') format('svg');
  }

  .gear-overlay {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 60px; /* опускаем шестерёнки чуть ниже */
  }
  
  .gears {
    display: block;
    width: 17%;
    height: auto;
    position: absolute;
    z-index: 1;
    margin-top: -6rem; 
    margin-left: 13rem ;
  }
  
  .gear-gradient {
    position: relative;
    left: 15rem;
    top: -4rem;
    width: 17%;
    height: 15rem;
    background: linear-gradient(to right, #b8eaff 0%, rgba(184, 234, 255, 0) 100%);
    z-index: 2;
    transform: skewX(47deg);
  }
  
  .map-image {
    display: block;
    width: 99%;
    height: auto;
    position: relative;
    z-index: 3;
    margin-top: -19rem; /* приближаем карту к шестерёнкам */
  }

h1{
    font-weight: 800;
    font-size: 100px;
    letter-spacing: 5%;
    line-height: 145%;
    display: flex;
    justify-content: center;
    background: linear-gradient(45deg, #b8eaff 47%, #37373f 53%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-top: -8rem;
    font-family: 'GothamPro-BoldItalic' ;

}

@font-face {
  font-family: 'GothamPro-BoldItalic';
  src: url('./fonts/fonts01/gothampro-bolditalic.eot');
  src: url('./fonts/fonts01/gothampro-bolditalic.eot?#iefix') format('embedded-opentype'),
       url('./fonts/fonts01/gothampro-bolditalic.woff2') format('woff2'),
       url('./fonts/fonts01/gothampro-bolditalic.woff') format('woff'),
       url('./fonts/fonts01/gothampro-bolditalic.ttf') format('truetype'),
       url('./fonts/fonts01/gothampro-bolditalic.svg#gothampro-bolditalic') format('svg');
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 90rem;
    margin: 4rem auto;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; 
  }
  
  .slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 6rem;
  }
  
  .slide p {
    font-size: 30px;
    max-width: 40rem;
    line-height: 100%;
    color: white;
    font-weight: 400;
    letter-spacing: 5%;
    text-align: left;
    margin: 0; /* Убираем отступы для лучшего контроля */
    padding: 0 1rem; /* Добавляем отступы по бокам */
    margin-top: 2rem; /* Добавляем отступ сверху, чтобы текст был ниже линии */
    font-family: 'GothamPro-LightItalic' ;
  }
  
  .slide h2 {
    font-size: 100px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 5%;
    border-bottom: 2px solid white; /* Белая линия под заголовком */
    padding-bottom: 0.5rem; /* Отступ под линией */
    font-family: 'GothamPro-BoldItalic' ;


  }

  .slide img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
  }
  

  .slide > div:last-child {
    background: white;
    padding: 1rem;
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(180, 0, 255, 0.3);
    text-align: center;
    width: 20rem;
    margin-left: 2rem;
    flex-shrink: 0;
  }

.slide-caption {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 16px;
  color: #000;
  text-align: center;
  font-family: 'GothamPro-LightItalic' ;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    z-index: 10;
    padding: 1rem;
    background-color: rgba(128,128,128,0.2);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
  }
  
  .nav-arrow:hover {
    color: #0077b6;
  }

  .nav-arrow.left {
    left: 2rem;
  }
  
  .nav-arrow.right {
    right: 2rem;
  }


  .catalog-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #b8eaff; 
  }
  
  .catalog-title {
    font-size: 98px;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .catalog-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .catalog-carousel {
    display: flex;
    gap: 90px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 40px; /* больше верх/низ, чтобы карточки не упирались */
    scrollbar-width: none;
    min-height: 330px; /* увеличили высоту зоны карусели */
  }
  
  .catalog-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .card {
    flex: 0 0 280px;
    background: none;
    text-align: center;
  }
  
  .card-inner {
    background-color: white;
    border-radius: 25px;
    padding: 30px 20px;
    box-shadow: 0 0 15px rgba(37, 73, 140, 0.3), 0 0 30px rgba(155, 57, 179, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5), 0 0 40px rgba(139, 52, 160, 0.5);
  }
  
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .card-description {
    font-size: 16px;
    color: #000000;
    margin-top: 20px;
    padding: 0 10px;
    font-style: italic;
    font-weight: 600;
    width: 320px;
    text-align: center;
    line-height: 140%;
    letter-spacing: 5%;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .card.empty .card-inner {
    background-color: #f0f0f0;
    height: 200px;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    font-size: 40px;
    border: none;
    color: red;
    cursor: pointer;
    z-index: 10;
  }
  
  .arrow:hover {
    color: #4276ad; /* Пример: синий цвет при наведении */
  }


  .arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .arrow.left {
    left: 10px;
  }
  
  .arrow.right {
    right: 10px;
  }
  
  .catalog-button-wrapper {
    margin-top: 30px;
  }
  
  .view-all {
    background-color: #002366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 24px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .view-all:hover {
    background-color: #0047ab;
  }



  .partners-slider {
    background-color: #b8eaff; 
    padding: 80px 20px;
    text-align: center;
    font-family: sans-serif;
  }
  
  .partners-slider h2 {
    font-size: 98px;
    font-style: italic;
    margin-bottom: 30px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .partners-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }
  
  .slider-wrapper-p {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    margin-top: 50px;
  }
  
  .slide-p {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
  }
  
  .partner {
    
    padding: 15px 10px;
    width: 140px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 160px;
    transition: transform 0.3s;
  }
  
  .logo-p {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center;
    padding: 10px; /* толщина рамки */
    background-color: #ffffff; /* цвет фона и рамки */
    border: 5px solid #ffffff; /* цвет и толщина рамки */
    border-radius: 25px; /* радиус закругления углов */
    height: 180px; /* фиксированная высота */
    width: 180px;
  }
  
  .partner img {
    width: 100px;
    height: auto;
    margin-bottom: 5px;
  }

  .partner p {
    font-size: 16px;
    font-style: italic;
    font-weight: 600 ;
    margin: 010px;
    color: #ffffff;
    font-family: 'GothamPro-BoldItalic' ;
  }

  .nav {
    position: absolute;
    top: 50%;
    color: #f51414;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 40px;
    cursor: pointer;
    z-index: 2;
  }
  
  .nav:hover {
    color: #4276ad; /* Пример: синий цвет при наведении */
    background: rgba(255,255,255,0.8); /* Немного меняем фон, опционально */
  }

  .nav.prev {
    left: 10px;
    display: none; /* Изначально скрываем */
}
  
  .nav.next {
    right: 10px;
  }


  

  
  .contacts-section {
    background: #b8eaff;
    padding: 35px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }
  .contacts-title {
    text-align: center;
    font-size: 98px;
    font-weight: bold;
    font-family: 'GothamPro-BoldItalic' ;
    margin-bottom: 10px;

  }
  .director {
    width: fit-content; 
    display: block;
    margin: 0 auto;
    /*margin:40px 0 0 35px;*/
    font-size: 32px;
    margin-bottom: 24px;
    font-family: 'GothamPro-LightItalic' ;
    font-weight: 800;
  }
  .contacts-content {
    display: flex;
    justify-content: center;
    gap:5rem;
  }
  .contacts-map {
    margin: 10px 0 0 0;
    width: 55rem;
    height: 28rem;
    min-width: 12rem;
    min-height: 8rem;
    object-fit: cover;
    border-radius: 20px;
    border: none;
  }
  .contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    margin-right: 3rem;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 18px;
    font-family: 'GothamPro-LightItalic' ;
  }
  .icon {
    width: 44px;
    height: 44px;
  }
  .contacts-address {
    margin-top: 40px;
    text-align: left;
    font-size: 26px;
    margin-left: 20px;
    font-family: 'GothamPro-LightItalic' ;
    font-weight: 800;
  }
  

  .contacts-map-wrapper {
    margin: 10px 0 20px 20px;
    position: relative;
    overflow: hidden;
    width: 60rem;
    height: 29rem;
    min-width: 15rem;
    min-height: 10rem;
  }
  
  .contacts-map-link {
    color: #010101;
    font-size: 82px;
    position: absolute;
    left: 0;
    z-index: 3;
    text-decoration: none;
    pointer-events: auto;
    opacity: 0; /* делает ссылку невидимой */
  }
  
  .contacts-map-link.top-link {
    top: 0;
  }
  
  .contacts-map-link:not(.top-link) {
    top: 18px;
  }
  .contacts-map-iframe {
  position: absolute;
  left: 0;
  font-size: 12px;
  z-index: 3;
  pointer-events: auto;
  opacity: 0; /* делает ссылку невидимой */
  }  


  @media (max-width: 480px) {
    .header {
      height: 80px;
    }

    .header-text {
      font-size: 16px;
      width: 77%;
      top: 15px;
    }
  
    .menu {
      padding: 0px;
    }    

    .menu span {
      font-size: 1.5em; 
    }

    .menu-items {
      width: 70%;
      padding: 20px;
    }
  
    .menu-item {
      font-size: 24px;
      text-align: left;
    }
  
    .gears {
      margin-top: -19%; 
      margin-left: 39% ;
    }
    
    .gear-gradient {
      position: relative;
      left: 60%;
      top: -5rem;
      width: 5rem;
      height: 15rem;
      background: linear-gradient(to right, #b8eaff 0%, rgba(184, 234, 255, 0) 100%);
      z-index: 2;
      transform: skewX(47deg);
    }
    
    h1{
      font-size: 20px;
      background: linear-gradient(220deg, #37373f 33%,  #b8eaff 67%); 
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
      margin-top: -2.5rem;
      font-family: 'GothamPro-BoldItalic' ;
  }

 
  .slider-container {
    width: 95%;
    max-width: 93%;
    margin: 1.2rem auto;
  }
  
  
  .slide {
    flex: 0 0 100%;
    padding: 1rem;
    gap: 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .slide p {
    font-size: 13px;
    max-width: 40rem;
    letter-spacing: 5%;
    text-align: left;
    margin: 0; /* Убираем отступы для лучшего контроля */
    padding: 0 2rem; /* Добавляем отступы по бокам */
    margin-top: 1rem; /* Добавляем отступ сверху, чтобы текст был ниже линии */
    
  }
  
  .slide h2 {
    width: 80%;
    font-size: 20px;
    margin-bottom: 1rem;
    margin-left: 2rem;
    padding-bottom: 0.5rem; /* Отступ под линией */
    display: flex;
    justify-content: center;

  }

  .slide img {
    width: 100%;
    border-radius: 4px;
  }
  
  .image-block {
    order: 1;
    width: 100%;
  }

  .text {
    order: 2;
    width: 100%;
    margin-top: -1.5rem;
  }

  .slide > div:last-child {
    padding: 1rem;
    width: 50%;
    margin-left: 1rem;
    flex-shrink: 0;
  }

.slide-caption {
  margin-top: 0.7rem;
  font-size: 10px;
}

.nav-arrow {
    font-size: 1rem;
    width: 35px;
    height: 35px;
  }
  
  
  .catalog-section {
    padding: 20px 10px;
  }
  
  .catalog-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .catalog-wrapper {
    max-width: 748px;
    margin: 0 auto; /* центрируем */
    position: relative;
    overflow: hidden; /* обрезаем лишние карточки */
  }
  
  .catalog-carousel {
    display: flex;
    gap: 40px;
    padding: 20px;
    transition: transform 0.5s ease;
    min-height: 340px;
  }
  
  
  .card {
    flex: 0 0 100%; /* одна карточка занимает 85% от обертки */
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .card-inner {
  width: 15rem;
  border-radius: 25px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  
  .card img {
    width: 80%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .card h3 {
    font-size: 15px;
    margin-top: 3px;
  }
  
  .card-description {
    font-size: 13px;
    margin-top: 20px;
    padding: 0 10px;
    font-weight: 600;
    width: 280px;
    text-align: center;
    
  }
  
  .card.empty .card-inner {
    background-color: #f0f0f0;
    height: 200px;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    font-size: 40px;
    border: none;
    color: red;
    cursor: pointer;
    z-index: 10;
  }
  
  .arrow:hover {
    color: #4276ad; /* Пример: синий цвет при наведении */
  }


  .arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .arrow.left {
    left: 15px;
  }
  
  .arrow.right {
    right: 15px;
  }
  
  .catalog-button-wrapper {
    margin-top: 30px;
  }
  
  .view-all {
    background-color: #002366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 20px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .partners-slider {
    padding: 60px 20px;
  }
  
  .partners-slider h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .partners-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }
  
  .slider-wrapper-p {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    margin-top: 20px;
  }
  
  .slide-p {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
  }
  

  .partner {
    padding: 15px 10px;
    width: 70px;
    height: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    transition: transform 0.3s;
  }
  
  .logo-p {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center;
    padding: 10px; /* толщина рамки */
    background-color: #ffffff; /* цвет фона и рамки */
    border: 5px solid #ffffff; /* цвет и толщина рамки */
    border-radius: 25px; /* радиус закругления углов */
    height: 80px; /* фиксированная высота */
    width: 80px;
  }
  
  .partner img {
    width: 45px;
    height: auto;
    margin-bottom: 5px;
  }

  .partner p {
    font-size: 13px;
    margin: 10px;
  }

  .nav {
    position: absolute;
    top: 50%;
    color: #f51414;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
  }
  

  
  .contacts-section {
    padding: 10px;
  }
  .contacts-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;

  }
  

  .director {
    margin:40px 0 0 30px;
    font-size: 15px;
    margin-bottom: 24px;
   
  }
  .contacts-content {
    display: flex;
    flex-direction: column;
    gap: 2 rem;
    
  }
  .contacts-map {
    margin: 10px 0 0 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    border: none;
  }
  .contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    margin-right: 3rem;
    margin-top: -7rem;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 13px;
    font-family: 'GothamPro-LightItalic' ;
  }
  .icon {
    margin-left: 15px;
    width: 44px;
    height: 44px;
  }
  .contacts-address {
    margin-top: 40px;
    text-align: left;
    font-size: 13px;
    margin-left: 20px;
  }
  

  .contacts-map-wrapper {
    width: 90%; /* Ширина карты уменьшается */
    height: 300px; /* Меньше высота карты */
    margin: 0 auto 20px auto; /* Центрируем */
  }
  
  .contacts-map-link {
    color: #010101;
    font-size: 20px;
    position: absolute;
    left: 0;
    z-index: 3;
    text-decoration: none;
    pointer-events: auto;
    opacity: 0; /* делает ссылку невидимой */
  }
  
  .contacts-map-link.top-link {
    top: 0;
  }
  
  .contacts-map-link:not(.top-link) {
    top: 18px;
  }
  .contacts-map-iframe {
  position: absolute;
  left: 0;
  font-size: 13px;
  z-index: 3;
  pointer-events: auto;
  opacity: 0; /* делает ссылку невидимой */
  }  

  }


  @media (min-width: 480px) and (max-width: 680px) {

    .header-text {
      font-size: 18px;
      width: 77%;
      top: 15px;
    }

    h1{
      font-size: 2rem;
      background: linear-gradient(220deg, #37373f 40%,  #b8eaff 60%); 
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
      margin-top: -3.5rem;
      font-family: 'GothamPro-BoldItalic' ;
  }

  .slider-container {
    width: 95%;
    max-width: 93%;
    margin: 1.2rem auto;
  }
  
  
  .slide {
    flex: 0 0 100%;
    padding: 1rem;
    gap: 1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
  
  .slide p {
    font-size: 13px;
    max-width: 15rem;
    letter-spacing: 5%;
    text-align: left;
    margin: 0; /* Убираем отступы для лучшего контроля */
    padding: 0 0.5rem; /* Добавляем отступы по бокам */
    margin-top: 1rem; /* Добавляем отступ сверху, чтобы текст был ниже линии */
    
  }
  
  .slide h2 {
    width: 73%;
    font-size: 20px;
    margin-bottom: 1rem;
    margin-left: 2rem;
    padding-bottom: 0.5rem; /* Отступ под линией */
    display: flex;
    justify-content: center;

  }

  .slide img {
    width: 100%;
    border-radius: 4px;
  }
  
  .image-block {
    order: 2;
    width: 100%;
  }

  .text {
    order: 1;
    width: 15rem;
    margin-top: -1.5rem;
  }

  .slide > div:last-child {
    padding: 1rem;
    width: 25%;
    margin-left: 1rem;
    flex-shrink: 0;
  }

.slide-caption {
  margin-top: 0.7rem;
  font-size: 10px;
}

.nav-arrow {
    font-size: 1.3rem;
    width: 35px;
    height: 35px;
  }
  
  .nav-arrow.left {
    left: 1rem;
  }
  
  .nav-arrow.right {
    right: 1rem;
  }

  
  .catalog-section {
    padding: 20px 10px;
  }
  
  .catalog-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  
  .catalog-wrapper {
    max-width: 748px;
    margin: 0 auto; /* центрируем */
    position: relative;
    overflow: hidden; /* чтобы карточки не выходили за пределы */
  }
  
  .catalog-carousel {
    display: flex;
    transition: transform 0.5s ease; /* плавная прокрутка */
    gap: 3rem;
  }
  
  
  .card {
    flex: 0 0 100%; /* одна карточка занимает всю ширину контейнера */
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .card-inner {
    width: 20rem; /* пусть занимает всю ширину карточки */
    margin-left: 0; /* убираем отступ */
    border-radius: 25px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  
  .card img {
    width: 80%;
    height: 220px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
  }
  
  .card h3 {
    font-size: 17px;
    margin-top: 3px;
  }
  
  .card-description {
    font-size: 17px;
    margin-top: 20px;
    padding: 0 10px;
    font-weight: 600;
    width: 280px;
    text-align: center;
    
  }
  
  .card.empty .card-inner {
    background-color: #f0f0f0;
    height: 250px;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    font-size: 40px;
    border: none;
    color: red;
    cursor: pointer;
    z-index: 10;
  }
  
  .arrow:hover {
    color: #4276ad; /* Пример: синий цвет при наведении */
  }


  .arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .arrow.left {
    left: 15px;
  }
  
  .arrow.right {
    right: 15px;
  }
  
  .catalog-button-wrapper {
    margin-top: 30px;
  }
  
  .view-all {
    background-color: #002366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 20px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .partners-slider {
    padding: 40px 10px;
  }
  
  .partners-slider h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  
  .partners-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }
  
  .slider-wrapper-p {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    margin-top: 20px;
  }
  
  .slide-p {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  

  .partner {
    padding: 15px 5px;
    width: 95px;
    height: 170px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    transition: transform 0.3s;
  }

  
  .logo-p {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center;
    padding: 10px; /* толщина рамки */
    background-color: #ffffff; /* цвет фона и рамки */
    border: 5px solid #ffffff; /* цвет и толщина рамки */
    border-radius: 25px; /* радиус закругления углов */
    height: 70px; /* фиксированная высота */
    width: 70px;
  }
  
  .partner img {
    width: 40px;
    height: auto;
    margin-bottom: 5px;
  }

  .partner p {
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
  }

  .nav {
    position: absolute;
    top: 50%;
    color: #f51414;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
  }
  
  .nav.prev {
    left: 0px;
    display: none; /* Изначально скрываем */
}
  
  .nav.next {
    right: 0px;
  }

  
  .contacts-section {
    padding: 10px;
  }
  .contacts-title {
    text-align: center;
    font-size: 25px;
    margin-bottom: 10px;

  }
  

  .director {
    margin:40px 0 0 30px;
    font-size: 15px;
    margin-bottom: 24px;
   
  }
  .contacts-content {
    display: flex;
    flex-direction: column;
    gap: 2 rem;
    
  }
  .contacts-map {
    margin: 10px 0 0 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    border: none;
  }
  .contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    margin-right: 3rem;
    margin-top: -7rem;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 15px;
    font-family: 'GothamPro-LightItalic' ;
  }
  .icon {
    margin-left: 15px;
    width: 44px;
    height: 44px;
  }
  .contacts-address {
    margin-top: 40px;
    text-align: left;
    font-size: 13px;
    margin-left: 20px;
  }
  

  .contacts-map-wrapper {
    width: 90%; /* Ширина карты уменьшается */
    height: 300px; /* Меньше высота карты */
    margin: 0 auto 20px auto; /* Центрируем */
  }
  
  .contacts-map-link {
    color: #010101;
    font-size: 20px;
    position: absolute;
    left: 0;
    z-index: 3;
    text-decoration: none;
    pointer-events: auto;
    opacity: 0; /* делает ссылку невидимой */
  }
  
  .contacts-map-link.top-link {
    top: 0;
  }
  
  .contacts-map-link:not(.top-link) {
    top: 18px;
  }
  .contacts-map-iframe {
  position: absolute;
  left: 0;
  font-size: 13px;
  z-index: 3;
  pointer-events: auto;
  opacity: 0; /* делает ссылку невидимой */
  }  

  }


  @media (min-width: 680px) and (max-width: 940px) {
    h1{
      font-size: 2.7rem;
      margin-top: -6rem;
  }
  }

  @media (min-width: 940px) and (max-width: 1440px) {
    h1{
      font-size: 3.7rem;
      margin-top: -7rem;
  }
  }


  @media (min-width: 680px) and (max-width: 1440px) {

    .header-text {
      font-size: 1.5rem;
      width: 77%;
      top: 15px;
    }

  

  .slider-container {
    width: 95%;
    max-width: 93%;
    margin: 1.2rem auto;
  }
  
  
  .slide {
    flex: 0 0 100%;
    padding: 1rem;
    gap: 1.7rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
  
  .slide p {
    font-size: 15px;
    max-width: 22rem;
    letter-spacing: 5%;
    text-align: left;
    margin: 0; /* Убираем отступы для лучшего контроля */
    padding: 0 1rem; /* Добавляем отступы по бокам */
    margin-top: 1rem; /* Добавляем отступ сверху, чтобы текст был ниже линии */
    
  }
  
  .slide h2 {
    width: 73%;
    font-size: 20px;
    margin-bottom: 1rem;
    margin-left: 2rem;
    padding-bottom: 0.5rem; /* Отступ под линией */
    display: flex;
    justify-content: center;

  }

  .slide img {
    width: 100%;
    border-radius: 4px;
  }
  
  .image-block {
    order: 2;
    width: 100%;
  }

  .text {
    order: 1;
    width: 18rem;
    margin-top: -1.5rem;
  }

  .slide > div:last-child {
    padding: 1rem;
    width: 25%;
    margin-left: 1rem;
    flex-shrink: 0;
  }

.slide-caption {
  margin-top: 0.7rem;
  font-size: 10px;
}

.nav-arrow {
    font-size: 1rem;
    width: 35px;
    height: 35px;
  }
  
 
  .catalog-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #b8eaff; 
  }
  
  .catalog-title {
    font-size: 38px;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .catalog-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    align-items: center;
  }
  
  .catalog-carousel {
    display: flex;
  gap: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 30px 40px;
  scrollbar-width: none;
  min-height: 330px;
  }
  
  .catalog-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .card {
    flex: 0 0 calc(90% - 30px); /* две карточки в ряд */
    max-width: 300px;
    background: none;
    text-align: center;
  }
  
  .card-inner {
    background-color: white;
    width:15rem;
    height: 16rem;
    border-radius: 25px;
    padding: 20px 20px;
    box-shadow: 0 0 15px rgba(37, 73, 140, 0.3), 0 0 30px rgba(155, 57, 179, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5), 0 0 40px rgba(139, 52, 160, 0.5);
  }
  
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .card h3 {
    font-size: 15px;
    font-weight: bold;
    margin-top: -13px;
    text-align: center;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .card-description {
    font-size: 13px;
    color: #000000;
    margin-top: 20px;
    padding: 0 10px;
    font-style: italic;
    font-weight: 600;
    width: 260px;
    text-align: center;
    line-height: 140%;
    letter-spacing: 5%;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .card.empty .card-inner {
    background-color: #f0f0f0;
    height: 200px;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    font-size: 40px;
    border: none;
    color: red;
    cursor: pointer;
    z-index: 10;
  }
  
  .arrow:hover {
    color: #4276ad; /* Пример: синий цвет при наведении */
  }


  .arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .arrow.left {
    left: 10px;
  }
  
  .arrow.right {
    right: 10px;
  }
  
  .catalog-button-wrapper {
    margin-top: 30px;
  }
  
  .view-all {
    background-color: #002366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 24px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .view-all:hover {
    background-color: #0047ab;
  }



  .partners-slider {
    background-color: #b8eaff; 
    padding: 80px 20px;
    text-align: center;
    font-family: sans-serif;
  }
  
  .partners-slider h2 {
    font-size: 38px;
    font-style: italic;
    margin-bottom: 30px;
    font-family: 'GothamPro-BoldItalic' ;
  }
  
  .partners-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }
  
  .slider-wrapper-p {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    margin-top: 50px;
  }
  
  .slide-p {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 7%;
    flex-wrap: wrap;
  }
  
  .partner {
    
    padding: 15px 10px;
    width: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 160px;
    transition: transform 0.3s;
  }
  
  .logo-p {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center;
    padding: 10px; /* толщина рамки */
    background-color: #ffffff; /* цвет фона и рамки */
    border: 5px solid #ffffff; /* цвет и толщина рамки */
    border-radius: 25px; /* радиус закругления углов */
    height: 120px; /* фиксированная высота */
    width: 110px;
  }
  
  .partner img {
    width: 80px;
    height: auto;
    margin-bottom: 5px;
  }

  .partner p {
    font-size: 16px;
    font-style: italic;
    font-weight: 600 ;
    margin: 010px;
    color: #ffffff;
    font-family: 'GothamPro-BoldItalic' ;
  }

  .nav {
    position: absolute;
    top: 50%;
    color: #f51414;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 25px;
    cursor: pointer;
    z-index: 2;
  }
  
  .nav:hover {
    color: #4276ad; /* Пример: синий цвет при наведении */
    background: rgba(255,255,255,0.8); /* Немного меняем фон, опционально */
  }

  .nav.prev {
    left: 3px;
    display: none; /* Изначально скрываем */
}
  
  .nav.next {
    right: 3px;
  }

  
  .contacts-section {
    background: #b8eaff;
    padding: 35px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }
  .contacts-title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    font-family: 'GothamPro-BoldItalic' ;
    margin-bottom: 10px;

  }
  .director {
    margin:40px 0 0 35px;
    font-size: 20px;
    margin-bottom: 24px;
    font-family: 'GothamPro-LightItalic' ;
    font-weight: 800;
  }
  .contacts-content {
    display: flex;
    flex-direction: row; /* НАГЛЯДНО указываем "рядом" */
    justify-content: space-between; /* пространство между картой и инфой */
    align-items: flex-start; /* выравниваем по верхнему краю */
    gap: 5rem;
    flex-wrap: wrap; /* чтобы на узких экранах не ломалось */
  }
  .contacts-map {
    margin: 10px 0 0 0;
    width: 100%;
    height: 28rem;
    min-width: 12rem;
    min-height: 8rem;
    object-fit: cover;
    border-radius: 20px;
    border: none;
  }
  .contacts-info {
    flex: 1 1 30%; /* информация про отделы занимает чуть меньше */
    max-width: 30%;
    margin-top: 3rem;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 18px;
    font-family: 'GothamPro-LightItalic' ;
  }
  .icon {
    width: 44px;
    height: 44px;
  }
  .contacts-address {
    margin-top: 40px;
    text-align: left;
    font-size: 20px;
    margin-left: 20px;
    font-family: 'GothamPro-LightItalic' ;
    font-weight: 800;
  }
  

  .contacts-map-wrapper {
    flex: 1 1 45%; /* карта занимает половину */
    max-width: 50%; /* ограничение чтобы карта не растягивалась слишком сильно */
  }
  
  .contacts-map-link {
    color: #010101;
    font-size: 82px;
    position: absolute;
    left: 0;
    z-index: 3;
    text-decoration: none;
    pointer-events: auto;
    opacity: 0; /* делает ссылку невидимой */
  }
  
  .contacts-map-link.top-link {
    top: 0;
  }
  
  .contacts-map-link:not(.top-link) {
    top: 18px;
  }
  .contacts-map-iframe {
  position: absolute;
  left: 0;
  font-size: 12px;
  z-index: 3;
  pointer-events: auto;
  opacity: 0; /* делает ссылку невидимой */
  }  
  }
  /* Товары */
  .bg-product {
    background-color: #b8eaff;
  }
  .product {
    margin: 0;
  }
  .product .product {
    
    margin-bottom: 175px;
  }
  .container {
    max-width: 1560px;
    margin: 0 auto;
  }
  .product-name {
    all: unset;
    display: block;
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 700;
    font-size: 80px;
    line-height: 129%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #000;
    margin-bottom: 40px;
  }
  .product-content {
    display: flex;
    gap: 35px;
  }
  .product-content > img
  {
    width: 452px;
    height: 603px;
    }
  .product-info {
    display: flex;
    flex-direction: column;
    gap: 100px;

  }
  .product-desc {
    padding-top: 60px;
    display: block;
    max-width: 1000px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 32px;
    line-height: 145%;
    letter-spacing: 0.05em;
    text-align: justify;
    color: #000;
  }
  .product-inner {
    align-items: center;
    display: flex;
    width: 100%;
    gap: 5px;
  }
  .product-inner.space {
    
    width: 100%;
    justify-content: center;
    gap: 70px;
    
  }

.product-desc.center
{
  all: unset;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 36px;
  line-height: 145%;
  letter-spacing: 0.05em;
  text-align: center;
  color: #000;
}
.product-desc-inner{
  display: block;
  max-width: 543px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 145%;
  letter-spacing: 0.05em;
  text-align: center;
  color: #000;
}
  .product-right-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 120px;
  }
  .product-link {
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 20px;
    padding: 23px 14px;
    background: #000080;
    align-self: flex-end;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    color: #fff;
    margin-right: -45px;
    min-width: 267px;
  }
  .table-container {
    overflow-x: auto;
    background: #e0f0fa;
  }
.product-table
{
  padding-bottom: 62px;
}
  table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    text-align: center;
    min-width: 600px;
    table-layout: fixed;
  }

  th, td {
    background: #b7b7b7;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    border: 2px solid #000;
    height: 68px;
    
  }

  th {
    background: #767676;
    color: #fff;
    height: 68px;
  }

  @media (max-width: 768px) {
    th, td {
      padding: 8px;
      font-size: 13px;
    }
  }

  .table-caption {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    margin-top: 25px;
  }
  .table-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 145%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #000;
  }
  #contact-popup {
    width: 80%;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  #contact-popup [type="submit"]
  {
    margin: 0 auto;
  }
  .form-group {
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 30px 25px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 40px;
    color: #000;
    border-radius: 30px;
    background: #d9d9d9;
    margin-bottom: 95px;

  }
  
  .form-group textarea {
    resize: vertical;
    margin-bottom: 40px;
  }
  
  .btn-submit {
    background: #000080;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .btn-submit:hover {
    background: #45a049;
  }
  .fancybox-slide--html .fancybox-close-small
  {
    display: none;
  }


