/* =============================================
   БМК — КАПІТАЛ | styles.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --color-bg:           #111111;
  --color-bg-dark:      #0d0d0d;
  --color-bg-card:      #1a1a1a;
  --color-accent:       #C9A84C;
  --color-accent-hover: #dbbe6a;
  --color-text:         #f0ece4;
  --color-text-muted:   #8a8278;
  --color-border:       rgba(201,168,76,0.2);
  --color-border-hover: rgba(201,168,76,0.5);

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition: 0.3s ease;
  --radius:     2px;
  --container:  1200px;
  --section-gap: 100px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── GEOMETRIC PATTERN (hero/banner bg) ─── */
.geo-pattern {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.03) 40px,
      rgba(201,168,76,0.03) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.03) 40px,
      rgba(201,168,76,0.03) 41px
    );
}

/* ─── SECTION HEADING ─── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-title-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 12px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 12px;
  padding: 10px 22px;
  letter-spacing: 1px;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--transition), box-shadow var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height var(--transition);
}

.header.scrolled .header__inner {
  height: 58px;
}

.header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-accent);
  text-transform: uppercase;
  white-space: nowrap;
}
.logo span {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-accent);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  padding: 16px 0 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transition-delay: 300ms;
  transform: translateX(-50%) translateY(-8px);
}

/* Wide 2-column dropdown for services */
.nav__dropdown--wide {
  min-width: 560px;
  display: flex;
  gap: 0;
  padding: 16px 0 12px;
}

.nav__dropdown-col {
  flex: 1;
  padding: 0 4px;
}

.nav__dropdown-col--sep {
  border-left: 1px solid var(--color-border);
}

.nav__dropdown-category {
  padding: 4px 20px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.85;
}

/* Invisible bridge that fills the gap between nav link and dropdown */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav__item:hover .nav__dropdown,
.nav__item.open .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0ms;
}

.nav__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
  border-left: 2px solid transparent;
}
.nav__dropdown-link:hover {
  color: var(--color-accent);
  background: rgba(201,168,76,0.05);
  border-left-color: var(--color-accent);
}

.nav__caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  transition: transform var(--transition);
}
.nav__item:hover .nav__caret {
  transform: rotate(180deg);
}

/* CTA button in header */
.header__cta {
  margin-left: 16px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 4px;
}
.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.35s ease;
  transform-origin: center;
}
.burger.active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.active .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: 8px 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-nav.open {
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-nav__link {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.mobile-nav__link:hover {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  background: rgba(201,168,76,0.04);
}
.mobile-nav__link--sub {
  font-size: 11px;
  padding: 9px 24px 9px 52px;
  letter-spacing: 0.06em;
}

/* Accordion wrapper */
.mobile-nav__accordion {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 4px 0;
}

/* Top-level trigger "Послуги" */
.mobile-nav__acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.mobile-nav__acc-trigger:hover,
.mobile-nav__acc-trigger.open {
  color: var(--color-accent);
}

/* Sub-category trigger */
.mobile-nav__acc-sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 24px 10px 32px;
  background: none;
  border: none;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.mobile-nav__acc-sub-trigger:first-child {
  border-top: none;
}
.mobile-nav__acc-sub-trigger:hover {
  opacity: 1;
}

/* Arrow icon rotation */
.mobile-nav__acc-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: currentColor;
}
.mobile-nav__acc-trigger.open .mobile-nav__acc-arrow,
.mobile-nav__acc-sub-trigger.open .mobile-nav__acc-arrow {
  transform: rotate(180deg);
}

/* Collapsible bodies */
.mobile-nav__acc-body,
.mobile-nav__acc-sub-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav__acc-body.open {
  max-height: 800px;
}
.mobile-nav__acc-sub-body.open {
  max-height: 600px;
}

/* Old sub styles — keep for backward compat */
.mobile-nav__sub {
  padding-left: 16px;
}
.mobile-nav__sub .mobile-nav__link {
  font-size: 12px;
  padding: 8px 24px 8px 40px;
}
.mobile-nav__category {
  padding: 10px 24px 4px 40px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.85;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: 72px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer__brand .logo {
  font-size: 16px;
  margin-bottom: 16px;
  display: block;
}
.footer__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer__nav-link {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer__nav-link:hover {
  color: var(--color-text);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  margin-top: 2px;
}
.footer__contact-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════
   HERO (index)
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding-top: 76px;
}

/* Двоколонковий layout всередині hero */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 64px;
  width: 100%;
}

/* Photo layer for main hero */
.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(201,168,76,0.025) 60px,
      rgba(201,168,76,0.025) 61px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(201,168,76,0.025) 60px,
      rgba(201,168,76,0.025) 61px
    );
}

