﻿﻿/*   
Theme Name: Mastertepla
Author: Seganiko (Serhii Nikolaienko)
Author Email: info@seganiko.com
Author Phone: +33744751248
Author Telegram: @sega_niko
Author Viber: +33744751248
Author WhatsApp: +33744751248
Author Url: https://seganiko.com
Author Linkedin profile: https://www.linkedin.com/in/seganiko/
Author X.com (Twitter) profile: https://x.com/sega_niko
Author Youtube profile: https://www.youtube.com/@seganiko
Version: 1.0
*/

*{
	box-sizing: border-box;
	/*
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	*/
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

ul[class],
ol[class] {
	padding: 0;
}

body, h1, h2, h3, h4, p, ul[class], ol[class], 
li, figure, figcaption, blockquote, dl, dd{
	margin: 0;
}

body{
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

ul[class],
ol[class]{
	list-style: none;
}

a:not([class]){
	text-decoration-skip-ink: auto;
}

img{
	max-width: 100%;
	display: block;
}

article > * + * {
	margin-top: 0;
}

input,
button,
textarea,
select{
	font: inherit;
}

@media (prefers-reduced-motion: reduce) {

	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	transition: 0.5s!important;
	outline: none!important;
	box-sizing: border-box;
	/*
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	*/
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{
	display: block;
}

blockquote, q{
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after{
	content: '';
	content: none;
}

table{
	border-collapse: collapse;
	border-spacing: 0;
}

a{
	transition: 0.5s;
	text-decoration: none;
	color: var(--blue-color);
}

a:hover,
a:active,
a:focus,
a:visited{
	text-decoration: none;
	color: var(--blue-color);
}

::-webkit-scrollbar{
    width: 6px;
    background: var(--white-color);
}

::-webkit-scrollbar-thumb{
    width: 6px;
    background: var(--main-color);
}



html,
body{
    font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.45;
	color: var(--text-main-color);
	overflow-x: hidden;
}

strong{
	font-family: var(--font-text);
	font-weight: 700;
}

code{
	padding: 2px 5px;
	margin: 0;
	border-radius: 5px;
	background: var(--gray-color);
	display: inline-block;
	white-space: pre-wrap;
	word-wrap: break-word;
	/* overflow-x: auto; */
}

details summary{
	color: var(--text-main-color);
	cursor: pointer;
}

details summary::marker{
	color: var(--blue-color);
}

h1, h2, h3, h4, h5, h6{
	margin: 40px 0 22px;
	padding: 0;
	font-weight: 800;
	line-height: 1.25;
	width: 100%;
	color: var(--text-main-color);
    font-family: var(--font-text);
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
	color: var(--text-main-color);
}

h1{
	font-size: 38px;
}

h2{
	font-size: 34px;
}

h3{
	font-size: 30px;
}

h4{
	font-size: 22px;
}

h5{
	font-size: 20px;
}

h6{
	font-size: 18px;
}

p{
	margin: 15px 0;
}



.container{
	width: 100%;
	max-width: 1280px;
	padding: 0 20px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
}

.row{
	width: 100%;
}



.header{
	position: relative;
}

.header.fixed-header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	transition: 0.5s;
}

.header.fixed-header .bottom-header .header-phone{
    padding: 4px 22px 4px;
}

.top-header{
	padding: 12px 0;
	background: var(--white-color);
	border-bottom: 1px solid var(--main-opacity-color);
}

.top-header .container{
	flex-wrap: wrap;
}

.top-header .container .row{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
}

.header-logo{
	width: 210px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
}

.header-logo img{
	width: 84px;
}

.header-site-name{
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.topmenu{
	width: calc(100% - 540px);
}

.topmenu ul{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	list-style: none;
}

.topmenu ul li{
	position: relative;
}

.topmenu ul li a{
	font-weight: 500;
	color: var(--text-main-color);
}

.topmenu ul li a:hover,
.topmenu ul li a:focus,
.topmenu ul li a:active{
	color: var(--orange-color);
}

/* .topmenu ul li.current-menu-item a */
/* .topmenu ul li.current_page_item a */



.header-contacts{
	width: 180px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0;
}

.list-header-contacts{
	width: calc(100% - 53px);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 3px;
	line-height: 1;
}

.one-header-contacts{
	width: 100%;
	text-align: left;
	line-height: 21px;
}

.one-header-contacts a{
	color: var(--text-main-color);
	font-weight: 600;
}

.one-header-contacts a span{
	display: inline-block;
}

.icon-header-contacts{
	width: 42px;
	line-height: 1;
}

.icon-header-contacts svg{
	width: 42px;
	height: 42px;
	color: var(--orange-color);
}



.close-menu{
	position: absolute;
	right: 15px;
	top: 20px;
	width: 32px;
	cursor: pointer;
	display: none;
}

.close-menu.active .active-img{
	display: block;
}

.close-menu .active-img,
.close-menu.active .no-active-img{
	display: none;
}



.animated-block{
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
	will-change: opacity, transform;
}

.animated-block.visible{
	opacity: 1;
	transform: translateY(0);
}





.content{
	min-height: calc(100vh - 250px);
	padding: 95px 0 145px;
}

.home .content{
	padding-bottom: 0;
}

.content ol{
	padding: 0 0 0 20px;
	margin: 12px 0;
}

.content ul{
	padding: 0;
	margin: 12px 0;
}

.content ol li{
	margin: 5px 0;
}

.content ul li{
	/* list-style: none;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAACnUlEQVR4nO2bO2gUYRDHJwqK+CiMyc6sUSwsRCtFELQQRDDYiq2g1kFyN3NnqhNsRLSwtBIsFMRCSNBSkSgGdmaPEBACFmK4ExS08ImYlXvk7gRfZw6S3ckfpt/vx8zs980D4B9EEu0j1sskdpfYxon1Ssh2FLKuwbHpgMQekFjyK0PWMoodhixqaDTeiqJzvzt823SeRG9QLtoCmVEpWYWsT/5++A5vEHsTFvQ0QNIHaReKHe/m8D+HhT0OCvEeSLNQ7Pb/Amjmhq/EdnFo9Ok6SKNQNF4MgJaxvUDWYUibSKzSEwBtj7g1wFMIaRGJVXsJoOkN70nsHJy8sxpcApBWklQU3Q9eAVDDG76h6LV+mdwILgFI0xtE55D1BHgFQG2PGKditB3cApB6bvhIosVlkSRpCQB0hEUc5KMDbgFQPST0O7Fd3zzybJNPANKyCrKd8gwgaZhOBMV4h2MAVntufyLRC7tLM2tcAqAFY5sOC3bQLwCph8Q8sd0Mz0/1OwVgTW/Q140k2eMqFKUFQBvEI8pFu/wCkPpN8nMtSe4cmV3rEgC1QOjsonsWlGIAnUkSx2zAKQBbsCpxfMgzgKRRoe4SAmUIQAOCvQzy5fVuAZBYEoqecQ2ARCdcA0Cx5ysAPAMg7yFAeTvrFgB6/g2i6BfPF6Gq06uw+n0ModfnMPouiOhDnyUxdlsUVcdlcXbaGEHfrTF12xyt+GyPs+MBCfQ7IqMf/A5JsdMxOXQ7KMmNUdmB0swGWI6ilWFp6zkAFH2XpnH5iuuFCezhygwVomOQNqH7pSnWYddrcwBJH4pOdnnwt5lZnKxpm2iIrK98rs42FeTLgyR6/w+/tjizy9PQoTBX3otsl2rr8yh6j8SuBvnoyFJ/Vy/0A/iMKWpjTqBkAAAAAElFTkSuQmCC);
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-size: 11px 11px;
    padding-left: 18px;
	margin: 9px 0; */
}





.top-heading{
	padding: 0;
	margin: 0 0 30px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.top-heading-overlay{
	padding: 22px 0 0;
	background: transparent;
}

.top-heading h1{
	padding: 0;
	color: var(--text-main-color);
	margin: 0;
}

#breadcrumbs{
	font-size: 12px;
	margin: 0 0 12px;
}

#breadcrumbs,
#breadcrumbs a{
	color: var(--breadcrumb-color);
	border: none;
}

.content-page{
	padding: 0;
	margin: 0;
}

.heading{
	width: 100%;
	font-size: 38px;
	font-weight: 700;
}





.top-heading-index{
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.top-heading-index-overlay{
	background: rgba(0, 0, 0, 0.65);
	min-height: calc(100vh - 200px);
	display: flex;
	align-items: center;
	justify-content: flwex-start;
}

.h1-top-heading-index{
	font-size: 54px;
	width: 100%;
	text-align: left;
	color: var(--white-color);
	padding: 0 450px 0 0;
	margin-top: -60px;
	line-height: 1.25;
	text-transform: uppercase;
}

.h1-top-heading-index h1{
	font-size: 54px;
	width: 100%;
	text-align: left;
	font-weight: 500;
	color: var(--white-color);
}

.pdp-top-heading-index{
	font-size: 20px;
	width: 100%;
	text-align: left;
	color: var(--white-color);
	margin-top: 28px;
	padding: 0 450px 0 0;
}

.btns-top-heading-index{
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 20px;
	margin: 48px 0 0;
}

.btns-top-heading-index a{
	font-size: 17px;
	text-align: left;
	color: var(--white-color);
	padding: 20px 26px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 0.3px;
	display: inline-block;
	background: var(--orange-color);
	border-radius: 10px;
}

.btns-top-heading-index a:hover,
.btns-top-heading-index a:focus,
.btns-top-heading-index a:active{
	color: var(--white-color);
	background: var(--orange-color-hover-btn);
}





.about-section{
  padding: 120px 0 30px;
  background: var(--white-color);
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-photo {
  flex: 1;
}

.about-photo img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 20px;
}

.typed-block {
  font-size: 20px;
  line-height: 1.5;
  color: var(--main-color);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 34px;
}

.caret {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--orange-color);
  margin-left: 2px;
  animation: blink .9s steps(1) infinite;
}

@keyframes blink{
	50%{
		opacity: 0;
	}
}

.about-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--breadcrumb-color);
  margin-bottom: 0px;
}

.about-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-main {
  display: inline-block;
  background: var(--orange-color);
  color: var(--white-color);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.btn-main:hover {
  background: #ff7a1f;
  color: var(--white-color);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--orange-color);
  color: var(--main-color);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: var(--main-opacity-color);
  color: var(--text-main-color);
}





.services-section {
  padding: 110px 0 30px;
  background: var(--white-color);
}

.page-template-page-services .services-section{
	padding: 0 0 30px;
}

.services-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.services-intro {
  position: sticky;
  top: 100px;
  align-self: start;
}

.services-heading {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 60px;
}

.services-subtext {
  font-size: 16px;
  color: var(--breadcrumb-color);
  line-height: 1.7;
  max-width: 280px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--main-opacity-color);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--main-opacity-color);
}

