/* =========================================
   МАСТЕР — ЕЛАБУГА
========================================= */

.elabuga-master {
    max-width: 900px;
    margin: 35px auto;
    padding: 0 15px;
}

.elabuga-master-card {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 22px;
    background: #fff;
    border-radius: 16px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.08);

    border: 1px solid #eee;
}

.elabuga-master-photo {
    flex: 0 0 220px;
    text-align: center;
}

.elabuga-master-photo img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;

    margin: 0 auto;

    border-radius: 14px;
    object-fit: cover;
}

.elabuga-master-info {
    flex: 1;
}

.elabuga-master-info h2 {
    margin: 0 0 12px;

    font-size: 26px;
    line-height: 1.25;
    color: #222;
}

.elabuga-master-status {
    margin: 0 0 12px;

    font-size: 15px;
    color: #333;
}

.elabuga-master-status .status {
    display: inline-block;

    width: 10px;
    height: 10px;

    margin-right: 7px;

    background: #28a745;
    border-radius: 50%;

    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.12);
}

.elabuga-master-info > p:not(.elabuga-master-status):not(.elabuga-master-note) {
    margin: 0 0 16px;

    font-size: 16px;
    line-height: 1.55;
    color: #444;
}

.elabuga-master-call {
    display: inline-block;

    padding: 12px 20px;

    background: #28a745;
    color: #fff;

    border-radius: 10px;

    text-decoration: none;
    text-align: center;

    font-size: 16px;
    line-height: 1.4;

    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.25);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.elabuga-master-call:hover {
    background: #218838;
    transform: translateY(-1px);
}

.elabuga-master-call strong {
    font-size: 18px;
}

.elabuga-master-note {
    margin: 12px 0 0;

    font-size: 13px;
    line-height: 1.4;

    color: #777;
}


/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================= */

@media (max-width: 650px) {

    .elabuga-master {
        margin: 25px auto;
        padding: 0 10px;
    }

    .elabuga-master-card {
        flex-direction: column;

        gap: 16px;

        padding: 18px;

        text-align: center;
    }

    .elabuga-master-photo {
        flex: none;
        width: 100%;
    }

    .elabuga-master-photo img {
        max-width: 180px;
    }

    .elabuga-master-info h2 {
        font-size: 22px;
    }

    .elabuga-master-info > p:not(.elabuga-master-status):not(.elabuga-master-note) {
        font-size: 15px;
    }

    .elabuga-master-call {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

}


/* =========================
   COOKIE-БАННЕР
========================= */

.cookie-banner {
    position: fixed;
    bottom: 8px;
    left: 8px;
    right: 8px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 10px;

    background: #222;
    color: #fff;

    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;

    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .22);

    z-index: 9999;

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

.cookie-banner-text {
    flex: 1;
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
}

.cookie-banner-link {
    color: #4caf50;
    font-size: 10px;
}

.cookie-banner-button {
    flex-shrink: 0;

    padding: 6px 9px;

    background: #4caf50;
    color: #fff;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-banner-button:hover {
    background: #43a047;
}

.cookie-banner-button:focus-visible,
.cookie-banner-link:focus-visible {
    outline: 2px solid #81c784;
    outline-offset: 2px;
}


.electric-trust-mini {
    max-width: 760px;
    margin: 28px auto;
    padding: 22px 18px;

    background: #f7f7f7;

    border-radius: 16px;
    border: 1px solid #e5e5e5;

    box-sizing: border-box;
}

.electric-trust-mini h2 {
    margin: 0 0 18px;
    text-align: center;

    font-size: 1.35rem;
    color: #222;
}

.electric-trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.electric-trust-item {
    padding: 15px 12px;

    background: #ffffff;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.05);
}

.electric-trust-item span {
    display: block;
    font-size: 25px;
    margin-bottom: 7px;
}

.electric-trust-item strong {
    display: block;
    font-size: 15px;
    color: #222;
}

.electric-trust-item small {
    display: block;

    margin-top: 6px;

    font-size: 12px;
    line-height: 1.4;

    color: #666;
}

@media (max-width: 600px) {

    .electric-trust-mini {
        padding: 18px 12px;
    }

    .electric-trust-items {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .electric-trust-item {
        display: grid;
        grid-template-columns: 38px 1fr;
        grid-template-rows: auto auto;

        text-align: left;
        padding: 12px;
    }

    .electric-trust-item span {
        grid-row: 1 / 3;
        margin: 0;
        align-self: center;
        text-align: center;
    }

    .electric-trust-item strong {
        align-self: end;
    }

    .electric-trust-item small {
        margin-top: 3px;
    }

}



/* =========================================
   ГЛАВНЫЙ БЛОК ТЕЛЕФОНА
========================================= */

.elabuga-phone-card {
    width: calc(100% - 30px);
    max-width: 520px;

    margin: 18px auto 22px;
    padding: 18px 18px 16px;

    box-sizing: border-box;

    text-align: center;

    background: linear-gradient(
        135deg,
        #f8fbff 0%,
        #ffffff 100%
    );

    border: 1px solid #dbeafe;
    border-radius: 16px;

    box-shadow:
        0 5px 18px rgba(0, 123, 255, 0.10);
}


/* Подсказка */

.elabuga-phone-hint {
    margin-bottom: 6px;

    font-size: 14px;
    line-height: 1.4;

    color: #666;
}


/* Номер */

.elabuga-phone-number {
    display: block;

    margin: 0 auto 13px;

    color: #075fc4;

    font-size: 27px;
    line-height: 1.25;

    font-weight: 800;

    text-decoration: none;

    letter-spacing: 0.2px;
}

.elabuga-phone-number:hover {
    color: #004fa8;
}


/* Главная кнопка */

.elabuga-phone-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    box-sizing: border-box;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #087cff 0%,
        #0056d6 100%
    );

    color: #fff;

    font-size: 17px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 5px 12px rgba(0, 91, 214, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


/* Наведение */

.elabuga-phone-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(0, 91, 214, 0.32);
}


/* Нажатие */

.elabuga-phone-button:active {
    transform: translateY(1px);

    box-shadow:
        0 3px 8px rgba(0, 91, 214, 0.22);
}


/* Маленькая подпись */

.elabuga-phone-note {
    margin-top: 9px;

    font-size: 13px;
    line-height: 1.4;

    color: #6b7280;
}


/* =========================================
   МОБИЛЬНЫЕ
========================================= */

@media (max-width: 600px) {

    .elabuga-phone-card {
        width: calc(100% - 24px);

        margin-top: 15px;
        margin-bottom: 18px;

        padding: 16px 14px 14px;

        border-radius: 14px;
    }

    .elabuga-phone-number {
        font-size: 25px;
    }

    .elabuga-phone-button {
        min-height: 54px;

        font-size: 17px;
    }

}


/* =========================================
   ХЛЕБНЫЕ КРОШКИ
========================================= */

.breadcrumb-wrap {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: center;

    padding: 12px 15px 8px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    text-align: center;

    font-size: 14px;
    line-height: 1.5;

    color: #777;
}

.breadcrumb-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;

    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #aaa;
    padding: 0 7px;
    user-select: none;
}

