
body { font-family: 'Segoe UI', Tahoma, sans-serif; margin:0; padding:0; background:#f8f9fb; color:#222; }
header { background: linear-gradient(135deg,#0057b7,#00b7ff); color:#fff; text-align:center; padding:20px 10px; }
header h1 { margin:0; font-size:24px; }
header p { margin:5px 0 15px; font-size:16px; }
header .contacts a { display:inline-block; margin:5px; padding:12px 20px; border-radius:8px; text-decoration:none; font-weight:600; color:#fff; }
header .contacts a.phone { background:#ff6b00; }
header .contacts a.whatsapp { background:#25d366; }
header .contacts a:hover { opacity:0.9; }

.container { max-width:900px; margin:20px auto; padding:0 15px; }
.about-master { display:flex; flex-wrap:wrap; align-items:center; background:#fff; padding:15px; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,0.08); margin-bottom:20px; }
.about-master img { max-width:200px; border-radius:8px; margin-left:15px; }
.services { display:grid; gap:10px; margin:20px 0; }
.service { background:#fff; padding:14px; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,0.08); }

footer { background:#222; color:#ccc; text-align:center; padding:20px 10px; font-size:13px; }
footer a { color:#66b3ff; text-decoration:none; }
footer a:hover { text-decoration:underline; }

@media(max-width:600px){ .about-master { flex-direction:column; } .about-master img { margin:15px 0 0 0; } }



.marquee-container {
  background-color: #FFD700;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  border-top: 2px solid #e6c200;
  border-bottom: 2px solid #e6c200;
  box-sizing: border-box;
}

.marquee {
  display: flex;
  width: 100%;
}

.marquee-track {
  display: flex;               /* важно flex, не inline-flex */
  flex-shrink: 0;              /* не сжимать */
  min-width: max-content;      /* чтобы текст не переносился */
  animation: marquee 90s linear infinite;
  will-change: transform;      /* ускорение на мобильных */
  transform: translate3d(0,0,0); /* включаем аппаратное ускорение */
}

.marquee-track span {
  display: inline-block;
  margin: 0 30px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: #000;
  position: relative;
  padding-right: 20px;
}

.marquee-track span::after {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: #000;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* адаптив для смартфонов, чтобы бегущая строка всегда была видна */
@media (max-width: 768px) {
  .marquee-track span {
    margin: 0 15px; /* меньше расстояние для маленьких экранов */
    font-size: 14px;
  }
}



/* ОБЩИЙ СТИЛЬ ДЛЯ ВСЕХ КНОПОК */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  transition: 0.2s;
  position: relative;
}

/* ЦВЕТА */
.phone { background-color: #ff6b00; }
.whatsapp { background-color: #25D366; }
.max { background-color: #002d3b; }

/* HOVER */
.phone:hover { background-color: #ff7f24; }
.whatsapp:hover { background-color: #1ebe57; }
.max:hover { background-color: #004a5f; }

/* ИКОНКА */
.icon {
  width: 16px;
  height: auto;
}

/* TOOLTIP */
.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  width: 220px;
  text-align: center;
  transition: 0.3s;
}

.phone:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* АДАПТИВ */
@media (max-width: 600px) {
  .btn {
    width: 100%;
  }
}



  .seo-block details {
      text-align: center !important;
      margin-bottom: 15px;
      transition: all 0.3s ease;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 8px 12px;
      background: #fafafa;
  }

  .seo-block details[open] {
      background: #f0f7ff;
      border-color: #3b82f6;
  }

  .seo-block summary {
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      position: relative;
      padding-right: 25px;
      list-style: none;
      user-select: none;
  }

  /* стрелочка справа */
  .seo-block summary::after {
      content: '►';
      position: absolute;
      right: 10px;
      transition: transform 0.3s ease;
      font-size: 18px;
      color: #3b82f6;
  }

  /* стрелка вниз, когда раскрыт */
  .seo-block details[open] summary::after {
      transform: rotate(90deg);
  }

  .seo-block details div,
  .seo-block details p,
  .seo-block details ul,
  .seo-block details li {
      text-align: center !important;
      margin-top: 10px;
  }

  .seo-block details ul {
      padding-left: 0;
      list-style: none;
  }

  .seo-block details ul li::before {
      content: "✓";
      color: #3b82f6;
      margin-right: 6px;
  }

  .seo-block details h4 {
      margin-top: 10px;
      color: #1f4f91;
  }


      .seo-recommendations details {
        background:#fff8e1;
        border-left:5px solid orange;
        border-radius:8px;
        margin:10px 0;
        padding:12px 15px;
        transition: all 0.3s ease;
        cursor: pointer;
        overflow: hidden;
      }
      .seo-recommendations summary {
        font-weight:600;
        font-size:16px;
        position: relative;
        padding-right:25px;
        list-style:none;
        user-select:none;
      }
      .seo-recommendations summary::after {
        content: "►";
        position: absolute;
        right:10px;
        transition: transform 0.3s ease;
        font-size:16px;
        color:orange;
      }
      .seo-recommendations details[open] summary::after {
        transform: rotate(90deg);
      }
      .seo-recommendations details p {
        margin-top:10px;
        line-height:1.5;
        color:#333;
        max-height:0;
        opacity:0;
        transition: all 0.5s ease;
      }
      .seo-recommendations details[open] p {
        max-height:500px;
        opacity:1;
      }
      .seo-recommendations summary span.emoji {
        margin-right:8px;
      }

      /* Блок отзывов внутри с анимацией появления */
      .reviews {
        margin-top:25px;
        border-top:1px solid #ddd;
        padding-top:20px;
        opacity:0;
        transform: translateY(20px);
        transition: all 0.7s ease;
      }
      .reviews.visible {
        opacity:1;
        transform: translateY(0);
      }
      .reviews blockquote {
        background:#fff;
        border-radius:8px;
        padding:15px;
        margin:10px 0;
        text-align:center;
        color:#444;
        border-left:4px solid #3b82f6;
      }
    
    

.order-button-container {
  text-align: center;
  margin: 20px 0;
}

.order-button {
  display: inline-block;
  background-color: #ff6600;
  color: #fff;
  font-size: 16px; /* уменьшил шрифт для ПК */
  font-weight: bold;
  padding: 10px 20px; /* уменьшил padding */
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* запрет переносов */
}

.order-button:hover {
  background-color: #e05500;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .order-button {
    font-size: 14px; /* еще меньше шрифт на мобильных */
    padding: 8px 16px;
  }
}



.contact-buttons-wrapper {
  position: fixed;
  bottom: 120px; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  gap: 8px;
  justify-content: center;
  background: transparent;
}

.contact-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 6px; 
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 15px; 
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  user-select: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 60px; 
  position: relative;
}

.contact-button .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 6px;
  white-space: pre-line;
  text-align: center;
  z-index: 10;
  transition: opacity 0.3s, transform 0.3s;
}
.contact-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}

/* Кнопка Позвонить */
.call-button {
  background-color: #ff6b00;
  color: white;
  box-shadow: 0 0 10px rgba(255,107,0,0.7);
}
.call-button:hover {
  background-color: #ff832f;
  box-shadow: 0 0 12px rgba(255,107,0,0.9);
}

/* Кнопка WhatsApp */
.whatsapp-button {
  background-color: #25D366;
  color: white;
  box-shadow: 0 0 10px rgba(37,211,102,0.7);
}
.whatsapp-button:hover {
  background-color: #1ebe57;
  box-shadow: 0 0 12px rgba(37,211,102,0.9);
}

/* Кнопка MAX */
.max-button {
  background: linear-gradient(90deg, #0078ff, #00c3ff);
  color: white;
}
.max-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0,180,255,0.8);
}

/* Кнопка Telegram */
.telegram-button {
  background-color: #0088cc;
  color: white;
  box-shadow: 0 0 10px rgba(0,136,204,0.7);
}
.telegram-button:hover {
  background-color: #006699;
  box-shadow: 0 0 12px rgba(0,136,204,0.9);
}

/* Glow для всех кнопок */
.glow {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shine 2.5s infinite linear;
  pointer-events: none;
}
@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

.icon, .icon-img {
  width: 12px; 
  height: 12px;
}

.text {
  line-height: 1;
  text-align: center;
}

@media (max-width: 480px) {
  .contact-buttons-wrapper {
    bottom: 60px;
    gap: 6px;
  }
  .contact-button {
    padding: 3px 5px;
    font-size: 10px;
    min-width: 50px;
  }
  .icon, .icon-img {
    width: 10px;
    height: 10px;
  }
  .contact-button .tooltip {
    font-size: 9px;
    padding: 3px 5px;
  }
}


#error-report-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}
#error-report-modal.active {
  display: flex;
}
.error-modal-box {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: left;
  position: relative;
}
.error-modal-box h3 {
  margin-top: 0;
  color: #333;
  font-size: 18px;
}
.error-selected {
  background: #f6f6f6;
  padding: 8px 10px;
  border-left: 3px solid #ff6600;
  margin: 10px 0;
  font-style: italic;
  color: #444;
  white-space: pre-line;
}
.error-modal-box textarea {
  width: 100%;
  height: 70px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 14px;
  resize: vertical;
}
.error-modal-box button {
  margin-top: 10px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.error-modal-box button:hover {
  background-color: #e05500;
}
.error-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #777;
  cursor: pointer;
}

/* 👉 Стиль кнопки Добавить в закладки */
.bookmark-btn {
  margin-top: 10px;
  background: #0080ff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}
.bookmark-btn:hover {
  background: #006ad1;
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}


/* Плашка согласия на cookie — в потоке страницы */
#cookieConsentBox,
#cookieConsentBox * {
  box-sizing: border-box;
}

#cookieConsentBox {
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;

  position: static;
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 28px auto 16px;
  padding: 20px 24px;

  background: #242b35;
  color: #f7f9fc;
  border: 1px solid #414b59;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);

  font: 14px/1.6 Arial, sans-serif;
}

#cookieConsentBox .cookie-consent-text {
  flex: 1 1 300px;
  min-width: 0;
}

#cookieConsentBox a {
  color: #9ed8b0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cookieConsentBox .cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#cookieConsentBox button,
#cookieSettingsButton {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  font: 600 13px/1.3 Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#cookieConsentBox .cookie-reject {
  border: 1px solid #8993a0;
  background: transparent;
  color: #fff;
}

#cookieConsentBox .cookie-accept {
  border: 1px solid #38a65a;
  background: #38a65a;
  color: #fff;
}

#cookieSettingsWrap {
  display: none;
  position: static;
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 8px auto 20px;
  text-align: right;
}

#cookieSettingsButton {
  border: 1px solid #cbd2da;
  background: #fff;
  color: #303944;
}

#cookieConsentBox button:hover {
  filter: brightness(1.08);
}

@media (max-width: 600px) {
  #cookieConsentBox {
    width: calc(100% - 24px);
    margin: 20px auto 12px;
    padding: 16px;
    gap: 12px;
  }

  #cookieConsentBox .cookie-consent-text {
    flex-basis: 100%;
  }

  #cookieConsentBox .cookie-consent-actions {
    width: 100%;
  }

  #cookieConsentBox button {
    flex: 1 1 130px;
    min-height: 44px;
  }

  #cookieSettingsWrap {
    width: calc(100% - 24px);
  }
}