* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    
}

body {
    background: #ffffff;
    color: #1f2f44;
}


/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: 0.2s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.7); /* тёмный прозрачный */
}


.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */
.logo-block {
  width: auto;
  height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: 0.3s;
}

.logo-block.show {
    opacity: 1;
}


.logo-block img {
  height: 38px;
  width: auto;
}


/* NAV */
.nav {
    display: flex;
    gap: 30px;
    position: relative;
    align-items: center;
}


.nav a,
.company-btn {
    background: none;
    border: none;
    color: #cacfd4;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}


/* О КОМПАНИИ */

.company-menu {
    position: absolute;
    top: 55px;
    left: 0;
    background: #1a1f27;
    display: none;
    flex-direction: column;
    min-width: 160px;
    background: rgba(0, 0, 0, 0.5); /* 20% прозрачнее */
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 8px 0;
    color: gray;
}

.company-menu.show {
    display: flex;
}

.company-menu a {
    padding: 10px;
}

.a:hover {
  color: white;
  font-weight: 500;
}


.adress_menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 22px;
}

.adress_menu a:first-of-type {
  margin-right: 16px;
}

.adress_menu img {
  width: 2em;
  height: 2em;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}


.adress_menu a {
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}



.adress_menu a:hover {
  text-decoration: underline;
}


/* BURGER */
.burger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    height: 3px;
    background: white;
    transition: 0.4s;
}

/* АКТИВНЫЙ БУРГЕР */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MODAL */
.burger-modal {
    position: fixed;
    inset: 0;
    background: #0b0e12;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    padding: 100px 20px 40px;
    z-index: 999;
    overflow-y: auto;     /* ✅ ВНУТРЕННИЙ СКРОЛЛ */
}

.burger-modal.show {
    display: flex;
}

.burger-modal a {
    font-size: 24px;
    text-decoration: none;
    color: white;
}

/* Блок компании */
.bm-company-list {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding-left: 16px;
}

.bm-company-list.show {
  display: flex;
  margin-left: 15px;
}

/* Кнопка О компании */
.bm-company-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  text-align: left;
}

.bm-company-btn.active {
  color: orange;
}

.bm-company-list a.active {
  color: orange;
}

.burger-modal a.active {
  color: orange;
}

.bm-arrow {
  margin-left: 6px;
  transition: 0.3s;
}

/* Ссылки */
.bm-link {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.adress_menu_burger {
  display: flex;
  flex-direction: column;          /* элементы столбиком */
  gap: 12px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 22px;
  width: fit-content;
}

.adress_menu_burger_child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adress_menu_burger img {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  flex-shrink: 0;
}

.adress_menu_burger a {
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

/* ===== HERO VIDEO ===== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* видео */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* затемнение как на примере */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* слой под текст */
.hero-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding-top: 80px; /* высота header */
}

/* мобильное видео */
.hero-video.mobile {
  display: none;
}

/* ===== HERO CONTENT ===== */

.hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  text-align: center;
  padding: 0 20px;
}

/* ===== FLOATING LOGO ===== */

.hero-logo img {
  width: 140px;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

/* ===== TITLE WITH LINES ===== */

.hero-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-title h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  color: white;
}

.hero-title .line {
  width: 80px;
  height: 2px;
  background: orange;
}

/* ===== GRID ===== */

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
  text-align: center;
}

.hero-card {
  background: transparent; /* как на фото — без карточек */
  color: #fff;
}

.hero-number {
  display: block;
  font-size: 64px;
  font-weight: 700;
  color: #ff6a00;
  margin-bottom: 8px;
}

.hero-card p {
  margin: 0;
  font-size: 18px;
  opacity: 0.9;
}

/* КНОПКА СНИЗУ */
.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid #ff6a00;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #ff6a00;
  color: #000;
}

/* ===== INFINITE LOGO SLIDER ===== */

.slider {
  overflow: hidden;
  width: 100%;
  padding: 30px 0;
  cursor: grab;
  touch-action: pan-y;
  background: #000000;
}



.slider:active {
  cursor: grabbing;
}