.breadcrumb-current {
    color: #555;
    font-weight: 600;
}


/* =========================================
   МОБИЛЬНЫЕ
========================================= */

@media (max-width: 600px) {

    .breadcrumb-wrap {
        padding: 9px 10px 7px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .breadcrumb-separator {
        padding: 0 5px;
    }

}


.footer-copy {
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: #6b7280;
  margin-top: 30px;
  padding: 0 15px 15px;
}

/* =========================
   Бесплатная консультация
   ========================= */

.consultation-box {
  max-width: 850px;
  margin: 35px auto;
  padding: 24px 28px;

  display: flex;
  align-items: flex-start;
  gap: 20px;

  background: #f4f8ff;
  border: 1px solid #dbe8ff;
  border-left: 5px solid #007bff;
  border-radius: 14px;

  box-shadow: 0 5px 18px rgba(0, 80, 180, 0.07);
  box-sizing: border-box;
}

.consultation-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #007bff;
  color: #fff;

  border-radius: 50%;
  font-size: 23px;
}

.consultation-content {
  flex: 1;
}

.consultation-content h3 {
  margin: 0 0 8px;
  color: #1d2a3a;
  font-size: 21px;
  line-height: 1.3;
}

.consultation-content p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.consultation-phone {
  display: inline-block;

  padding: 10px 18px;

  background: #007bff;
  color: #fff !important;

  border-radius: 8px;

  font-size: 18px;
  font-weight: 700;
  text-decoration: none;

  transition: background 0.2s ease, transform 0.2s ease;
}

.consultation-phone:hover {
  background: #0069d9;
  transform: translateY(-1px);
}

.consultation-note {
  display: block;
  margin-top: 9px;

  color: #6b7280;
  font-size: 13px;
}


/* =========================
   Мобильная версия
   ========================= */

