:root {
    --dark: #0D1B1E;
    --gold: #D4AF37;
    --light: #fffcf7;
    --light-green: #a9c9da;
    --green: #3a6f88;
    --black-green: rgb(36, 68, 83);
    --gray: #333;
    --firmOne: #3f738b;
    --firmTwo: #E8F1EB;
    --sectOne: #e8f1f1;
    --sectTwo: #FFFFFF;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:"Open Sans",Helvetica,Arial,sans-serif;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
}

h1,
h2,
h4 {
    font-family:"Font Awesome 5 Brands";
    font-style: normal;
    font-weight: normal;
}

h3 {
    font-family:"Open Sans",Helvetica,Arial,sans-serif;
}

/* Навигация */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #0000009f;
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--green);
}

/* Прогресс-бар под пунктом */
.progress-bar {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #5cacd1;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 30px var(--green);
}

.hamburger {
    display: none;
    font-size: 1rem;
    cursor: pointer;
    color: #5cacd1;
}

/* Главный экран */
.hero {
    height: 100vh;
    background: var(--firmOne);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--light);
    /* text-shadow: var(--black-green) 1px 0 3px; */
}

.hero p {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--light);
}

.cta-buttons {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin: 0 0.5rem;
    background: var(--firmTwo);
    color: var(--firmOne);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--firmTwo);
    color: white;
}

.btn:hover {
    transform: scale(1.05);
}

/* Секции */
.section {
    min-height: 100vh;
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.numone {
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    font-size: 7rem;
    color: var(--green);
}

section:not(#home) {
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),   /* Основная глубокая тень */
    0 0 20px rgba(212, 175, 55, 0.1), /* Внутреннее свечение (золото) */
    inset 0 1px 0 rgba(255, 255, 255, 0.1); /* Легкая внутренняя подсветка */
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 5rem 5%;
  margin: 2rem auto;
  max-width: 96%;
}

small {
    color: var(--black-green);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2,
h1 {
    font-size: 2.5rem;
    color: var(--black-green);
    text-align: center;
}

.section-one {
    background-color: var(--sectTwo);
}

.section-two {
    background-color: var(--sectOne);
}

.section-one h2 {
    color: var(--black-green);
}

.section-one h3 {
    color: var(--dark);
}

.section-spec {
    background-color: var(--light-green);
}

.section-two h3, h2 {
    color: var(--dark);
}

#popupTitle {
    color: var(--dark);
}

.section-two strong {
    color: var(--black-green);
    /* text-shadow: none; */
}

.section-three {
    background-color: var(--light);
}

h1 {
    font-size: 10rem;
}

strong {
    color: var(--black-green);
    /* text-shadow: #c0b7ce 1px 0 3px; */
}

/* Показатели */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.stat {
    font-size: 1.2rem;
    color: var(--dark);
}

/* Видео */
.video-container {
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
}

video {
    width: 100%;
}

/* Продукция — слайдер */
.product-slider {
    width: 100%;
    height: 40rem;
    max-width: 1000px;
    position: relative;
    margin-bottom: 2rem;
    /* padding-top: -30rem; */
}

.swiper-slide {
    position: relative;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
}

.product-img {
    object-fit: contain;
    height: 80%;
    padding-left: 20%;
    transition: all 0.8s ease-out;
    padding-top: 10%;
}

.product-info {
    position: absolute;
    top: 1.3vh;
    bottom: 0;
    left: 0;
    width: 35%;
    height: 100%;
    /* background: #0d1b1eab; */
    border-radius: 10px 10px 10px 10px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.7s ease-out 0.1s;
    color: var(--dark);
    font-size: 0.8vw;
    line-height: 1.4;
    text-align: left;
}

.product-info-2 {
    position: absolute;
    top: 1.3vh;
    bottom: 0;
    left: 65%;
    width: 35%;
    height: 100%;
    /* background: #0d1b1eab; */
    border-radius: 10px 10px 10px 10px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.7s ease-out 0.1s;
    /* Задержка 0.1с */
    color: var(--dark);
    font-size: 0.8vw;
    line-height: 1.4;
    text-align: right;
}

.product-info-3 {
    position: absolute;
    padding-top: 20%;
    bottom: 12.5%;
    left: 20.5%;
    width: 40%;
    height: 10%;
    /* background: #0d1b1ebd; */
    color: #ccc;
    padding: 1rem;
    border-radius: 10px 10px 10px 10px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.7s ease-out 0.1s;
    color: #ccc;
    font-size: 0.6em;
    line-height: 1.6;
    z-index: 0;
}

.product-info h3 {
    margin: 0;
    font-size: 1.4rem;
}

