
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2'),
         url('../fonts/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2'),
         url('../fonts/Roboto-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


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

html, body {
  font-family: 'Roboto', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.4;
  
  height: 100%;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  
   touch-callout: none;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
   scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: #404040;
}



input, textarea {
  font-size: 16px; /* или больше, чтобы браузер не увеличивал при фокусе */
  -webkit-text-size-adjust: 100%; /* для iOS Safari */
  -webkit-user-select: auto; /* чтобы отключить автоматическое масштабирование */
}

/* ====================== КОНТЕЙНЕР ====================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ====================== HEADER ====================== */
.header {
  background: #ffffff;
  padding-top: 10px;
  position: relative;
    z-index: 10;
}

.header__left span {
    font-size: clamp(13px, 2vw, 18px);
    font-weight: 700;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.header__left {
  display: flex;
  align-items: center;
}

.header__title h1 {
  font-size: 20px;
  margin-bottom: 3px;
}

.header__title p {
  font-size: 14px;
  color: #666;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header__contacts a:hover {
   opacity: 0.8;
}

.header__phone {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  color: #404040;
  position: relative;
    z-index: 5;
    pointer-events: auto;
    white-space: nowrap;
}

.header__city {
  font-size: 14px;
  color: #777;
  display: block;
  margin-top: 4px;
}
.header__logo{
    width: 65px;
    height: auto;
    position: relative;
    left: -6px;
    bottom: 2px;
}


.header__soc1als {
  display: flex;
    gap: 10px;
    margin-bottom: 2px;
}


.header__icon img {
    width: 30px;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header__icon img:hover {
    opacity: 0.7;
}


.nav {
  background: #404040;
}

.nav__list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding:10px 0;
}

.nav__list a {
  color: #fff;
  font-size: 14px;
  padding-bottom: 4px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #ffb400;
  transition: width 0.35s ease;
}

.nav__list li {
  padding: 5px 20px; 
  position: relative;
  transition: all 0.3s ease;
  
}

.nav__list li:hover a::after {
  width: 100%;
}

.menu-item.active a::after {
  width: 100%;
}

/* ====================== HERO ====================== */
.hero {
  /* height: 600px; */
  min-height: 400px;
  overflow: hidden;
  background-image: url("../img/bg-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 15px;
  position: relative;
}
.hero h1, p{
    color: #404040;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 400px;
 top: -10;
}
.hero__content h1{
    line-height: 110%;
}

.hero__content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero__content p {
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 600;
}
.hero__content .btn--outline{
    font-weight: 400;
    font-size: 16px;
    padding: 12px 40px;
}

.btn {
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn--yellow {
  background: #ffb400;
  color: #404040;
  transition: all 0.3s ease;
}
.btn--yellow:hover{
  background:#ffc04b;

}
.hero__container{
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  align-items: center;    
  gap: 30px;
    
}
.hero__img {
display: flex;
}

.hero__img img {
display: flex;
margin : 40px 0;
}



/* ====================== PARTNERS ====================== */
.partners {
    padding: 50px 0;
    text-align: center;
}

.section-title {
    font-size: 24px;
    color: #404040;
    margin-bottom: 30px;
    text-align: center;
}

.partners-wrapper {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scrollPartners 15s linear infinite;
    will-change: transform;
}

.partners-list {
    display: flex;
    align-items: center;
    gap: 10px;
}
.partners-list:first-child {
    padding-right: 20px; /* такое же значение, как gap */
}

.partner-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    pointer-events: none;
}

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



/* ====================== CONTACT FORM ====================== */
.contact {
  background: 
  linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.7)), url("../img/bg-order.png");
  color: #fff;
  text-align: center;
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
}

.contact__form {
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
contact__container{
    
}
.contact__container h2 {
    text-align: center;
    max-width: 450px;
    margin: 0 auto 30px;
}
.input {
  padding: 12px 15px;
  border-radius: 4px;
  border: none;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Ошибки под полями */
.field-error {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
}

.input.error {
    border: 1px solid #ff4d4d;
}

/* Общая ошибка формы */
.form-error {
    margin-bottom: 15px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #ffdddd;
    border-left: 4px solid #ff4d4d;
    color: #700000;
    font-size: 14px;
}

/* Стили для модального окна */
#successModal {
  display: none; /* по умолчанию скрыто */
  position: fixed;
  z-index: 999;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* Показывать модалку при наличии класса active */
#successModal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стиль для содержимого модалки */
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Кнопка закрытия */
#modalClose {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #404040;
}

#modalClose:hover {
  color: red;
}

/* Кнопка "ОК" внутри модалки */
#modalOk {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ffb400;
  color:  #404040;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#modalOk:hover {
  background:#ffc04b;
}