.hero__corner {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}
.hero__eyebrow-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.hero__scroll-arrow {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollArrow 2s ease-in-out infinite;
}
@keyframes scrollArrow {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ══════════════════════════════════════════
   HERO SERVICES SLIDER
   ══════════════════════════════════════════ */

.hero__svc-slider {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero__svc-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hero__svc-label-line {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero__svc-card {
  border: 1px solid var(--color-border);
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}

.hero__svc-card:hover {
  border-color: var(--color-border-hover);
}

/* золота лінія зліва */
.hero__svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-accent);
}

/* декоративний кут */
.hero__svc-corner {
  position: absolute;
  top: -14px; right: -14px;
  width: 72px; height: 72px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  pointer-events: none;
}

.hero__svc-inner {
  transition: opacity 0.25s ease;
}
.hero__svc-inner.fading {
  opacity: 0;
}

.hero__svc-num {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(201, 168, 76, 0.38);
  margin-bottom: 14px;
}

.hero__svc-icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: block;
}

.hero__svc-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 8px;
}

.hero__svc-text {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.hero__svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.hero__svc-link:hover {
  gap: 10px;
  color: var(--color-accent-hover);
}

.hero__svc-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--color-accent);
  width: 0%;
}

.hero__svc-dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-left: 2px;
}

.hero__svc-dot {
  width: 20px;
  height: 2px;
  background: rgba(201, 168, 76, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}
.hero__svc-dot.active {
  background: var(--color-accent);
  width: 34px;
}

/* ──────────────────────────────────────────
   HERO: мобільний вигляд
   ────────────────────────────────────────── */

/* Планшет ≤ 1024px: одна колонка, слайдер знизу по лівому краю */
@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 24px;
  }

  .hero__svc-slider {
    max-width: 480px;
  }
}

/* Мобільний ≤ 640px: слайдер по центру, красивий вигляд */
@media (max-width: 640px) {
  .hero {
    padding-bottom: 80px;
  }

  .hero__layout {
    gap: 32px;
  }

  .hero__svc-slider {
    max-width: 100%;
    /* центруємо на мобільному */
    margin: 0 auto;
  }

  /* Красива горизонтальна картка з іконкою зліва */
  .hero__svc-card {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(17, 17, 17, 0.92);
  }

  /* Золота іконка-колонка зліва */
  .hero__svc-card::after {
    content: '';
    position: absolute;
    left: 60px; top: 0; bottom: 0;
    width: 1px;
    background: var(--color-border);
  }

  .hero__svc-inner {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
  }

  /* Іконка займає ліву колонку */
  .hero__svc-num {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0 0;
    margin-bottom: 0;
    font-size: 9px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 1.5px;
  }

  .hero__svc-icon {
    grid-column: 2;
    grid-row: 1;
    margin: 18px 0 10px 16px;
    width: 22px;
    height: 22px;
  }

  .hero__svc-title {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    margin: 0 16px 8px;
  }

  /* Опис тексту — ховаємо на мобільному, щоб не було тісно */
  .hero__svc-text {
    display: none;
  }

  .hero__svc-link {
    grid-column: 2;
    grid-row: 3;
    margin: 0 16px 18px;
    font-size: 10px;
  }

  /* Крапки по центру на мобільному */
  .hero__svc-dots {
    justify-content: center;
    padding-left: 0;
    margin-top: 12px;
  }

  .hero__svc-label {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.about {
  padding: var(--section-gap) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text p {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.about__text p:last-child { margin-bottom: 0; }

.about__highlight {
  color: var(--color-text) !important;
  font-size: 17px !important;
}

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

.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition);
}
.stat-card:hover {
  border-color: var(--color-border-hover);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Span full width in about__stats grid */
.stat-card--full {
  grid-column: span 3;
}
.about-certs--full {
  grid-column: span 3;
}


.about-utp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  padding: 24px 22px 22px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.about-utp::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}
.about-utp:hover {
  border-color: var(--color-border-hover);
  border-top-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.about-utp__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  margin-bottom: 14px;
}
.about-utp__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
}
.about-utp__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-utp__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Блок сертифікатів */
.about-certs {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 20px 24px;
}
.about-certs__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.about-certs__placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-style: italic;
  opacity: 0.6;
}

/* ══════════════════════════════════════════
   SERVICES SECTION (index grid)
   ══════════════════════════════════════════ */
.services {
  padding: var(--section-gap) 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services__head {
  margin-bottom: 60px;
}

/* Category headers */
.services__category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.services__category-header svg {
  stroke: var(--color-accent);
  flex-shrink: 0;
}
.services__category-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

/* Transport section — 2 послуги, не 3 */
.services__grid--transport {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background: var(--color-bg-card);
  padding: 40px 32px;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--transition);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover {
  background: #1e1e1e;
}
.service-card:hover::before {
  border-color: var(--color-border-hover);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  z-index: 2;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap var(--transition), color var(--transition);
}
.service-card__link:hover {
  gap: 14px;
  color: var(--color-accent-hover);
}

/* ── Services Tabs ── */
.services__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}