.service-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 12px;
  line-height: 1.3;
  margin: 0;
}

.service-content h3 a{
  color: var(--main-color);
}

.service-content p {
  font-size: 15px;
  color: var(--breadcrumb-color);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-call,
.btn-call:visited {
  display: block;
  width: 100%;
  background: var(--orange-color);
  color: var(--white-color);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: 0.3s ease;
  align-self: flex-start;
  text-align: center;
  font-size: 16px;
}

.btn-call:hover,
.btn-call:focus,
.btn-call:active{
  background: var(--orange-color-hover);
  color: var(--white-color);
}





.reviews-section {
  background: var(--white-color);
  padding: 100px 0 40px;
  position: relative;
}

.reviews-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 60px;
}

.reviews-swiper {
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 60px;
}

.review-card {
  background: var(--white-color);
  border: 1px solid var(--main-opacity-color);
  border-radius: 16px;
  box-shadow: 0 8px 24px var(--main-opacity-color);
  padding: 30px;
  max-width: 460px;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--orange-color);
  font-size: 21px;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.review-text {
  font-size: 16px;
  color: var(--breadcrumb-color);
  line-height: 1.7;
  margin-bottom: 25px;
}

.review-author {
  font-weight: 700;
  color: var(--main-color);
  font-size: 15px;
}

.swiper-button-prev{
	left: 0;
}

.swiper-button-next{
	right: 0;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--main-color);
  opacity: 0.6;
  transition: 0.3s ease;
  width: 22px;
  height: 30px;
  background-size: 22px 30px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
  color: var(--blue-color);
}

.swiper-pagination-bullet {
  background: var(--orange-color);
  opacity: 0.3;
  transition: 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}





.contacts-section{
	padding: 150px 0 100px;
	background: var(--white-color);
}

.contacts-grid{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 80px;
}

.contacts-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 60px;
}

.contacts-item {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--main-color);
}

.contacts-label i {
  width: 22px;
  height: 22px;
  color: var(--orange-color);
  flex-shrink: 0;
  opacity: 0.9;
}

.contacts-value {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.contacts-value a {
  display: inline-block;
  color: var(--main-color);
  text-decoration: none;
  transition: 0.25s ease;
  font-weight: 500;
}

.contacts-value a:hover {
  color: var(--orange-color);
}





.contacts-form {
  background: var(--footer-bg-color);
  border-radius: 20px;
  padding: 55px;
}

.contacts-form form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contacts-form form p{
	margin: 0;
}

.contacts-form label {
  font-size: 15px;
  color: var(--main-color);
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

.contacts-form input,
.contacts-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--main-opacity-color);
  border-radius: 10px;
  background: var(--white-color);
  font-size: 16px;
  color: var(--main-color);
  font-family: inherit;
  transition: 0.3s ease;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: var(--orange-color);
  box-shadow: 0 0 0 2px var(--main-opacity-color);
}

.contacts-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contacts-form input[type="submit"] {
  background: var(--orange-color);
  color: var(--white-color);
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 16px 0;
  font-size: 17px;
  transition: 0.3s ease;
}

.contacts-form input[type="submit"]:hover {
  background: var(--orange-color-hover-btn);
}





