/*
Theme Name: Just1Page.Ru
Theme URI: https://just1page.ru/
Author: Just1Page Studio
Author URI: https://just1page.ru/
Version: 1.0
Description: Компания «Just1Page» — это команда профессионалов с огромным опытом работы в сфере создания сайтов. У нас Вы можете заказать современный сайт для бизнеса, компании или Вашего магазина, который в будущем станет продающим интернет-магазином среди конкурентов. Индивидуальный подход компании к работе, позволяет нашим клиентам получить широкий диапазон цен на услуги по созданию и разработке интернет-сайтов. У нас можно заказать как недорогой одностраничный сайт или копию одностраничного сайта, так и индивидуальный интернет-проект или интернет-магазин с гибким и уникальным функционалом. Если Вы решили заказать сайт, но не знаете с чего начать, просто оставьте заявку на бесплатную консультацию на нашем сайте. Мы в ближайшее время постараемся найти ответы на интересующие Вас вопросы, относительно создания и разработки Вашего интернет-ресурса!
*/
    :root {
      --primary: #1B3A5C;
      --primary-dark: #0D2540;
      --accent: #FF6B00;
      --accent-hover: #e05e00;
      --light-bg: #F5F7FA;
      --text-muted-custom: #6b7c93;
    }

    * { box-sizing: border-box; }

    body {
      font-family: 'Inter', sans-serif;
      margin: 0;
      padding: 0;
      background: #fff;
      color: #1a1a2e;
    }

    /* ===================== NAVBAR ===================== */
    .navbar {
      background: #fff;
      border-bottom: 1px solid rgba(27,58,92,.10);
      padding: 0;
      position: sticky;
      top: 0;
      z-index: 1030;
      box-shadow: 0 2px 12px rgba(27,58,92,.07);
    }

    .navbar-inner {
      display: flex;
      align-items: stretch;
      width: 100%;
      min-height: 70px;
    }

    /* Logo block */
    .navbar-brand-block {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 24px 12px 16px;
      text-decoration: none;
      border-right: 1px solid rgba(27,58,92,.10);
      flex-shrink: 0;
    }
    .navbar-brand-block img {
      height: 44px;
      width: auto;
    }
    .brand-text .brand-title {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }
    .brand-text .brand-sub {
      display: block;
      font-size: 11px;
      font-weight: 500;
      color: var(--accent);
      margin-top: 2px;
    }

    /* Nav menu */
    .navbar-nav-desktop {
      display: flex;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0 8px;
      gap: 2px;
      flex: 1;
    }
    .navbar-nav-desktop .nav-item { position: relative; }
    .navbar-nav-desktop .nav-link {
      font-size: 13px;
      font-weight: 500;
      color: #2c3e50;
      padding: 8px 9px;
      border-radius: 6px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      transition: background .15s, color .15s;
    }
    .navbar-nav-desktop .nav-link:hover,
    .navbar-nav-desktop .nav-link:focus {
      background: rgba(27,58,92,.07);
      color: var(--primary);
    }
    .navbar-nav-desktop .nav-link .bi-chevron-down {
      font-size: 10px;
      transition: transform .2s;
    }
    .navbar-nav-desktop .nav-item:hover .bi-chevron-down { transform: rotate(180deg); }

    /* Dropdown */
    .nav-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 0px);
      left: 0;
      background: #fff;
      border: 1px solid rgba(27,58,92,.12);
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(27,58,92,.14);
      min-width: 230px;
      padding: 6px;
      z-index: 200;
    }
    .navbar-nav-desktop .nav-item:hover .nav-dropdown { display: block; }
    .nav-dropdown a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      font-size: 13.5px;
      font-weight: 500;
      color: #2c3e50;
      text-decoration: none;
      border-radius: 7px;
      transition: background .13s, color .13s;
    }
    .nav-dropdown a:hover { background: var(--light-bg); color: var(--primary); }
    .nav-dropdown a .bi { color: var(--accent); font-size: 15px; }

    /* Right contact block */
    .navbar-contacts {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 0 16px 0 12px;
      border-left: 1px solid rgba(27,58,92,.10);
      flex-shrink: 0;
    }
    .phone-block {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }
    .phone-block a {
      font-size: 18px;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
      line-height: 1;
      letter-spacing: -.3px;
      transition: color .15s;
    }
    .phone-block a:hover { color: var(--accent); }
    .phone-badge {
      font-size: 10.5px;
      font-weight: 700;
      color: #fff;
      background: var(--accent);
      border-radius: 4px;
      padding: 1px 6px;
      margin-top: 3px;
      letter-spacing: .5px;
      align-self: flex-end;
    }
    .messenger-icons {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .messenger-icons a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      font-size: 16px;
      text-decoration: none;
      transition: transform .15s, opacity .15s;
    }
    .messenger-icons a:hover { transform: scale(1.12); opacity: .85; }
    .msg-tg { background: #0088cc; color: #fff; }
    .msg-vb { background: #7360f2; color: #fff; }
    .msg-wa { background: #25d366; color: #fff; }

    .btn-call {
      background: var(--accent);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      border: none;
      border-radius: 8px;
      padding: 11px 16px;
      white-space: nowrap;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: background .15s, transform .12s;
      cursor: pointer;
    }
    .btn-call:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

    /* Mobile hamburger */
    .navbar-mobile-bar {
      display: none;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 10px 14px;
    }
    .mobile-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .mobile-logo img { height: 38px; }
    .mobile-logo span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    max-width: 112px;
    line-height: 1.2;
    }
    .mobile-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .mobile-phone {
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
    }
    .hamburger-btn {
      border: none;
      background: var(--light-bg);
      border-radius: 8px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--primary);
      cursor: pointer;
    }

    /* Offcanvas menu */
    .offcanvas-menu { border-right: none; max-width: 300px; }
    .offcanvas-menu .offcanvas-header { background: var(--primary); color: #fff; }
    .offcanvas-menu .btn-close { filter: invert(1); }
    .offcanvas-nav { list-style: none; padding: 0; margin: 0; }
    .offcanvas-nav li { border-bottom: 1px solid rgba(27,58,92,.08); }
    .offcanvas-nav a {
      display: flex;
      align-items: center;
      padding: 13px 20px;
      font-size: 15px;
      font-weight: 600;
      color: var(--primary);
      text-decoration: none;
      gap: 10px;
      transition: background .13s;
    }
    .offcanvas-nav a:hover { background: var(--light-bg); }
    .offcanvas-nav .sub-item a {
      padding-left: 40px;
      font-weight: 400;
      font-size: 14px;
      color: #444;
    }
    .offcanvas-contacts {
      padding: 20px;
      border-top: 1px solid rgba(27,58,92,.10);
    }
    .offcanvas-contacts .oc-phone {
      font-size: 22px;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
      display: block;
      margin-bottom: 12px;
    }
    .offcanvas-contacts .messengers { display: flex; gap: 10px; margin-bottom: 16px; }

    /* ===================== HERO ===================== */
    .hero-section {
      display: flex;
      min-height: calc(100vh - 70px);
      position: relative;
      overflow: hidden;
    }

    /* Left panel */
    .hero-left {
      flex: 0 0 55%;
      background: var(--primary);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 80px 60px 80px 80px;
      position: relative;
      z-index: 2;
    }

    /* Decorative circles (like reference) */
    .hero-left::before {
      content: '';
      position: absolute;
      top: -80px;
      left: -80px;
      width: 400px;
      height: 400px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 50%;
      pointer-events: none;
    }
    .hero-left::after {
      content: '';
      position: absolute;
      top: -140px;
      left: -140px;
      width: 560px;
      height: 560px;
      border: 1px solid rgba(255,255,255,.05);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-eyebrow {
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .hero-title {
      font-size: clamp(28px, 3.5vw, 46px);
      font-weight: 800;
      color: #fff;
      line-height: 1.18;
      margin-bottom: 22px;
    }
    .hero-title .accent-word {
      color: var(--accent);
      text-decoration: underline;
      text-decoration-color: rgba(255,107,0,.5);
      text-underline-offset: 5px;
    }

    .hero-sub {
      font-size: 15.5px;
      font-weight: 400;
      color: rgba(255,255,255,.72);
      line-height: 1.65;
      margin-bottom: 38px;
      max-width: 440px;
    }

    .hero-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 30px;
      padding: 6px 14px;
      font-size: 12.5px;
      font-weight: 600;
      color: rgba(255,255,255,.9);
    }
    .hero-badge .bi { color: var(--accent); font-size: 14px; }

    .hero-cta {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }


    .btn-primary-hero {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 16px 32px;
      font-size: 15px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      text-decoration: none;
      cursor: pointer;
      transition: background .15s, transform .13s, box-shadow .15s;
      box-shadow: 0 4px 18px rgba(255,107,0,.35);
    }
    .btn-primary-hero:hover {
      background: var(--accent-hover);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(255,107,0,.45);
    }

    .btn-outline-hero {
      background: transparent;
      color: #fff;
      border: 1.5px solid rgba(255,255,255,.45);
      border-radius: 50px;
      padding: 15px 28px;
      font-size: 15px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      text-decoration: none;
      cursor: pointer;
      transition: border-color .15s, background .15s, transform .13s;
    }
    .btn-outline-hero:hover {
      border-color: rgba(255,255,255,.8);
      background: rgba(255,255,255,.08);
      color: #fff;
      transform: translateY(-2px);
    }

        .btn-outline-hero--dark {
  border-color: rgba(27,58,92,.35);
  color: var(--primary);
}
.btn-outline-hero--dark:hover {
  border-color: var(--primary);
  background: rgba(27,58,92,.06);
  color: var(--primary);
}

    /* Right panel (photo) */
    .hero-right {
      flex: 0 0 45%;
      position: relative;
      overflow: hidden;
    }
    .hero-right .hero-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    .hero-right .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        120deg,
        rgba(27,58,92,.55) 0%,
        rgba(27,58,92,.1) 60%,
        transparent 100%
      );
    }

    /* Stats card floating bottom-right (like reference) */
    .hero-stats-card {
      position: absolute;
      bottom: 32px;
      right: 24px;
      background: rgba(255,255,255,.96);
      border-radius: 16px;
      padding: 20px 24px;
      box-shadow: 0 12px 40px rgba(27,58,92,.22);
      display: flex;
      flex-direction: column;
      gap: 10px;
      min-width: 210px;
      backdrop-filter: blur(4px);
    }
    .stat-item {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .stat-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: rgba(27,58,92,.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: var(--primary);
      flex-shrink: 0;
    }
    .stat-info .stat-num {
      font-size: 17px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
    }
    .stat-info .stat-label {
      font-size: 11.5px;
      color: var(--text-muted-custom);
      font-weight: 500;
      margin-top: 2px;
    }

    /* ===================== CALLBACK MODAL ===================== */
    .modal-header { background: var(--primary); color: #fff; }
    .modal-header .btn-close { filter: invert(1); }
    .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(27,58,92,.18); }
    .btn-modal-submit {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      font-weight: 700;
      width: 100%;
      font-size: 15px;
      transition: background .15s;
    }
    .btn-modal-submit:hover { background: var(--accent-hover); color: #fff; }

    /* ===================== RESPONSIVE ===================== */
    @media (max-width: 991.98px) {
      .navbar-inner { display: none !important; }
      .navbar-mobile-bar { display: flex; }

      .hero-section { flex-direction: column; min-height: auto; }
      .hero-left {
        flex: none;
        width: 100%;
        padding: 50px 24px 50px;
      }
      .hero-right {
        flex: none;
        width: 100%;
        min-height: 380px;
      }
      .hero-stats-card { bottom: 16px; right: 16px; min-width: 180px; padding: 14px 16px; }
    }

    @media (max-width: 575.98px) {
      .hero-left { padding: 36px 18px 40px; }
      .hero-cta { flex-direction: column; }
      .btn-primary-hero, .btn-outline-hero { justify-content: center; }
      .hero-stats-card { position: static; margin: 16px; border-radius: 12px; flex-direction: row; flex-wrap: wrap; min-width: auto; }
    }

/* ===================== ПЕРЕВАГИ ===================== */
.advantages-section {
  padding: 90px 0 80px;
  background: #fff;
}

/* Eyebrow */
.adv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.adv-eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.adv-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: #0f1c2e;
  line-height: 1.18;
  margin-bottom: 20px;
}

.adv-sub {
  font-size: 15px;
  color: #5a6a7e;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

/* Featured card (права верхня) */
.adv-card-featured {
  background: #f0f4f8;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.adv-card-featured__label {
  padding: 24px 28px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2e44;
  line-height: 1.4;
  margin: 0;
}

.adv-card-featured__accent {
  background: var(--primary);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.adv-card-featured__icon {
  font-size: 52px;
  color: rgba(255,255,255,.25);
  flex-shrink: 0;
  line-height: 1;
}

.adv-card-featured__num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.adv-card-featured__desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  line-height: 1.4;
}

/* 4 items row */
.adv-items-row {
  border-top: 1px solid #e8edf3;
  padding-top: 48px;
  margin-top: 8px;
}

.adv-item {
  padding: 0 30px 0 30px;
  position: relative;
}


/* Вертикальний розділювач між колонками */
.adv-item--sep::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e8edf3;
}

.adv-item__icon {
  font-size: 36px;
  color: #c8d4e0;
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.adv-item__title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f1c2e;
  margin-bottom: 10px;
}

.adv-item__text {
  font-size: 14px;
  color: #5a6a7e;
  line-height: 1.65;
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .advantages-section { padding: 60px 0; }

  .adv-item { padding: 0 16px 32px; }
  .adv-item--sep::before { display: none; }
  .adv-items-row { padding-top: 32px; }

  .adv-card-featured__num { font-size: 34px; }
  .adv-card-featured__icon { font-size: 40px; }
}

/* ===================== ПОСЛУГИ ===================== */
.services-section {
  padding: 90px 0 80px;
  background: var(--light-bg);
}

/* Картка послуги */
.srv-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(27,58,92,.07);
  transition: transform .2s, box-shadow .2s;
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,58,92,.13);
}

