/* ==========================================================================
   Best — основні стилі (оновлений дизайн 2026)
   Фірмові кольори ті самі: темно-синій, жовтий акцент, червона кнопка «Підключитись».
   ========================================================================== */

:root {
	--navy: #0b3a7e;
	--navy-900: #061f47;
	--navy-800: #08295c;
	--navy-600: #1253a8;
	--sky: #3fb6ea;
	--yellow: #ffd60a;
	--yellow-600: #f2c200;
	--red: #e3262f;
	--red-600: #c81e27;
	--green: #19b26b;
	--ink: #14213d;
	--text: #4a5870;
	--muted: #7d8aa0;
	--line: #e3e8f0;
	--soft: #f3f6fb;
	--soft-2: #eaf1fb;
	--white: #fff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(6, 31, 71, .06), 0 8px 24px rgba(6, 31, 71, .08);
	--shadow-lg: 0 2px 6px rgba(6, 31, 71, .06), 0 20px 48px rgba(6, 31, 71, .14);
	--container: 1240px;
	--font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--font-alt: "Fira Sans", "Roboto", Arial, sans-serif;
	--font-cond: "Roboto Condensed", "Roboto", Arial, sans-serif;
	--pattern: url("/wp-content/uploads/2019/11/bg.jpg");
	/* Сумісність зі старими назвами */
	--blue: var(--navy);
	--blue-2: var(--navy);
	--blue-dd: var(--navy-600);
	--link: var(--navy-600);
	--dark: var(--ink);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--link); text-decoration: none; transition: color .15s; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-alt); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