/* скрываем по умолчанию */
#successModal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
#successModal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #ededed;
  padding: 20px;
  position: relative;
  max-width: 400px;
  width: 100%;
  margin: 20px;
}
.modal-content h2{
    color: #404040;
}
.close {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/*LED — Основная сетка*/
.led{
    padding: 40px 20px;
}
.led__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Левая часть (аккордеоны) */
.led__content {
    flex: 1 1 50%;
}

/* Правая часть (картинка) */
.led__image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.led__image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* BUS — Верстка*/
.bus{
    padding: 40px 20px;
}
.bus__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Фото слева */
.bus__image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.bus__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Контент справа */
.bus__content {
    flex: 1 1 50%;
}


/* ===========================================
   Аккордеоны
=========================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Заголовок аккордеона */
.accordion-header {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    background: #ffb400;
    border: none;
    position: relative;
    transition: background 0.3s ease;
}


/* Стрелка */
.accordion-header::after {
    content: "▼";
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .3s ease;
}

/* Если открыто — стрелка вверх */
.accordion-item.active .accordion-header::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Содержимое аккордеона */
.accordion-body {
    display: none;
    padding: 20px;
    animation: fadeIn .3s ease;
    background: #fff;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.accordion-buttons a {
    flex: 1;
    text-align: center;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Кнопка "Показать фото" */
.show-gallery {
    margin-top: 15px;
    background: #d2d2d2;
    font-size: 12px;
}

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

.modal-overlay.active {
    display: flex;
}

.gallery-window {
    position: relative;
    background: #fff;
    padding: 20px;
    max-width: 700px;
    width: 80%;
    border-radius: 10px;
    text-align: center;
}

.gallery-slide {
    display: none;
    max-width: 100%;
    border-radius: 8px;
}

.gallery-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #d59b00;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    width: 40px;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #d59b00;
    color: #fff;
    border: none;
    font-size: 26px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
}

.gallery-prev { left: -20px; }
.gallery-next { right: -20px; }



/* ====================== FOOTER ====================== */
.footer {
  padding: 25px 0;
  background: #404040;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: #ffb400;
}

.prices {
  padding: 40px 20px;
}



.prices h1{
    text-align: left;
    padding-left: 20px;
    position: relative;
}
.prices h1::before{
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: 32px;
    background-color: #ffb400;
    border-radius: 3px;
}

.prices h2{
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* Обёртка для адаптивной таблицы */
.price-table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
}

.price-table-wrapper::-webkit-scrollbar{
    height: 10px;
}
.price-table-wrapper::-webkit-scrollbar-track{
    background: #eee;
    border-radius: 10px;
}
.price-table-wrapper::-webkit-scrollbar-thumb{
    background: #ffb400;  
    border-radius: 10px;
}
.price-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #d69a00; 
}


/* Основная таблица */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 720px;
}

.price-table th,
.price-table td {
  border: 1px solid #dddddd;
  padding: 10px 12px;
  font-size: 14px;
  text-align: left;
}

.price-table th {
  background: #f5f5f5;
  font-weight: 600;
}

.price-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.price-table--small {
  min-width: 0;
}

.service-name {
  font-weight: 500;
}

/* Подписи под таблицей */
.price-footnote {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Заголовок LED блока */
.section-title--mt {
  margin-top: 40px;
}

.section-title__small {
  display: inline-block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
}

/* Краткие блоки по LED */
.led-price-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 26px;
}

.price-box {
  flex: 1 1 260px;
  background: #fff7e0;
  border: 1px solid #ffd066;
  border-radius: 10px;
  padding: 14px 18px;
}

.price-box__label {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  text-align: center;
}

.price-box__value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  text-align: center;
}

/* Блок с кнопкой прайса A4 */
.price-a4 {
  text-align: center;
  margin-top: 30px;
}