/* Зображення */
.srv-card__img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #d0dae6; /* заглушка поки нема фото */
  flex-shrink: 0;
}
.srv-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.srv-card:hover .srv-card__img img { transform: scale(1.04); }
.srv-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27,58,92,.35) 100%);
}

/* Плейсхолдер-іконка коли нема фото */
.srv-card__img::after {
  content: '\F4DE'; /* bi-door-closed, перекриється реальним img */
  font-family: 'bootstrap-icons';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(27,58,92,.18);
}
.srv-card__img img + .srv-card__img-overlay ~ *,
.srv-card__img img { position: relative; z-index: 1; }

/* Тіло картки */
.srv-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.srv-card__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.srv-card__text {
  font-size: 13.5px;
  color: #5a6a7e;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

/* Кнопки */
.srv-card__actions {
  display: flex;
  gap: 8px;
}

.srv-btn-outline {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(27,58,92,.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.srv-btn-outline:hover {
  border-color: var(--primary);
  background: rgba(27,58,92,.05);
  color: var(--primary);
}

.srv-btn-accent {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.srv-btn-accent:hover { background: var(--accent-hover); }

/* Блок корисних посилань */
.srv-links-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.srv-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.srv-link-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(27,58,92,.1);
  transform: translateY(-2px);
}

.srv-link-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(27,58,92,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: background .15s;
}
.srv-link-card:hover .srv-link-card__icon {
  background: var(--accent);
  color: #fff;
}

.srv-link-card__title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f1c2e;
  line-height: 1.3;
}
.srv-link-card__sub {
  font-size: 12.5px;
  color: #8a9bb0;
  margin-top: 3px;
}

.srv-link-card__arrow {
  margin-left: auto;
  font-size: 18px;
  color: #c0ccda;
  flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.srv-link-card:hover .srv-link-card__arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 991.98px) {
  .services-section { padding: 60px 0; }
  .srv-links-row { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .srv-card__img { height: 140px; }
  .srv-card__body { padding: 16px; }
  .srv-card__title { font-size: 14px; }
  .srv-card__actions { flex-direction: column; }
  .srv-btn-outline, .srv-btn-accent { flex: none; width: 100%; }
}

/* ===================== ВІДГУКИ ===================== */
.reviews-section {
  padding: 90px 0 80px;
  background: #fff;
}

/* Summary рядок */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-bg);
  border-radius: 12px;
  padding: 12px 18px;
}
.reviews-summary__score {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.reviews-summary__label {
  font-size: 12px;
  color: #8a9bb0;
  margin-top: 4px;
}

.reviews-stars {
  display: flex;
  gap: 3px;
  color: #FBBC05;
  font-size: 14px;
}

.reviews-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1.5px solid #e2e9f0;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, box-shadow .15s;
}
.reviews-google-btn:hover {
  border-color: #4285F4;
  box-shadow: 0 2px 10px rgba(66,133,244,.15);
  color: #2c3e50;
}

.reviews-section {
  overflow: hidden; /* переносимо сюди */
}

/* Carousel wrapper */
.reviews-carousel-wrap {
  overflow: visible; /* було hidden */
  position: relative;
  padding: 0 28px;   /* місце для кнопок по боках */
  margin: 0 -28px;   /* компенсуємо відступ контейнера */
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Картка відгуку */
.review-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(27,58,92,.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.review-card:hover {
  box-shadow: 0 8px 28px rgba(27,58,92,.11);
  transform: translateY(-3px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f1c2e;
  line-height: 1.2;
}
.review-date {
  font-size: 12px;
  color: #8a9bb0;
  margin-top: 2px;
}

.review-google-logo { flex-shrink: 0; }

.review-text {
  font-size: 13.5px;
  color: #4a5a6e;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Nav buttons */
.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e2e9f0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(27,58,92,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  transition: background .15s, border-color .15s, color .15s;
}
.reviews-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.reviews-nav--prev { left: -22px; }
.reviews-nav--next { right: -22px; }
.reviews-nav:disabled { opacity: .35; cursor: default; }
.reviews-nav:disabled:hover {
  background: #fff;
  border-color: #e2e9f0;
  color: var(--primary);
}

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0dae6;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.reviews-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 991.98px) {
  .reviews-section { padding: 60px 0; }
  .review-card { flex: 0 0 calc(50% - 10px); }
  .reviews-nav--prev { left: -12px; }
  .reviews-nav--next { right: -12px; }
}

@media (max-width: 575.98px) {
  .review-card { flex: 0 0 100%; }
  .reviews-nav { display: none; }
  .reviews-summary { flex-wrap: wrap; }
}

.work-process-section .small-title{
    color: var(--main-color);
    letter-spacing: 1px;
    font-size: .95rem;
}

.work-process-section .section-title{
    font-size: clamp(2.2rem,5vw,4rem);
    color: #111;
}

.process-item{
    border-right: 1px solid rgba(0,0,0,.08);
    padding-bottom: 20px;
}

.process-icon{
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: #ff6b00;
    border-radius: 50%;
}

.bignum {
    font-weight: bold;
    margin: 30px 0 0 -40px;
    font-size: 80px;
}

.process-item h4{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.process-item p{
    max-width: 290px;
    margin: auto;
    font-size: 14px;
    color: #5a6a7e;
    line-height: 1.65;
}

.bottom-note{
    max-width: 950px;
    background: #fff;
    padding: 22px 35px;
    border-radius: 50px;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
        border-bottom: 4px solid #ff6b00;
}

.bottom-note i{
    color: var(--main-color);
}

@media (max-width:991px){

    .process-item{
        border-right: none;
        margin-bottom: 40px;
    }

    .bottom-note{
        border-radius: 25px;
        font-size: 1rem;
    }

}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #f5f7fa;
}

/* ---------- GAL ----------- */
.colgal img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
}

figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

figure a {
  color: black;
  text-decoration: none;
}

figcaption {
  grid-row: 2;
  grid-column: 1;
  background-color: rgba(255,255,255,.5);
  padding: .2em .5em;
  justify-self: start;
}

.colgal {
  column-count: 3;
  column-gap: 1px;
}
.colgal img {
    border-radius: 16px;
    opacity: 0.9;
    transition: 0.3s;
    transform: scale(0.9);
}
.colgal img:hover {
    opacity: 1;
    transition: 0.3s;
    transform: scale(1.0);
}
/* ---------- GAL ----------- */

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Колонка 1 */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo {
  height: 44px;
  width: auto;
  /* якщо лого темне — зробіть його білим фільтром: */
  filter: brightness(0) invert(1);
}
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.footer-brand-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 3px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.footer-badge .bi { color: var(--accent); }

/* Заголовки колонок */
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Списки посилань */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: 5px 0;
  transition: color .15s, gap .15s;
}
.footer-links a .bi {
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .15s;
}
.footer-links a:hover {
  color: #fff;
  gap: 10px;
}
.footer-links a:hover .bi { transform: translateX(2px); }

/* Два стовпці в районах */
.footer-links--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

/* Контакти */
.footer-col--contacts { display: flex; flex-direction: column; }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1;
  transition: color .15s;
}
.footer-phone:hover { color: var(--accent); }

.footer-phone-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: .5px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color .15s;
}
.footer-email:hover { color: #fff; }
.footer-email .bi { color: var(--accent); }

.footer-messengers {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.footer-msg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
}
.footer-msg:hover { transform: scale(1.1); opacity: .9; }
.footer-msg.msg-tg { background: #0088cc; color: #fff; }
.footer-msg.msg-vb { background: #7360f2; color: #fff; }
.footer-msg.msg-wa { background: #25d366; color: #fff; }

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  padding: 13px 20px;
  text-decoration: none;
  transition: background .15s, transform .13s;
}
.footer-cta-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: 12.5px;
  transition: color .15s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* Responsive */
@media (max-width: 1199.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 767.98px) {
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links--two-col { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* карта */
.map-wrap { position: relative; max-width: 640px; margin: 0 auto; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.district { cursor: pointer; }
.district path {
  stroke: #fff;
  stroke-width: 4;
  transition: filter 0.15s;
}
.district:hover path,
.district.active path {
  filter: brightness(0.65) saturate(1.6);
  stroke-width: 6;
}
.lbl {
  pointer-events: none;
  font-family: -apple-system, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  fill: #3d1200;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 7px;
}
.tip {
  position: absolute;
  background: #1a2a4a;
  color: #fff;
  border: 1.5px solid #ff8c00;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: -apple-system, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  pointer-events: auto;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  text-align: center;
}
.tip.vis { opacity: 1; }
.tip b { color: #ffd27a; display: block; font-size: 15px; margin-bottom: 2px; }
.tip strong { color: #ff8c00; font-size: 19px; }
.tip-btn {
  display: block;
  margin-top: 10px;
  background: #ff8c00;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.tip-btn:hover { background: #e07a00; }


@media (max-width: 767.98px) {
.lbl {
  font-size: 32px;
}
.tip {
    font-size: 11px;
}
.tip b {
    font-size: 12px;
}
.tip strong {
    font-size: 14px;
}
}
/* карта */

/* ===================== PAGE.PHP STYLES ===================== */

/* --- Page Hero --- */
.page-hero {
  position: relative;
  background: var(--primary);
  padding: 48px 0 52px;
  overflow: hidden;
}
.page-hero--has-image { padding: 72px 0 68px; }

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .22;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary) 40%, transparent 100%);
}
.page-hero__inner { position: relative; z-index: 2; }

.page-hero__title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  color: #fff;
  margin: 12px 0 0;
  line-height: 1.2;
  max-width: 720px;
}
.page-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-top: 12px;
  max-width: 580px;
  line-height: 1.65;
}

/* --- Breadcrumb --- */
.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.page-breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s;
}
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb__sep { font-size: 10px; color: rgba(255,255,255,.3); }
.page-breadcrumb__current { color: var(--accent); font-weight: 600; }

/* --- Content + Sidebar grid --- */
.page-content-section {
  padding: 64px 0 80px;
  background: var(--light-bg);
}

.page-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* --- Основний контент --- */
.page-content-main { min-width: 0; }

.page-content-body {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 2px 16px rgba(27,58,92,.07);
  font-size: 15.5px;
  line-height: 1.75;
  color: #2c3e50;
}

/* Стилі для контенту з редактора WordPress */
.page-content-body h2 {
  font-size: 22px;
  font-weight: 700;

}
.page-content-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
}
.page-content-body h2:first-child,
.page-content-body h3:first-child { margin-top: 0; }

.page-content-body p { margin-bottom: 16px; }
.page-content-body p:last-child { margin-bottom: 0; }

.page-content-body ul,
.page-content-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.page-content-body li { margin-bottom: 8px; }


.page-content-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 8px 0;
}

.page-content-body strong { color: var(--primary); }

.page-content-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  padding: 14px 20px;
  background: rgba(255,107,0,.05);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #4a5a6e;
}