.services__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.services__tab svg {
  stroke: currentColor;
  flex-shrink: 0;
}

.services__tab:hover {
  color: var(--color-text);
}

.services__tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ── Services Panel ── */
.services__panel {
  display: none;
}

.services__panel.active {
  display: block;
}

/* ── Services List (2-column row layout) ── */
.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.svc-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 28px;
  background: var(--color-bg-card);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.svc-row:hover {
  background: #1e1e1e;
}

.svc-row:hover .svc-row__title {
  color: var(--color-accent);
}

.svc-row:hover .svc-row__arrow {
  transform: translateX(4px);
  stroke: var(--color-accent);
}

.svc-row__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.svc-row__icon svg {
  width: 100%;
  height: 100%;
}

.svc-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-row__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--transition);
  line-height: 1.35;
}

.svc-row__text {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.svc-row__arrow {
  flex-shrink: 0;
  stroke: var(--color-text-muted);
  margin-top: 4px;
  transition: transform var(--transition), stroke var(--transition);
}

/* ══════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════ */
.pricing {
  padding: var(--section-gap) 0;
}

.pricing__head {
  margin-bottom: 60px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 44px 36px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.price-card--featured {
  border-color: var(--color-accent) !important;
  background: #1c1c1c;
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  white-space: nowrap;
}

.price-card__tier {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.price-card__name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.price-card__price {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin: 20px 0 8px;
}
.price-card__price-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.price-divider {
  height: 1px;
  background: var(--color-border);
  margin: 28px 0;
}

.price-card__features {
  flex: 1;
  margin-bottom: 32px;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}
.price-feature svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.price-feature--disabled {
  opacity: 0.4;
}

/* ══════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════ */
.reviews {
  padding: var(--section-gap) 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.reviews__head {
  margin-bottom: 60px;
}

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

.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition);
}
.review-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.review-card__quote {
  font-size: 48px;
  line-height: 1;
  color: var(--color-accent);
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.review-card__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}
.review-card__role {
  font-size: 12px;
  color: var(--color-text-muted);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-top: 8px;
}
.review-star {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq {
  padding: var(--section-gap) 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq__list {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition);
  cursor: pointer;
}
.faq-item__trigger:hover {
  color: var(--color-accent);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1;
  transition: border-color var(--transition), transform var(--transition);
}
.faq-item.open .faq-item__icon {
  border-color: var(--color-accent);
  transform: rotate(45deg);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-item__body {
  max-height: 400px;
}
.faq-item__body-inner {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   CONTACTS
   ══════════════════════════════════════════ */
.contacts {
  padding: var(--section-gap) 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

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

.contacts__info {
  padding-top: 8px;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contacts__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}
.contacts__label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.contacts__value {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* Form */
.form__group {
  margin-bottom: 16px;
}
.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.form__input,
.form__textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}
.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.form__textarea {
  resize: vertical;
  min-height: 120px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__error {
  font-size: 12px;
  color: #e06060;
  margin-top: 5px;
  display: none;
}
.form__group.has-error .form__error { display: block; }
.form__group.has-error .form__input,
.form__group.has-error .form__textarea {
  border-color: #e06060;
}
.form__success {
  display: none;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--color-border-hover);
  padding: 16px 20px;
  color: var(--color-accent);
  font-size: 15px;
  margin-top: 16px;
}
.form__success.show { display: block; }

/* ══════════════════════════════════════════
   SERVICE PAGE STYLES
   ══════════════════════════════════════════ */

/* Service Hero Banner */
.service-hero {
  padding: 160px 0 80px;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

/* Photo background layer for service hero sections */
.service-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
.service-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.72) 50%,
    rgba(10, 10, 10, 0.82) 100%
  );
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(201,168,76,0.025) 60px,
      rgba(201,168,76,0.025) 61px
    );
}

.service-hero > .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-family: var(--font-heading);
}
.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb__sep { color: var(--color-border-hover); }
.breadcrumb__current { color: var(--color-accent); }

.service-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 20px;
  position: relative;
}
.service-hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.service-hero__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.8;
  position: relative;
}

/* Service Description */
.service-desc {
  padding: var(--section-gap) 0;
}

.service-desc__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

.service-desc__body p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.service-sidebar {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 36px;
}

.service-sidebar__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.service-sidebar__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-sidebar__list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.service-sidebar__list li:last-child {
  border-bottom: none;
}

/* What we do */
.service-work {
  padding: var(--section-gap) 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}

/* Декоративна діагональна лінія на фоні */
.service-work::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201,168,76,0.06);
  transform: rotate(20deg);
  pointer-events: none;
}

.service-work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: 48px;
}