button { font: inherit; color: inherit; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.screen-reader-text, .skip-link {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { clip: auto; width: auto; height: auto; left: 8px; top: 8px; z-index: 10000; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.site-main { overflow-x: clip; }

@media (max-width: 1199px) { .hide-mobile { display: none !important; } }
@media (min-width: 1200px) { .hide-desktop { display: none !important; } }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-alt); font-size: 15px; font-weight: 600; line-height: 1.2;
	text-align: center; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(227, 38, 47, .28); }
.btn--red:hover { background: var(--red-600); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--navy-900); box-shadow: 0 6px 16px rgba(255, 214, 10, .3); }
.btn--yellow:hover { background: var(--yellow-600); color: var(--navy-900); }
.btn--blue { background: var(--navy); color: #fff; }
.btn--blue:hover { background: var(--navy-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); color: #fff; }
.btn--ghost, .btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--ghost:hover, .btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
/* Старі назви з контенту */
.btn--yellow-big { background: var(--yellow); color: var(--navy-900); padding: 15px 30px; font-size: 17px; }
.btn--red-big { background: var(--red); color: #fff; padding: 15px 30px; font-size: 17px; }

/* ==========================================================================
   Шапка
   ========================================================================== */
.site-header { position: sticky; top: -38px; z-index: 999; }
.admin-bar .site-header { top: -6px; }
.utility { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.utility a { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: 7px; }
.utility a:hover { color: #fff; }
.utility .ico { color: var(--sky); font-size: 13px; }
.utility__links { display: flex; gap: 26px; }
.utility__right { display: flex; gap: 26px; align-items: center; }
.utility__phone { font-weight: 600; color: #fff !important; }
.utility__cabinet { padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }

.mainbar { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(6, 31, 71, .06); }
.mainbar__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.mainbar__logo { flex: none; display: flex; align-items: center; }
.mainbar__logo img, .mainbar__logo .logo-img { width: 150px; height: auto; }
.logo-text { font-family: var(--font-alt); font-weight: 800; font-size: 28px; color: var(--navy); }
.mainnav { flex: 1 1 auto; min-width: 0; }
.mainbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.mainbar__icon, .mainbar__burger {
	width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--soft); color: var(--navy);
	display: inline-flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; transition: background .2s, color .2s;
}
.mainbar__icon:hover, .mainbar__burger:hover { background: var(--navy); color: #fff; }
.mainbar__cta { padding: 11px 20px; font-size: 14.5px; }

.menu { list-style: none; margin: 0; padding: 0; }
.menu--main { display: flex; justify-content: center; flex-wrap: nowrap; }
.menu--main > li { position: relative; }
.menu--main a {
	display: flex; align-items: center; gap: 5px;
	padding: 26px 9px;
	color: var(--ink);
	font-family: var(--font-alt); font-size: 14.5px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.menu--main > li > a { position: relative; }
.menu--main > li > a::before {
	content: ""; position: absolute; left: 9px; right: 9px; bottom: 18px; height: 2px; border-radius: 2px;
	background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.menu--main > li > a:hover, .menu--main > li:hover > a,
.menu--main > li.current-menu-item > a, .menu--main > li.current-menu-ancestor > a { color: var(--navy); }
.menu--main > li > a:hover::before, .menu--main > li.current-menu-item > a::before, .menu--main > li.current-menu-ancestor > a::before { transform: scaleX(1); }
.menu--main > li.menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); margin: -3px 0 0 3px; opacity: .6;
}
.menu--main .sub-menu {
	position: absolute; left: -8px; top: calc(100% - 8px);
	min-width: 250px;
	list-style: none; margin: 0; padding: 8px;
	background: #fff; border-radius: 14px;
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 10;
}
.menu--main li:hover > .sub-menu, .menu--main li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu--main .sub-menu li { position: relative; }
.menu--main .sub-menu a { padding: 10px 14px; border-radius: 9px; font-size: 14.5px; white-space: normal; justify-content: space-between; color: var(--ink); }
.menu--main .sub-menu a:hover { background: var(--soft); color: var(--navy); }
.menu--main .sub-menu .sub-menu { left: calc(100% + 4px); top: -8px; }
.menu--main .sub-menu .menu-item-has-children > a::after { content: "›"; font-size: 18px; line-height: 1; opacity: .5; }
@media (max-width: 1320px) { .menu--main a { padding-left: 6px; padding-right: 6px; font-size: 14px; } .menu--main > li > a::before { left: 6px; right: 6px; } .mainbar__inner { gap: 14px; } }

@media (max-width: 1199px) {
	.site-header, .admin-bar .site-header { top: 0; }
	.admin-bar .site-header { top: 46px; }
	.mainbar__inner { height: 64px; gap: 10px; }
	.mainbar__logo { margin: 0 auto 0 4px; }
	.mainbar__logo img, .mainbar__logo .logo-img { width: 120px; }
	.mainbar__actions { margin-left: 0; gap: 6px; }
}
@media (max-width: 480px) { .mainbar__cta { padding: 9px 14px; font-size: 13.5px; } .mainbar__actions .mainbar__icon:first-child { display: none; } }
@media (min-width: 783px) and (max-width: 1199px) { .admin-bar .site-header { top: 32px; } }

/* Кнопки під шапкою на мобільному (головна) */
.mobile-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 16px; background: var(--soft); }
.qbtn {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 6px; border-radius: 12px; background: #fff; box-shadow: var(--shadow);
	color: var(--navy); font-size: 12.5px; font-weight: 500; text-align: center; line-height: 1.2;
}
.qbtn .ico { font-size: 18px; }
.qbtn:hover { background: var(--navy); color: #fff; }
.qbtn--red { color: var(--red); }

/* Плаваючі кнопки праворуч */
.float-social { position: fixed; right: 22px; bottom: 24px; z-index: 990; display: flex; flex-direction: column; gap: 10px; }
.float-social__item {
	width: 46px; height: 46px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 19px; background: var(--ink);
	box-shadow: 0 6px 18px rgba(6, 31, 71, .25);
	transition: transform .2s;
}
.float-social__item:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.float-social__item--telegram { background: #229ed9; }
.float-social__item--facebook { background: #1877f2; }
.float-social__item--instagram { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); }
.float-social__item--phone { background: var(--green); }
@media (max-width: 767px) { .float-social { right: 14px; bottom: 16px; } }

/* ==========================================================================
   Вікна (міста, дзвінок, мобільне меню, пошук)
   ========================================================================== */
.modal {
	position: fixed; inset: 0; z-index: 10000;
	background: rgba(6, 31, 71, .6); backdrop-filter: blur(3px);
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	animation: best-fade .25s ease;
}
.modal[hidden] { display: none; }
@keyframes best-fade { from { opacity: 0; } to { opacity: 1; } }
.modal__box {
	position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
	max-height: calc(100vh - 40px); overflow: auto;
}
.modal__close {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer;
	font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: var(--navy); color: #fff; }
.modal__close--light { position: fixed; top: 20px; right: 20px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; width: 48px; height: 48px; }
.modal__box--cities { width: min(560px, 100%); padding: 56px 24px 24px; }
.modal__box--cities::before { content: "Оберіть населений пункт"; position: absolute; top: 20px; left: 28px; font-family: var(--font-alt); font-weight: 600; font-size: 19px; color: var(--ink); }
.modal__box--callback { width: 450px; padding: 50px 0 0; }
.modal__box--callback iframe { display: block; width: 100%; height: 465px; border: 0; }
.modal__fallback { padding: 0 30px 30px; text-align: center; }
body.modal-open { overflow: hidden; }

.modal--drawer { justify-content: flex-start; padding: 0; }
.modal__box--drawer { width: 86vw; max-width: 400px; height: 100vh; max-height: none; border-radius: 0 20px 20px 0; padding: 64px 0 20px; animation: best-slide .3s ease; }
@keyframes best-slide { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__social { display: flex; justify-content: center; gap: 8px; padding: 0 16px 16px; }
.drawer__social-item { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--navy); font-size: 20px; }
.drawer__social-item:hover { background: var(--navy); color: #fff; }
.drawer__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; border-bottom: 1px solid var(--line); }
.drawer__buttons .qbtn { flex-direction: row; font-size: 14px; box-shadow: none; background: var(--soft); }

.modal--search { background: rgba(6, 31, 71, .92); }
.search-big { width: min(760px, 90vw); display: flex; background: #fff; border-radius: 999px; padding: 6px 6px 6px 24px; box-shadow: var(--shadow-lg); }
.search-big input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font-size: 22px; padding: 10px 0; outline: none; }
.search-big button { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); border: 0; color: #fff; font-size: 20px; cursor: pointer; }

/* Акордеон-меню (міста, мобільне) */
.menu--accordion li { border-bottom: 1px solid var(--line); }
.menu--accordion li:last-child { border-bottom: 0; }
.menu--accordion a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: var(--ink); font-weight: 500; }
.menu--accordion a:hover { color: var(--navy); background: var(--soft); }
.menu--accordion .sub-menu { list-style: none; margin: 0; padding: 0 0 6px; display: none; }
.menu--accordion .is-open > .sub-menu { display: block; }
.menu--accordion .sub-menu li { border: 0; }
.menu--accordion .sub-menu a { padding: 8px 20px 8px 36px; font-weight: 400; font-size: 15px; color: var(--text); }
.menu--accordion .sub-menu .sub-menu a { padding-left: 52px; }
.menu--accordion .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .2s; margin-left: 10px; opacity: .5;
}
.menu--accordion .is-open > a::after { transform: rotate(-135deg); }
#best-cities .menu--accordion { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }

/* ==========================================================================
   Секції
   ========================================================================== */
.section { position: relative; padding: 72px 0; }
.section--soft, .section--light, .section--grey, .section--faq { background: var(--soft); }
.section--blue { background: linear-gradient(135deg, var(--navy-900), var(--navy) 70%); color: #fff; }
.section--tariffs { padding: 64px 0; }
.section--tariffs + .section--tariffs:not(.section--soft) { padding-top: 0; }
@media (max-width: 767px) { .section, .section--tariffs { padding: 48px 0; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 32px; }
.section-head .section-title { margin: 0; }
.section-head__link { font-family: var(--font-alt); font-weight: 600; white-space: nowrap; }
.section-title { margin: 0 0 32px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; color: var(--ink); }
.section-title--center, .section-title--blue, .section-title--caps { text-align: center; }
.section-title--yellow { color: var(--yellow); }
.section--blue .section-title { color: #fff; }
.wave { display: none; }

/* Банер на головній */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(63, 182, 234, .35), transparent 60%),
		linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-600) 100%);
}
.hero::after { /* смужки з логотипа */
	content: ""; position: absolute; right: -80px; bottom: -120px; width: 520px; height: 520px; pointer-events: none; opacity: .09;
	background: repeating-linear-gradient(-45deg, #fff 0 34px, transparent 34px 70px);
	border-radius: 50%;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; min-height: 480px; padding-top: 56px; padding-bottom: 56px; }
.hero__eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #cfe8ff; font-size: 13.5px; font-weight: 500; margin-bottom: 18px; }
.hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.04; margin: 0 0 18px; }
.hero__text { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; margin: 36px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .75); font-size: 14px; }
.hero__facts b { display: block; color: #fff; font-family: var(--font-alt); font-size: 22px; font-weight: 700; }
.hero__image { text-align: center; }
.hero__image img { max-height: 420px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; padding-bottom: 40px; gap: 10px; text-align: left; }
	.hero__image { order: -1; }
	.hero__image img { max-height: 220px; }
	.hero__text { font-size: 16px; }
}

/* Картки записів (акції, новини) */
.cards { display: grid; gap: 28px; margin-bottom: 10px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card__thumb { display: block; position: relative; padding-bottom: 62%; overflow: hidden; background: var(--soft-2); }
.post-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--navy); }
.post-card__date { margin-top: auto; font-size: 13px; color: var(--muted); }
.post-card__more { margin-top: auto; font-size: 14px; font-weight: 600; font-family: var(--font-alt); color: var(--navy); }
.post-card__more::after { content: " →"; }
.post-card--promo .post-card__thumb { padding-bottom: 66%; }

/* ==========================================================================
   Тарифи
   ========================================================================== */
.tariffs { margin: 0 0 24px; }
.tariffs__title { text-align: center; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.tariffs__title br + * { display: block; }
.tariffs__localities { max-width: 820px; margin: 0 auto 32px; text-align: center; font-size: 14px; color: var(--muted); }
.tariffs__localities b { color: var(--text); font-weight: 500; }
.tariffs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 340px)); justify-content: center; gap: 24px; }
.tcard {
	--card: var(--navy);
	position: relative;
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .2s, box-shadow .2s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tcard::before { content: ""; height: 6px; background: var(--card); }
.tcard__head { padding: 22px 24px 0; }
.tcard__name { margin: 0; color: var(--ink); font-size: 22px; font-weight: 700; }
.tcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 10px 24px 16px; color: var(--card); border-bottom: 1px dashed var(--line); }
.tcard__amount { font-family: var(--font-alt); font-size: 54px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.tcard__cur { order: 2; font-size: 20px; font-weight: 600; }
.tcard__old { order: 3; font-size: 16px; color: var(--muted); }
.tcard__period { order: 4; width: 100%; font-size: 14px; color: var(--muted); }
.tcard__list { list-style: none; margin: 0; padding: 16px 24px 4px; flex: 1; display: grid; gap: 12px; align-content: start; color: var(--text); font-size: 15px; line-height: 1.4; }
.tcard__list li { margin: 0; }
.tcard__info { padding: 10px 12px; background: var(--soft); border-radius: 10px; font-size: 14px; }
.tcard__info b { color: var(--ink); }
.tcard__in { display: flex; align-items: flex-start; gap: 10px; }
.tcard__speed b { color: var(--ink); font-size: 16px; }
.speed-ico { width: 30px; height: 24px; flex: none; }
.tcard__feature .ico { color: var(--green); font-size: 17px; margin-top: 2px; }
.tcard__foot { padding: 18px 24px 22px; display: grid; gap: 10px; text-align: center; }
.tcard__btn {
	display: block; background: var(--navy); color: #fff; border-radius: 999px;
	font-family: var(--font-alt); font-size: 15.5px; font-weight: 600; padding: 13px 20px;
	transition: background .2s;
}
.tcard__btn:hover { background: var(--red); color: #fff; }
.tcard__more { font-size: 14px; color: var(--navy-600); }
.tcard__ribbon { position: absolute; top: 20px; right: 18px; }
.tcard__ribbon span {
	display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--green); color: #fff;
	font-family: var(--font-alt); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* Розкривні блоки (умови, FAQ) */
.toggle { margin: 20px auto 0; max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.toggle summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 500; padding: 14px 18px; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary .ico { transition: transform .2s; font-size: 12px; }
.toggle[open] summary .ico { transform: rotate(90deg); }
.toggle__body { padding: 0 18px 16px; color: var(--text); font-size: 15px; }

/* FAQ і будь-які <details> у вмісті */
.best-block details, .entry-content details {
	background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; transition: box-shadow .2s;
}
.best-block details[open], .entry-content details[open] { box-shadow: var(--shadow); }
.best-block details > summary, .entry-content details > summary {
	list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative;
	color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.4;
}
.best-block details > summary::-webkit-details-marker, .entry-content details > summary::-webkit-details-marker { display: none; }
.best-block details > summary::after, .entry-content details > summary::after {
	content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--navy);
	display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .2s, background .2s;
}
.best-block details[open] > summary::after, .entry-content details[open] > summary::after { content: "–"; background: var(--navy); color: #fff; }
.best-block details > :not(summary), .entry-content details > :not(summary) { padding-left: 20px; padding-right: 20px; }
.best-block details[open], .entry-content details[open] { padding-bottom: 6px; }
.section--faq .best-block { max-width: 880px; margin: 0 auto; }

/* ==========================================================================
   Сторінка міста
   ========================================================================== */
.city-hero { position: relative; min-height: 440px; display: flex; align-items: center; background: var(--navy) center / cover no-repeat; }
.city-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 31, 71, .88) 0%, rgba(6, 31, 71, .55) 55%, rgba(6, 31, 71, .15) 100%); }
.city-hero__inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
.city-hero__title { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; color: #fff; margin: 0 0 12px; max-width: 760px; }
.city-hero__tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--navy-900); font-family: var(--font-alt); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 26px; }
@media (max-width: 767px) { .city-hero { min-height: 320px; } }