div.wp-caption{
	width: calc(33.33% - 30px)!important;
	float: left;
	margin: 30px 30px 30px 0;
	text-align: center;
	padding: 15px;
	border: 1px solid rgba(204,204,204,.5);
}

div.wp-caption p{
	font-size: 14px;
	display: block;
	min-height: 38px;
	margin-bottom: 0;
}

hr{
	width: 100%;
	display: block;
	float: none;
	clear: both;
}



.wp-pagenavi{
	margin: 40px 0 0;
	width: 100%;
	text-align: center;
}

.wp-pagenavi span.pages,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink{
	display: none;
}

.wp-pagenavi span,
.wp-pagenavi a{
	font-size: 15px;
	padding: 10px 15px;
	border-radius: 4px;
	margin: 0 5px;
}

.wp-pagenavi a{
	color: var(--orange-color);
	border: 1px solid var(--orange-color);
}

.wp-pagenavi span,
.wp-pagenavi span.current,
.wp-pagenavi a:hover{
	color: var(--white-color);
	background: var(--orange-color);
	border-color: var(--orange-color);
	border: 1px solid var(--orange-color);
}

span.extend{
	display: none;
}





.map{
	width: 100%;
	margin: 30px 0 0;
}

.map iframe{
	width: 100%;
}

blockquote{
	border-left: 5px solid var(--blue-color);
	border-top: 1px solid var(--main-opacity-color);
	border-right: 1px solid var(--main-opacity-color);
	border-bottom: 1px solid var(--main-opacity-color);
	padding: 22px;
	margin: 25px 0;
	display: block;
}

blockquote p{
	margin: 0;
}

img.alignright{
	display: block;
	float: right;
	padding: 0;
	margin: 9px 0 9px 30px;
}

img.alignleft{
	display: block;
	float: left;
	padding: 0;
	margin: 9px 30px 9px 0;
}

img.aligncenter{
	clear: both;
	display: block;
	margin: 30px auto;
}

img.alignnone{
	clear: both;
	display: block;
	margin: 30px 0;
}

.single .content-page img.alignright,
.single .content-page img.alignleft,
.single .content-page img.aligncenter,
.single .content-page img.alignnone{
	border-radius: 10px;
}

.single .content{
	padding: 0;
}





.footer{
	background: var(--footer-bg-color);
	color: var(--text-main-color);
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--main-opacity-color);
}

.top-footer{
	padding: 68px 0 38px;
}

.top-footer .container{
	gap: 30px;
}

.footer-logo{
	width: 120px;
	text-align: center;
}

.footer-site-name{
	font-size: 16px;
	font-weight: 600;
	margin: 8px 0 0;
}

.footer-aside{
	font-size: 15px;
}

.footer-aside a{
	font-weight: 600;
	color: var(--text-main-color);
}

.footer-aside strong{
	font-weight: 500;
}

.footer-aside p{
	margin: 0 0 6px;
}



.widget-title{
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.1px;
	font-weight: 700;
	margin: 0 0 12px;
}

.footer-menu ul{
	list-style: none;
	padding: 0;
}

.footer-menu ul li{
	margin: 0;
}

.footer-menu ul li a{
	color: var(--text-main-color);
	font-size: 15px;
	padding: 6px 0;
	display: inline-block;
}

.footer-bottom.container{
	border-top: 1px solid var(--main-opacity-color);
	padding-top: 15px;
	padding-bottom: 15px;
}

.copyright{
	width: calc(50% - 20px);
	padding: 0;
	text-align: left;
	font-size: 12px;
}

.bottom-links{
	width: calc(50% - 20px);
	padding: 0;
	text-align: right;
	font-size: 13px;
	display: flex;
    align-items: center;
    justify-content: flex-end;
}

.bottom-links a{
	color: var(--text-main-color);
	font-weight: 500;
}






.page-template-page-contacts .contacts-section{
	padding: 100px 0 100px;
}


.page-template-page-services .content{
	padding-bottom: 0;
}


.single .contacts-section{
	padding-top: 40px;
}




.service__content img{
	border-radius: 12px;
}







/* ===============================
   Плавающие иконки связи
=============================== */
.floating-contacts {
  position: fixed;
  right: 32px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 999;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn i {
  width: 26px;
  height: 26px;
  color: var(--white-color); /* фиксируем цвет */
  transition: none !important;
}

/* Цвета под фирменную палитру */
.float-btn.viber {
  background: #7360f2;
}

.float-btn.telegram {
  background: #0088cc;
}

.float-btn.phone {
  background: var(--orange-color);
}

/* Hover эффекты */
.float-btn:hover,
.float-btn:visited,
.float-btn:focus,
.float-btn:focus-visible,
.float-btn:focus-within,
.float-btn:target,
.float-btn:active {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--white-color);
}

.float-btn:hover i,
.float-btn:visited i,
.float-btn:focus i,
.float-btn:focus-visible i,
.float-btn:focus-within i,
.float-btn:target i,
.float-btn:active i {
  color: var(--white-color);
}





.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path: inset(50%);
  white-space:nowrap;
  border:0;
}