.work-item {
  background: var(--color-bg-dark);
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

/* Номер-watermark на фоні */
.work-item::before {
  content: attr(data-num);
  position: absolute;
  bottom: -12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 900;
  color: rgba(201,168,76,0.04);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
}
.work-item:hover::before {
  color: rgba(201,168,76,0.07);
}
.work-item:hover {
  background: #161616;
}

/* Акцентна риска зверху при ховері */
.work-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.work-item:hover::after {
  transform: scaleX(1);
}

.work-item__num {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.work-item__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.work-item__icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.work-item__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.work-item__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ── ADVANTAGES ─────────────────────────── */
.service-advantages {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.advantage-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 32px 24px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.advantage-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

/* Декоративний кут */
.advantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition), width var(--transition), height var(--transition);
}
.advantage-item:hover::before {
  border-color: var(--color-accent);
  width: 50px;
  height: 50px;
}

/* Іконка в рамці */
.advantage-item__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  padding: 10px;
  border: 1px solid rgba(201,168,76,0.25);
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.advantage-item:hover .advantage-item__icon {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.5);
}
.advantage-item__icon svg {
  width: 100%;
  height: 100%;
}

.advantage-item__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.advantage-item__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* Portfolio */
.service-portfolio {
  padding: var(--section-gap) 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.portfolio-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.portfolio-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.portfolio-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(10,10,10,0.55) 100%
  );
}

.portfolio-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}
.portfolio-card:hover .portfolio-card__img img {
  transform: scale(1.05);
}

.portfolio-card__img-icon {
  width: 48px;
  height: 48px;
  color: var(--color-border-hover);
  position: relative;
  z-index: 1;
}

.portfolio-card__body {
  padding: 20px 24px;
}
.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.portfolio-card__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* CTA Block */
.service-cta {
  padding: 100px 0;
  background: var(--color-bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(201,168,76,0.03) 80px,
    rgba(201,168,76,0.03) 81px
  );
}

.service-cta__content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.service-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
}

.service-cta__text {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* 1280px */
@media (max-width: 1280px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 36px;
  }
  .about__grid { gap: 48px; }
  .faq__grid { gap: 48px; }
  .contacts__grid { gap: 48px; }
}

/* 1024px */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card--full { grid-column: span 2; padding: 20px 16px; }
  .stat-card--full .stat-card__number { font-size: clamp(28px, 6vw, 40px); }
  .about-certs--full { grid-column: span 2; }
  .about-utp { padding: 16px 14px 14px; }
  .about-utp__icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .about-utp__icon svg { width: 14px; height: 14px; }
  .about-utp__title { font-size: 11px; }
  .about-utp__text { font-size: 12px; line-height: 1.55; }
  .about-utp:hover { transform: none; }
  /* Fix: force all about reveal elements visible on mobile */
  .about__stats .reveal { opacity: 1; transform: none; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .reviews__grid { grid-template-columns: 1fr; }

  .faq__grid { grid-template-columns: 1fr; }

  .contacts__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }

  .service-desc__grid { grid-template-columns: 1fr; gap: 40px; }
  .service-work__grid { grid-template-columns: repeat(2, 1fr); }
  .service-work__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__category { margin-top: 40px !important; }
  .services__category-header { margin-bottom: 16px; padding-bottom: 12px; }
  .services__category-title { font-size: 16px; }

  .service-work__grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .advantage-item { padding: 24px 18px; }
  .work-item { padding: 24px 20px 22px; }

  .form__row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* 480px */
@media (max-width: 480px) {
  :root { --section-gap: 56px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card--full { grid-column: span 2; }
  .about-certs--full { grid-column: span 2; }

  .service-work__grid { grid-template-columns: repeat(2, 1fr); }
  .work-item { padding: 18px 14px; }
  .work-item__icon { width: 28px; height: 28px; }
  .work-item__title { font-size: 13px; }
  .work-item::before { font-size: 64px; }

  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .advantage-item { padding: 20px 14px; }
  .advantage-item__icon { width: 38px; height: 38px; padding: 8px; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .service-facts { grid-template-columns: 1fr; }

  .service-hero { padding: 140px 0 60px; }
}

/* ══════════════════════════════════════════
   MOBILE: Нові елементи послуг (рядки + таби)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Ховаємо таби — на мобільному не потрібні */
  .services__tabs {
    display: none;
  }

  /* Обидві панелі показуємо одразу — без перемикання */
  .services__panel {
    display: block !important;
  }

  /* Список у 1 колонку */
  .services__list {
    grid-template-columns: 1fr;
  }

  /* Компактніший рядок */
  .svc-row {
    padding: 14px 16px;
    gap: 12px;
  }

  .svc-row__icon {
    width: 26px;
    height: 26px;
  }

  /* Ховаємо опис — тільки назва і стрілка */
  .svc-row__text {
    display: none;
  }

  .svc-row__arrow {
    width: 14px;
    height: 14px;
  }

  /* Відступ між двома панелями */
  .services__panel + .services__panel {
    margin-top: 28px;
  }

  /* Заголовок категорії для мобільного через псевдоелемент */
  #tab-construction::before {
    content: 'Послуги по будівництву';
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
  }

  #tab-transport::before {
    content: 'Транспортні послуги';
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
  }
}