@media (hover: hover) and (pointer: fine) {
  .slider:hover .slider-track {
    animation-play-state: paused;
  }
}



.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 80s linear infinite;
}



.slide {
  flex: 0 0 auto;
  width: 200px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 00.1s ease;
}

.slide img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}


.about {
  background: #f6f6f6;
  padding: 90px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ТЕКСТ */
.about-text {
  max-width: 720px;
  color: #1c1c1c;
}

.about-text p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.about-text span {
  color: #1f3a5f;
  text-decoration: underline;
}

.about-link {
  font-size: 16px;
  color: #ff4d00;
  text-decoration: underline;
  font-weight: 500;
}

/* КАСКА */
.about-image {
  margin-top: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
}

.services {
  background: #f7f7f7;
  padding: 60px 20px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  text-align: center;
  align-items: baseline;
}

/* карточка */
.service-card img {
  max-width: 160px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1f2f44;
}


/* ===== ADVANTAGES ===== */

.advantages {
  background: #f7f7f7;
  padding: 80px 20px;
}

.advantages-container {
  max-width: 1000px;           
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 80px;                  
  justify-content: center;
  align-items: start;
}


/* CARD */
.adv-card {
  display: block;          /* ⬅️ ВАЖНО */
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;   /* ⬅️ убираем стиль ссылки */
  color: inherit;
  cursor: pointer;
  transition: 0.35s ease;
}



.adv-card img {
  max-width: 200px;
  margin-bottom: 22px;
  transition: 0.35s ease;
}

.adv-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2f44;
  margin-bottom: 14px;
  transition: 0.35s ease;
}

.adv-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  transition: 0.35s ease;
}


.adv-card:hover img {
  filter: brightness(1.15);
}

.adv-card:hover h3 {
  color: #ff6a00;
}

/* контейнер картинки */
.adv-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

/* изображение */
.adv-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: 0.35s ease;
}








/* LICENSE */
.adv-license {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: #f6f6f6;
  border-radius: 14px;
  text-decoration: none;
  color: #1f2f44;
  transition: 0.35s ease;
  cursor: pointer;
}

.adv-license span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #6b7280;
  transition: 0.35s ease;
}


.adv-license:hover .license-text,
.adv-license:hover .license-sub {
  color: #ff6a00;
}

/* текст */
.license-text {
  font-size: 16px;
  line-height: 1.4;
}

.license-sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #6b7280;
}


/* иконка документа */
.doc-icon {
  width: 46px;
  height: 46px;
  background: #ff6a00;
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
}

/* "лист" */
.doc-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 4px;
}

/* линии текста */
.doc-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 18px;
  height: 2px;
  background: #ff6a00;
  box-shadow:
    0 6px 0 #ff6a00,
    0 12px 0 #ff6a00;
}

/* ===== LICENSE MODAL ===== */
.license-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.license-modal.show {
  display: flex;
}

.license-modal-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  overflow: hidden;   /* ⬅️ ВАЖНО */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#licenseViewer {
  width: 90vw;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  background: #000; /* чтобы видно было пустое пространство */
  height: 90vh;
}

#licenseViewer img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  user-select: none;
  pointer-events: none; /* чтобы JS панорамирования работал на контейнере */
}



.license-controls {
  position: fixed;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3000;
}




.license-controls button,
.license-controls a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ff6a00;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

/* tile-section */

.tile-section {
  position: relative;
  height: max-content;
  background: #ff8c00;
  overflow: hidden;
}

.tile-section::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Создаем паттерн из линий */
  background: repeating-linear-gradient(
    2deg, 
    rgba(0, 0, 0, 0.15) 0px, 
    rgba(0, 0, 0, 0.15) 2px, 
    transparent 2px, 
    transparent 12px
  );
  /* Дополнительное общее затемнение (если нужно) */
  background-color: rgb(0 0 0 / 38%); 
  pointer-events: none; /* Чтобы слой не мешал кликам */
}

.tile-row {
  position: relative;
  width: 120%;
  transform: rotate(-15deg);
  margin: 20px 0;
}