/* Пагінація по <!--nextpage--> */
.page-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #edf1f6;
}
.page-pagination span,
.page-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #e2e9f0;
  color: var(--primary);
  transition: background .15s, border-color .15s;
}
.page-pagination span { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-pagination a:hover { border-color: var(--primary); background: rgba(27,58,92,.06); }

/* --- Сайдбар --- */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px; /* висота navbar */
}

/* CTA картка */
.sidebar-cta-card {
  background: var(--primary);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sidebar-cta-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 14px;
}
.sidebar-cta-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.sidebar-cta-card__text {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin-bottom: 14px;
}
.sidebar-cta-card__phone {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color .15s;
}
.sidebar-cta-card__phone:hover { color: var(--accent); }
.sidebar-cta-card__badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,107,0,.2);
  color: var(--accent);
  border-radius: 30px;
  padding: 4px 12px;
  margin-bottom: 4px;
  letter-spacing: .5px;
}
.sidebar-messengers {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* Sidebar widget */
.sidebar-widget {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 2px 12px rgba(27,58,92,.07);
}
.sidebar-widget__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f6;
}

/* Список послуг у сайдбарі */
.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #3a4a5e;
  text-decoration: none;
  transition: background .13s, color .13s;
}
.sidebar-nav-list a .bi { font-size: 10px; color: #c0ccda; transition: color .13s; }
.sidebar-nav-list a:hover,
.sidebar-nav-list a.active {
  background: rgba(27,58,92,.06);
  color: var(--primary);
}
.sidebar-nav-list a:hover .bi,
.sidebar-nav-list a.active .bi { color: var(--accent); }
.sidebar-nav-list a.active { font-weight: 700; }

/* Графік роботи */
.sidebar-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #5a6a7e;
}
.hours-value { font-weight: 700; color: var(--primary); }
.hours-value--green { color: #1a9e5c; }

/* --- Responsive --- */
@media (max-width: 1099.98px) {
  .page-content-grid { grid-template-columns: 1fr 280px; gap: 28px; }
}

@media (max-width: 767.98px) {
  .page-content-section { padding: 40px 0 60px; }
  .page-content-grid { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .page-content-body { padding: 24px 20px; }
  .page-hero { padding: 36px 0 40px; }
}

/* ===================== ПРАЙС-ЛИСТ ===================== */
.price-section {
  padding: 90px 0 80px;
  background: var(--light-bg);
}

.price-sub {
  font-size: 15px;
  color: #5a6a7e;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Обгортка таблиці */
.price-table-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(27,58,92,.10);
  margin-bottom: 20px;
}

/* Таблиця */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}

/* Шапка */
.price-table thead tr {
  background: var(--primary);
}
.price-table thead th {
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-align: left;
  border: none;
}
.price-table thead th:last-child {
  text-align: right;
  width: 160px;
}

/* Рядки-групи */
.price-group-row td {
  background: #f0f4f8;
  padding: 11px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  border: none;
  display: table-cell; /* reset */
}
.price-group-row td .bi {
  margin-right: 8px;
  color: var(--accent);
  font-size: 14px;
}

/* Звичайні рядки */
.price-table tbody tr {
  border-bottom: 1px solid #edf1f6;
  transition: background .15s;
}
.price-table tbody tr:not(.price-group-row):not(.price-row--last):hover {
  background: #f7f9fc;
}
.price-table tbody tr.price-row--last {
  border-bottom: none;
}

.price-table tbody td {
  padding: 15px 24px;
  color: #2c3e50;
  font-weight: 500;
  vertical-align: middle;
  border: none;
}
.price-table tbody td:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Примітка дрібним */
.price-note {
  font-size: 12.5px;
  font-weight: 400;
  color: #8a9bb0;
  display: inline;
}

/* Цінові бейджі */
.price-tag {
  display: inline-block;
  background: #eef2f7;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 14px;
  min-width: 110px;
  text-align: center;
}
.price-tag--accent {
  background: var(--accent);
  color: #fff;
}

/* Дисклеймер */
.price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(27,58,92,.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 13px;
  color: #5a6a7e;
  line-height: 1.6;
}
.price-disclaimer .bi {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Адаптив ---- */
@media (max-width: 767.98px) {
  .price-section { padding: 60px 0; }

  .price-table-wrap { border-radius: 12px; }

  .price-table,
  .price-table tbody,
  .price-table thead,
  .price-table tr,
  .price-table td,
  .price-table th { display: block; width: 100%; }

  .price-table thead { display: none; } /*ховаємо шапку — колонки зрозумілі без неї */

  .price-group-row td { padding: 10px 16px; }

  .price-table tbody tr:not(.price-group-row) {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    gap: 6px;
  }

  .price-table tbody td {
    padding: 0 8px;
    font-size: 14px;
  }
  .price-table tbody td:last-child {
    text-align: left;
  }

  .price-tag {
    min-width: auto;
    font-size: 13px;
    padding: 5px 12px;
  }
}

@media (max-width: 400px) {
  .price-table tbody tr:not(.price-group-row) { padding: 12px 14px; }
}


/* ===================== ARCHIVE ===================== */

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Картка */
.archive-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(27,58,92,.07);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,58,92,.13);
}