/* ══════════════════════════════════════════
   FLOATING BUTTONS (дзвінок + вгору)
   ══════════════════════════════════════════ */

/* Контейнер для обох кнопок */
.float-btn-call,
.float-btn-top {
  position: fixed;
  bottom: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: none; /* показуємо тільки на мобільному */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}

/* Кнопка дзвінка — зліва */
.float-btn-call {
  left: 20px;
  background: var(--color-accent);
  text-decoration: none;
  /* Пульсація */
  animation: pulse-call 2.5s infinite;
}
.float-btn-call svg {
  width: 24px;
  height: 24px;
  stroke: #000;
  fill: none;
  flex-shrink: 0;
}
.float-btn-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(201,168,76,0.5);
  animation: none;
}

@keyframes pulse-call {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.55); }
  60%  { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* Кнопка "вгору" — справа */
.float-btn-top {
  right: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.float-btn-top.visible {
  opacity: 1;
  pointer-events: all;
}
.float-btn-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  flex-shrink: 0;
}
.float-btn-top:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

/* Показуємо тільки на мобільному */
@media (max-width: 1024px) {
  .float-btn-call,
  .float-btn-top {
    display: flex;
  }
}

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  background: var(--color-accent);
  padding: 64px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-banner__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 14px;
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  color: #000;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-banner__sub {
  font-size: 15px;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
  max-width: 520px;
}
.cta-banner__action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.cta-banner__btn {
  background: #000 !important;
  color: var(--color-accent) !important;
  border-color: #000 !important;
  white-space: nowrap;
}
.cta-banner__btn:hover {
  background: #111 !important;
}
.cta-banner__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(0,0,0,0.55);
}
.cta-banner__note svg { flex-shrink: 0; }
.cta-banner__note a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.cta-banner__note a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   ЯК МИ ПРАЦЮЄМО
   ══════════════════════════════════════════ */
.process {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
  overflow: hidden;
}
.process__head {
  text-align: center;
  margin-bottom: 72px;
}
.process__head .section-subtitle {
  max-width: 540px;
  margin: 0 auto;
}

/* Горизонтальна лінія-хребет */
.process__steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 0;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 15%, var(--color-accent) 85%, transparent 100%);
  opacity: 0.25;
  z-index: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.process-step:hover .process-step__num {
  background: rgba(201,168,76,0.08);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.05);
}
.process-step__body {
  background: transparent;
  border: none;
  padding: 0;
}
.process-step__icon { display: none; }
.process-step__arrow { display: none; }
.process-step__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.process-step__text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   ЧОМУ МИ — горизонтальні рядки з акцентом
   ══════════════════════════════════════════ */
.why-us {
  padding: var(--section-gap) 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: 'BMK';
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-family: var(--font-heading);
  font-size: 200px;
  font-weight: 900;
  color: rgba(201,168,76,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.why-us__head {
  margin-bottom: 48px;
}
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.why-card {
  background: var(--color-bg-dark);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.why-card:hover {
  background: rgba(201,168,76,0.03);
}
.why-card:hover::after {
  transform: scaleY(1);
}
.why-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: 0.7;
  margin-top: 2px;
  transition: opacity var(--transition);
}
.why-card:hover .why-card__icon { opacity: 1; }
.why-card__icon svg { width: 100%; height: 100%; }
.why-card__body { flex: 1; }
.why-card__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.why-card__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   РЕГІОНИ
   ══════════════════════════════════════════ */
.regions {
  padding: var(--section-gap) 0;
}
.regions__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.regions__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: 20px;
}
.regions__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
}
.region-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.region-item:last-child { border-bottom: none; }
.region-item:hover { background: var(--color-bg-card); }
.region-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border-hover);
  margin-top: 5px;
  flex-shrink: 0;
}
.region-item__dot--main {
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}
.region-item__dot--ext {
  background: transparent;
  border: 1px solid var(--color-border-hover);
}
.region-item__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 3px;
}
.region-item__note {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   RESPONSIVE — нові секції
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Process: flex → grid 3 колонки, лінія зникає */
  .process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .process__steps::before { display: none; }
  .process-step { padding: 0; }
  .process-step__arrow { display: none; }

  .why-us__grid { grid-template-columns: 1fr 1fr; }
  .regions__inner { gap: 48px; }
}

