/* Контейнер, секції, шапка, підвал, мобільна панель зв’язку */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec-y) 0; }
.sec--bg { background: var(--bg); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: #C9DDE3; }

/* --- Шапка --- */
.topbar { background: var(--ink); color: #C9DDE3; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__info, .topbar__right { display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ic { color: var(--mint); }
.topbar__promo { color: var(--white); font-weight: 500; }
.topbar__promo .ic { color: var(--orange); }
.lang { display: inline-flex; gap: 6px; font-weight: 500; }
.lang a[aria-current] { color: var(--mint); font-weight: 700; }
.lang span { color: #5E7C87; }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.header__logo { display: block; flex: none; }
.header__logo svg { display: block; width: auto; height: 58px; }
.nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.nav > li { position: relative; }
.nav > li > a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 15px; color: var(--ink); padding: 26px 0; }
.nav > li > a:hover, .nav > li.current-menu-item > a { color: var(--cyan-dd); }
.nav .sub-menu { position: absolute; top: 100%; left: -24px; min-width: 300px; padding: 12px; background: var(--white); border-radius: var(--r-l); box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav > li:hover .sub-menu, .nav > li:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 10px 14px; border-radius: var(--r-s); font-size: 15px; color: var(--ink); }
.nav .sub-menu a:hover { background: var(--tint); }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__phones { text-align: right; line-height: 1.25; white-space: nowrap; }
.header__phones a { display: block; }
.header__phones a:first-child { font-weight: 700; font-size: 16px; color: var(--ink); }
.header__phones a + a { font-size: 13px; font-weight: 500; color: var(--muted); }
.round { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); flex: none; }
.round > .ic { width: 46%; height: 46%; }
.round--tg > .ic { transform: translateX(-1px); }
.round { transition: filter .2s, background-color .2s; }
.round--tg:hover, .round--viber:hover { filter: brightness(1.12) saturate(1.15); }
.round--grad:hover { filter: saturate(1.3) brightness(.95); }
.round--tg { background: var(--tg); }
.round--viber { background: var(--viber); }
.round--grad { background: var(--grad-d); color: var(--ink); }
.round--light { background: var(--bg); color: var(--ink); }
.header__burger, .header__call { display: none; }

@media (max-width: 1279px) {
	.nav { gap: 20px; }
	.topbar__info .topbar__item:first-child { display: none; }
}
@media (max-width: 1023px) {
	.topbar { display: none; }
	.nav, .header__phones, .header__right .round--tg, .header__right .round--viber, .header__right .btn { display: none; }
	.header .container { min-height: 64px; }
	.header__logo svg { height: 44px; }
	.header__burger, .header__call { display: inline-flex; }
}

/* Мобільне меню */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
.mnav.is-open { transform: none; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mnav__body { padding: 16px 20px; }
.mnav__body > ul > li > a, .mnav__body > ul > li > button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; font-weight: 600; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mnav__body .sub-menu { display: none; padding: 4px 0 8px 12px; }
.mnav__body li.is-open > .sub-menu { display: block; }
.mnav__body .sub-menu a { display: block; padding: 8px 0; font-weight: 500; color: var(--text); }
.mnav__contacts { padding: 8px 20px 32px; display: grid; gap: 10px; }
.mnav__phones a { display: block; font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--ink); }

/* --- Підвал --- */
.footer { background: var(--dark); color: #A9C3CC; padding: 80px 0 40px; font-size: 15px; }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 36px 40px; border-radius: 28px; background: var(--grad-d); color: var(--ink); }
.footer__cta h2 { font-size: 26px; line-height: 1.25; max-width: 620px; }
.footer__cta p { margin-top: 6px; font-weight: 500; color: var(--ink-2); }
.footer__cta-btns { display: flex; gap: 12px; flex: none; }
.footer__cols { display: grid; grid-template-columns: 330px 1fr 1fr 300px; gap: 48px; margin-top: 56px; }
.footer__brand svg { width: auto; height: 64px; }
.footer__brand p { margin: 18px 0; }
.footer__soc { display: flex; gap: 10px; }
.footer__soc .round { width: 42px; height: 42px; }
.footer__soc .round--mail { background: #1B3A46; color: var(--mint); }
.footer h3 { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--white); margin-bottom: 12px; }
.footer__col li + li { margin-top: 12px; }
.footer__col a:hover { color: var(--white); }
.footer__contact { display: flex; gap: 10px; color: #D5E6EB; }
.footer__contact + .footer__contact { margin-top: 12px; }
.footer__contact .ic { color: var(--mint); margin-top: 2px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #1E3B47; font-size: 13px; color: #6F8E98; }
@media (max-width: 1023px) {
	.footer__cta { flex-direction: column; align-items: flex-start; padding: 24px; }
	.footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.footer { padding: 48px 0 120px; }
	.footer__cta h2 { font-size: 20px; }
	.footer__cta-btns { flex-direction: column; width: 100%; }
	.footer__cols { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
	.footer__bottom { flex-direction: column; margin-top: 36px; }
}

/* Мобільна панель «Подзвонити / Telegram / Viber» */
.sticky-bar { display: none; }
@media (max-width: 767px) {
	.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(18px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -6px 24px rgba(11, 39, 50, .12); }
	.sticky-bar .btn { flex: 1; }
	.sticky-bar .round { width: 46px; height: 46px; }
}
.lang--m { justify-content: center; padding: 12px 0 4px; color: var(--muted); font-size: 15px; }
.lang--m a[aria-current] { color: var(--cyan-dd); }