/* ============================
   Адаптив до 1200px
============================ */
@media screen and (max-width: 1200px) {

  .container {
    max-width: 1000px;
    padding: 0 25px;
  }

  .topmenu ul {
    gap: 14px;
  }
  
  .icon-header-contacts{
	display: none;
  }

  .h1-top-heading-index {
    font-size: 48px;
    padding-right: 220px;
  }

  .pdp-top-heading-index {
    font-size: 18px;
    padding-right: 220px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .about-text h2 {
    font-size: 38px;
  }

  .reviews-title,
  .contacts-title {
    font-size: 38px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }

  .contacts-grid {
    gap: 40px;
  }

  .contacts-form {
    padding: 36px;
	margin: 30px 0 0;
}
  
  .top-footer .container {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-logo {
    width: 100px;
  }
  
  
  .dc-toc.dc-toc{
	background: #f0f0f1;
	margin: 0 0 18px 0;
  }
  
  
  .parent-single-article{
    padding-top: 83px;
}
  
  
}



/* ============================
   Адаптив до 991px (планшеты)
============================ */
@media screen and (max-width: 991px) {

  .container {
    max-width: 760px;
    padding: 0 20px;
  }
  
  /* -------- ШАПКА -------- */
  .header {
    position: relative;
    z-index: 100;
  }
  
  .top-header {
    padding: 10px 0;
  }

  .topmenu {
    display: none;
  }

  .header.fixed-header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .header-contacts {
    /* width: auto; */
	min-height: 58px;
  }

  .close-menu {
    display: block;
    right: 20px;
    top: 22px;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white-color);
    z-index: 99;
    padding: 90px 40px;
    transition: 0.4s ease;
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu ul li a {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 600;
  }
  
  .content {
    padding: 80px 0 145px;
  }

  .home .content {
    padding-bottom: 0;
  }

  /* -------- ГЛАВНЫЙ ЭКРАН -------- */
  .top-heading-index-overlay {
    min-height: 600px;
	padding: 120px 0 170px;
  }

  .h1-top-heading-index {
    font-size: 42px;
    padding-right: 0;
  }

  .h1-top-heading-index h1{
    font-size: 42px;
  }

  .pdp-top-heading-index {
    font-size: 18px;
    padding-right: 0;
  }

  /* -------- ПРО МЕНЕ -------- */
  .about-row {
    flex-direction: column;
    gap: 24px;
  }

  .about-photo,
  .about-text {
    width: 100%;
  }

  .about-text h2 {
    font-size: 34px;
    text-align: center;
  }

  .typed-block {
    text-align: center;
	margin-bottom: 20px;
  }

  .about-buttons {
    justify-content: center;
	font-size: 14px;
	flex-wrap: wrap;
  }
  
  .about-buttons{
	
  }

  /* -------- ПОСЛУГИ -------- */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .services-heading {
    font-size: 30px;
	margin-bottom: 36px;
  }

  /* -------- ВІДГУКИ -------- */
  .reviews-title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .review-card {
    padding: 24px;
  }

  /* -------- ФУТЕР -------- */
  .top-footer .container {
    /* flex-direction: column; */
    align-items: center;
	gap: 30px;
  }
  
  

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-aside {
    text-align: center;
  }

  .footer-menu {
    text-align: center;
  }
  
  .widget-title,
  .footer-menu ul li{
	text-align: left;
  }

  .bottom-links,
  .copyright {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 10px 0;
  }
  
  .heading{
	font-size: 34px;
  }
  
  
  
  .page-template-page-contacts .contacts-section{
    padding: 0;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .floating-contacts {
    right: 16px;
    bottom: 70px;
    gap: 12px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn i {
    width: 22px;
    height: 22px;
  }
  
  
  
  
  
  
  
  
  .contacts-title {
    margin-top: 0px;
    margin-bottom: 24px;
}

.contacts-item {
    margin-bottom: 24px;
	}
	
	
	.about-photo{
		text-align: center;
		display: flex;
		align-items: flex-start;
		justify-content: center;
	}
	
	.about-photo img {
    max-width: 55%;
	}
}



/* ============================
   Адаптив до 768px (телефоны)
============================ */
@media screen and (max-width: 768px) {

  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  h1, h2, h3 {
    margin: 30px 0 15px;
  }
  
  h1{
	font-size: 28px;
  }

  h2{
	font-size: 24px;
  }

  h3{
	font-size: 22px;
  }

  h4{
	font-size: 20px;
 }

  h5{
	font-size: 18px;
  }

  h6{
	font-size: 18px;
 }

  /* -------- ШАПКА -------- */
  
  .header-logo{
	width: 140px;
	gap: 7px;
  }
  
  .header-logo img {
    width: 70px;
  }

  .header-site-name {
    font-size: 14px;
	white-space: normal;
	line-height: 1.25;
  }

  .header-contacts {
    width: 148px;
    /* flex-direction: column; */
    gap: 3px;
    /* width: auto; */
  }

  .list-header-contacts {
    width: calc(100% - 37px);
  }
  
  .icon-header-contacts {
    width: 34px;
  }
  
  .icon-header-contacts svg {
    width: 34px;
    height: 34px;
  }

  .one-header-contacts {
	line-height: 18px;
    /* text-align: right; */
  }

  .one-header-contacts a{
	font-size: 14px;
  }
  
  
  /* -------- ГЛАВНЫЙ ЭКРАН -------- */
  .h1-top-heading-index {
    font-size: 34px;
    margin-top: 0;
    /* text-align: center; */
    padding-right: 0;
  }
  
  .h1-top-heading-index h1{
    font-size: 30px;
	margin-top: 10px;
  }

  .pdp-top-heading-index {
    font-size: 16px;
    /* text-align: center; */
	margin-top: 20px;
  }

  .btns-top-heading-index{
    margin: 30px 0 0;
  }

  .btns-top-heading-index {
    justify-content: ;
  }
  
  .btns-top-heading-index a {
    font-size: 15px;
    padding: 18px 24px;
  }

  /* -------- ПРО МЕНЕ -------- */
  .about-section {
    padding: 70px 0 30px;
  }

  .about-text h2 {
    font-size: 30px;
	margin-top: 15px;
  }

  .typed-block {
    font-size: 16px;
	min-height: 50px;
  }

  /* -------- ПОСЛУГИ -------- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card {
    border-radius: 12px;
  }

  .service-content {
    padding: 18px;
  }

  .service-content p {
    font-size: 14px;
  }

  .btn-call {
    font-size: 15px;
  }

  /* -------- ВІДГУКИ -------- */
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-title {
    font-size: 30px;
  }

  .review-card {
    padding: 22px;
    border-radius: 12px;
  }

  .review-text {
    font-size: 15px;
  }

  .review-author {
    font-size: 14px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    /* display: none; */
  }

  
    /* -------- КОНТАКТИ -------- */
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-title {
    text-align: center;
    margin-bottom: 40px;
  }

  .contacts-item {
    text-align: center;
    align-items: center;
  }

  .contacts-form {
    padding: 45px;
  }
  
  /* -------- КОНТАКТИ -------- */
  .contacts-section {
    padding: 40px 0 70px;
  }

  .contacts-form {
    padding: 35px 25px;
  }

  .contacts-form input,
  .contacts-form textarea {
    font-size: 15px;
  }

  .contacts-form input[type="submit"] {
    font-size: 16px;
    padding: 14px 0;
  }

  .contacts-item {
	gap: 5px;
    margin-bottom: 22px;
  }

  .contacts-label {
    font-size: 17px;
    justify-content: center;
  }

  .contacts-value {
    text-align: center;
  }
  
  .contacts-value p{
	margin: 9px 0;
  }

  /* -------- ФУТЕР -------- */
  .top-footer {
    padding: 45px 0 25px;
  }

  .footer-logo {
    width: 90px;
    margin: 0 auto 20px;
  }

  .footer-site-name {
    font-size: 15px;
    margin-top: 6px;
  }

  .footer-aside,
  .footer-menu {
    text-align: center;
  }

  .footer-bottom.container {
    flex-direction: column;
    gap: 0px;
    text-align: center;
  }

  .copyright,
  .bottom-links {
    width: 100%;
    justify-content: center;
  }
  
  .heading{
	font-size: 28px;
  }
  
  .single .contacts-section{
	padding-top: 0;
  }
  
  .contacts-form {
	margin: 0;
}
  
  .about-photo img {
    max-width: 100%;
	}
  
  
  
  
  
  
  
  
  
  
  
  
  .floating-contacts {
    right: 12px;
    bottom: 55px;
    gap: 10px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }

  .float-btn i {
    width: 20px;
    height: 20px;
  }
}























/* =====================================
   Сторінка послуги
===================================== */
.service--single { background: var(--white-color); padding: 95px 0 0; }

.service__header { margin-bottom: 28px; }
.service__subtitle { color: var(--breadcrumb-color); font-size: 16px; margin: 10px 0 0; }

.service__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

/* TOC */
.dc-toc { position: sticky; top: 110px; align-self: start; }
.dc-toc__title { font-weight: 700; color: var(--main-color); margin-bottom: 12px; }
.dc-toc__list { display: flex; flex-direction: column; gap: 8px; }
.dc-toc__item a {
  display: inline-block;
  color: var(--main-color);
  padding: 6px 0;
  border-bottom: 1px dashed transparent;
  transition: 0.25s ease;
}
.dc-toc__item a:hover { color: var(--orange-color); border-bottom-color: var(--orange-color); }

/* Общий контент секцій */
.service__content h2 { margin: 32px 0 16px; font-size: 32px; }
.service__content h3 { margin: 22px 0 10px; font-size: 22px; }
.service__content p { color: var(--text-main-color); }
.service__content ul { margin: 8px 0 18px; padding: 0; }
.service__content ul li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}
.service__content ul li::before {
  content: '';
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--orange-color);
  position: absolute; left: 0; top: 0.6em;
}
.service__content ol { margin: 10px 0 20px; padding-left: 22px; }
.service__content ol li { margin: 8px 0; }

/* Таблиця цін */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.service-table { width: 100%; border: 1px solid var(--main-opacity-color); border-radius: 12px; overflow: hidden; }
.service-table thead th {
  text-align: left; background: var(--main-opacity-color); color: var(--main-color);
  font-weight: 700; padding: 14px 16px; font-size: 15px;
}
.service-table tbody td {
  padding: 14px 16px; border-top: 1px solid var(--main-opacity-color);
  color: var(--breadcrumb-color); font-size: 15px; vertical-align: top;
}
.service__prices-note { color: var(--breadcrumb-color); margin-bottom: 14px; }

/* CTA */
.service__cta .cta__text { color: var(--breadcrumb-color); margin-bottom: 16px; }
.service__cta .cta__actions { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 700;
  text-decoration: none; transition: 0.3s ease; text-align: center; line-height: 1;
}
.btn-primary { background: var(--orange-color); color: var(--white-color); }
.btn-primary:hover { background: #ff7a1f; color: var(--white-color); }

/* Внутренние отступы между секціями */
.service__section { margin-top: 26px; }






.page-template-page-one-service .district-list{
	margin: 20px 0 0;
}

.page-template-page-one-service .district-list ul li{
	padding: 0;
	margin: 0;
}

.page-template-page-one-service .district-list ul li::before{
	display: none;
}

.page-template-page-one-service .service__section.service__related{
    margin-top: 60px;
}






/* ===== Адаптив ===== */

/* ≤1200 */
@media (max-width: 1200px){
  .service__layout { grid-template-columns: 260px 1fr; gap: 40px; }
  .service__content h2 { font-size: 30px; }
}

/* ≤991 (планшеты) */
@media (max-width: 991px){
  .service--single { padding: 90px 0 80px; }
  .service__layout { grid-template-columns: 1fr; gap: 30px; }
  .dc-toc { position: relative; top: 0; }
  .dc-toc__list { flex-direction: row; flex-wrap: wrap; gap: 12px 18px; }
  .service__content h2 { font-size: 28px; }
  .service__cta .cta__actions { grid-template-columns: 1fr; }
  
  .dc-toc.dc-toc{
	/* border: none;
	padding: 0;
	background: none; */
  }
  
  
}

/* ≤768 (мобільні) */
@media (max-width: 768px){
	.service--single { padding: 72px 0 80px; }
  .service__content h2 { font-size: 26px; }
  .service-table thead th, .service-table tbody td { font-size: 14px; padding: 12px; }
  .btn { width: 100%; }
  
  .page-template-page-services .content{
	padding-top: 93px;
  }
  
  .top-heading-overlay {
    padding: 15px 0 0;
  }
  
  
}















/* ===============================
   FAQ (dl/dt/dd)
   Базовый стиль — читаемо и аккуратно
=============================== */
.kb-faq {
  background: var(--white-color);
  border: 1px solid var(--main-opacity-color);
  border-radius: 14px;
  overflow: hidden;
}

.kb-faq dl { margin: 0; }

.kb-faq dt,
.kb-faq dd {
  margin: 0;
  padding: 0;
}

/* Заголовок вопроса */
.kb-faq dt {
  position: relative;
  padding: 16px 52px 16px 18px;
  color: var(--main-color);
  font-weight: 700;
  line-height: 1.4;
  background: var(--white-color);
  cursor: default;
  user-select: none;
  transition: background .25s ease;
}

/* Разделители между Q */
.kb-faq dt + dd {
  border-top: 1px solid var(--main-opacity-color);
  border-bottom: 1px solid var(--main-opacity-color);
}
.kb-faq dt + dd:last-child {
  border-bottom: none;
}

/* Ответ */
.kb-faq dd {
  padding: 12px 18px 18px 18px;
  color: var(--breadcrumb-color);
  background: var(--white-color);
}

.kb-faq dd p { margin: 0; }

/* Стрелка-індикатор (видна и в базовом режиме) */
.kb-faq dt::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--breadcrumb-color);
  border-bottom: 2px solid var(--breadcrumb-color);
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .25s ease, border-color .25s ease, opacity .25s ease;
  opacity: .7;
}

/* Ховер/фокус — лёгкий акцент */
.kb-faq dt:hover { background: #fafafa; }
.kb-faq dt:hover::after { opacity: 1; }

/* Доступность клавиатурой (если делаешь dt фокусируемым) */
.kb-faq dt:focus-visible {
  outline: 2px solid var(--orange-color);
  outline-offset: 2px;
}

/* ===============================
   Режим "аккордеон"
   Включается добавлением .is-accordion на .kb-faq
=============================== */

/* В аккордеоне Q кликабельны */
.kb-faq.is-accordion dt { cursor: pointer; }

/* Свернуто по умолчанию */
.kb-faq.is-accordion dd {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease, padding .2s ease;
  border-top: 1px solid var(--main-opacity-color);
}

/* Открытое состояние — вешаем класс .is-open на соответствующий dt */
.kb-faq.is-accordion dt.is-open + dd {
  max-height: 800px;              /* достаточно для большинства ответов */
  padding-top: 10px;
  padding-bottom: 16px;
  opacity: 1;
}

/* Стрелка вниз у открытого вопроса */
.kb-faq.is-accordion dt.is-open::after {
  transform: translateY(-50%) rotate(45deg);
  border-color: var(--orange-color);
}

/* Последний ответ без лишнего низнего разделителя (если нужно)
.kb-faq.is-accordion dl > dd:last-of-type { border-bottom: 0; } */

/* ===============================
   Адаптив
=============================== */
@media (max-width: 768px) {
  .kb-faq dt { padding: 14px 46px 14px 16px; }
  .kb-faq dd { padding: 10px 16px 16px 16px; }
  .kb-faq dt::after { right: 14px; }
}







/* Бейдж "виїзд безкоштовний" під заголовком Контакти */
.contacts-badge{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  /* ↑ заметнее фон + граница + тень */
  background: linear-gradient(90deg, rgba(234,90,0,.12), rgba(234,90,0,.06));
  border: 2px solid var(--orange-color);
  box-shadow: 0 8px 22px rgba(234,90,0,.16);
  color: var(--main-color);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  margin: 6px 0 34px;
  line-height: 1;
  position: relative;
}

/* иконка — стабильный цвет и аккуратный “чип” */
.contacts-badge i,
.contacts-badge svg{
  width: 20px;
  height: 20px;
  color: var(--orange-color);
  background: #fff;
  border: 2px solid var(--orange-color);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box; /* чтобы padding не сжимал svg */
}

/* вариант 2: максимально яркий солидный бейдж */
.contacts-badge--solid{
  background: var(--orange-color);
  border-color: var(--orange-color);
  box-shadow: 0 10px 26px rgba(234,90,0,.28);
  color: #fff;
}
.contacts-badge--solid i,
.contacts-badge--solid svg{
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* легкая адаптация под мобилки */
@media (max-width: 991px){

	.contacts-badge{
		display: flex;
		justify-content: center;
	}

}

@media (max-width: 768px){
  .contacts-badge{
    display: flex;
    padding: 9px 14px;
    font-size: 14px;
    gap: 10px;
    margin: 0 0 26px;
  }
  .contacts-badge i,
  .contacts-badge svg{
    width: 18px;
    height: 18px;
    padding: 3px;
  }
}

/* уважаем системную настройку "меньше анимаций" */
@media (prefers-reduced-motion: reduce){
  .contacts-badge{ transition: none; }
}

















/* =====================================
   Category / Archive (рубрика)
===================================== */

/* заголовок + хлебные крошки уже есть в теме,
   ниже — описание рубрики и сетка постов */

/* Описание рубрики (показывается только на 1-й странице) */
.category-description.content-one-article{
  padding: 0 0 10px;
  margin: 90px 0 0;
  background: var(--white-color);
}
.category-description .container .row > *{
  /* color: var(--breadcrumb-color); */
  /* font-size: 16px; */
  /* line-height: 1.75; */
}
.category-description p:first-child{ margin-top: 0; }

/* Сетка карточек */
.category-content-page{
  padding: 28px 0 10px;
  background: var(--white-color);
}
.category-content-page .container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Карточка поста */
.one-post{
  height: 100%;
  background: var(--white-color);
  border: 1px solid var(--main-opacity-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.one-post:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--main-opacity-color);
  border-color: rgba(0,0,0,0.04);
}

/* Превью (через background-image) */
.img-one-post{
  width: 100%;
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--main-opacity-color);
}

/* Дата */
.date-one-post{
  padding: 14px 18px 0;
  font-size: 13px;
  color: var(--breadcrumb-color);
}

/* Заголовок */
.h-one-post{
  padding: 6px 18px 0;
}
.h-one-post a{
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--main-color);
  text-decoration: none;
  transition: color .25s ease;
}
.h-one-post a:hover{
  color: var(--orange-color);
}

/* Короткое описание */
.content-one-post{
  padding: 10px 18px 0;
  color: var(--breadcrumb-color);
  font-size: 15px;
  line-height: 1.7;
  flex-grow: 1;
}

/* Ссылка "Більше" */
.link-one-post{
  padding: 18px 18px 20px;
  margin-top: auto;
}
.link-one-post a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-color);
  font-weight: 600;
  letter-spacing: .1px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.link-one-post a:hover{
  border-bottom-color: var(--orange-color);
}
.link-one-post .arrow-forward{
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--orange-color);
  border-bottom: 2px solid var(--orange-color);
  transform: rotate(-45deg);
  transition: transform .25s ease;
}
.link-one-post a:hover .arrow-forward{
  transform: translateX(3px) rotate(-45deg);
}