.product-desc {
    opacity: 1;
}


.swiper-slide:hover .product-desc {
    opacity: 1;
    transform: translateY(0);
}

.swiper-pagination-bullet {
    background: var(--black-green);
}

/* Команда */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 90%;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.investors {
    margin-top: 2rem;
    font-style: italic;
    max-width: 800px;
    text-align: center;
}

/* Контакты */
.contact-info {
    text-align: center;
    max-width: 600px;
}

.contact-info a {
    color: var(--black-green);
    text-decoration: none;
}

.contact-info p {
    color: var(--dark);
}

.map-container {
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 90%;
    max-width: 500px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.age-content {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--firmTwo);
    backdrop-filter: blur(20px);
    z-index: 200;
}

#mobileHeader {
    display: none;
}

#louis-img {
    background: radial-gradient(#8a6222, #6e1c2a00, #6e1c2a00);
}

.louis {
    color: #8a6222;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#diplomat-img {
    background: radial-gradient(#c88d31, #cc9a4400, #cc9a4400);
}

.diplomat {
    color: #c88d31;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#green-label-img {
    background: radial-gradient(#144E35, #067b4600, #067b4600);
}

.green-label {
    color: #1d724d;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#honey-bee-img {
    background: radial-gradient(#9b3746, #7d1a2a00, #7d1a2a00);
}

.bee {
    color: #943544;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#blue-riband-img {
    background: radial-gradient(#32315C, #494b9000, #494b9000);
}

.riband {
    color: #464585;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#white-mischief-img {
    background: radial-gradient(#3a5cca, #5272dd00, #5272dd00);
}

.mischief {
    color: #3a5cca;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#oldtavern-img {
    background: radial-gradient(#e8bd57, #e8bd5700, #e8bd5700);
}

.oldtavern {
    color: #bb8b1b;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#oldcask-img {
    background: radial-gradient(#e8c36a, #e8c26a00, #e8c26a00);
}

.oldcask {
    color: #997626;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#black-stallion-img {
    background: radial-gradient(#815317, #81531700, #81531700);
}

.black-stallion {
    color: #815317;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#haywards-img {
    background: radial-gradient(#dab254, #dab25400, #dab25400);
}

.haywards {
    color: #c08e1a;
    /* text-shadow: #977d2900 1px 0 3px; */
}

#main-img {
    object-fit: contain;
    /* transform: translateY(8em); */
    width: 50%;
    z-index: -99;
}

.text-section-two {
    color: black;
}

.swiper-button-next,
.swiper-button-prev {
    padding-top: 15rem;
    color: var(--black-green);
}

/* Анимация слайда при появлении */
.swiper-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.swiper-slide-active {
    opacity: 1;
    transform: translateY(0);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2.4rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--black-green);
    border: 1px solid #555;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn {
    padding: 0.8rem 2.4rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--black-green);
    border: 1px solid #555;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-h {
    color: var(--firmOne);
}

.filter-btn:hover {
    background: var(--firmTwo);
    color: var(--firmOne);
    border-color: var(--firmOne);
}
.apply-btn:hover {
    background: var(--firmTwo);
    color: var(--firmOne);
    border-color: var(--firmOne);
}


/* Popup */
/* Полноэкранный оверлей */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Контент попапа */
.popup-content {
  background: var(--light);
  color: white;
  max-width: 100%;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Кнопка закрытия */
.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--gold);
}

/* Контейнер с изображением и текстом */
.popup-container {
  display: flex;
  height: 100%;
  align-items: stretch;
}

/* Изображение справа — видимо наполовину */
.popup-image-wrapper {
  flex: 0 0 auto;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.popup-image {
  height: 80%;
  object-fit: cover;
  transform: translateX(50%) translateY(10%);
  z-index: 2;
}

/* Текстовый контент слева */
.popup-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--light);
  border-radius: 10px;
  overflow: hidden;
}

/* Название продукта */
.popup-text-content h2 {
  font-size: 2rem;
  color: var(--dark);
  text-align: left;
  margin: 0 0 1rem 9rem;
  transform: translateY(6vh) translateX(3vw);
}

/* Бренд-колесо (Brand Wheel) */
.brand-wheel {
  position: relative;
  width: 100%;
  height: 200%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  right: 35%;
  top: 15%;
  overflow: visible;
  z-index: 3001;
}

.wheel-center {
  position: absolute;
  width: 35vh;
  height: 35vh;
  background: #8b4513;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.1rem;
  text-align: center;
  z-index: 10;
}

.wheel-ring {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.3;
  z-index: 5;
}

.wheel-ring span {
  font-weight: bold;
  font-size: 1rem;
    color: white;
}

.wheel-values {
  width: 50vh;
  height: 50vh;
  background: rgba(139, 69, 19, 0.3);
}

#abvText{
    position: relative;
    top: -50vh;
    left: 12vw;
    width: 90%;
    z-index: 9999;
  font-weight: bold;
  font-size: 2vh;
  text-align: left;
  z-index: 9999;
}

#smellText{
    position: relative;
    top: -61vh;
    left: 12vw;
    z-index: 9999;
  font-weight: bold;
  font-size: 2vh;
  text-align: left;
  overflow: visible;
  z-index: 9999;
}

#tasteText{
    position: relative;
    top: -72vh;
    left: 12vw;
    z-index: 9999;
  font-weight: bold;
  font-size: 2vh;
  text-align: left;
  z-index: 9999;
}

#afterTasteText{
    position: relative;
    top: -79vh;
    left: 12vw;
    z-index: 9999;
  font-weight: bold;
  font-size: 2vh;
  text-align: left;
}

