/* =========================================================
   БЫСТРАЯ СВЯЗЬ С ПЕРСОНАЛЬНЫМ МЕНЕДЖЕРОМ
   Телефон / WhatsApp / Telegram
   ========================================================= */

.manager-messengers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 15px;
}

.manager-messengers-title {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  margin-right: 4px;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 7px 11px;

  border-radius: 8px;
  border: none;

  color: #fff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  box-sizing: border-box;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    opacity .2s ease;
}

.messenger-btn img {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  opacity: .94;
}


/* Телефон */

.messenger-btn.phone {
  background: #ff6b00;
}


/* WhatsApp */

.messenger-btn.whatsapp {
  background: #25D366;
}


/* Telegram */

.messenger-btn.telegram {
  background: #229ED9;
}


/* Мобильная версия */

@media (max-width: 600px) {

  .manager-messengers {
    gap: 6px;
  }

  .manager-messengers-title {
    width: 100%;
    margin-right: 0;
    margin-bottom: 2px;
    font-size: 13px;
  }

  .messenger-btn {
    padding: 6px 9px;
    font-size: 12px;
  }

  .messenger-btn img {
    width: 20px;
    height: 20px;
  }

}


/* =========================================================
   ПЕРСОНАЛЬНЫЙ МЕНЕДЖЕР ДЛЯ КОРПОРАТИВНЫХ КЛИЕНТОВ
   ========================================================= */

.personal-manager {
  display: flex;
  align-items: center;
  gap: 16px;

  margin: 22px 0;
  padding: 16px 18px;

  background: linear-gradient(135deg, #f7fbff, #eef6ff);
  border: 1px solid #d9e8f7;
  border-left: 5px solid #0055aa;
  border-radius: 14px;

  box-shadow: 0 5px 16px rgba(0, 60, 120, 0.08);

  box-sizing: border-box;
  overflow: hidden;
}


/* Текстовая часть */

.manager-content {
  flex: 1;
  min-width: 0;
}

.manager-content h4 {
  margin: 0 0 10px;

  color: #083b66;
  font-size: 20px;
  line-height: 1.3;
}

.manager-content p {
  margin: 8px 0;

  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}


/* Преимущества */

.manager-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 8px 18px;
  margin-top: 14px;
}

.manager-features div {
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.manager-features span {
  color: #198754;
  font-weight: 700;
  margin-right: 5px;
}


/* Нижняя информационная плашка */

.manager-note {
  margin-top: 15px;
  padding: 11px 13px;

  background: rgba(0, 85, 170, 0.07);
  border-radius: 8px;

  color: #24445f;
  font-size: 14px;
  line-height: 1.5;
}


/* =========================================================
   ФОТО МЕНЕДЖЕРА — МАЛЕНЬКАЯ КРУГЛАЯ ИКОНКА
   ========================================================= */

.manager-photo {
  flex: 0 0 52px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.manager-photo img {
  display: block;

  width: 52px;
  height: 52px;

  object-fit: cover;

  border-radius: 50%;

  border: 2px solid #0055aa;

  box-shadow: 0 3px 10px rgba(0, 60, 120, 0.18);
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 700px) {

  .personal-manager {
    gap: 12px;
    padding: 15px;
  }

  .manager-photo {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;
  }

  .manager-photo img {
    width: 48px;
    height: 48px;
  }

  .manager-content h4 {
    font-size: 18px;
  }

  .manager-content p {
    font-size: 14px;
  }

  .manager-features {
    grid-template-columns: 1fr;
    gap: 7px;
  }

}
/* =========================
   MAX — корпоративная связь
   ========================= */

.max-contact-block {
  margin-top: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-sizing: border-box;
}

.max-contact-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.max-contact-title img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.max-contact-title strong {
  display: block;
  font-size: 17px;
  color: #fff;
}

.max-contact-title span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.max-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.max-link {
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;

  color: #fff;
  text-decoration: none;

  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 9px;

  transition:
    background .25s ease,
    transform .25s ease,
    border-color .25s ease;
}

.max-link > span {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.max-link strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.max-link small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255,255,255,0.62);
}

.max-link:hover {
  transform: translateY(-2px);
  background: rgba(0,122,255,0.16);
  border-color: rgba(0,160,255,0.45);
}

@media (max-width: 600px) {

  .max-contact-block {
    padding: 13px;
  }

  .max-contact-links {
    flex-direction: column;
  }

  .max-link {
    flex: none;
    width: 100%;
  }
}




.hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    padding: 40px 30px 60px;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("https://elektriki16.ru/poverka/img/goro.jpg") center center / cover no-repeat;
    filter: brightness(0.45);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 1000px;
    width: 100%;
    margin: 0 auto;

    text-align: center;
    color: #fff;

    background: rgba(0, 0, 0, 0.38);
    padding: 25px 35px;
    border-radius: 18px;
    box-sizing: border-box;
}