.cta-strip { padding: 32px 16px; text-align: center; }
.cta-panel {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin: 0 auto 72px; padding: 36px 40px; border-radius: 24px; color: rgba(255, 255, 255, .85);
	background: radial-gradient(500px 240px at 90% 0%, rgba(63, 182, 234, .35), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy));
}
.cta-panel__title { color: #fff; font-size: 28px; margin: 0 0 6px; }
.cta-panel p { margin: 0; }

.iconboxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0 auto; }
.iconbox { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: left; }
.iconbox .ico { font-size: 30px; color: var(--navy); width: 60px; height: 60px; padding: 14px; border-radius: 16px; background: var(--soft-2); margin-bottom: 16px; }
.iconbox p { font-family: var(--font-alt); font-size: 17px; font-weight: 500; line-height: 1.35; color: var(--ink); margin: 0; }
.how .iconboxes { counter-reset: step; }
.how .iconbox { position: relative; background: var(--soft); box-shadow: none; }
.how .iconbox::after { counter-increment: step; content: counter(step); position: absolute; top: 20px; right: 22px; font-family: var(--font-alt); font-size: 40px; font-weight: 800; color: rgba(11, 58, 126, .1); }

.city-text__inner { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start; }
.city-text__menu { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; background: var(--soft); border-radius: var(--radius); padding: 10px; }
.menu--side a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--text); }
.menu--side a:hover, .menu--side .current-menu-item > a { background: var(--navy); color: #fff; }
@media (max-width: 1024px) { .city-text__inner { grid-template-columns: 1fr; } .city-text__menu { display: none; } }

/* ==========================================================================
   Звичайні сторінки і записи
   ========================================================================== */
.page-head {
	position: relative; overflow: hidden; padding: 44px 0 52px; color: #fff;
	background: radial-gradient(700px 300px at 90% 10%, rgba(63, 182, 234, .3), transparent 65%), linear-gradient(135deg, var(--navy-900), var(--navy) 70%);
}
.page-head::after {
	content: ""; position: absolute; right: 6%; top: -40px; width: 300px; height: 300px; opacity: .08; pointer-events: none;
	background: repeating-linear-gradient(-45deg, #fff 0 26px, transparent 26px 54px); border-radius: 40px; transform: rotate(10deg);
}
.page-head .container { position: relative; z-index: 1; }
.page-head__title { color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 700; margin: 0; max-width: 900px; }
.page-head__meta { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 10px; }
.crumbs { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
.crumbs__sep { opacity: .5; }
.page-body { padding-top: 48px; padding-bottom: 72px; }
.page-body--narrow { max-width: 860px; }

.entry-content { color: var(--text); font-size: 16.5px; line-height: 1.7; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); margin: 1.6em 0 .6em; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }
.entry-content a:not(.btn):not(.b-flip):not(.b-posts__item) { text-decoration: underline; text-decoration-color: rgba(18, 83, 168, .3); text-underline-offset: 3px; }
.entry-content a:not(.btn):hover { text-decoration-color: currentColor; }
.entry-content strong, .entry-content b { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 22px; margin: 0 0 1.2rem; }
.entry-content li { margin: 0 0 6px; }
.entry-content ul li::marker { color: var(--navy-600); }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content th { background: var(--soft); color: var(--ink); }
.entry-content blockquote { border-left: 4px solid var(--yellow); background: var(--soft); border-radius: 0 12px 12px 0; margin: 0 0 1.5rem; padding: 16px 20px; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
.entry-content iframe { border: 0; border-radius: 12px; }
.entry-content--narrow { max-width: 820px; }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { border-radius: var(--radius); }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.nav-links, .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 500; text-decoration: none !important; }
.page-numbers:hover { background: var(--soft-2); }
.page-numbers.current { background: var(--navy); color: #fff; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 20px auto; }
.search-form input[type="search"] { flex: 1; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; }
.search-form .search-submit { padding: 12px 22px; border: 0; background: var(--navy); color: #fff; border-radius: 999px; cursor: pointer; font-weight: 600; }

/* ==========================================================================
   Футер
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr 1fr; gap: 40px; }
.footer__logo img { width: 150px; height: auto; }
.footer__about { margin: 18px 0; font-size: 14.5px; line-height: 1.6; }
.footer__about p { margin: 0; }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; }
.footer__social a:hover { background: var(--yellow); color: var(--navy-900); }
.footer__title { font-family: var(--font-alt); font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__list, .footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.footer__list .ico { color: var(--sky); margin-top: 4px; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: #fff; }
.footer__cta p { font-size: 14.5px; }
.footer__cities { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
.footer__cities summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-alt); font-weight: 500; }
.footer__cities summary::-webkit-details-marker { display: none; }
.footer__cities[open] summary .ico { transform: rotate(180deg); }
.menu--footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.menu--footer a { display: block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 13px; color: rgba(255, 255, 255, .75); }
.menu--footer a:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.footer__copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .5); }
@media (max-width: 1024px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr; gap: 28px; } .site-footer { padding-top: 44px; } }

/* ==========================================================================
   Вміст, перенесений з Elementor: смуги, колонки, картки, вкладки
   ========================================================================== */
.entry-content .b-cols { display: grid; gap: 32px; margin: 0 0 28px; align-items: start; }
.entry-content .b-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-content .b-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry-content .b-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry-content .b-cols[style*="--cols"] { grid-template-columns: var(--cols); }
@media (max-width: 1024px) { .entry-content .b-cols-3, .entry-content .b-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .entry-content .b-cols, .entry-content .b-cols[style*="--cols"] { grid-template-columns: 1fr; } }
.entry-content .b-col > :first-child { margin-top: 0; }
.entry-content .b-col > :last-child { margin-bottom: 0; }
.entry-content .b-col--box { padding: 28px; border-radius: var(--radius); align-self: stretch; }

.entry-content .b-band { margin: 0 calc(50% - 50vw) 40px; padding: 64px calc(50vw - 50%); background-repeat: no-repeat; }
.entry-content > .b-band:first-child { margin-top: -48px; }
.entry-content .b-band > :last-child { margin-bottom: 0; }
.entry-content .is-dark, .entry-content .is-dark p, .entry-content .is-dark li,
.entry-content .is-dark h2:not([style*="color"]), .entry-content .is-dark h3:not([style*="color"]), .entry-content .is-dark h4:not([style*="color"]),
.entry-content .is-dark strong, .entry-content .is-dark b { color: #fff; }
.entry-content .is-dark a:not(.btn) { color: var(--yellow); }

.entry-content .b-image { margin: 0 0 24px; text-align: center; }
.entry-content .b-image img { display: inline-block; max-width: 100%; max-height: 460px; width: auto; }
.entry-content .b-image img[style*="width"] { max-height: none; }
.entry-content .b-image figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.entry-content .b-btn { margin: 20px 0 28px; }
.entry-content .b-btn .btn { color: #fff; text-decoration: none; }
.entry-content .b-text { margin-bottom: 1rem; }
.entry-content .b-note { font-size: 14px; color: var(--muted); }

.entry-content .b-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.entry-content .b-list li { padding-left: 30px; position: relative; margin: 0; }
.entry-content .b-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230b3a7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* Іконки-переваги */
.entry-content .b-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; height: 100%; margin-bottom: 0; }
.entry-content .b-cols .b-box { box-shadow: var(--shadow); border: 0; }
.entry-content .b-box .b-ico { font-size: 34px; line-height: 1; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--soft-2); color: var(--navy); margin: 0 auto 16px; }
.entry-content .b-box img { max-width: 72px; margin: 0 auto 14px; border-radius: 0; }
.entry-content .b-box img.b-ico { width: 68px; height: 68px; object-fit: contain; padding: 12px; }
.entry-content .b-box h4 { font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.entry-content .b-box p { font-size: 14.5px; color: var(--text); margin: 0; }
.entry-content .b-box--side { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; text-align: left; }
.entry-content .b-box--side .b-ico { grid-row: span 2; margin: 0; }

/* Картки послуг (колишні «перевертні» Elementor) */
.b-flip {
	display: flex; flex-direction: column; gap: 14px; margin: 0 0 20px; padding: 26px;
	border-radius: var(--radius); color: rgba(255, 255, 255, .86) !important; text-decoration: none !important;
	background: radial-gradient(300px 160px at 100% 0%, rgba(63, 182, 234, .35), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy));
	box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
a.b-flip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.b-flip__front { display: flex; align-items: center; gap: 14px; }
.b-flip__front .b-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--yellow); font-size: 22px; }
.b-flip__front strong { color: #fff; font-family: var(--font-alt); font-size: 17px; font-weight: 600; line-height: 1.25; text-transform: none; }
.b-flip__back { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; line-height: 1.55; }
.b-flip__btn { align-self: flex-start; color: var(--yellow); font-family: var(--font-alt); font-weight: 600; font-size: 14.5px; }
.b-flip__btn::after { content: " →"; }

/* Перелік цін (сторінки тарифів) */
.entry-content .b-pricelist { border: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 8px 24px; display: block; }
.entry-content .b-pricelist tbody { display: block; }
.entry-content .b-pricelist tr { display: flex; align-items: baseline; gap: 12px; }
.entry-content .b-pricelist td { border: 0; padding: 18px 0 4px; }
.entry-content .b-pricelist tr:not(.b-desc) td:first-child { color: var(--ink); font-family: var(--font-alt); font-size: 18px; font-weight: 600; flex: 1; }
.entry-content .b-pricelist tr:not(.b-desc) td:last-child { color: var(--navy); font-family: var(--font-alt); font-size: 24px; font-weight: 700; white-space: nowrap; }
.entry-content .b-pricelist .b-desc { border-bottom: 1px solid var(--line); }
.entry-content .b-pricelist .b-desc:last-child { border-bottom: 0; }
.entry-content .b-pricelist .b-desc td { padding: 0 0 16px; font-size: 14px; color: var(--muted); }

/* Вкладки */
.b-tabs__nav { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 24px; background: var(--soft); border-radius: 999px; }
.b-tabs__nav button { border: 0; background: transparent; color: var(--ink); padding: 10px 20px; border-radius: 999px; font-weight: 500; cursor: pointer; }
.b-tabs__nav button[aria-selected="true"] { background: var(--navy); color: #fff; }
.b-tabs.is-js > details { border: 0; box-shadow: none !important; background: none; }
.b-tabs.is-js > details > summary { display: none; }
.b-tabs.is-js > details > :not(summary) { padding: 0; }
.b-tabs.is-js > details:not([open]) { display: none; }
.b-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 20px; }
.b-logos img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; }

/* Списки записів у тексті сторінки */
.entry-content .b-posts { margin: 10px 0 28px; }
.entry-content .post-card__title a { text-decoration: none !important; }
.b-posts--list { display: grid; gap: 10px; }
.b-posts__item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: var(--soft); color: var(--ink) !important; text-decoration: none !important; font-weight: 500; line-height: 1.3; font-size: 15px; }
.b-posts__item:hover { background: var(--soft-2); }
.b-posts__item img { width: 64px; height: 64px; object-fit: cover; flex: none; border-radius: 10px; }
.b-posts__item small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 4px; }

/* Галереї документів */
.b-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px; margin: 10px 0 28px; }
.b-gallery figure { margin: 0; text-align: center; }
.b-gallery a { text-decoration: none !important; }
.b-gallery img { width: 100%; height: 250px; object-fit: contain; background: var(--soft); border-radius: 12px; padding: 10px; transition: box-shadow .2s; }
.b-gallery a:hover img { box-shadow: var(--shadow); }
.b-gallery figcaption { font-size: 14px; margin-top: 10px; color: var(--ink); line-height: 1.35; }