#abvElm {
    color: var(--dark);
    padding-left: 23vw;
} 

#smellElm {
    color: var(--dark);
    padding-left: 18.5vw;
    overflow: hidden;
}

#tasteElm {
    color: var(--dark);
    padding-left: 16vw;
} 

#afterTasteElm {
    color: var(--dark);
    padding-left: 9vw;
}

.wheel-proposition {
  width: 60vh;
  height: 60vh;
  background: rgba(139, 69, 19, 0.2);
}

.wheel-pillars {
  width: 70vh;
  height: 70vh;
  background: rgba(139, 69, 19, 0.1);
}

.wheel-pillars span {
  position: relative;
    top: -27.5vh;
}

.wheel-benefits {
  width: 80vh;
  height: 80vh;
  background: rgba(139, 69, 19, 0.05);
}

.wheel-benefits span {
  position: relative;
    top: -32.5vh;
}

.wheel-essence {
  width: 90vh;
  height: 90vh;
  background: rgba(139, 69, 19, 0.02);
}

.wheel-essence span {
    position: relative;
    top: -37.5vh;
    color: white;
    z-index: 9999;
}

.wheel-personality {
  width: 100vh;
  height: 100vh;
  background: rgba(139, 69, 19, 0.01);
  border: none;
}


/* Описание снизу */
.popup-description {
  background: rgb(0, 0, 0);
  position: fixed;
  line-height: 1.6;
  overflow-y: auto;
  overflow-x: visible;
  height: 30vh;
  width: 100%;
  top: 70vh;
}

/* Описание снизу */
.popup-description {
  padding-left: 50%;
  padding-right: 10%;
  overflow-y: auto;
}

.popup-description strong {
    color: var(--light);
}

/* #popupTitle {
    z-index: 9999;
}
#abvElm {
    z-index: 9999;
}
#smellElm {
    z-index: 9999;
}
#tasteElm {
    z-index: 9999;
}
#afterTasteElm {
    z-index: 9999; */
/* } */
/* Контейнер с горизонтальным скроллом */
.products-slides {
  display: flex;
  gap: 1rem; /* Расстояние между карточками */
  padding: 1rem 0;
  width: 100%;
  height: 40vh;
  overflow-x: auto; /* Горизонтальный скролл */
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}

/* Скрытие скроллбара (опционально, для чистоты дизайна) */
.products-slides::-webkit-scrollbar {
  height: 6px;
}
.products-slides::-webkit-scrollbar-track {
  background: transparent;
}
.products-slides::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 3px;
}

/* Карточка продукта */
.product-item {
  position: relative;
  flex: 0 0 auto; /* Не растягивается, фиксированная ширина */
  width: 25vh;
  height: 100%;
  text-align: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  transition: transform 0.2s;
}

.product-item:hover {
  transform: scale(1.03);
}

/* Изображение продукта */
.product-img {
  width: 100%;
  height: calc(100% - 3rem); /* Оставляем место для кнопки */
  padding-right: 20%;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
  transition: opacity 0.3s;
}

/* Кнопка "Подробнее" — поверх изображения */
.btn-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* Показываем кнопку при наведении */
.product-item:hover .btn-details {
  opacity: 1;
}