/* Пагинация уже стилизована в теме (wp-pagenavi),
   но чуть добавим отступ сверху для разделения */
.category-content-page + .container .wp-pagenavi{
  margin-top: 36px;
}

/* =========================
   Адаптив
========================= */

/* ≤1200px — чуть компактнее, но остаётся 3 в ряд */
@media (max-width: 1200px){
  .category-content-page .container{ gap: 24px; }
  .img-one-post{ height: 190px; }
  .h-one-post a{ font-size: 19px; }
}

/* ≤991px — 2 карточки в ряд */
@media (max-width: 991px){
  .category-content-page .container{
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .img-one-post{ height: 180px; }
}

/* ≤768px — одна карточка в ряд */
@media (max-width: 768px){
  .category-description{ padding: 18px 0 2px; }
  .category-content-page{ padding-top: 18px; }
  .category-content-page .container{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .img-one-post{ height: 200px; }
  .h-one-post a{ font-size: 18px; }
  .content-one-post{ font-size: 14.5px; }
  .link-one-post{ padding-top: 14px; }
}





.parent-single-article {
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
	padding-top: 79px;
}



.single.single-post .category-content-page{
	padding-bottom: 120px;
}







.page-template-page-services .content-page{
	margin: 30px 0 0;
}



.page-template-page-contacts .contacts-section{
	padding: 15px 0 0;
}




.single-article-thumbnail{
	width: 100%;
}

.single-article-thumbnail img{
	width: 100%;
	height: auto;
}




/* =========================================
   Single Post Content (single-article)
========================================= */

.single-article { background: var(--white-color); }
.content-one-article { padding: 24px 0 90px; }

/* Узкая читабельная колонка */
.content-one-article .container .row{
  max-width: 880px;
  margin: 0 auto;
}

/* Типографика */
.content-one-article p{
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-main-color);
  margin: 14px 0 18px;
}

.content-one-article h2{
  font-size: 32px;
  line-height: 1.25;
  margin: 30px 0 14px;
  color: var(--main-color);
}

.content-one-article h3{
  font-size: 22px;
  line-height: 1.3;
  margin: 20px 0 10px;
  color: var(--main-color);
}

/* Изображения в тексте */
.content-one-article img{
  border-radius: 14px;
}

/* -----------------------------
   Списки (UL / OL)
------------------------------*/

/* обнуляем и рисуем свои маркеры */
.content-one-article ul{
  margin: 10px 0 22px;
  padding-left: 0;
}
.content-one-article ul li{
  list-style: none;
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  color: var(--text-main-color);
  line-height: 1.75;
}
.content-one-article ul li::before{
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--orange-color);
}

