/* Header v2 — Sticky compact 2-row */
.header-v2,
.header-v2 * {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.header-v2 *,
.header-v2 *::before,
.header-v2 *::after { box-sizing: border-box; }

.header-v2__topbar {
  background: #091E3E;
  color: #cdd6e6;
  font-size: 13px;
  line-height: 1.4;
  padding: 8px 0;
  transition: transform .25s ease, height .25s ease, padding .25s ease, opacity .2s ease;
  will-change: transform;
}
.header-v2__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.header-v2__topbar-left,
.header-v2__topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.header-v2__divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.header-v2__address {
  display: inline-flex; align-items: center; gap: 8px;
  color: #cdd6e6;
  text-decoration: none;
  font-weight: 500;
  transition: color .18s ease;
  white-space: nowrap;
}
.header-v2__address i { font-size: 15px; color: #90BE73; flex-shrink: 0; }
.header-v2__address:hover { color: #ffffff; }

.header-v2__schedule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cdd6e6;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-v2__schedule > i { font-size: 15px; color: #90BE73; flex-shrink: 0; }
.header-v2__schedule-short { display: none; }

.header-v2__social { display: inline-flex; gap: 6px; align-items: center; }
.header-v2__social a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 15px;
  transition: background .2s ease, transform .15s ease;
}
.header-v2__social a:hover { background: #90BE73; transform: translateY(-1px); }

.header-v2--scrolled .header-v2__topbar {
  height: 0; padding: 0; opacity: 0; overflow: hidden;
  pointer-events: none;
}

.header-v2__main {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 2px 10px rgba(9,30,62,.06);
  position: relative;
  z-index: 1000;
}
.header-v2__spacer { height: 0; }
.header-v2--scrolled .header-v2__main {
  position: fixed;
  top: 0; left: 0; right: 0;
  box-shadow: 0 4px 18px rgba(9,30,62,.12);
  animation: header-v2-slide-in .28s ease;
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  background: rgba(255,255,255,.96);
}
@keyframes header-v2-slide-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.header-v2__main-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}
.header-v2__logo { flex-shrink: 0; }
.header-v2__logo img { display: block; height: 50px; width: auto; }

.header-v2__nav { flex: 1; }
.header-v2__menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; align-items: center;
  flex-wrap: wrap;
}
.header-v2__menu > li { position: relative; }
.header-v2__menu > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px;
  font-weight: 500;
  font-size: 14px;
  color: #091E3E;
  text-decoration: none;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.header-v2__menu > li > a:hover,
.header-v2__menu > li > a.active { color: #90BE73; background: rgba(144,190,115,.08); }
.header-v2__menu > li > a .bx-chevron-down {
  font-size: 16px;
  margin-left: 2px;
  opacity: .55;
  transition: transform .2s ease, opacity .2s ease;
}
.header-v2__menu > li:hover > a .bx-chevron-down,
.header-v2__menu > li:focus-within > a .bx-chevron-down {
  transform: rotate(180deg);
  opacity: 1;
}

.header-v2__submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 280px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(9,30,62,.15);
  border-radius: 10px;
  padding: 8px 0;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 1001;
}
.header-v2__menu > li:hover > .header-v2__submenu,
.header-v2__menu > li:focus-within > .header-v2__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.header-v2__submenu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #091E3E;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.header-v2__submenu li a i {
  font-size: 18px;
  color: #90BE73;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.header-v2__submenu li a:hover { background: #f5f8f3; color: #90BE73; padding-left: 24px; }
.header-v2__submenu li.separator { border-top: 1px solid #eaeef5; margin-top: 6px; padding-top: 6px; }
.header-v2__submenu li.separator a { font-weight: 600; color: #90BE73; }
.header-v2__submenu li.separator a i { color: #90BE73; }

.header-v2__cta { display: inline-flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-v2__phones { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.header-v2__phones a {
  font-weight: 600;
  font-size: 14px;
  color: #091E3E;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.header-v2__phones a i { color: #90BE73; font-size: 14px; }
.header-v2__phones a:nth-child(2) { font-size: 13px; color: #4A6577; padding-left: 20px; }
.header-v2__phones a:hover { color: #90BE73; }

.header-v2__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: #90BE73;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(144,190,115,.35);
  transition: background .2s ease, transform .12s ease, box-shadow .2s ease, color .2s ease;
  position: relative;
  border: 0;
}
.header-v2__btn i { font-size: 16px; opacity: .9; }
.header-v2__btn:hover,
.header-v2__btn:focus-visible {
  background: #091E3E;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(9,30,62,.35);
  outline: none;
}
.header-v2__btn:active { transform: translateY(0); }

.header-v2__burger {
  display: none;
  background: transparent; border: 0;
  width: 44px; height: 44px;
  padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
  justify-content: center; align-items: center;
}
.header-v2__burger span {
  display: block; width: 26px; height: 2px;
  background: #091E3E; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

/* Tablet / Mobile (accordion) */
@media (max-width: 991px) {
  .header-v2__topbar { font-size: 12.5px; padding: 7px 0; }
  .header-v2__topbar-inner { justify-content: center; flex-wrap: wrap; gap: 6px 12px; }
  .header-v2__topbar-left,
  .header-v2__topbar-right { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .header-v2__schedule-full { display: none; }
  .header-v2__schedule-short { display: inline; }

  .header-v2__main-inner {
    gap: 10px;
    min-height: 68px;
  }
  .header-v2__logo img { height: 46px; }
  .header-v2__logo { margin-right: auto; }

  .header-v2__nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(9,30,62,.18);
    padding: 8px 0 18px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    flex: none;
    border-top: 1px solid #eaeef5;
  }
  .header-v2__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .header-v2__menu > li {
    border-bottom: 1px solid #eaeef5;
    width: 100%;
  }
  .header-v2__menu > li:last-child { border-bottom: 0; }
  .header-v2__menu > li > a {
    padding: 16px 20px;
    border-radius: 0;
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
  }
  .header-v2__menu > li > a:hover,
  .header-v2__menu > li > a.active { background: transparent; }
  .header-v2__menu > li > a .bx-chevron-down {
    font-size: 22px; opacity: .8;
  }

  /* Accordion: submenu collapsed by default */
  .header-v2__submenu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .25s ease;
    background: #f7f9fb;
  }
  .header-v2__menu > li.is-open > .header-v2__submenu {
    max-height: 800px;
    padding: 6px 0 10px;
  }
  .header-v2__menu > li.is-open > a .bx-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
    color: #90BE73;
  }
  .header-v2__submenu li a {
    padding: 13px 20px 13px 32px;
    font-size: 15px;
    color: #091E3E;
  }
  .header-v2__submenu li a i {
    font-size: 20px;
    width: 24px;
  }
  .header-v2__submenu li a:hover { padding-left: 32px; background: rgba(144,190,115,.08); color: #90BE73; }
  .header-v2__submenu li.separator {
    border-top: 1px solid #e3e8ef;
    margin-top: 4px; padding-top: 4px;
  }

  .header-v2__phones { display: none; }
  .header-v2__cta { gap: 8px; }
  .header-v2__btn { padding: 11px 18px; font-size: 14px; }
  .header-v2__burger { display: inline-flex; }

  .header-v2--mobile-open .header-v2__nav { display: block; }
  .header-v2--mobile-open .header-v2__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header-v2--mobile-open .header-v2__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .header-v2--mobile-open .header-v2__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 575px) {
  .header-v2__topbar { font-size: 12px; padding: 6px 0; }
  .header-v2__topbar-inner { gap: 4px 10px; }
  .header-v2__divider { display: none; }
  .header-v2__schedule-full,
  .header-v2__schedule-short { display: none; }
  .header-v2__status { gap: 6px; }
  .header-v2__status > i.bx-time,
  .header-v2__status > i.bx-time-five { display: none; }
  .header-v2__address span { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-v2__social a { width: 28px; height: 28px; font-size: 14px; }
  .header-v2__btn { padding: 10px 14px; font-size: 13px; }
  .header-v2__btn i { display: none; }
  .header-v2__logo img { height: 40px; }
  .header-v2__main-inner { gap: 6px; min-height: 60px; }
  .header-v2__menu > li > a { padding: 15px 18px; font-size: 15.5px; }
  .header-v2__submenu li a { padding: 12px 18px 12px 28px; font-size: 14.5px; }
}

@media (max-width: 399px) {
  .header-v2__address span { max-width: 150px; }
  .header-v2__status { display: none; }
  .header-v2__btn { padding: 9px 12px; font-size: 12.5px; }
  .header-v2__cta { gap: 4px; }
}