/* Карти (замість WP Go Maps) */
.b-maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 32px 0; }
.b-map { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.b-map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: 0; }
.b-map__body { padding: 16px 20px; }
.b-map__title { font-family: var(--font-alt); font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.b-map__addr { font-size: 14.5px; margin: 0 0 6px; }
.b-map__link { font-size: 14px; font-weight: 600; }

.entry-content .leaflet-container img, .wpgmza_map img, .wpgmza-map img { max-width: none !important; border-radius: 0; }

/* Сторінка «Контакти»: три колонки як карточки */
.page-contacts .entry-content > .b-cols { gap: 24px; }
.page-contacts .entry-content > .b-cols > .b-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.page-contacts .entry-content > .b-cols > .b-col details { border-radius: 10px; }
.page-contacts .entry-content > .b-cols > .b-col > ul { padding-left: 22px; }
.page-contacts .entry-content > .b-cols > .b-col .b-btn { margin-top: 0; }

/* Друк */
@media print {
	.site-header, .site-footer, .float-social, .mobile-quick { display: none !important; }
	.page-head { background: none; color: #000; padding: 0; }
	.page-head__title { color: #000; }
}
.section--blue .section-head__link { color: var(--yellow); }
.entry-content--narrow { margin-left: auto; margin-right: auto; }
.city-hero__tag { display: table; }
/* Тарифи всередині тексту сторінки */
.entry-content .tariffs { margin: 32px 0; }
.entry-content .tariffs h2, .entry-content .tariffs h3 { margin-top: 0; }
.entry-content .tcard__name { margin: 0; }
.entry-content .tcard__list { padding: 16px 24px 4px; margin: 0; }
.entry-content .tcard__list li { margin: 0; }
.entry-content .tcard a, .entry-content .toggle a { text-decoration: none; }
.entry-content .tcard__btn { color: #fff; }
.entry-content .toggle { max-width: none; }
.entry-content .b-cols > .b-col > .b-image:only-child img { max-height: 520px; }

/* Сторінка окремого тарифу */
.tdetail { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; margin: 0 0 48px; }
.tdetail .tariffs { margin: 0; position: sticky; top: 110px; }
.tdetail .tariffs__grid { grid-template-columns: 1fr; }
.tdetail__info > h2:first-child { margin-top: 0; }
.b-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
.b-feature { background: var(--soft); border-radius: var(--radius); padding: 20px 22px; }
.b-feature strong { display: block; color: var(--ink); font-family: var(--font-alt); font-size: 16px; }
.b-feature span { display: block; color: var(--navy); font-family: var(--font-alt); font-size: 26px; font-weight: 700; line-height: 1.2; margin: 4px 0 6px; }
.b-feature p { margin: 0; font-size: 14.5px; color: var(--text); }
.tdetail__note { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .tdetail { grid-template-columns: 1fr; } .tdetail .tariffs { position: static; } .b-features { grid-template-columns: 1fr; } }

/* ==========================================================================
   Компоненти лендингів (XG-PON, «Без світла», бізнес)
   ========================================================================== */
.entry-content .b-band--hero {
	background: radial-gradient(800px 420px at 85% 20%, rgba(63, 182, 234, .35), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-600));
	padding-top: 72px; padding-bottom: 72px;
}
.entry-content .b-band--hero h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; margin: 0 0 18px; }
.entry-content .b-band--hero .b-image img { max-height: 420px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.entry-content .b-band--soft { background: var(--soft); }
.entry-content .b-band--navy { background: radial-gradient(600px 300px at 90% 0%, rgba(63, 182, 234, .3), transparent 65%), linear-gradient(135deg, var(--navy-900), var(--navy)); }
.entry-content .b-band--yellow { background: var(--yellow); }
.entry-content .b-band--yellow h2, .entry-content .b-band--yellow p, .entry-content .b-band--yellow li { color: var(--navy-900); }
.b-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #cfe8ff !important; font-size: 13.5px; font-weight: 500; margin: 0 0 16px !important; }
.b-band--soft .b-eyebrow, .entry-content > .b-eyebrow { background: var(--soft-2); color: var(--navy) !important; }
.entry-content .b-lead { font-size: 19px; line-height: 1.6; }
.entry-content .b-center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content .b-center .b-btn { text-align: center; }
.entry-content .b-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content .b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 0 0 32px; }
.entry-content .b-grid .b-box { box-shadow: var(--shadow); border: 0; }
.entry-content .b-band--soft .b-box { box-shadow: none; }
.entry-content .b-steps { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0 0 28px; }
.entry-content .b-steps li { counter-increment: step; position: relative; margin: 0; padding: 64px 24px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); font-weight: 500; line-height: 1.45; }
.entry-content .b-steps li::before { content: counter(step); position: absolute; top: 20px; left: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-alt); font-weight: 700; }
.entry-content .b-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.entry-content .b-split > :first-child > :first-child, .entry-content .b-split > :last-child > :first-child { margin-top: 0; }
@media (max-width: 900px) { .entry-content .b-split { grid-template-columns: 1fr; gap: 24px; } }
.entry-content .b-cta { text-align: center; }
.entry-content .b-cta h2 { max-width: 820px; margin: 0 auto 14px; }
.entry-content .b-cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
.entry-content .b-band .tariffs { margin: 0; }
.entry-content .b-band--hero .tcard { box-shadow: var(--shadow-lg); }
.entry-content .b-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.entry-content .b-card > :first-child { margin-top: 0; }
.entry-content .b-card > :last-child { margin-bottom: 0; }
.page-body--landing { padding-top: 48px; }
.page-body--landing .entry-content > .b-band:first-child { margin-top: -48px; }
.entry-content .b-band--hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; margin: 0 0 18px; }
.entry-content .b-hero-img .b-image img { max-height: 280px; }
.entry-content .b-options { display: grid; gap: 24px; margin: 40px 0 48px; }
.entry-content .b-option { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px; }
.entry-content .b-option__img .b-image { margin: 0; }
.entry-content .b-option__img img { max-height: 220px; border-radius: 14px; }
.entry-content .b-option__text h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.entry-content .b-option__text p:last-child { margin-bottom: 0; }
.entry-content .b-num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--yellow); color: var(--navy-900); font-size: 17px; font-weight: 700; }
@media (max-width: 767px) { .entry-content .b-option { grid-template-columns: 1fr; } }
/* Сторінка з бічною колонкою (послуги для бізнесу) */
.entry-content .b-aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.entry-content .b-aside-layout__main > :first-child { margin-top: 0; }
.entry-content .b-aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.entry-content .b-aside .b-flip { margin: 0; }
.entry-content .b-aside__cta { background: var(--soft); box-shadow: none; }
.entry-content .b-aside__cta h3 { margin: 0 0 8px; font-size: 19px; }
.entry-content .b-aside__cta .b-btn { margin: 14px 0 0; }
@media (max-width: 1024px) { .entry-content .b-aside-layout { grid-template-columns: 1fr; } .entry-content .b-aside { position: static; } }
.entry-content .b-box img { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 600px) { .cards--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; } .cards--4 .post-card__body { padding: 12px 14px 14px; } .cards--4 .post-card__title { font-size: 14.5px; } }
/* Шапка: місце для всього меню */
:root { --container: 1320px; }
.mainbar__inner { gap: 20px; }
.mainnav { display: flex; justify-content: center; }
.menu--main a { padding-left: 8px; padding-right: 8px; font-size: 14.5px; }
.menu--main > li > a::before { left: 8px; right: 8px; }
@media (max-width: 1440px) { .menu--main a { padding-left: 6px; padding-right: 6px; font-size: 14px; } .menu--main > li > a::before { left: 6px; right: 6px; } .mainbar__logo img, .mainbar__logo .logo-img { width: 130px; } .mainbar__cta { padding: 10px 16px; } }
@media (max-width: 1300px) { .menu--main a { font-size: 13.5px; padding-left: 5px; padding-right: 5px; } .menu--main > li.menu-item-has-children > a::after { display: none; } }
.entry-content .b-btn .btn--outline { color: var(--navy); }
.entry-content .b-btn .btn--outline:hover { color: #fff; }
.entry-content .b-btn .btn--yellow, .entry-content .btn--yellow { color: var(--navy-900); }
.entry-content .b-btn .btn { margin: 0 8px 8px 0; }
/* Карта з перемиканням точок */
.b-mapbox { margin: 36px 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.b-mapbox__frame { display: block; width: 100%; height: 420px; border: 0; border-radius: 0 !important; }
.b-mapbox__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
.b-mapbox__btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.b-mapbox__btn .ico { color: var(--red); }
.b-mapbox__btn:hover { border-color: var(--navy); }
.b-mapbox__btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.b-mapbox__btn.is-active .ico { color: var(--yellow); }

/* Фон у шапках: смужки у формі знака з логотипа */
:root { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 -10 300 290'%3E%3Cg fill='%23fff'%3E%3Crect x='148' y='42' width='87' height='42' rx='21' transform='rotate%28-45 191 63%29'/%3E%3Crect x='32' y='74' width='91' height='42' rx='21' transform='rotate%28-45 77 95%29'/%3E%3Crect x='56' y='138' width='242' height='42' rx='21' transform='rotate%28-45 177 159%29'/%3E%3Crect x='36' y='151' width='92' height='42' rx='21' transform='rotate%28-45 82 172%29'/%3E%3Crect x='141' y='179' width='156' height='42' rx='21' transform='rotate%28-45 219 200%29'/%3E%3Ccircle cx='136' cy='36' r='20'/%3E%3Ccircle cx='136' cy='119' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
.hero::after, .page-head::after, .cta-panel { }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -110px; width: 620px; height: 620px; border-radius: 0; opacity: .1; background: var(--mark) center / contain no-repeat; transform: none; }
.page-head::after { content: ""; position: absolute; right: 4%; top: 50%; width: 360px; height: 360px; margin-top: -180px; border-radius: 0; opacity: .1; background: var(--mark) center / contain no-repeat; transform: none; }
.entry-content .b-band--hero { position: relative; overflow: hidden; }
.entry-content .b-band--hero::after { content: ""; position: absolute; left: 50%; bottom: -140px; width: 560px; height: 560px; margin-left: 260px; opacity: .08; pointer-events: none; background: var(--mark) center / contain no-repeat; }
.entry-content .b-band--hero > * { position: relative; z-index: 1; }
@media (max-width: 767px) { .page-head::after { width: 220px; height: 220px; margin-top: -110px; right: -40px; } }

/* Бестмен на головній: крупно, по пояс */
.hero__inner { padding-bottom: 0; align-items: stretch; }
.hero__content { align-self: center; padding-bottom: 56px; }
.hero__image { position: relative; align-self: end; height: 500px; overflow: hidden; text-align: center; }
.hero__image img { display: block; width: auto; height: 960px; max-height: none; max-width: none; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
@media (max-width: 900px) {
	.hero__inner { padding-bottom: 0; }
	.hero__image { order: 2; height: 300px; }
	.hero__image img { height: 580px; }
	.hero__content { padding-bottom: 8px; }
}
.hero__image img { position: absolute; left: 50%; top: 24px; transform: translateX(-50%); }
@media (max-width: 900px) { .hero__image img { top: 10px; } }
/* Бестмен: не обрізати руки збоку, лише знизу (краєм банера) */
.hero__image { overflow: visible; height: 470px; }
.hero__image img { height: 780px; top: 28px; }
@media (max-width: 900px) { .hero__image { height: 300px; } .hero__image img { height: 500px; } }
/* Списки всередині розкривних блоків і карток — з відступом від краю */
.best-block details > ul, .best-block details > ol, .entry-content details > ul, .entry-content details > ol { padding-left: 42px; }
.entry-content details > ul.b-list { padding-left: 20px; }
.page-contacts .entry-content > .b-cols > .b-col > ul, .page-contacts .entry-content > .b-cols > .b-col > ol { padding-left: 22px; }
.entry-content .b-card ul, .entry-content .b-col--box ul { padding-left: 22px; }
.entry-content .b-col details > ul, .entry-content .b-col details > ol, .best-block details > ul, .best-block details > ol { padding-left: 42px; }
/* Картинка банера: висота і зсув задаються в «Налаштування сайту → Головна» */
.hero__image { height: 470px; overflow: visible; }
.hero__image img { position: absolute; left: 50%; top: auto; bottom: calc(-1 * var(--hero-shift, 0px)); transform: translateX(-50%); height: var(--hero-h, 470px); width: auto; max-width: none; max-height: none; }
@media (max-width: 900px) { .hero__image { height: 290px; } .hero__image img { height: calc(var(--hero-h, 470px) * .62); bottom: calc(-.62 * var(--hero-shift, 0px)); } }
/* Результати пошуку у вікні */
.modal--search { flex-direction: column; justify-content: flex-start; padding-top: 14vh; }
.search-results { width: min(760px, 90vw); max-height: 60vh; overflow: auto; margin-top: 14px; display: grid; gap: 8px; }
.search-results__item { display: block; background: #fff; border-radius: 14px; padding: 14px 18px; color: var(--text); box-shadow: var(--shadow); }
.search-results__item b { display: block; color: var(--ink); font-family: var(--font-alt); font-size: 16px; margin-bottom: 4px; }
.search-results__item span { font-size: 14px; line-height: 1.45; display: block; }
.search-results__item:hover { background: var(--soft); }
.search-results__empty { color: #fff; text-align: center; }