/* вложенные UL — более мелкий маркер */
.content-one-article li ul{
  margin-top: 8px;
}
.content-one-article li ul li{
  padding-left: 16px;
}
.content-one-article li ul li::before{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--breadcrumb-color);
}

/* Нумерованный список — красивые номера */
.content-one-article ol{
  counter-reset: c;
  margin: 12px 0 24px;
  padding-left: 0;
  list-style: none;
}
.content-one-article ol li{
  counter-increment: c;
  position: relative;
  padding-left: 40px;
  margin: 10px 0;
  line-height: 1.75;
}
.content-one-article ol li::before{
  content: counter(c);
  position: absolute;
  left: 0; top: .1em;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--main-opacity-color);
  color: var(--main-color);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* вложенные OL — компактнее */
.content-one-article li ol{
  margin-top: 8px;
}
.content-one-article li ol li{
  padding-left: 34px;
}
.content-one-article li ol li::before{
  width: 24px; height: 24px; font-size: 13px;
}

/* -----------------------------
   CTA-блок в тексте
------------------------------*/
.content-one-article .cta{
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--orange-color);
  background: linear-gradient(90deg, rgba(234,90,0,.10), rgba(234,90,0,.05));
  box-shadow: 0 8px 22px rgba(234,90,0,.12);
  color: var(--main-color);
  font-weight: 600;
  line-height: 1.6;
}
.content-one-article .cta a{
  color: var(--blue-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.content-one-article .cta a:hover{
  border-bottom-color: var(--blue-color);
}

/* FAQ-блок — отступы вокруг (твои стили FAQ уже подключены) */
.content-one-article .kb-faq{
  margin: 26px 0 6px;
}

/* =================================
   Адаптив
================================= */

/* ≤1200 */
@media (max-width: 1200px){
  .content-one-article .container .row{ max-width: 820px; }
  .content-one-article h2{ font-size: 30px; }
}

/* ≤991 (планшеты) */
@media (max-width: 991px){
  .content-one-article{ padding-bottom: 70px; }
  .content-one-article .container .row{ max-width: 760px; }
  .content-one-article h2{ font-size: 28px; }
  .content-one-article h3{ font-size: 21px; }
}

/* ≤768 (мобільні) */
@media (max-width: 768px){
  .content-one-article .container .row{ max-width: 100%; padding: 0 4px; }
  .content-one-article p{ font-size: 16.5px; }
  .content-one-article h2{ font-size: 26px; }
  .content-one-article h3{ font-size: 20px; }

  .content-one-article ul li{ padding-left: 16px; }
  .content-one-article ul li::before{ width: 7px; height: 7px; }
  .content-one-article ol li{ padding-left: 36px; }
  .content-one-article ol li::before{ width: 26px; height: 26px; }

  .parent-single-article{
    padding-top: 64px;
}
  
  .parent-single-article .top-heading{
    margin: 0 0 10px;
  }
  
  .content-one-article .cta{
    margin: 22px 0;
    padding: 16px 16px;
  }
}











/* Родители таблицы в single — позволяем контенту "сжиматься" и скроллиться */
.content-one-article .container { min-width: 0; }
.content-one-article .container .row { min-width: 0; }

/* На всякий случай для всех flex-контейнеров темы:
   если внутри ожидается горизонтальный скролл, ставим min-width:0 */
.container { min-width: 0; }  /* твой .container — flex */






/* === FINAL: горизонтальный скролл таблиц только через .table-scroll === */

/* родители-флексы — позволяем сжиматься (иначе скролл не появится) */
.content-one-article .container,
.content-one-article .container .row,
.container { min-width: 0; }

/* сама таблица — без своей рамки/радиуса/скрытия */
.content-one-article table{
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  display: table !important;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

/* обёртка делает визуалку и скролл */
.table-scroll{
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--main-opacity-color);
  border-radius: 12px;
  background: var(--white-color);
  margin: 16px 0 26px;
}

/* таблица шире контейнера → появляется горизонтальный скролл */
.table-scroll > table{
  width: 100%;
  min-width: 720px;           /* на узких экранах даст переполнение */
  border: 0;
}
@media (max-width: 991px){
  .table-scroll > table{ min-width: 640px; }
}
@media (max-width: 768px){
  .table-scroll > table{ min-width: 600px; }
}

/* внутренняя типографика */
.table-scroll thead th{
  background: var(--main-opacity-color);
  color: var(--main-color);
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
}
.table-scroll tbody td{
  padding: 14px 16px;
  color: var(--breadcrumb-color);
  border-top: 1px solid var(--main-opacity-color);
  vertical-align: top;
  font-size: 15px;
}
.table-scroll tbody tr:nth-child(odd){ background: rgba(0,0,0,.015); }

/* мягкие тени-индикаторы (необязательно; работают и без JS, просто всегда видны при скролле) */
.table-scroll::before,
.table-scroll::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 18px; pointer-events: none;
  display: none;
}
.table-scroll::before{
  left: 0;  background: linear-gradient(to right, var(--white-color), rgba(255,255,255,0));
}
.table-scroll::after{
  right: 0; background: linear-gradient(to left,  var(--white-color), rgba(255,255,255,0));
}








/* 1) УДАЛИТЬ ранний блок "Таблицы", где у .content-one-article table
   стоят border/border-radius/overflow и т.п.
   Если не хочешь удалять — перекрываем вот так (оставь в самом низу файла): */

/* === Единая стратегия: скролл только через .table-scroll === */
.content-one-article table{
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  display: table !important;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

/* скролл-обёртка */
.table-scroll{
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--main-opacity-color);
  border-radius: 12px;
  background: var(--white-color);
  margin: 16px 0 26px;
}
.table-scroll > table{
  width: 100%;
  min-width: 720px;
  border: 0;
}
@media (max-width: 991px){ .table-scroll > table{ min-width: 640px; } }
@media (max-width: 768px){ .table-scroll > table{ min-width: 600px; } }

/* типографика внутри таблицы */
.table-scroll thead th{
  background: var(--main-opacity-color);
  color: var(--main-color);
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
}
.table-scroll tbody td{
  padding: 14px 16px;
  color: var(--breadcrumb-color);
  border-top: 1px solid var(--main-opacity-color);
  vertical-align: top;
  font-size: 15px;
}
.table-scroll tbody tr:nth-child(odd){ background: rgba(0,0,0,.015); }

/* 2) ВСЕМ flex-родителям, которые могут содержать контент со скроллом — min-width:0 */
.parent-single-article,
.single-article,
.content-one-article,
.content-one-article .container,
.content-one-article .container .row,
.container { min-width: 0; }

/* 3) Фолбек для Gutenberg-таблиц (если таблица вставлена блоком редактора) */
.wp-block-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--main-opacity-color);
  border-radius: 12px;
  background: var(--white-color);
  margin: 16px 0 26px;
}
.wp-block-table table{
  min-width: 600px;   /* даст переполнение на мобиле → появится скролл */
  border: 0;
}











