  :root {
      --bg-color: #0f1115;
      --card-bg: #181b22;
      --text-main: #f0f2f5;
      --text-muted: #9aa0a6;
      --accent: #3b82f6;
      --accent-hover: #2563eb;
      --radius: 12px;
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }

    body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 16px; /* Базовый размер по стандартам Google Mobile-Friendly */
    line-height: 1.6;
    -webkit-text-size-adjust: 100%; /* Предотвращает авто-масштабирование на iPhone */
}

    .container {
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Header */
    header {
      padding: 20px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      position: sticky;
      top: 0;
      background: rgba(15, 17, 21, 0.95);
      backdrop-filter: blur(8px);
      z-index: 100;
    }

    .header-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    /* Блок бренду: логотип + текст */

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

    .logo {
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: -0.5px;
    }

    .btn {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      padding: 10px 22px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.2s ease;
    }

    .btn:hover {
      background: var(--accent-hover);
    }

    /* Hero */
    .hero {
      padding: 80px 0 60px;
      text-align: center;
    }

    .hero h1 {
      font-size: 2.75rem;
      line-height: 1.2;
      margin-bottom: 20px;
      letter-spacing: -1px;
    }

    .hero p {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 650px;
      margin: 0 auto 30px;
    }

    /* Gallery Categories */
    .category-section {
      padding: 50px 0;
    }

    .category-header {
      margin-bottom: 24px;
    }

    .category-header h2 {
      font-size: 1.75rem;
      margin-bottom: 6px;
    }

    .category-header p {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    /* 4 колонки для ноутбуков/десктопов */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: transform 0.25s ease, border-color 0.25s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .card-img-wrap {
      width: 100%;
      aspect-ratio: 4 / 3;
      background: #252830;
      overflow: hidden;
    }

    .card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    .card:hover .card-img-wrap img {
      transform: scale(1.04);
    }

    .card-info {
      padding: 14px 16px;
    }

  .card-title {
      font-size: 1.125rem; /* 18px */
      font-weight: 600;
      line-height: 1.35;
      margin-bottom: 6px;
  }

    .card-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    /* Адаптивность */
    @media (max-width: 1024px) {
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .hero h1 {
        font-size: 2rem;
      }
      .gallery-grid {
        grid-template-columns: 1fr;
      }
    }
    /* Верхняя контактная панель */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.top-bar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-box {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.75;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 7px;
  border-radius: 4px;
}

/* Общие стили первого экрана */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 50px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: url('../video/hero-bg.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.hero-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.hero-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  /*color: #3b82f6;*/
  font-size: 1.3rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  transition: 0.2s ease;
}

.hero-btn:hover {
  background: #fff;
  color: #000;
}

/* =====================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ (до 768px)
   ===================================== */
@media (max-width: 768px) {
  .top-bar-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .top-contacts .hide-mobile {
    display: none; /* скрываем почту на телефонах, чтобы не забивать экран */
  }

  .hero-banner {
    min-height: 100vh;
    padding-top: 150px; /* отступ, чтобы текст не наезжал на контакты */
    padding-bottom: 40px;
  }
  /* Уменьшаем вертикальные внутренние отступы шапки */
  .top-bar, header {
    padding: 8px 0;
  }

  /* Пропорционально уменьшаем высоту логотипа */
  .header-logo {
    height: 38px;
  }

  .logo-title {
    font-size: 1.1rem;
  }

  .logo-sub {
    font-size: 0.65rem;
  }

  /* Телефоны делаем чуть компактнее */
  .top-contacts .contact-link {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Курсор-лупа и плавный ховер для целевых картинок */
.zoomable-img {
  cursor: zoom-in;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.zoomable-img:hover {
  opacity: 0.92;
}

/* Оверлей модального окна */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Активное состояние */
.lightbox-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Затемнение фона с эффектом размытия */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Контейнер фото и подписи */
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.is-active .lightbox-content img {
  transform: scale(1);
}

/* Подпись под фото */
.lightbox-caption {
  margin-top: 14px;
  color: #f3f4f6;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Кнопка закрытия */
.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Запрет скролла страницы при открытом окне */
body.modal-open {
  overflow: hidden;
}

.evidnovlennya-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
}

/* Затемняющий оверлей с фирменным глубоким оттенком */
.evidnovlennya-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(11, 11, 14, 0.40) 0%, 
    rgba(11, 11, 14, 0.60) 100%
  );
  z-index: 1;
}

.evidnovlennya-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.evidnovlennya-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d1b87d; /* Золотистый акцент сайта */
  margin-bottom: 16px;
}

.evidnovlennya-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.evidnovlennya-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: #c4c4cf;
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.evidnovlennya-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Кнопка быстрого звонка в нижнем правом углу */
.floating-call-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #d1b87d 0%, #a89467 100%);
  color: #0b0b0e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(168, 148, 103, 0.45);
  z-index: 999;
  text-decoration: none;
  cursor: pointer;

  /* Начальное скрытое состояние */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

/* Класс, который добавляет JS при скролле ниже баннера */
.floating-call-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-call-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(168, 148, 103, 0.6);
}

/* Иконка трубки */
.phone-svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.floating-call-btn:hover .phone-svg {
  transform: rotate(15deg);
}

/* Мягкая волна-пульсация вокруг кнопки */
.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #d1b87d;
  opacity: 0;
  animation: callPulse 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes callPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Адаптив под мобильные (делаем чуть компактнее и ближе к краю) */
@media (max-width: 480px) {
  .floating-call-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .phone-svg {
    width: 22px;
    height: 22px;
  }
}

/* Общий контейнер футера */
.site-footer {
  background-color: #0b0b0e;
  color: #c8c8d0;
  padding: 60px 20px 25px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-top: 1px solid #1f1f26;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* 4-колоночный грид */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.3fr 1.2fr;
  gap: 36px;
  margin-bottom: 50px;
}

/* Колонка: О бренде */
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #8f909a;
  margin: 0 0 24px;
}