.tile-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.tile {
  width: 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  flex-shrink: 0;
}

/* поверх фона рид */
.tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tile-row {
  margin-bottom: 24px;
}


/* hover только на ПК */
@media (hover: hover) and (pointer: fine) {
  .ts-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.75);
  }
}



@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-number {
    font-size: 52px;
  }

  .ts-grid {
    grid-template-columns: 1fr;
  }

  .ts-card-footer p {
    font-size: 16px;
  }
}

/* ПЛАНШЕТ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title h1 {
    font-size: 36px;
  }

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

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

}

/* MEDIA */
@media (max-width: 999px) {
    .header-inner {
      justify-content: space-between;
      align-items: center;
    }
    .nav {
        display: none;
    }
    .burger {
        display: flex;
    }

    #logo {
      position: relative;
      top: 0;
      left: 0;
      transition: none;
    }

    .hero-video.desktop {
    display: none;
    }

    .hero-video.mobile {
    display: block;
    }

    .hero-logo img {
    width: 110px;
  }

  .hero-title h1 {
    font-size: 16px;
  }

  .hero-title .line {
    width: 40px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    justify-content: center;   /* центр сетки */
    align-content: center;
    max-width: 360px;    
    margin: 0 auto;    
}


.hero-card {
    font-size: 15px;
    padding: 18px 14px;
  }

  .slider-track {
    animation-duration: 100s; 
  }

  .about {
    padding: 60px 16px;
  }

  .about-text p {
    font-size: 15px;
  }

  .about-image {
    margin-top: 40px;
  }

  .about-image img {
    max-width: 260px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

  .center-mobile {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-card img {
    max-width: 140px;
  }

  .advantages {
    padding: 60px 16px;
  }

  .advantages-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .adv-card img {
    max-width: 160px;
  }

  .adv-card h3 {
    font-size: 16px;
  }

  .adv-card p {
    font-size: 14px;
  }

  .adv-license {
    font-size: 15px;
    padding: 18px 20px;
  }

  #licenseImage {
    max-height: 80vh;
    width: 100%;
  }

  .license-controls {
    top: 8px;
    right: 8px;
    flex-direction: row;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .icon-btn img {
    width: 20px;
    height: 20px;
  }

  .tile-row {
    transform: rotate(-15deg);
  }

  .tile {
    width: 200px;
    height: 130px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-title {
    font-size: 24px;
  }


  .process-grid {
    grid-template-columns: 1fr; /* одна колонка на мобильных */
    gap: 20px;
  }

  .process-card {
    min-height: 280px; /* одинаковый размер для всех карточек */
    padding: 20px;
  }

  .process-card img {
    max-height: 120px;
  }

  .process-step {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .process-card p {
    font-size: 14px;
  }

  .process-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
}


.process {
  position: relative;
  z-index: 5; /* поверх фона tile-section */
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* горизонтальное центрирование */
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* адаптивные колонки */
  gap: 30px;
  width: 100%;
}

.process-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 60px;
}



/* CARD */
.process-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 106, 0, 0.6);
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.35s ease, background 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .process-card:hover {
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.85);
  }
}

.process-card img {
  max-height: 260px;
  object-fit: contain;
}

/* STEP */
.process-step {
  width: 38px;
  height: 38px;
  background: #ff6a00;
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.process-card p {
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
}



.footer {
  background: #1b1b1b;
  background-image: repeating-linear-gradient(
    -45deg,
    #1b1b1b,
    #1b1b1b 4px,
    #1f1f1f 4px,
    #1f1f1f 8px
  );
  color: #fff;
  padding: 60px 20px 20px;
  font-family: "Segoe UI", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 170px;
  margin-bottom: 20px;
}

.footer-text {
  max-width: 650px;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 30px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}
a.contact-item.contact-item--link {
    text-decoration: none;
    color: white;
}

.contact-item img {
  width: 20px;
  margin-top: 2px;
}

.footer-bottom {
 
  margin-top: 50px;
  padding-top: 15px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

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

  .footer {
    padding: 50px 40px 20px;
  }

  .footer-container {
    max-width: 1100px;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-text {
    max-width: 600px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .footer-contacts {
    gap: 14px;
  }

  .contact-item {
    font-size: 14px;
    
  }

  .contact-item img {
    width: 18px;
  }

  .footer-bottom {
    font-size: 13px;
    text-align: center;
  }

}

#works.works{
  position: relative;
  padding: 70px 0 80px;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}

#works .works-container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* заголовок */
#works .works-head{
  text-align: center;
  margin-bottom: 26px;
}

#works .works-head h2{
  margin: 0;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1a2a3a;
}