:root{
--text-main-color:#222222;
--main-color:#222222;
--main-opacity-color:#22222210;
--breadcrumb-color:#555555;
--red-color:#eb2628;
--blue-color:#1975ce;
--orange-color:#ea5a00;
--yellow-color:#ffff18;
}
.district{color:var(--text-main-color);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.district a{color:var(--blue-color);text-decoration:none}
.district a:hover{text-decoration:underline}
.district .container{max-width:1100px;margin:0 auto;padding:24px 16px}
.service__header{margin:0 0 20px 0}
.service__header .heading{font-size:clamp(28px,4vw,40px);line-height:1.2;margin:0}
.service__subtitle{margin:6px 0 0 0;color:#444;opacity:.9}

.breadcrumbs{font-size:.95rem;margin:0 0 14px 0;color:var(--breadcrumb-color)}
.breadcrumbs a{color:var(--breadcrumb-color)}
.breadcrumbs span{opacity:.85}

.intro{background:var(--main-opacity-color);border:1px solid var(--main-opacity-color);border-radius:12px;padding:16px;margin:0 0 20px 0;
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.intro p{margin:0; width: 100%;}


.home .intro div{
	width: 100%;
}


.coverage{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 20px 0}
.coverage h2{margin:0 0 8px 0;font-size:1.2rem}
.coverage .card{border:1px solid var(--main-opacity-color);border-radius:12px;padding:16px;background:#fff}
.coverage ul{margin:0;padding-left:18px}
.coverage li{margin:2px 0}

.services{border:1px solid var(--main-opacity-color);border-radius:12px;padding:16px;background:#fff;margin:0 }
.services h2{margin:0 0 10px 0;font-size:1.2rem}
.services .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.services .pill{display:block;border:1px solid var(--main-opacity-color);border-radius:10px;padding:10px 12px;background:rgba(34,34,34,.02)}
.services .pill small{display:block;opacity:.8}

.cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border-left:4px solid var(--orange-color);background:linear-gradient(180deg,rgba(234,90,0,.07),rgba(234,90,0,.02));border-radius:12px;padding:14px 16px;margin:0 0 20px 0}
.cta strong{font-size:1.05rem}
.cta .phones a{display:inline-block;margin-right:10px;font-weight:600}

.cta{
	gap: 6px;
}

.cta strong,
.cta span{
	width: 100%;
}

.prices{border:1px solid var(--main-opacity-color);border-radius:12px;overflow:hidden;background:#fff;margin:0 0 24px 0}
.prices h2{margin:0;padding:14px 16px;border-bottom:1px solid var(--main-opacity-color);font-size:1.2rem}
.prices table{width:100%;border-collapse:collapse}
.prices th,.prices td{padding:12px 16px;border-top:1px solid var(--main-opacity-color);text-align:left}
.prices th{
font-weight: 700;
}
.prices tbody tr:nth-child(2n) td{background:rgba(0,0,0,.02)}
.prices .note{padding:12px 16px;font-size:.95rem;opacity:.9}

.district-list{border:1px solid var(--main-opacity-color);border-radius:12px;padding:16px;background:#fff}
.district-list h2{margin:0 0 10px 0;font-size:1.2rem}
.district-list ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:0;padding:0;list-style:none}
.district-list li a{display:block;padding:8px 10px;border-radius:8px;background:rgba(34,34,34,.03);border:1px solid var(--main-opacity-color)}
@media (max-width:720px){
.coverage{grid-template-columns:1fr}
.services .grid{grid-template-columns:1fr}
.district-list ul{grid-template-columns:1fr}
}

/* Optional map holder (insert your map embed) */
.map{margin:0 0 20px 0;border-radius:12px;overflow:hidden;border:1px solid var(--main-opacity-color)}
.map iframe{width:100%;height:360px;border:0;margin-bottom:-5px;}

.nowrap{
	white-space: nowrap;
}

.service__content{
	width: 100%;
}

.service__content img{
	width: 100%;
	height: auto;
}

em{
	font-style: italic;
}








/* ====== Мобильное меню (≤991px) ====== */
.close-menu {
  position: fixed;
  right: 20px;
  top: 16px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--main-opacity-color);
  background: var(--white-color);
  display: none;               /* включим на ≤991px */
  align-items: center;
  justify-content: center;
  z-index: 110;
  cursor: pointer;
}
.close-menu svg { color: var(--main-color); }
.close-menu:hover { box-shadow: 0 8px 20px var(--main-opacity-color); }

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-menu-backdrop.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  height: 100vh;
  width: 82vw;
  max-width: 420px;
  background: var(--white-color);
  z-index: 99;
  box-shadow: -12px 0 28px rgba(0,0,0,.08);
  padding: 18px 20px 22px;
  display: flex; flex-direction: column;
  transition: right .35s ease;
}
.mobile-menu.active { right: 0; }
body.menu-open { overflow: hidden; }

.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--main-opacity-color);
  padding-bottom: 12px; margin-bottom: 16px;
}
.mobile-menu__brand { display:flex; align-items:center; gap:10px; }
.mobile-menu__brand img { width:40px; height:40px; border-radius: 50%; }
.mobile-menu__brand span { font-weight:700; color: var(--main-color); }

.mobile-menu__close {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--main-opacity-color);
  background: var(--white-color); display:flex; align-items:center; justify-content:center;
  cursor: pointer;
}
.mobile-menu__close svg { color: var(--main-color); }