@media (max-width: 600px) {

  .consultation-box {
    margin: 25px 12px;
    padding: 20px 18px;

    gap: 14px;

    border-left-width: 4px;
    border-radius: 12px;
  }

  .consultation-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;

    font-size: 19px;
  }

  .consultation-content h3 {
    font-size: 18px;
  }

  .consultation-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .consultation-phone {
    display: block;
    width: 100%;
    box-sizing: border-box;

    text-align: center;

    padding: 12px 14px;
    font-size: 17px;
  }
}


.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;
  }
}

    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; }
    }

    /* Зимний стиль */
    .winter { background-color: #f0f8ff; }

    /* Летний стиль */
    .summer { background: linear-gradient(135deg, #ffdd00, #ff6600); color: #000; }

    /* Гирлянда */
    #garland {
      display: flex;
      justify-content: center;
      flex-wrap: nowrap;       /* важно: не переносим на новые строки */
      overflow-x: hidden;      /* скрываем лишнее, чтобы не тянула экран */
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      pointer-events: none;
      max-width: 100%;
    }

    .lamp {
      width: 12px;
      height: 20px;
      border-radius: 50% 50% 5px 5px;
      margin: 0 4px;
      animation: blink 1.2s infinite alternate;
      transform-origin: top center;
    }

    .lamp.red { background: #ff4d4d; }
    .lamp.green { background: #4dff4d; }
    .lamp.blue { background: #4d4dff; }
    .lamp.yellow { background: #fff84d; }

    @keyframes blink {
      0% { opacity: 0.4; transform: translateY(0); }
      50% { opacity: 1; transform: translateY(-3px); }
      100% { opacity: 0.4; transform: translateY(0); }
    }

    /* Снежинки */
    .snowflake {
      font-size: 12px;
      color: #66ccff;
      position: fixed;
      top: -20px;
      pointer-events: none;
      z-index: 8;
      animation: fall linear infinite;
    }

    @keyframes fall {
      0% { transform: translate(0, 0) rotate(0deg); }
      25% { transform: translate(15px, 25vh) rotate(10deg); }
      50% { transform: translate(-15px, 50vh) rotate(-10deg); }
      75% { transform: translate(10px, 75vh) rotate(5deg); }
      100% { transform: translate(-10px, 110vh) rotate(-5deg); }
    }

    /* Солнце и луна */
    .sun, .moon {
      position: fixed;
      top: 20px;
      left: 20px;
      font-size: 60px;
      opacity: 0.4;
      z-index: 5;
    }

    .moon { display: none; }
    .night .moon { display: block; }
    .day .sun { display: block; }

.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;
  }
}

.contact-wrapper {
  display: inline-block;
  position: relative;
}

/* Главная кнопка */
.contact-main-btn {
  background-color: #17417A;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column; /* Меняем направление на колонку */
  align-items: center;
  gap: 6px; /* Расстояние между текстом и иконками */
  transition: background 0.3s, transform 0.2s;
}

.contact-main-btn:hover {
  background-color: #0f2d5c;
  transform: translateY(-1px);
}

/* Текст на первой строке */
.contact-text {
  white-space: nowrap; /* не переносим номер */
}

/* Иконки мессенджеров на второй строке */
.contact-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Popup */
.contact-popup {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #f8f8f8;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.contact-wrapper.active .contact-popup {
  display: flex;
}

/* Всплывающие кнопки */
.contact-popup .option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.contact-popup .option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Цвета кнопок */
.phone { background-color: #ff6b00; }
.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }
.max { background-color: #0055aa; }

.contact-popup img {
  filter: invert(1);
}

.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
  font-family: Arial, sans-serif;
  color: #222;
}

.about-master {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-text {
  flex: 1 1 100%;
}

.about-short {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.highlight {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 8px;
}

.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 6px 0 12px 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.icon {
  display: inline-flex;
  margin-right: 8px;
  color: #0077cc;
}

.text-and-image {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}

.worker-image-wrapper {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
}

.worker-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: auto 0;
}

.about-cta {
  margin-top: 18px;
  font-weight: 600;
  font-size: 1rem;
}

/* Мобильная */
@media (max-width: 600px) {
  .about-master {
    flex-direction: column;
    text-align: center;
  }

  .text-and-image {
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }

  .worker-image-wrapper {
    width: 100%;
  }

  .worker-image {
    max-height: 240px;
  }
}

  .electrical-services {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 40px;
  }

  .electrical-services h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
  }

  .electrical-services p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
  }

  .btn-calculator {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff5722;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .btn-calculator:hover {
    background-color: #e64a19;
  }

.other-electrician-button {
  display: inline-block;
  background-color: #ff5722;
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px; /* уменьшили padding */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255,87,34,0.4);
  font-size: 0.9em; /* немного меньше шрифт */
  transition: all 0.3s;
  text-align: center;
  line-height: 1.2;
}

.other-electrician-button:hover {
  background-color: #e64a19;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .other-electrician-button {
    font-size: 0.8em;
    padding: 6px 12px;
  }
}

.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;
}



.elabuga-visit {
    max-width: 850px;
    margin: 28px auto;
    padding: 22px 18px;
    background: #f7f9fc;
    border-radius: 14px;
    box-sizing: border-box;
}

.elabuga-visit h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 1.45rem;
    color: #222;
}