/* Зображення */
.archive-card__img-link { display: block; }
.archive-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #d0dae6;
}
.archive-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.archive-card:hover .archive-card__img img { transform: scale(1.04); }

.archive-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(27,58,92,.18);
}

.archive-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 10px;
  z-index: 2;
}

/* Тіло */
.archive-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.archive-card__meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #8a9bb0;
  margin-bottom: 10px;
}
.archive-card__meta .bi { margin-right: 4px; }

.archive-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.archive-card__title a {
  color: var(--primary);
  text-decoration: none;
  transition: color .15s;
}
.archive-card__title a:hover { color: var(--accent); }

.archive-card__excerpt {
  font-size: 13.5px;
  color: #5a6a7e;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}
.archive-card__excerpt p { margin: 0; }

.archive-card__footer {
  border-top: 1px solid #edf1f6;
  padding-top: 14px;
}

.archive-card__readmore {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s, color .15s;
}
.archive-card__readmore:hover { color: var(--accent); gap: 10px; }
.archive-card__readmore .bi { font-size: 13px; }

/* Пагінація */
.archive-pagination { margin-top: 36px; }
.archive-pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1.5px solid #e2e9f0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.archive-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* Пусто */
.archive-empty {
  background: #fff;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(27,58,92,.07);
}
.archive-empty .bi { font-size: 52px; color: #c0ccda; display: block; margin-bottom: 16px; }
.archive-empty h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.archive-empty p  { font-size: 15px; color: #5a6a7e; margin-bottom: 24px; }

/* Сайдбар: лічильник категорій */
.sidebar-cat-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  background: rgba(27,58,92,.08);
  color: var(--primary);
  border-radius: 20px;
  padding: 2px 8px;
  flex-shrink: 0;
}

/* Сайдбар: останні статті */
.sidebar-recent-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
  text-decoration: none;
  transition: opacity .15s;
}
.sidebar-recent-post:last-child { border-bottom: none; }
.sidebar-recent-post:hover { opacity: .8; }

.sidebar-recent-post__img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #d0dae6;
}
.sidebar-recent-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-recent-post__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(27,58,92,.2);
}
.sidebar-recent-post__info { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.sidebar-recent-post__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}
.sidebar-recent-post__date { font-size: 11.5px; color: #8a9bb0; }
.sidebar-recent-post__date .bi { margin-right: 4px; }

/* Responsive */
@media (max-width: 767.98px) {
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card__img { height: 180px; }
}
/* ===================== SINGLE ===================== */

/* Hero мета */
.single-hero-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.single-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.single-hero-meta .bi { margin-right: 5px; }

/* Стаття */
.single-article { margin-bottom: 28px; }

.single-article .wp-block-image,
.single-article figure {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
}
.single-article .wp-block-image img,
.single-article figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.single-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.single-article table th,
.single-article table td {
  padding: 12px 16px;
  border: 1px solid #e8edf3;
  text-align: left;
}
.single-article table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.single-article table tr:nth-child(even) td { background: #f7f9fc; }

/* Теги */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--light-bg);
  border-radius: 12px;
}
.single-tags > .bi {
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}
.single-tag {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  border: 1.5px solid #e2e9f0;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.single-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Поділитись */
.single-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.single-share__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 4px;
}
.single-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity .15s, transform .13s;
}
.single-share__btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.single-share__btn--fb { background: #1877f2; }
.single-share__btn--tg { background: #0088cc; }
.single-share__btn--wa { background: #25d366; }

/* Автор */
.single-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--light-bg);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
}
.single-author-card__avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(27,58,92,.12);
}
.single-author-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.single-author-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.single-author-card__bio {
  font-size: 13.5px;
  color: #5a6a7e;
  line-height: 1.6;
}