.footer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 250px;
}

.btn-gold-solid,
.btn-gold-outline {
  display: inline-block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Золотистые кнопки в фирменном стиле сайта */
.btn-gold-outline {
  background-color: #a89467;
  color: #0b0b0e;
}
.btn-gold-outline:hover {
  background-color: #baab80;
}

.btn-gold-solid {
  background-color: #a89467;
  color: #0b0b0e;
}
.btn-gold-solid:hover {
  background-color: #baab80;
}

/* Заголовки колонок */
.footer-heading {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
}

/* Навигационное меню */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  color: #8f909a;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #e5c483;
}

/* Карточка Главного Офиса */
.office-card {
  background-color: #141419;
  border: 1px solid #23232c;
  border-radius: 8px;
  padding: 20px;
}

.office-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d1b87d;
  margin-bottom: 10px;
}

.office-address {
  font-size: 14px;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.4;
}

.office-phones {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.office-phones li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-phones a {
  color: #e0e0e6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.office-phones a:hover {
  color: #d1b87d;
}

.tag-viber, .tag-phone {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #23232c;
  color: #8f909a;
}
.tag-viber {
  color: #a77df5;
}

.office-email a {
  color: #8f909a;
  font-size: 13px;
  text-decoration: none;
}
.office-email a:hover {
  color: #ffffff;
}

/* Колонка филиалов */
.branches-intro {
  font-size: 13px;
  color: #7b7b85;
  margin: 0 0 14px;
}

.branches-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.branch-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #141419;
  border: 1px solid #23232c;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.branch-item:hover {
  border-color: #a89467;
  transform: translateX(4px);
}

.branch-item .dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}

.branch-item .city-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.branch-item .city-status {
  margin-left: auto;
  font-size: 11px;
  color: #7b7b85;
}

/* Нижняя строка подвала */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #1a1a22;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials-label {
  font-size: 13px;
  color: #7b7b85;
}

.social-icon {
  color: #ffffff;
  background-color: #141419;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #23232c;
  transition: all 0.2s ease;
}

.social-icon:hover {
  color: #d1b87d;
  border-color: #d1b87d;
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 13px;
  color: #71717a;
}

/* Адаптив для планшетов и смартфонов */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  footer {
    padding-bottom: 90px!important; /* залишає безпечну зону під плаваючу кнопку */
  }
}