.hero-content h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 38px;
    line-height: 1.2;
}

.hero-content h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 27px;
    line-height: 1.3;
}

.hero-content p {
    margin: 12px 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.65;
}

.hero-content strong {
    color: #fff;
}

.hero-photo-note {
    position: absolute;
    z-index: 3;
    bottom: 15px;
    left: 20px;

    color: rgba(255,255,255,0.85);
    font-size: 12px;

    background: rgba(0,0,0,0.45);
    padding: 5px 10px;
    border-radius: 6px;
}

@media (max-width: 600px) {

    .hero {
        min-height: 650px;
        padding: 20px 12px 50px;
    }

    .hero-content {
        padding: 22px 18px;
    }

    .hero-content h1 {
        font-size: 27px;
    }

    .hero-content h2 {
        font-size: 21px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.55;
    }
}
/* =========================================
   КОРПОРАТИВНЫЙ FAQ — КРЕСТИК / МИНУС
   ========================================= */

/* Кнопка корпоративного FAQ */

#corporate-faq .faq-question {
  position: relative;
  padding-right: 60px;
}

/* Закрыто — плюс */
#corporate-faq .faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;

  font-size: 30px;
  font-weight: 300;
  line-height: 1;

  color: #fff;

  transform: translateY(-50%) rotate(0deg);
  transition: 
    transform 0.4s ease,
    color 0.3s ease;
}

/* Открыто — красный минус */
#corporate-faq .faq-item.active > .faq-question::after {
  content: "−";
  color: #ff2b2b;
  transform: translateY(-50%) rotate(180deg);
}

/* Красная окантовка открытого вопроса */
#corporate-faq .faq-item.active > .faq-question {
  box-shadow: 0 0 0 2px rgba(255, 43, 43, 0.35);
}

.faq-question {
  position: relative;
  padding-right: 60px;
}

/* Плюс / крестик справа */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  color: #ffffff;

  transform: translateY(-50%) rotate(0deg);
  transition:
    transform 0.4s ease,
    color 0.3s ease;
}

/* Открытый вопрос */
.faq-item.active .faq-question::after {
  content: "−";
  color: #ff2b2b;
  transform: translateY(-50%) rotate(180deg);
}

/* Красивая окантовка открытого вопроса */
.faq-item.active .faq-question {
  box-shadow:
    0 0 0 2px rgba(255, 43, 43, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.12);

  border-radius: 10px;
}

/* Небольшой эффект при наведении */
.faq-question:hover::after {
  transform: translateY(-50%) scale(1.12);
}

.faq-item.active .faq-question:hover::after {
  transform: translateY(-50%) rotate(180deg) scale(1.12);
}
/* ===== КОРПОРАТИВНЫЙ FAQ ===== */

#corporate-faq .faq-answer {
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 20px !important;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;

  transition:
    max-height 0.4s ease,
    padding 0.4s ease,
    opacity 0.3s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