/* Навігація між постами */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.single-post-nav__item a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid #e2e9f0;
  border-radius: 14px;
  text-decoration: none;
  height: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.single-post-nav__item a:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(27,58,92,.1);
}
.single-post-nav__item--next a { text-align: right; }
.single-post-nav__dir {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-post-nav__item--next .single-post-nav__dir { justify-content: flex-end; }
.single-post-nav__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}

/* Схожі статті */
.single-related { margin-bottom: 36px; }
.single-related__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #edf1f6;
}
.single-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e2e9f0;
  text-decoration: none;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.related-card:hover {
  box-shadow: 0 8px 24px rgba(27,58,92,.11);
  transform: translateY(-3px);
}
.related-card__img {
  height: 130px;
  overflow: hidden;
  background: #d0dae6;
}
.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.related-card:hover .related-card__img img { transform: scale(1.05); }
.related-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(27,58,92,.18);
}
.related-card__body { padding: 14px; }
.related-card__date {
  font-size: 11.5px;
  color: #8a9bb0;
  margin-bottom: 6px;
}
.related-card__date .bi { margin-right: 4px; }
.related-card__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}

/* Коментарі */
.single-comments {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 2px 12px rgba(27,58,92,.07);
}
.single-comments .comments-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #edf1f6;
}
.single-comments .comment-body {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.single-comments .comment-author b { color: var(--primary); font-size: 14px; }
.single-comments .comment-metadata { font-size: 12px; color: #8a9bb0; }
.single-comments .comment-content p { font-size: 14px; color: #3a4a5e; margin: 8px 0 0; }

.single-comments .comment-form-comment label,
.single-comments .comment-form-author label,
.single-comments .comment-form-email label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}
.single-comments .comment-form input[type="text"],
.single-comments .comment-form input[type="email"],
.single-comments .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e9f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2c3e50;
  outline: none;
  transition: border-color .15s;
  margin-bottom: 16px;
}
.single-comments .comment-form input:focus,
.single-comments .comment-form textarea:focus {
  border-color: var(--primary);
}
.single-comments .comment-form textarea { min-height: 120px; resize: vertical; }
.single-comments .comment-form-submit input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.single-comments .comment-form-submit input[type="submit"]:hover {
  background: var(--accent-hover);
}

/* Responsive */
@media (max-width: 767.98px) {
  .single-post-nav { grid-template-columns: 1fr; }
  .single-related__grid { grid-template-columns: 1fr 1fr; }
  .single-author-card { flex-direction: column; }
  .single-hero-meta { gap: 10px; font-size: 12px; }
  .single-comments { padding: 22px 18px; }
}

@media (max-width: 480px) {
  .single-related__grid { grid-template-columns: 1fr; }
  .single-share { gap: 8px; }
  .single-share__btn { padding: 8px 12px; font-size: 12px; }
}
.sidebar-recent-post--active {
  background: rgba(27,58,92,.05);
  border-radius: 10px;
  pointer-events: none;
}
.sidebar-recent-post--active .sidebar-recent-post__title {
  color: var(--accent);
}
/* ===================== КОНТАКТИ ===================== */

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

/* --- Картки контактів --- */
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid #e8edf3;
  border-radius: 16px;
  padding: 20px 22px;
  position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.contact-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(27,58,92,.09);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-card__icon--email { background: var(--accent); }

.contact-card__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a9bb0;
  margin-bottom: 4px;
}
.contact-card__value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: block;
  line-height: 1.2;
  transition: color .15s;
}
.contact-card__value:hover { color: var(--accent); }
.contact-card__hint {
  font-size: 12px;
  color: #8a9bb0;
  margin-top: 3px;
}
.contact-card__badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: .5px;
}