.mobile-menu__body ul {
  display: flex; flex-direction: column; gap: 0px;
  padding: 6px 0 14px; margin: 0;
}
.mobile-menu__body li { list-style: none; }
.mobile-menu__body a {
  display: block;
  font-size: 18px; font-weight: 600;
  color: var(--main-color);
  padding: 24px 6px;
  border-bottom: 1px solid var(--main-opacity-color);
}
.mobile-menu__body a:hover { color: var(--orange-color); }

.mobile-menu__contacts {
  margin-top: 6px; margin-bottom: 14px;
  display: grid; gap: 6px;
  margin-top: 20px;
}

.mobile-menu__contacts .list-header-contacts{
	gap: 16px;
}

.mobile-menu__contacts .one-header-contacts a {
  display: inline-block;
  font-size: 18px; font-weight: 700; color: var(--main-color);
}

.mobile-menu__actions { margin-top: auto; }
.mm-btn {
  display:block; text-align:center; border-radius: 12px;
  padding: 14px 16px; font-weight:700; text-decoration:none;
}
.mm-btn--call { background: var(--orange-color); color: var(--white-color); }
.mm-btn--call:hover { background: #ff7a1f; color: var(--white-color); }

.mm-socials{ display:flex; gap:12px; margin-top:12px;
align-items: flex-start;
justify-content: center;
}
.mm-social{
  width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; text-decoration:none; box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.mm-social i,
.mm-social svg { color:#fff !important; } /* не меняем цвет на ховерах */
.mm-social.viber{ background:#7360f2; }
.mm-social.telegram{ background:#0088cc; }
.mm-social.phone{ background: var(--orange-color); }





.district-image{
	width: 100%;
	margin: 0 0 20px 0;
}

.district-image img{
	border-radius: 12px;
	max-width: 100%;
	height: auto;
}





/* Порог для мобильного режима */
@media (max-width: 991px){
  .topmenu{ display:none; }
  .close-menu{ display:flex; }
}
@media (max-width: 768px){
  
  .close-menu{
	top: 15px;
	right: 16px;
  }
  
  .header-contacts {
    width: 175px;
	padding-right: 60px;
  }
  
  .list-header-contacts{
	width: 100%;
  }
  
  .icon-header-contacts{
	display: none;
  }
  
  
  
  .about-photo{
	display: flex;
	align-items: center;
	justify-content: center;
  }
  
  .about-photo{
	width: 75%;
  }
  
  
  
}