#corporate-faq .faq-item.active > .faq-answer {
  max-height: 5000px !important;
  padding: 18px 20px !important;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}





    body { font-family: Arial, sans-serif; margin: 0 15px; background: #f9f9f9; color: #222; }
    h1, h2 { color: #0055aa; text-align: center; }
    nav { text-align: center; margin: 20px 0; }
    nav a { margin: 0 10px; text-decoration: none; color: #0055aa; font-weight: 600; }
    nav a:hover { text-decoration: underline; }
    .breadcrumb { max-width: 900px; margin: 15px auto; font-size: 14px; color: #555; }
    .breadcrumb ol { list-style: none; padding: 0; display: flex; gap: 5px; justify-content: center; }
    .breadcrumb li { display: inline; }
    .breadcrumb a { color: #0055aa; text-decoration: none; }
    .breadcrumb a:hover { text-decoration: underline; }
    main { max-width: 1550px; width: 100%; margin: 0 auto 50px; background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
    .contact-info { margin: 20px 0; font-size: 16px; }
    .contact-info strong { color: #0055aa; }
    form { max-width: 400px; margin: 0 auto; }
    label { display: block; margin: 15px 0 5px; font-weight: 600; }
    input[type="text"], input[type="tel"], input[type="email"] {
      width: 100%; padding: 8px 10px; font-size: 16px; border: 1px solid #ccc; border-radius: 4px;
      box-sizing: border-box;
      transition: border-color 0.3s;
    }
    input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus { border-color: #0055aa; outline: none; }
    .checkbox-label {
      font-weight: normal;
      font-size: 14px;
      margin-top: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    button {
      margin-top: 20px;
      width: 100%;
      padding: 12px;
      background-color: #0055aa;
      color: white;
      border: none;
      font-size: 16px;
      font-weight: 700;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    button:disabled {
      background-color: #ccc;
      cursor: not-allowed;
    }
    button:hover:enabled { background-color: #003f7f; }
    .error-message {
      color: red;
      font-size: 13px;
      margin-top: 3px;
    }


.top-nav {
  position: sticky;   /* ВАЖНО — теперь липкое */
  top: 0;
  width: 100%;
  z-index: 1000;

  background: transparent; /* прозрачное */
}

/* если хочешь лёгкий эффект при скролле — можно потом добавить фон */

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 15px 20px;
  margin: 0;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.nav-links a:hover {
  text-decoration: underline;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 42px; /* минимально под фиксированное меню */
  background: #fafafa;
  color: #222;
}

/* МЕНЮ (тонкое) */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fffaf5;
  border-bottom: 1px solid #f2e6da;
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #a56f45;
  font-size: 13px;
  padding: 2px 4px;
}

.nav-links a:hover {
  color: #82532f;
}

/* ВЕРХ (супер тонкий) */
.first-block-wrapper {
  background-color: #f0f8ff;
  padding: 2px 8px 2px 8px; /* минимальные отступы */
}

/* ВСЁ В ОДНУ ЛИНИЮ */
.short-term-rent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; 
  flex-wrap: wrap;
  text-align: center;
}

/* ЛОГО */
.short-term-rent img.logo {
  max-width: 75px;
  height: auto;
  display: inline-block;
}

/* ТЕКСТ В ОДНУ СТРОКУ */
.header-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0; 
}

/* ЗЕЛЕНАЯ ТОЧКА */
.online-indicator {
  width: 6px;
  height: 6px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* КРОШКИ (микро) */
.breadcrumbs {
  text-align: center;
  font-size: 10px;
  margin: 0; 
  color: #555;
}

.breadcrumbs a {
  color: #0077ff;
  text-decoration: none;
}

/* ПОДНЯТИЕ MAIN */
main {
  margin-top: -20px; /* поднять текст на ~1 см (скорректировал) */
}

/* Убираем верхний маргин у H1 */
main h1 {
  margin-top: 0;
}

/* МОБИЛКА */
@media (max-width: 768px) {
  .header-title {
    font-size: 12px;
  }

  .short-term-rent img.logo {
    max-width: 65px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 12px;
  }

  /* Смещаем блок вниз, чтобы логотип и хлебные крошки не перекрывались меню */
  .first-block-wrapper {
    padding-top: 50px; /* примерно высота меню + небольшой отступ */
    padding-bottom: 4px;
  }
}

/* Общий стиль блока */
.corporate-contacts {
  max-width: 1200px;
  margin: 50px auto;
  padding: 25px 30px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  font-family: Arial, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.corporate-contacts.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Заголовок */
.corporate-contacts h3 {
  color: #0073e6;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
}

/* Каждый контакт */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Мерцающая иконка */
.blink-icon {
  animation: blink 1.5s infinite alternate;
}

@keyframes blink {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* Ссылки */
.contact-item a {
  color: #ff9800;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover эффект */
.contact-item:hover {
  transform: scale(1.05);
  background: rgba(0,115,230,0.05);
}

.contact-item:hover a {
  color: #e67e22;
}

/* Адаптив */
@media (max-width: 650px) {
  .corporate-contacts {
    padding: 20px;
  }
  .contact-item {
    gap: 8px;
    padding: 8px 12px;
  }
  .contact-item img {
    width: 20px;
    height: 20px;
  }
}

.error-message { color: #d93025; font-size: 0.9em; margin-top: 3px; min-height: 18px; }
#formMessage.success { color: green; }
#formMessage.error { color: red; }
#submitBtn.sending { opacity: 0.6; cursor: wait; }

.file-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin-top: 10px; font-size: 14px; transition: color 0.3s ease; }
.file-label:hover { color: #007bff; }
#clipIcon { display: inline-block; transition: transform 0.3s ease, color 0.3s ease; }
#clipIcon.active { transform: rotate(-25deg) scale(1.2); color: #28a745; }

/* ===== ПРИОРИТЕТНАЯ ЗАЯВКА ===== */



@keyframes fadeIn { from {opacity:0; transform:translateY(-20px);} to {opacity:1; transform:translateY(0);} }

    .corp-btn{
      display:flex;
      align-items:center;
      gap:14px;
      padding:18px 26px;
      border-radius:14px;
      font-weight:600;
      text-decoration:none;
      color:#fff;
      max-width:520px;
      transition:.35s cubic-bezier(.4,0,.2,1);
      box-shadow:0 6px 18px rgba(0,0,0,.18);
      position:relative;
      overflow:hidden;
    }
    .corp-btn:hover{
      transform:translateY(-4px);
      box-shadow:0 14px 35px rgba(0,0,0,.28);
      animation:microShake .25s linear 1;
    }
    .corp-btn svg{
      width:28px;
      height:28px;
      transition:.4s cubic-bezier(.34,1.56,.64,1);
    }
    .corp-btn:hover svg{
      animation:clipFly .55s cubic-bezier(.34,1.56,.64,1);
    }
    .btn-docs{
      background:linear-gradient(135deg,#0b5ed7,#084298);
    }
    .btn-card{
      background:linear-gradient(135deg,#6f42c1,#59339d);
    }
    .corp-btn::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(120deg,
        transparent 20%,
        rgba(255,255,255,.25),
        transparent 80%);
      opacity:0;
      transition:.4s;
    }
    .corp-btn:hover::after{opacity:1;}
    @keyframes clipFly{
      0%{transform:translate(0,0) rotate(0)}
      30%{transform:translate(-6px,-8px) rotate(-12deg)}
      60%{transform:translate(6px,-14px) rotate(8deg)}
      100%{transform:translate(0,0) rotate(0)}
    }
    @keyframes microShake{
      0%{transform:translateY(-4px)}
      25%{transform:translateY(-4px) translateX(-1px)}
      50%{transform:translateY(-4px) translateX(1px)}
      75%{transform:translateY(-4px) translateX(-1px)}
      100%{transform:translateY(-4px)}
    }
    @media(max-width:600px){
      .corp-btn{max-width:100%; justify-content:center;}
    }

    .edo-card{
      background:#f8f9fa;
      border-radius:12px;
      padding:20px;
      margin-bottom:16px;
      border-left:5px solid #198754;
    }
    .edo-btn{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:12px 18px;
      border-radius:10px;
      font-weight:600;
      text-decoration:none;
      color:#fff;
      margin-top:10px;
      transition:.3s;
    }
    .edo-btn:hover{
      transform:translateY(-2px);
      box-shadow:0 6px 18px rgba(0,0,0,.2);
    }
    .btn-diadoc{background:#0d6efd;}
    .btn-sbis{background:#6f42c1;}
    .edo-btn svg{width:22px;height:22px;}
    
    .edo-card code {
  display: block;
  font-size: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}


  .trust-strip { max-width: 1100px; margin: 40px auto; padding: 20px; background:#fff; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,0.06); }
  .trust-strip h3 { text-align:center; color:#0055aa; margin:0 0 12px; }
  .carousel {
    display:flex;
    gap:16px;
    overflow:hidden;
    align-items:center;
    position:relative;
    padding: 10px 0;
  }
  .carousel-track {
    display:flex;
    gap:16px;
    transition: transform 0.6s ease;
    will-change: transform;
  }
  .card {
    min-width:170px;
    max-width:170px;
    background:#f7fbff;
    border-radius:8px;
    padding:14px;
    text-align:center;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
  }
  .card .icon {
    width:64px; height:64px;
    border-radius:8px;
    background:linear-gradient(135deg,#e6f2ff,#dfefff);
    display:flex; align-items:center; justify-content:center;
    font-weight:700; color:#0055aa; font-size:20px;
  }
  .card .title { font-weight:700; color:#083b66; font-size:14px; }
  .card .subtitle { font-size:13px; color:#4a5568; }
  .carousel-controls { text-align:center; margin-top:12px; }
  .btn { background:#0055aa; color:#fff; border:none; padding:8px 12px; border-radius:6px; cursor:pointer; margin:0 6px; }
  .btn:disabled { opacity:0.5; cursor:default; }

  /* адаптивность */
  @media (max-width:1550px) {
    .card { min-width:140px; max-width:140px; padding:10px; }
    .card .icon { width:52px; height:52px; font-size:18px; }
  }

.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;
  }
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("https://elektriki16.ru/poverka/img/goro.jpg") center center / cover no-repeat;
    filter: brightness(0.55);
    z-index: 0;
}

.hero h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 180px 20px 30px;
    text-align: center;
}








/* =====================================================
   ПРИОРИТЕТНАЯ ЗАЯВКА
   ===================================================== */

.priority-order-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto 12px auto !important;
    padding: 0 !important;

    text-align: center !important;

    box-sizing: border-box !important;
}


.priority-order {
    display: inline-flex !important;

    width: auto !important;
    max-width: calc(100% - 30px) !important;

    margin: 0 auto !important;
    padding: 8px 12px !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 18px !important;

    background: linear-gradient(
        90deg,
        #ff6b6b 0%,
        #ff4757 100%
    ) !important;

    color: #fff !important;

    border-radius: 8px !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18) !important;

    box-sizing: border-box !important;

    text-align: left !important;

    animation: priorityOrderGlow 3s ease-in-out infinite !important;
}


/* Текст */

.priority-order-text {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 13px !important;
    line-height: 1.25 !important;
}


.priority-order-text strong {
    display: block !important;

    margin: 0 0 2px 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 14px !important;
    line-height: 1.2 !important;
}


.priority-order-text span {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;
}


.priority-order-text b {
    color: #fff !important;
}


/* Кнопка */

.priority-order-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 6px 11px !important;

    width: auto !important;
    min-width: 0 !important;

    background: #fff !important;
    color: #ff4757 !important;

    border: 0 !important;
    border-radius: 6px !important;

    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;

    cursor: pointer !important;

    box-shadow: 0 2px 5px rgba(0,0,0,.12) !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease !important;
}


.priority-order-btn:hover {
    background: #fff !important;

    transform: translateY(-1px) !important;

    box-shadow:
        0 4px 10px rgba(0,0,0,.22) !important;
}


.priority-order-btn:active {
    transform: scale(.97) !important;
}


/* Мягкое свечение */

@keyframes priorityOrderGlow {

    0% {
        box-shadow:
            0 3px 10px rgba(0,0,0,.18);
    }

    50% {
        box-shadow:
            0 4px 14px rgba(255,71,87,.30);
    }

    100% {
        box-shadow:
            0 3px 10px rgba(0,0,0,.18);
    }

}


/* =====================================================
   ТЕЛЕФОН
   ===================================================== */

@media (max-width: 600px) {

    .priority-order {
        display: flex !important;

        width: calc(100% - 20px) !important;
        max-width: none !important;

        padding: 7px 9px !important;

        gap: 8px !important;
    }


    .priority-order-text {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }


    .priority-order-text strong {
        font-size: 12px !important;
    }


    .priority-order-btn {
        padding: 5px 8px !important;

        font-size: 11px !important;
    }

}