@media (max-width: 768px) {
  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .cta-banner__action { width: 100%; }
  .cta-banner__btn { width: 100%; justify-content: center; }

  /* Process: 2 колонки на планшеті */
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .process-step__num { width: 48px; height: 48px; font-size: 13px; margin-bottom: 16px; }
  .process-step__title { font-size: 12px; }
  .process-step__text { font-size: 11px; }

  .why-us__grid { grid-template-columns: 1fr 1fr; }
  .why-card { padding: 20px 18px; gap: 14px; }
  .why-card__icon { width: 32px; height: 32px; margin-top: 1px; }

  .regions__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  /* Process: залишаємо 2 колонки — 5 кроків = 3+2, читабельно */
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-step__num { width: 42px; height: 42px; font-size: 12px; }

  /* Why: 1 колонка на малих екранах — горизонтальний рядок краще читається */
  .why-us__grid { grid-template-columns: 1fr; }
  .why-card { padding: 18px 16px; }
}

/* ══════════════════════════════════════════
   SERVICE HERO BADGES
   ══════════════════════════════════════════ */
.service-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.service-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.75);
  background: var(--color-accent);
  padding: 5px 12px;
}

/* ══════════════════════════════════════════
   SERVICE FACTS (цифри в описі)
   ══════════════════════════════════════════ */
.service-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: 36px;
}
.service-fact {
  background: var(--color-bg-card);
  padding: 20px 16px;
  text-align: center;
}
.service-fact__val {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 6px;
}
.service-fact__label {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   STICKY SIDEBAR
   ══════════════════════════════════════════ */
.service-sidebar--sticky {
  position: sticky;
  top: 100px;
}
.service-sidebar__contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.service-sidebar__contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.service-sidebar__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color var(--transition);
}
.service-sidebar__phone:hover { color: var(--color-accent-hover); }
.service-sidebar__hours {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════
   WORK ITEM NUMBERS
   ══════════════════════════════════════════ */
.work-item__num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  opacity: 0.7;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════
   SERVICE FAQ
   ══════════════════════════════════════════ */
.service-faq {
  padding: var(--section-gap) 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.service-faq__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

/* ══════════════════════════════════════════
   RELATED SERVICES
   ══════════════════════════════════════════ */
.related-services {
  padding: var(--section-gap) 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: 40px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-bg-card);
  padding: 24px 28px;
  text-decoration: none;
  transition: background var(--transition);
}
.related-card:hover { background: #1e1e1e; }
.related-card:hover .related-card__arrow { transform: translateX(4px); }
.related-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.related-card__icon svg { width: 100%; height: 100%; }
.related-card__body { flex: 1; }
.related-card__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.related-card__text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.related-card__arrow {
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: 0.5;
  transition: transform var(--transition);
}

/* ══════════════════════════════════════════
   MINI-FORM
   ══════════════════════════════════════════ */
.service-mini-form {
  padding: var(--section-gap) 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
}
.service-mini-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.service-mini-form__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 16px 0 12px;
}
.service-mini-form__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-mini-form__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}
.service-mini-form__tel:hover { color: var(--color-accent-hover); }
.smf-field { margin-bottom: 12px; }
.smf-success {
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

/* ══════════════════════════════════════════
   RESPONSIVE — service page additions
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-sidebar--sticky { position: static; }
  .service-faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .service-mini-form__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .service-facts { grid-template-columns: 1fr 1fr 1fr; }
  .service-hero__badges { gap: 6px; }
  .service-badge { font-size: 9px; padding: 4px 10px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 18px 20px; gap: 14px; }
}
@media (max-width: 480px) {
  .service-facts { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════
   ✦ VISUAL UPGRADE — EFFECTS & ENHANCEMENTS
   ══════════════════════════════════════════ */

/* ─── 1. CANVAS PARTICLES (hero bg) ─── */
#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── 2. HERO GLOW BLOB ─── */
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1; }
}

/* ─── 3. SECTION DIVIDERS ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,168,76,0.4) 30%,
    rgba(201,168,76,0.6) 50%,
    rgba(201,168,76,0.4) 70%,
    transparent 100%
  );
  margin: 0;
}

/* ─── 4. HERO TITLE — shimmer on em ─── */
.hero__title em {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg,
    var(--color-accent) 0%,
    #f0d680 40%,
    var(--color-accent) 60%,
    #c9a84c 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── 5. BTN SHINE EFFECT ─── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.22),
    transparent
  );
  transform: skewX(-20deg);
  transition: none;
}
.btn-primary:hover::after {
  animation: btnShine 0.55s ease forwards;
}
@keyframes btnShine {
  0%   { left: -75%; }
  100% { left: 135%; }
}

/* ─── 6. SECTION TITLE — gold underline animate ─── */
.section-title-line {
  width: 0;
  transition: width 0.8s ease 0.3s;
}
.visible .section-title-line,
.section-title-line.visible {
  width: 40px;
}