.elabuga-visit-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.elabuga-visit-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    padding: 13px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.elabuga-visit-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffcc00;
    color: #111;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elabuga-visit-step strong {
    display: block;
    color: #222;
    margin-bottom: 3px;
}

.elabuga-visit-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #555;
}

.elabuga-visit-button {
    display: block;
    max-width: 300px;
    margin: 20px auto 0;
    padding: 12px 18px;
    text-align: center;
    background: #ffcc00;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    border-radius: 9px;
}

.elabuga-visit-button:hover {
    background: #ffd633;
}


/* =========================================
   БЛОК «ЧТО СЛУЧИЛОСЬ?»
========================================= */

.elabuga-problem {
    max-width: 900px;
    margin: 25px auto;
    padding: 22px 18px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #151515,
        #222
    );

    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.18);
}


/* Заголовок */

.elabuga-problem h2 {
    margin: 0 0 6px;

    font-size: 1.55rem;
    color: #ffd54a;
}


/* Подзаголовок */

.elabuga-problem-subtitle {
    margin: 0 0 18px;

    color: #ddd;

    font-size: 15px;
}


/* Сетка */

.elabuga-problem-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

}


/* Карточки */

.elabuga-problem-item {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 52px;

    padding: 10px;

    box-sizing: border-box;

    background: #292929;

    border: 1px solid
        rgba(255,213,74,0.25);

    border-radius: 10px;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}


/* Иконка */

.elabuga-problem-item:first-letter {
    font-size: 20px;
}


/* Наведение */

.elabuga-problem-item:hover {

    background: #333;

    border-color: #ffd54a;

    transform: translateY(-2px);

}


/* Нижний призыв */

.elabuga-problem-call {

    margin-top: 17px;

    color: #ddd;

    font-size: 14px;

}


.elabuga-problem-call a {

    color: #ffd54a;

    font-weight: 700;

    text-decoration: none;

}


.elabuga-problem-call a:hover {

    text-decoration: underline;

}


/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================= */

@media (max-width: 650px) {

    .elabuga-problem {

        margin: 20px 8px;

        padding: 19px 12px;

        border-radius: 12px;

    }


    .elabuga-problem h2 {

        font-size: 1.4rem;

    }


    .elabuga-problem-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;

    }


    .elabuga-problem-item {

        min-height: 58px;

        padding: 8px 5px;

        font-size: 13px;

        line-height: 1.2;

    }

}



/* =========================================
   С ЧЕМ ОБРАЩАЮТСЯ
========================================= */

.electric-problems {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 0 10px;
    box-sizing: border-box;
}

.electric-problems h2 {
    margin: 0 0 14px;
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.3;
}

.electric-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.electric-problem {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 48px;
    padding: 9px 12px;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    font-size: 15px;
    line-height: 1.3;

    box-shadow: 0 2px 7px rgba(0,0,0,0.05);
}

.electric-problem:first-letter {
    font-size: 20px;
}


/* Мобильная версия */

@media (max-width: 600px) {

    .electric-problems {
        padding: 0 8px;
        margin-bottom: 22px;
    }

    .electric-problems h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .electric-problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .electric-problem {
        min-height: 46px;
        padding: 8px 9px;
        font-size: 13px;
        gap: 6px;
    }

}



.electric-price-mini {
    max-width: 760px;
    margin: 28px auto;
    padding: 22px 20px;

    display: flex;
    align-items: center;
    gap: 18px;

    background: linear-gradient(
        135deg,
        #fff8df,
        #fff1b8
    );

    border: 1px solid #f0d66a;
    border-radius: 16px;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.08);
}

.electric-price-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 50%;

    font-size: 27px;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.08);
}

.electric-price-content {
    flex: 1;
}

.electric-price-content h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: #222;
}

.electric-price-content p {
    margin: 6px 0;
    line-height: 1.5;
    color: #333;
}

.electric-price-note {
    font-size: 14px;
}

.electric-price-button {
    display: inline-block;

    margin-top: 12px;
    padding: 11px 18px;

    background: #ffb300;
    color: #111;

    font-weight: 700;
    text-decoration: none;

    border-radius: 10px;

    transition: 0.2s;
}