#works .works-decor{
  margin-top: 10px;
  font-size: 18px;
  color: #ff6a00;
  letter-spacing: 2px;
  user-select: none;
}

/* обёртка слайдера */
#works .works-wrap{
  position: relative;
  margin-top: 22px;
}

/* сами карточки в одну линию */
#works .works-slider{
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 70px 30px; /* место под стрелки */
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
#works .works-slider::-webkit-scrollbar{ display:none; }

/* карточка */
#works .work-card{
  position: relative;
  flex: 0 0 auto;
  width: 520px;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: center;
  transform: scale(0.98);
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(0.9);
  background: #eee;
}

#works .work-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  transition: transform .45s ease;
}

/* "туман" (как на скрине) */
#works .work-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0.65);
  opacity: 1;              /* по умолчанию затуманены */
  transition: opacity .35s ease;
}

/* подпись по центру */
#works .work-label{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-shadow: 0 6px 18px rgba(0,0,0,.55);
  z-index: 2;
  padding: 8px 16px;
  text-align: center;
  white-space: nowrap;
}

/* активная карточка (центральная) */
#works .work-card.active{
  transform: scale(1);
  filter: saturate(1);
}
#works .work-card.active::after{
  opacity: 0.15;           /* активная почти без тумана */
}
#works .work-card.active img{
  transform: scale(1.06);
}

/* стрелки */
#works .works-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  color: #111;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  opacity: .55;
  transition: opacity .25s ease, transform .25s ease;
}
#works .works-arrow:hover{
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
#works .works-arrow.prev{ left: 10px; }
#works .works-arrow.next{ right: 10px; }

/* белые боковые градиенты как на скрине */
#works .works-fade{
  position:absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 5;
  pointer-events:none;
}
#works .works-fade.left{
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
#works .works-fade.right{
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* индикаторы */
#works .works-dots{
  display:flex;
  justify-content:center;
  gap: 12px;
  margin-top: 16px;
}
#works .works-dots span{
  width: 54px;
  height: 6px;
  border-radius: 4px;
  background: #d9d9d9;
  cursor:pointer;
  transition: .25s ease;
}
#works .works-dots span.active{
  background: #ff6a00;
}

/* адаптив */
@media (max-width: 1200px){
  #works .work-card{ width: 460px; height: 360px; }
  #works .work-label{ font-size: 26px; }
}
@media (max-width: 900px){
  #works .works-arrow{ display:none; }
  #works .works-slider{ padding: 14px 18px 26px; gap: 18px; }
  #works .work-card{ width: 82vw; height: 340px; }
  #works .works-fade{ width: 90px; }
  #works .work-label{ font-size: 24px; }
}
@media (max-width: 520px){
  #works .works-head h2{ font-size: 34px; }
  #works .works-decor{ font-size: 14px; letter-spacing: 1px; }
  #works .work-card{ height: 310px; }
  #works .work-label{ font-size: 22px; }
  #works .works-dots span{ width: 34px; height: 5px; }
}
/* ✅ WORKS: удобный скролл и "прилипание" карточек */
#works .works-slider{
  scroll-snap-type: x mandatory;
  scroll-padding: 70px; /* чтобы центрирование было мягче */
  cursor: grab;
}

#works .works-slider:active{
  cursor: grabbing;
}

/* Чтобы подсказки/скролл не дергались */
#works .work-card{
  scroll-snap-align: center;
}

/* нижний код сюда  */