/* ─── 7. ABOUT SECTION — diagonal bg accent ─── */
.about {
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.about .container {
  position: relative;
  z-index: 1;
}

/* ─── 8. SERVICES SECTION — card number watermark ─── */
.service-card {
  counter-increment: svc-counter;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::after {
  transform: scaleX(1);
}

/* ─── 9. PROCESS SECTION — line connector ─── */
.process {
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 100px,
    rgba(201,168,76,0.018) 100px,
    rgba(201,168,76,0.018) 101px
  );
  pointer-events: none;
}

/* ─── 10. PROCESS STEP — glow number ─── */
.process-step__num {
  position: relative;
}
.process-step__num::before {
  content: attr(data-n);
  position: absolute;
  font-size: 80px;
  font-weight: 900;
  color: rgba(201,168,76,0.04);
  left: -8px;
  top: -20px;
  line-height: 1;
  pointer-events: none;
  font-family: var(--font-heading);
}

/* ─── 11. WHY-US SECTION — diagonal accent bg ─── */
.why-us {
  position: relative;
  overflow: hidden;
}
.why-us::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.045) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.why-us .container {
  position: relative;
  z-index: 1;
}

/* ─── 12. WHY-CARD — icon glow on hover ─── */
.why-card {
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  box-shadow: 0 8px 40px rgba(201,168,76,0.07), 0 2px 8px rgba(0,0,0,0.35);
}
.why-card__icon {
  transition: filter var(--transition), transform var(--transition);
}
.why-card:hover .why-card__icon {
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.45));
  transform: scale(1.08);
}

/* ─── 13. PRICING SECTION — featured glow ─── */
.price-card--featured {
  box-shadow: 0 0 0 1px var(--color-accent), 0 16px 64px rgba(201,168,76,0.12);
}
.price-card--featured:hover {
  box-shadow: 0 0 0 1px var(--color-accent-hover), 0 24px 80px rgba(201,168,76,0.18);
}

/* ─── 14. REVIEW CARD — quote mark glow ─── */
.review-card__quote {
  background: linear-gradient(135deg, var(--color-accent), #f0d680);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 56px;
  line-height: 0.8;
  display: block;
  margin-bottom: 20px;
}

/* ─── 15. CTA BANNER — animated gradient border ─── */
.cta-banner {
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(201,168,76,0.5) 0%,
    transparent 40%,
    transparent 60%,
    rgba(201,168,76,0.3) 100%
  );
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* ─── 16. FAQ ITEM — accent left bar on open ─── */
.faq-item {
  position: relative;
  transition: background var(--transition);
  padding-left: 0;
}
.faq-item.open {
  background: rgba(201,168,76,0.02);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.faq-item.open::before {
  transform: scaleY(1);
}
.faq-item__trigger,
.faq-item__body-inner {
  padding-left: 16px;
}

/* ─── 17. CONTACTS FORM — input glow ─── */
.form__input:focus,
.form__textarea:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1), 0 0 16px rgba(201,168,76,0.06);
}

/* ─── 18. STAT CARD — accent number glow ─── */
.stat-card__number {
  text-shadow: 0 0 40px rgba(201,168,76,0.25);
}

/* ─── 19. SCROLL INDICATOR — improved pulse ─── */
.hero__scroll-arrow {
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─── 20. HEADER LOGO — accent dash animated ─── */
.logo span {
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}
.logo:hover span {
  color: var(--color-accent);
  transform: scaleX(1.4);
}

/* ─── 21. NAV LINK — underline slide ─── */
.nav__link {
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

/* ─── 22. ABOUT UTP — counter accent on stat ─── */
.about-utp:nth-child(2) {
  border-top-color: var(--color-accent);
}
.about-utp:nth-child(3) {
  border-top-color: var(--color-accent);
}

/* ─── 23. SECTION backgrounds — subtle alternating depth ─── */
.pricing {
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── 24. REGION ITEMS — dot pulse for main ─── */
.region-item__dot--main {
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(201,168,76,0); }
}

/* ─── 25. FLOAT CALL BUTTON — ring effect ─── */
.float-btn-call {
  position: relative;
}
.float-btn-call::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  animation: callRing 2.5s ease-in-out infinite;
}
@keyframes callRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  50%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}


/* ══════════════════════════════════════════
   ✦ VISUAL UPGRADE — ROUND 2
   ══════════════════════════════════════════ */

/* ─── CTA BANNER — dark redesign with animated bg ─── */
.cta-banner {
  background: var(--color-bg-dark) !important;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.015) 40px,
      rgba(201,168,76,0.015) 41px
    );
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner__label {
  color: var(--color-accent) !important;
  opacity: 0.8;
}
.cta-banner__title {
  color: var(--color-text) !important;
}
.cta-banner__sub {
  color: var(--color-text-muted) !important;
}
.cta-banner__btn {
  background: var(--color-accent) !important;
  color: #000 !important;
  border-color: var(--color-accent) !important;
}
.cta-banner__btn:hover {
  background: var(--color-accent-hover) !important;
}
.cta-banner__note {
  color: var(--color-text-muted) !important;
}
.cta-banner__note a {
  color: var(--color-accent) !important;
}