/* --- Месенджери --- */
.contact-messengers-block {
  background: #fff;
  border: 1.5px solid #e8edf3;
  border-radius: 16px;
  padding: 20px 22px;
}
.contact-messengers-block__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a9bb0;
  margin-bottom: 14px;
}
.contact-messengers-block__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-msg-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
  color: #fff;
}
.contact-msg-btn:hover { transform: translateX(4px); opacity: .92; color: #fff; }
.contact-msg-btn > .bi { font-size: 24px; flex-shrink: 0; }
.contact-msg-btn--tg { background: #0088cc; }
.contact-msg-btn--vb { background: #7360f2; }
.contact-msg-btn--wa { background: #25d366; }

.contact-msg-btn__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.contact-msg-btn__hint {
  font-size: 12px;
  opacity: .8;
  margin-top: 2px;
}

/* --- Графік --- */
.contact-hours {
  background: var(--primary);
  border-radius: 16px;
  padding: 20px 22px;
}
.contact-hours__title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.contact-hours__row:last-child { border-bottom: none; }
.contact-hours__val {
  font-weight: 700;
  color: #fff;
}
.contact-hours__val--green { color: #4cd98a; }

/* --- Форма --- */
.contacts-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 4px 32px rgba(27,58,92,.10);
}
.contacts-form-card__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.contacts-form-card__sub {
  font-size: 14.5px;
  color: #5a6a7e;
  margin-bottom: 28px;
  line-height: 1.55;
}

.contacts-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contacts-form__group { margin-bottom: 18px; }

.contacts-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
}
.contacts-form__label span { color: var(--accent); }

.contacts-form__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.contacts-form__input-wrap > .bi {
  position: absolute;
  left: 14px;
  font-size: 15px;
  color: #aab8c8;
  pointer-events: none;
  z-index: 1;
}

.contacts-form__input-wrap input,
.contacts-form__input-wrap select,
.contacts-form__input-wrap textarea {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid #e2e9f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #2c3e50;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.contacts-form__input-wrap input:focus,
.contacts-form__input-wrap select:focus,
.contacts-form__input-wrap textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,92,.08);
}
.contacts-form__input-wrap input::placeholder,
.contacts-form__input-wrap textarea::placeholder { color: #b0bec8; }

/* Стрілка у select */
.contacts-form__input-wrap--select::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 14px;
  font-size: 13px;
  color: #aab8c8;
  pointer-events: none;
}

.contacts-form__input-wrap--textarea { align-items: flex-start; }
.contacts-form__input-wrap--textarea > .bi { top: 14px; }
.contacts-form__input-wrap--textarea textarea { resize: vertical; min-height: 110px; }

.contacts-form__submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .15s, transform .13s;
  margin-bottom: 14px;
}
.contacts-form__submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.contacts-form__privacy {
  font-size: 12px;
  color: #8a9bb0;
  text-align: center;
  margin: 0;
}
.contacts-form__privacy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Повідомлення про успіх */
.contacts-form__success {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(26,158,92,.08);
  border: 1.5px solid #1a9e5c;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
}
.contacts-form__success.show { display: flex; }
.contacts-form__success > .bi {
  font-size: 28px;
  color: #1a9e5c;
  flex-shrink: 0;
}
.contacts-form__success strong {
  display: block;
  font-size: 15px;
  color: #1a9e5c;
  margin-bottom: 3px;
}
.contacts-form__success p {
  font-size: 13px;
  color: #3a6a50;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1099.98px) {
  .contacts-grid { grid-template-columns: 1fr 1.2fr; gap: 28px; }
  .contacts-form-card { padding: 30px 28px; }
}
@media (max-width: 767.98px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-form__row { grid-template-columns: 1fr; gap: 0; }
  .contacts-form-card { padding: 24px 18px; }
}

.hero-rotating-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-rotating {
  display: inline-block;
  animation: slideInUp .45s cubic-bezier(.4,0,.2,1) both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-60%);
  }
}
.comments-closed {
    display: none;
}