.price-a4__hint {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.btn--price{
    font-size: 12px;
    margin-top: 15px;
}

/* Обводочная кнопка */
.btn--outline {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  border: 1px solid #404040;
  background: transparent;
  color: #404040;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn--outline:hover {
  background: #ffb400;

}

/* Модалка с A4-прайсом
   (использует уже существующие .modal-overlay / .modal-window / .gallery-close) */

.price-modal-window {
  max-width: 900px;
  /*width: 95%;*/
  padding: 20px;
  border-radius: 10px;
  background: #ffffff;
}

.price-modal-image {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ====================== ABOUT ====================== */
.about__list {
  list-style: none; 
  padding: 0;
}

.about__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;

  background: url("../img/icons/check.png") no-repeat center;
  background-size: contain;
}

.about {
  padding: 40px;
}

.about__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* ---- Левый блок (текст) ---- */
.about__content {
  flex: 1 1 50%;
  animation: fadeInLeft .6s ease;
}

.about__title {
  font-size: 24px;
  margin-bottom: 25px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about__line {
  display: inline-block;
  width: 4px;
  height: 32px;
  background: #ffb400;
  border-radius: 3px;
}

.about__text {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: #333;
}

/* ---- Правый блок (фото) ---- */
.about__photo {
  flex: 1 1 50%;
  text-align: center;
  animation: fadeInRight .6s ease;
}

.about__photo-wrapper {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  display: inline-block;
  max-width: 70%;
}

.about__photo img {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
}

.about__name {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  display: block;
}

.about__name small {
  font-size: 15px;
  color: #666;
}

/* ---------- АНИМАЦИИ ---------- */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}


/* ====================== CONTACTS PAGE ====================== */
.contacts-page{
    padding: 40px;
}
.contacts-page h1{
    text-align: left;
    padding-left: 20px;
    position: relative;
}
.contacts-page h1::before{
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: 32px;
    background-color: #ffb400;
    border-radius: 3px;
}
.contacts__wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.contacts__block {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 30px;
    align-items: flex-start;
}

/* Левая часть */
.contacts__info {
    flex: 1 1 50%;
}

.contacts__city {
    font-size: 18px;
    margin-bottom: 20px;
}

.contacts__item {
    margin-bottom: 12px;
}

.contacts__label {
    font-weight: 600;
}

.contacts__link {
    font-weight: 500;
    margin-left: 8px;
    transition: 0.2s;
}

.contacts__link:hover {
    opacity: 0.8;
}

.contacts__subtitle {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
}

.contacts__soc1als {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.soc1al-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.soc1al-link img {
    width: 26px;
    height: 26px;
}

.soc1al-placeholder {
    width: 26px;
    height: 26px;
    background: #ccc;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
}

/* Правая часть — фото */
.contacts__photo {
    flex: 1 1 50%;
}

.contacts-photo-box {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contacts-photo-img {
    width: 100%;
    border-radius: 10px;
}





@media (max-width: 992px) {
    .header__logo{
        width: 50px;
    }
    
     .contacts__block {
        flex-direction: column;
        gap: 40px;
    }

    .contacts-photo-img {
        max-height: 400px;
        object-fit: cover;
        width: 100%;
    }
 
 .led__wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .led__image {
        order: -1; /* Фото сверху */
    }

    .led__image img {
        max-width: 100%;
    }
    
    .bus__wrapper {
        flex-direction: column;
        gap: 25px;
    }

    /* Фото сверху */
    .bus__image {
        order: -1;
    }

    .bus__image img {
        max-width: 100%;
    }
    
    .page-title {
    font-size: 22px;
  }

  .price-table {
    min-width: 640px;
  }
  .prices h2{
      font-size: 14px
  }
 .about__wrapper {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .about__content {
    animation: fadeInUp .6s ease;
  }

  .about__photo {
    animation: fadeInUp .6s ease;
  }
  .hero__content .btn--outline:hover {
  background: initial;
  }

}


@media (max-width: 768px) {
    .partner-logo {
        height: 40px;
    }
    .partners-scroll {
        gap: 40px;
        animation-duration: 35s;
    }
    .header__soc1als .soc1al-link img {
    width: 22px;
    height: 22px;
  }
  
  .hero{
      min-height: 600px;
      padding-top: 30px;
  }
  
  .hero__container{
      flex-direction: column;
      align-items: center;
  }
  
  .hero__content{
      text-align: center;
  }
  .hero__content p {
    margin-bottom: 15px;
}
    .hero__img {
    max-width: 385px;
    position: absolute;
    justify-content: center;
    bottom: 30px;
  }
    .hero__img img {
    margin: 0px;
  }
  .led__wrapper,
  .bus__wrapper {
    flex-direction: column;
  }

 
  .led__accordion {
    order: 2;
  }


.gallery-close {
 position: absolute;
 top: 8px;
 right: 12px;
 background: #d59b00;
 border: none;
 font-size: 36px;
 color: #fff;
 cursor: pointer;
 width: 40px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  padding: 0 10px;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.page-title {
    font-size: 19px;
  }

  .price-table {
    min-width: 560px;
  }

  .price-box__value {
    font-size: 16px;
  }
 
 
  
}


@media (max-width: 480px) {
    .partner-logo {
        height: 35px;
    }
    .partners-scroll {
        gap: 30px;
        animation-duration: 45s;
    }
    .accordion-buttons {
        flex-direction: column;
    }
    .btn--price{
    margin-top: 0px;
}
}

.accordion-header,
.accordion-body,
.accordion-body p {
    color: #404040;
}