/* ─── CTA BANNER — accent left border ─── */
.cta-banner__inner {
  border-left: 3px solid var(--color-accent);
  padding-left: 40px;
}
@media (max-width: 768px) {
  .cta-banner__inner { border-left: none; padding-left: 0; border-top: 3px solid var(--color-accent); padding-top: 24px; }
}

/* ─── PROCESS — step number glow on intersect ─── */
.process-step__num {
  transition: background var(--transition), box-shadow 0.4s ease, border-color var(--transition), transform 0.4s ease;
}
.process-step.in-view .process-step__num {
  background: rgba(201,168,76,0.1);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(201,168,76,0.06), 0 0 20px rgba(201,168,76,0.15);
  transform: scale(1.05);
}

/* ─── PROCESS — horizontal line draw animation ─── */
.process__steps::before {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s ease 0.2s;
  opacity: 0.35;
}
.process__steps.line-drawn::before {
  transform: scaleX(1);
}

/* ─── WHY-CARD — number watermark ─── */
.why-card {
  counter-increment: why-counter;
}
.why-card__icon-wrap {
  position: relative;
}

/* ─── TILT CARDS — applied via JS ─── */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card:hover {
  transition: transform 0.1s linear !important;
}
.tilt-card:not(:hover) {
  transition: transform 0.5s ease !important;
}

/* ─── CURSOR SPOTLIGHT ─── */
#cursorSpot {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,168,76,0.045) 0%, transparent 65%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* ─── HERO TYPEWRITER cursor ─── */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--color-accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: blinkCursor 0.9s ease-in-out infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── PROCESS STEPS — mobile stacked with connector line ─── */
@media (max-width: 768px) {
  .process__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .process__steps::before {
    top: 0; bottom: 0;
    left: 27px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--color-accent) 15%, var(--color-accent) 85%, transparent);
    transform-origin: top;
  }
  .process-step {
    flex-direction: row;
    text-align: left;
    padding: 0 0 32px 0;
    gap: 20px;
    align-items: flex-start;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step__num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .process-step__body { padding-top: 12px; }
}

/* ─── SCROLL-TRIGGERED FADE-UP STAGGER for service cards ─── */
.service-card {
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              opacity 0.6s ease, translate 0.6s ease;
}

/* ─── ABOUT SECTION — "3 роки" card pulse ─── */
.stat-card--full {
  position: relative;
  overflow: hidden;
}
.stat-card--full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── SECTION LABEL — animated dash before ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.6s ease 0.1s;
  flex-shrink: 0;
}
.visible .section-label::before,
.section-label.label-shown::before {
  width: 20px;
}

/* ─── FOOTER — subtle top glow ─── */
.footer {
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5) 50%, transparent);
}

/* ─── CONTACTS SECTION — card hover ─── */
.contacts__item {
  transition: transform var(--transition);
  padding: 12px 0;
  border-bottom: 1px solid rgba(201,168,76,0.06);
}
.contacts__item:hover {
  transform: translateX(4px);
}
.contacts__item:last-child { border-bottom: none; }

/* ─── INPUT LABEL FLOAT feel ─── */
.form__group {
  position: relative;
}
.form__input,
.form__textarea {
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form__input:focus,
.form__textarea:focus {
  background: rgba(201,168,76,0.02);
}

/* ─── HERO EYEBROW — pulse line ─── */
.hero__eyebrow-line {
  background: linear-gradient(90deg, var(--color-accent), rgba(201,168,76,0.3));
  animation: eyebrowPulse 3s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { width: 40px; opacity: 0.8; }
  50%       { width: 56px; opacity: 1; }
}

/* ─── SVC-ROW — left accent line on hover ─── */
.svc-row {
  border-left: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition), padding-left var(--transition);
}
.svc-row:hover {
  border-left-color: var(--color-accent);
  padding-left: 32px;
}

/* ─── REVIEW CARD — top accent line ─── */
.review-card {
  border-top: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  border-top-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 0 rgba(201,168,76,0);
}

/* ─── PRICE CARD — shimmer on featured ─── */
.price-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(201,168,76,0.06), transparent);
  animation: priceShimmer 4s ease-in-out infinite 1s;
  pointer-events: none;
}
@keyframes priceShimmer {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}


/* ── Header phone link ──────────────────── */
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color .2s;
}
.header__phone:hover { color: var(--color-accent); }
.header__phone svg { flex-shrink: 0; }
@media (max-width: 900px) { .header__phone { display: none; } }