/* При наведении на кнопку — можно дополнительно затемнить изображение */
.product-item:hover .product-img {
  opacity: 0.85;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
  .popup-content {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .popup-container {
    flex-direction: column;
    gap: 1rem;
  }

  .popup-image-wrapper {
        flex: 0 0 auto;
        position: relative;
        height: 100%;
        overflow: hidden;
    }

    .popup-image {
        height: 80%;
        width: 70vw;
        object-fit: contain;
        margin-left: 32vw;
        z-index: 2;
    }

  .brand-wheel {
    position: relative;
    display: flex;
    height: 20vh;
    padding-top: 60vh;
    z-index: 0;
  }

  .wheel-center {
    width: 80px;
    height: 80px;
    font-size: 0.5rem;
    padding-bottom: 1vh;
  }

  .wheel-ring {
    font-size: 0.6rem;
  }

  .wheel-values { width: 160px; height: 160px; }
  .wheel-proposition { width: 180px; height: 180px; }
  .wheel-pillars { width: 200px; height: 200px; }
  .wheel-benefits { width: 220px; height: 220px; }
  .wheel-essence { width: 240px; height: 240px; }
  .wheel-personality { width: 260px; height: 260px; }

  .popup-description {
    height: 25vh;
    margin-top: 5vh;
    padding-left: 2%;
    padding-right: 27%;
    font-size: 0.8rem;
  }

  .popup-text-content {
    min-height: 100vh;
    position: absolute;
    background: var(--light);
    overflow: hidden;
  }

  .btn-details {
    opacity: 1;
  }

#popupTitle {
    margin-left: 5vw;
    color: var(--dark);
}

#abvText{
    position: relative;
    top: -30vh;
    left: 4vw;
    margin-right: 0%;
    z-index: 9999;
    width: 70%;
    top: -23vh;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: left;
  color: var(--dark);
}

#smellText{
    position: relative;
    top: -45vh;
    left: 4vw;
    z-index: 9999;
    width: 70%;
    top: -58vh;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: left;
  color: var(--dark);
}

#tasteText{
    position: relative;
    top: -60vh;
    left: 4vw;
    z-index: 9999;
    width: 70%;
    top: -56vh;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: left;
  color: var(--dark);
}

#afterTasteText{
    position: relative;
    left: 4vw;
    z-index: 9999;
    width: 70%;
    top: -55vh;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: left;
  color: var(--dark);
}


#abvElm {
    color: var(--dark);
    padding-left: 0vw;
} 

#smellElm {
    color: var(--dark);
    padding-left: 0vw;
}

#tasteElm {
    color: var(--dark);
    padding-left: 0vw;
} 

#afterTasteElm {
    color: var(--dark);
    padding-left: 0vw;
}

}

#logo-img {
    width: 10rem;
    transition: all 0.8s ease-out;
}

#logo-img.logo-active {
    filter: brightness(0) invert(1);
}

.product-name {
    position: absolute;
    z-index: 99;
    width: 80%;
    left: 10%;
    bottom: 97%;
    text-align: center;
    color: var(--dark);
}

#zavod-img {
    border-radius: 10px 10px 10px;
    width: 80vw;
}

#countries-img {
    border-radius: 10px 10px 10px;
    width: 80vw;
}

.contacts-txt {
    color: var(--black);
}

#contacts {
    background-image: url("images/os.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Лента продукции — исправленная версия */
.product-ticker {
  width: 111.6%;
  overflow: hidden;
  padding: 2rem 0;
  margin-top: 3rem;
}

.ticker-track {
  display: flex;
  /* Убираем перенос строк */
  flex-wrap: nowrap;
  /* Выравнивание по центру вертикально */
  align-items: center;
  /* Общая ширина — 2x от оригинального блока */
  width: 200%; /* Критично для бесшовности */
  /* Анимация: полный проход за 60 секунд */
  
  animation: ticker-scroll 45s linear infinite;
}

.ticker-item {
  flex: 0 0 auto;
  margin: 0 1rem;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.ticker-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.ticker-item img {
  height: 30vh;
  border-radius: 10px;
}

/* Анимация: двигаем на -50%, чтобы второй дубликат заменил первый */
@keyframes ticker-scroll {
  0% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(-75%);
  }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .ticker-item {
    width: 140px;
    margin: 0 0.8rem;
  }

  .ticker-track {
    animation: ticker-scroll 180s linear infinite;
  }
}
/* Мобильная адаптация */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #000000ad;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 1rem;
        gap: 1rem;
        backdrop-filter: blur(5px);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        padding-right: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .progress-bar {
        width: 50px;
        height: 2px;
    }

    #logo-img {
        width: 5.5rem;
    }

    #mobileHeader {
        display: block;
        padding-left: 30%;
        width: 15rem;
        align-items: flex-end;
    }

    #currentSection {
        font-size: 3.3vw;
        color: #5cacd1;
        text-shadow: #294a5a 1px 0 3px;;
    }

    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .ticker-track {
        animation: ticker-scroll 15s linear infinite;
    }
}