.electric-price-button:hover {
    background: #ff9800;
    transform: translateY(-1px);
}

@media (max-width: 600px) {

    .electric-price-mini {
        padding: 18px 15px;
        gap: 12px;
    }

    .electric-price-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 23px;
    }

    .electric-price-content h2 {
        font-size: 1.2rem;
    }

    .electric-price-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}



/* -----------------------------------------
   ХЕДЕР
----------------------------------------- */

.header-top-image {
  text-align: center;
  margin-bottom: 20px;
}

.header-image-top img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px auto;
}

.header-text {
  text-align: center;
}

.header-text h1 {
  margin: 10px 0;
  font-size: 1.95rem;
  line-height: 1.25;
}

.notice-24 {
  margin: 10px 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #ffcc00;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.header-desc {
  margin: 10px auto;
  font-size: 16px;
  line-height: 1.5;
  color: #ffd54a;
  text-align: center !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
  max-width: 700px;
}


/* -----------------------------------------
   ОБЁРТКА ЖИВОЙ СТРОКИ
----------------------------------------- */

.elektrik-live-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 25px auto;
  padding: 0 10px;
  box-sizing: border-box;
}


/* -----------------------------------------
   ЖИВАЯ СТРОКА
----------------------------------------- */

.elektrik-live-message {
  width: 100%;
  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  padding: 9px 16px;

  background: linear-gradient(
    90deg,
    #fff8e1,
    #ffffff,
    #fff8e1
  );

  border: 1px solid #ffe082;
  border-radius: 12px;

  color: #333;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;

  text-align: center;

  box-shadow:
    0 2px 8px rgba(0,0,0,0.08);
}


/* -----------------------------------------
   ТЕКСТ
----------------------------------------- */

.elektrik-live-text {
  display: inline;
}


/* -----------------------------------------
   МИГАЮЩИЙ КУРСОР
----------------------------------------- */

.elektrik-live-cursor {

  display: inline-block;

  width: 2px;
  height: 19px;

  margin-left: 4px;

  background: #f5a400;

  vertical-align: middle;

  animation:
    elektrikCursorBlink 0.8s infinite;
}


@keyframes elektrikCursorBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }

}


/* -----------------------------------------
   МОБИЛЬНАЯ ВЕРСИЯ
----------------------------------------- */

@media (max-width: 600px) {

  .header-image-top img {
    max-height: 240px;
    margin-bottom: 12px;
  }

  .header-text h1 {
    font-size: 1.6rem;
  }

  .notice-24 {
    font-size: 14px;
    line-height: 1.4;
  }

  .header-desc {
    font-size: 14px;
    line-height: 1.45;
  }

  .elektrik-live-wrap {
    padding: 0 8px;
    margin-bottom: 20px;
  }

  .elektrik-live-message {
    min-height: 52px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 10px;
  }

  .elektrik-live-cursor {
    height: 17px;
  }

}



/* Номер + кнопка копирования */

.elabuga-phone-number-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


/* Кнопка копирования */

.elabuga-copy-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 12px;

    border: 0;
    border-radius: 8px;

    background: #f2c94c;
    color: #222;

    font-size: 13px;
    line-height: 1.2;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


/* Наведение */

.elabuga-copy-phone:hover {
    background: #e5b735;
    transform: translateY(-1px);
}


/* После копирования */

.elabuga-copy-phone.is-copied {
    background: #35a66f;
    color: #fff;
}

/* =========================================
   POPUP — СРОЧНЫЙ ЭЛЕКТРИК
   Компактный и ненавязчивый
========================================= */

#travel-panel {
    position: fixed;
    left: 12px;
    bottom: 14px;

    max-width: 175px;
    padding: 8px 11px;

    box-sizing: border-box;

    background: rgba(25, 35, 48, 0.96);
    color: #fff;

    border-radius: 10px;

    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.35;

    box-shadow: 0 5px 16px rgba(0,0,0,0.18);

    z-index: 9999;
    cursor: pointer;

    transition:
        opacity .25s ease,
        transform .25s ease;
}


/* =========================================
   КОМПАКТНАЯ КНОПКА MAX
========================================= */

#travel-icon {
    position: fixed;

    left: 12px;
    bottom: 14px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    background: #1688ff;

    border-radius: 50%;

    box-shadow: 0 5px 16px rgba(0,0,0,0.20);

    z-index: 9999;
    cursor: pointer;

    opacity: 0;
    transform: scale(.8);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

#travel-icon img {
    width: 22px;
    height: 22px;
    display: block;
}


