/*
Theme Name: bars
Theme URI: http://example.com
Description: Базовая тема для WordPress
Version: 1.0
Author: Your Name
Text Domain: mytheme
*/

/* Базовые сбросы стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'Forum';
  src: url('fonts/Forum-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceSerifPro';
  src: url('fonts/SourceSerifPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Flores';
  src: url('fonts/Flores.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.menu-item a[href="https://#"] {
    cursor: default;
	pointer-events: none;
}
body {
    font-family: 'SourceSerifPro', sans-serif;
    color: #402E32;
    background: #F0EDE5;
	padding-top: 103px;
}
img {
	width: 100%;
	height: auto;
}
html {
    scroll-behavior: smooth;
}
h1, h2 {
	font-family: 'Forum', sans-serif;
}
h1 {
	font-size: 54px;
}
h2 {
	font-size: 40px;
}
a {
	text-decoration: none;
}
.btn {
	background: linear-gradient( to bottom right, rgba(244, 217, 148, 1) 0%, rgba(206, 162, 58, 1) 50%, rgba(156, 110, 0, 1) 100%);
	border-radius: 15px;
	padding: 10px 30px;
	min-width: 180px;
	font-family: 'SourceSerifPro', sans-serif;
	border: none;
	font-size: 16px;
	color: #402E32;
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
	cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(to bottom right, #f5d99e, #d4a83c, #b87a10);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(206, 162, 58, 0.5), 0 0 40px 0 rgba(206, 162, 58, 0.1);
    color: #1a1a1a;
}

/* Основные стили для меню */
.main-menu {
    position: relative;
}

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

.main-menu li {
    position: relative;
    display: inline-block;
}

.main-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}
.current-menu-item {
	color: #CEA23A;
}
/* Стили для подменю - ТОЛЬКО ДЕСКТОП */
.main-menu .sub-menu,
.main-menu .children {
    position: absolute;
    top: 100%;
    left: 0;
    background: #F4F4F4;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 5px;
}

.main-menu .sub-menu li,
.main-menu .children li {
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

.main-menu .sub-menu a,
.main-menu .children a {
    padding: 8px 15px;
    white-space: nowrap;
}

/* Показываем подменю при наведении - ДЕСКТОП */
.main-menu li:hover > .sub-menu,
.main-menu li:hover > .children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Подменю второго уровня - ДЕСКТОП */
.main-menu .sub-menu .sub-menu,
.main-menu .children .children {
    top: 0;
    left: 100%;
}

/* Скрываем стрелки на десктопе */
.menu-item-has-children > a::after {
    display: none;
}

/* Гамбургер - скрыт на десктопе */
.hamburger {
    display: none;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #402E32;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Анимация гамбургера */
.hamburger--collapse.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger--collapse.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.hamburger--collapse.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}
/* Контейнер */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}
section {
	padding: 50px 0;
}

/* Хедер */
.site-header {
    background: #F0EDE5;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	border-bottom: 1px solid #8B8B8D;
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;  
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}
.header-contact {
	display: flex;
	gap: 15px;
}
.header-icon {
	background: linear-gradient(to bottom right, rgba(244, 217, 148, 0.8) 0%, rgba(206, 162, 58, 0.8) 50%, rgba(156, 110, 0, 0.8) 100%);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-tel {
	display: flex;
	flex-direction: column;
	flex: 0 0 142px;
}
/* Главное меню */
.main-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-menu a, .header-tel a {
    text-decoration: none;
    color: #402E32;
	font-size: 16px;
}

.header-tel a:hover {
	 color: #CEA23A;
}

.main-menu a:hover {
    color: #CEA23A;
    background: linear-gradient(to right, #F4D994, #CEA23A, #9C6E00);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
    transition: background-size 0.3s;
    background-size: 100% 2px;
}

/* Основной контент */
.banner {
	background-size: cover;
	background-repeat: no-repeat;
	padding: 101px 0 207px;
	background-image: 
        linear-gradient(to bottom, rgba(240, 237, 229, 0) 70%, rgba(240, 237, 229, 1) 100%),
        url('./img/banner-3.png');
    background-position: center bottom;
}
.banner-content {
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 48px;
}
.banner-text {
	display: flex;
	justify-content: center;
	align-content: center;
	width: 698px;
	flex-shrink: 0;
}
.banner-text h1 {
	text-align: center;
	margin-bottom: 54px;
}
.banner-text span {
	font-family: 'Flores', sans-serif;
	font-weight: 400;
	font-size: 80px;
	color: transparent;
    background-image: linear-gradient(to bottom right, rgba(244, 217, 148, 1) 0%, rgba(206, 162, 58, 1) 50%, rgba(156, 110, 0, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
}
.banner__items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 60px;
    column-gap: 40px;
}
.banner-item {
	display: flex;
	align-items: center;
	gap: 13px;
}
.banner-item img {
	width: 60px;
    height: 60px;
    border-radius: 50px;
    padding: 10px;
    border: 1px solid #402e32;
}
.banner-item span {
	font-size: 23px;
    font-family: 'Forum', sans-serif;
	color: #402E32;
}
.banner-img {
	width: 511px;
}

/*ПРЕИМУЩЕСТВА */
.advantages h2 {
	margin-bottom: 50px;
	text-align: center;
}
.advantages h2::before {
	content: '';
	display: inline-block;
	width: 218px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(to bottom right, #F4D994 0%, #CEA23A 50%,  #9C6E00 100%);
	vertical-align: middle;
	margin-right: 14px;
}
.advantages h2::after {
	content: '';
	display: inline-block;
	width: 218px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(to bottom left, #F4D994 0%, #CEA23A 50%,  #9C6E00 100%);
	vertical-align: middle;
	margin-left: 14px;
}
.adv-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}
.adv-item {
	position: relative;
	max-width: 435px;
	width: 100%;
    height: 300px;
    border: 3px solid #402E32;
	display: flex;
	flex-direction: column;
	padding: 34px;
	justify-content: flex-start;
	gap: 25px;
	background-color: #402E32;
}
.adv-icon {
	position: absolute;
	width: 64px;
	height: 64px;
	bottom: 30px;
	right: 30px;
}
.adv-item::before,
.adv-item::after {
  content: "";
  position: absolute;
  width: 85px;
  height: 85px;
  border: 3px solid #402E32;
}

.adv-item::before {
  top: -15px;
  left: -15px;
  border-right: none;
  border-bottom: none;
}

.adv-item::after {
  bottom: -15px;
  right: -15px;
  border-left: none;
  border-top: none;
}
.adv-item h3 {
	font-size: 28px;
	color: #F0EDE5;
}
.adv-item p {
	font-size: 18px;
	color: #F0EDE5;
}

/* О НАС*/
.about-wrapper {
	display: flex;
	gap: 111px;
	align-items: center;
}
.about-img {
	border-radius: 10px;
	width: 50%;
	height: 374px;
}
.about-text {
	width: 50%
}
.about-text h2 {
	font-size: 40px;
}
.about-text h2::after {
	content: "";
	display: flex;
	width: 124px;
	height: 3px;
	background: linear-gradient(to bottom left, #F4D994 0%, #CEA23A 50%,  #9C6E00 100%);
	margin: 15px 0;
	
}
.about-text p {
	font-size: 18px;
}

/* УСЛУГИ*/
.title-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.title-wrapper .title {
	min-width: 516px;
}
.descr {
	max-width: 530px;
	width: 100%;
	position: relative;
}
.services .descr {
	max-width: 630px;
}
.descr p {
	font-size: 16px;
	margin-bottom: 10px;
}
.descr::before {
	content: '';
	width: 2px;
	height: 113px;
	background: linear-gradient(to bottom left, #F4D994 0%, #CEA23A 50%,  #9C6E00 100%);
	position: absolute;
	left: -40px;
}
.sub-t {
	font-size: 16px;
	position: relative;
}
.sub-t::before {
	content: '';
	width: 124px;
	height: 3px;
	background: linear-gradient(to bottom left, #F4D994 0%, #CEA23A 50%,  #9C6E00 100%);
	display: inline-block;
	margin-right: 14px;
	vertical-align: middle;
}
.services-slider {
	width: 100%;
	margin-top: 44px;
}
.service-item {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 483px;
	display: flex;
	align-items: flex-end;
	padding: 20px 20px 53px;
	border-radius: 10px;
  	background-size: cover;
	background-repeat: no-repeat;
    transition: background-size 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Затемнение при наведении */
.service-item:hover::before {
	opacity: 1;
}

/* Псевдоэлемент для градиента */
.service-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 10px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none; /* Чтобы не мешать кликам */
}
.service-item a {
	overflow: hidden;
}
.service-item h3 {
	font-size: 28px;
	position: relative;
	color: #F4F4F4;
	font-weight: 400;
	z-index: 2;
}
.note {
	padding: 0 0 50px;
	font-size: 18px;
	margin-top: -50px;
	line-height: 31px;
}
.custom-nav {
	display: flex;
	justify-content: flex-end;
	gap: 13px;
	margin-top: 25px;
}
.custom-prev {
	background: url('./img/arrow.svg') center / 10px no-repeat !important;
	transform: rotate(180deg);
    width: 45px;
    height: 46px;
    background-color: #F4F4F4 !important;
    border: 1px solid #402E32 !important;
	cursor: pointer;
	border-radius: 5px;
}
.custom-next {
	background: url('./img/arrow.svg') center / 10px no-repeat !important;
    width: 45px;
    height: 46px;
    background-color: #F4F4F4 !important;
    border: 1px solid #402E32 !important;
	cursor: pointer;
	border-radius: 5px;
}

/*КОНТАКТЫ */
.contact-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 40px;
}
.map {
	width: 560px;
	height: 355px;
}
.map iframe {
	border-radius: 15px;
	border: none;
}
.icons {
	display: flex;
	gap: 15px;
	align-items: center;
	width: 50%;
}
.icons a {
	background: linear-gradient(
    to bottom right, 
    rgba(244, 217, 148, 0.8) 0%, 
    rgba(206, 162, 58, 0.8) 50%, 
    rgba(156, 110, 0, 0.8) 100%
);
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
	width: 40px;
	height: 40px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.icons img {
	width: 30px;
	height: 30px;
}
.tel, .mail, .time, .location {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.c-info span {
	font-size: 16px;
	display: flex;
	gap: 14px;
	align-items: center;
}
.c-info a {
	font-size: 20px;
	color: #402E32;
	font-weight: 500;
}
.c-info a:hover {
	color: #CEA23A;
}
.c-info {
	max-width: 570px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.tel span::before {
	content: url('./icons/tel.svg');
	background: linear-gradient( to bottom right, rgba(244, 217, 148, 0.8) 0%, rgba(206, 162, 58, 0.8) 50%, rgba(156, 110, 0, 0.8) 100%);
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
	width: 50px;
	height: 50px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mail span::before {
	content: url('./icons/mail.svg');
	background: linear-gradient( to bottom right, rgba(244, 217, 148, 0.8) 0%, rgba(206, 162, 58, 0.8) 50%, rgba(156, 110, 0, 0.8) 100%);
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
	width: 50px;
	height: 50px;
	border-radius: 15px;
	display: flex;
	align-items: end;
	justify-content: center;
}
.location span::before {
	content: url('./icons/location.svg');
	background: linear-gradient( to bottom right, rgba(244, 217, 148, 0.8) 0%, rgba(206, 162, 58, 0.8) 50%, rgba(156, 110, 0, 0.8) 100%);
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
	width: 50px;
	height: 50px;
	border-radius: 15px;
	display: flex;
	align-items: end;
	justify-content: center;
}
.time span::before {
	content: url('./icons/time.svg');
	background: linear-gradient( to bottom right, rgba(244, 217, 148, 0.8) 0%, rgba(206, 162, 58, 0.8) 50%, rgba(156, 110, 0, 0.8) 100%);
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.15);
	width: 50px;
	height: 50px;
	border-radius: 15px;
	display: flex;
	align-items: end;
	justify-content: center;
}
.tel, .mail, .time, .location {
	width: 50%;
	margin-bottom: 30px;
}

/* Футер */
.footer-content {
    background: #402E32;
    color: #f4f4f4;
    padding: 30px 0;
    text-align: center;
}
.contacts {
	padding: 40px 0 90px;
}
.footer-content a {
	color: #F4F4F4;
	font-size: 14px;
}
.footer-content p {
	font-size: 14px;
}

/* СТРАНИЦА УСЛУГ*/
.serv-banner {
	padding: 182px 0 264px;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
	background-position: bottom;
}
.serv-banner h1 {
	font-size: 64px;
	color: #FFF;
}
.serv-banner p {
	font-size: 22px;
	max-width: 606px;
	color: #FFF;
	padding: 30px 0;
}
.op-btn {
    background: transparent;
    border: 1px solid #FFF;
    border-radius: 35px;
    min-width: 220px;
    color: #FFF;
    font-size: 18px;
    height: 50px;
    width: 220px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.op-btn::after {
    content: url("./icons/arrow-white.svg");
    width: 12px;
    height: 19px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.op-btn:hover {
    background: linear-gradient(to bottom right, rgba(244, 217, 148, 1) 0%, rgba(206, 162, 58, 1) 50%, rgba(156, 110, 0, 1) 100%);
    border-color: #cea23a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px 0 rgba(206, 162, 58, 0.4);
}

.op-btn:hover::after {
    transform: rotate(-90deg);
}
.works-wrapper {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 45px;
	padding: 60px 0;
}
.work-item {
	border-radius: 10px;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	height: 365px;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 25px;
}
.offer {
	background: rgba(0, 0, 0, 0.83);
}
.work-item h3 {
	font-size: 26px;
	font-weight: 500;
	color: #FFF;
	text-align: center;
	padding-bottom: 43px;
}
.left-title {
	font-size: 40px;
}
.left-title::after {
	content: "";
    display: flex;
    width: 124px;
    height: 3px;
    background: linear-gradient(to bottom left, #F4D994 0%, #CEA23A 50%, #9C6E00 100%);
    margin: 15px 0;
}
.line-title {
	text-align: center;
}
.line-title::before {
	content: '';
    display: inline-block;
    width: 218px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to bottom right, #F4D994 0%, #CEA23A 50%, #9C6E00 100%);
    vertical-align: middle;
    margin-right: 14px;
}
.line-title::after {
	content: '';
    display: inline-block;
    width: 218px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to bottom left, #F4D994 0%, #CEA23A 50%, #9C6E00 100%);
    vertical-align: middle;
    margin-left: 14px;
}
.serv-adv-wrapper {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 53px;
	padding: 60px 0;
}
.serv-adv-item {
	background: transparent;
	border: 1px solid #402E32;
	padding: 23px 31px;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 17px;
}
.serv-adv-item h3 {
	font-size: 24px;
	margin-left: 23px;
	font-weight: 600;
}
.serv-adv-item .adv-descr {
	font-size: 18px;
}
.flex {
	display: flex;
	align-items: center;
}
.serv-adv-item .adv-img {
	width: 50px;
	height: 50px;
	border-radius: 8px;
}
.serv-adv-item .adv-img img {
	width: 50px;
	height: 50px;
}
.stage-item {
	position: relative;
}
.stage-item::after {
	content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #402E32;
	top: 0px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}
.stages-wrapper {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 39px;
	padding: 60px 0;
}
.stage-item span {
	font-size: 56px;
	font-weight: 700;
}
.stage-item h3 {
	font-size: 24px;
	padding-bottom: 10px;
	font-weight: 500;
}
.stage-item p {
	font-size: 18px;
}
.price-header {
  	width: 100%;
  	text-align: left;
  	padding: 22px 40px;
  	font-size: 20px;
  	background: #f5f5f5;
  	border: none;
  	cursor: pointer;
  	outline: none;
  	transition: background 0.3s;
	font-family: 'SourceSerifPro', sans-serif;
	position: relative;
	color: #402E32;
}
.price-item {
	border-top: 1px solid #DEDFE0;
}
.price-block {
	border-radius: 9px;
	margin: 60px 0;
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.05);
}

.price-header:hover {
  	background: #e0e0e0;
}

.price-content {
    display: none;
    background: #fff;
    padding: 0 16px;
	border-top: 1px solid #DEDFE0;
}

.price-content ul {
  	padding: 0;
  	list-style: none;
}
.price-content li:last-child {
	border-bottom: none;
}
.price-content li {
  	padding: 22px 40px;
  	border-bottom: 1px solid #ddd;
	font-size: 20px;
	display: flex;
	justify-content: space-between;
}
.price-content li span {
	border-left: 1px solid rgba(196, 196, 196, 0.44);
	padding-left: 40px;
}
.price-header::after {
    content: url("./icons/icon-arrow.svg");
   	position: absolute;
  	right: 16px;
  	top: 50%;
  	transform: translateY(-50%) rotate(0deg);
  	transition: transform 0.3s ease;
  	font-size: 14px;
}

.price-header.active::after {
  	transform: translateY(-50%) rotate(180deg); /* поворот вверх */
}
.group {
	justify-content: space-between;
	align-items: center;
}
.portfolio-wrapper {
	margin-top: 36px;
}
/* Стили для контейнера портфолио */
.portfolio-wrapper {
    position: relative;
    margin: 0 -15px;
}

/* Стили для каждого элемента портфолио */
.portfolio-item {
    padding: 0 15px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 531px; /* Фиксированная высота для всех слайдов */
}

/* Стили для изображений */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохраняет пропорции, обрезая лишнее */
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    border-radius: 12px;
}
.custom-next-portfolio {
    background: url(./img/arrow.svg) center / 10px no-repeat !important;
    width: 47px;
    height: 47px;
    background: transparent;
    border: 1px solid #402E32 !important;
    cursor: pointer;
    border-radius: 50%;
}
.custom-prev-portfolio {
	background: url(./img/arrow.svg) center / 10px no-repeat !important;
    transform: rotate(180deg);
    width: 47px;
    height: 47px;
    background: transparent;
    border: 1px solid #402E32 !important;
    cursor: pointer;
    border-radius: 50%;
}
.text-block {
    padding: 24px 0 99px;
    background-image: 
        linear-gradient(180deg, rgba(240, 237, 229, 100) 0%, rgba(240, 237, 229, 0) 47%, rgba(240, 237, 229, 100) 98%),
        url('./img/text-block-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.text-descr {
	font-size: 24px;
}
.text-descr p {
	padding-top: 15px;
}
.consultation-form {
	padding: 100px 0;
	background: url('./img/cons-bg.webp');
	background-size: cover;
    background-repeat: no-repeat;
}
.cons-form {
	padding: 66px;
	background-color: rgba(240, 237, 229, 0.85);
	width: 592px;
}
.cons-form h2 {
	font-size: 40px;
	font-weight: 600;
	margin-bottom: 35px;
}
.cons-form label {
	font-size: 18px;
	font-weight: 600;
}
.cons-form p {
	margin-top: 13px;
}
.cons-form input {
	background: transparent;
	border-bottom: 1px solid #402E32;
	padding: 5px 15px;
	border-top: none;
	border-left: none;
	border-right: none;
	font-size: 16px;
	color: #402E32;
}
.cons-form input:focus-visible {
	 outline: none;
}
.cons-form .wpcf7-submit {
	background: linear-gradient(to bottom right, rgba(244, 217, 148, 0.8) 0%, rgba(206, 162, 58, 0.8) 50%, rgba(156, 110, 0, 0.8) 100%);
    border-radius: 15px;
    width: 180px;
    min-width: 180px;
    height: 50px;
    font-family: 'SourceSerifPro', sans-serif;
    border: none;
    font-size: 18px;
    color: #402E32;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
	margin-top: 43px;
}
.cons-form .wpcf7-mask{
	color: rgba(64, 46, 50, 0.9);
}
.cons-form placeholder{
	color: rgba(64, 46, 50, 0.9);
}
.request-form {
	/*padding: 50px 0;
	background-color: #402E32;*/
	background: url('./img/request-bg.png');
    background-size: cover;
    background-position: center;
}
.request-wrapper {
	display: flex;
	align-items: center;
	gap: 80px;
	justify-content: center;
}
.request-form__image {
	max-width: 342px;
	height: auto;
	width: 100%;
}
.request-form__text {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.request-form__text h2 {
	color: #F0EDE5;
	text-align: center;
}
.request-form__text p {
	color: #F0EDE5;
	font-size: 24px;
	padding: 35px 0;
	text-align: center;
}
.news-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 40px;
}
.news-item {
	padding: 20px;
    flex: 1 1 calc(33.333% - 30px);
	box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.15),
    -2px 2px 8px rgba(0, 0, 0, 0.15);
}
.news-item a {
	color: #402E32;
}
.news-item h2 {
	font-size: 26px;
	margin: 15px 0;
}
.news-item .read-more {
	color: #CEA23A;
}
.news-item .excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Количество строк */
    overflow: hidden;
    line-height: 1.4; /* Межстрочный интервал */
    max-height: 4.2em; /* line-height * количество строк (1.4 * 3) */
}
.news-thumbnail {
	overflow: hidden;
}
.news-thumbnail img {
    height: 300px;
	object-fit: cover;
	transition: all ease-in-out 0.3s;
}
.news-thumbnail img:hover {
	transform: scale(1.09);
}
.post-thumbnail {
    display: block;          
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: #f5f5f5;
    transition: box-shadow 0.3s ease;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
	object-position: center top;
}
.post-content p {
	padding: 15px 0;
}
.post-content {
	margin: 50px 0;
}
.post-thumbnail {
	margin: 40px 0 10px;
}

/* ===== СТРАНИЦА ПОРТФОЛИО ===== */
.portfolio-page {
    padding: 60px 0 80px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

/* ===== СЕТКА ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
	margin-top: 40px;
}

.portfolio-item {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.portfolio-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-link img {
    transform: scale(1.05);
}

.no-images {
    text-align: center;
    font-size: 18px;
    color: #999;
    padding: 60px 0;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .portfolio-page {
        padding: 40px 0 60px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .portfolio-item {
        aspect-ratio: 1/1;
    }
}

/* ===== СТРАНИЦА АКЦИЙ ===== */
.sales-page {
    padding: 60px 0 80px;
}

.sales-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.no-sales {
    text-align: center;
    padding: 60px 0;
    font-size: 18px;
    color: #999;
}

/* ===== СЕТКА ===== */
.sales-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ===== КАРТОЧКА АКЦИИ ===== */
.sale-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.sale-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.sale-item.sale-seasonal {
    border-color: #f59e0b;
    background: #fffbeb;
    grid-column: 1 / -1;
}

/* ===== БЕЙДЖ СКИДКИ ===== */
.sale-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc2626;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.sale-badge.seasonal {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== КОНТЕНТ ===== */
.sale-content {
    padding: 30px 30px 25px;
}

.sale-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    padding-right: 80px;
    line-height: 1.3;
}

.sale-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sale-tag.seasonal {
    color: #f59e0b;
    background: #fffbeb;
}

.sale-period {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
    background: #fffbeb;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
    margin-left: 8px;
}

.sale-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.sale-text {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

/* ===== СПИСОК ===== */
.sale-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.sale-list li {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    padding: 4px 0;
}

/* ===== ПОДВАЛ ===== */
.sale-footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.sale-asterisk {
    display: block;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}
/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .sales-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sale-item.sale-seasonal {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .sales-page {
        padding: 40px 0 60px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .sale-content {
        padding: 25px 20px 20px;
    }
    
    .sale-title {
        font-size: 19px;
        padding-right: 70px;
    }
    
    .sale-badge {
        font-size: 18px;
        padding: 6px 14px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .sale-title {
        font-size: 17px;
        padding-right: 60px;
    }
    
    .sale-badge {
        font-size: 16px;
        padding: 4px 12px;
        top: 12px;
        right: 12px;
    }
    
    .sale-content {
        padding: 20px 15px 18px;
    }
    
    .sale-description,
    .sale-text {
        font-size: 14px;
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }
    
    .header-contact,
    .header-tel,
    .btn {
        display: none;
    }
 
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-menu {
        display: block;
        margin-top: 50px;
    }
    
    .main-menu li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-menu a {
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Стрелка для пунктов с подменю - МОБИЛКА */
    .menu-item-has-children > a::after {
        display: inline-block !important;
        content: '+' !important;
        font-size: 18px;
        font-weight: 300;
        transition: transform 0.3s ease;
        margin-left: 10px;
    }
    
    .menu-item-has-children > a.active::after {
        content: '-' !important;
    }
    
    /* ПОДМЕНЮ - МОБИЛЬНАЯ ВЕРСИЯ */
    /* Сбрасываем все десктопные стили для подменю */
    .main-menu .sub-menu,
    .main-menu .children {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        min-width: auto !important;
        border-radius: 0 !important;
        display: none; /* Скрываем по умолчанию на мобилке */
        padding-left: 15px;
    }
    
    /* Отменяем ховер-эффекты для мобилки */
    .main-menu li:hover > .sub-menu,
    .main-menu li:hover > .children {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none; /* На мобилке отключаем ховер */
    }
    
    .main-menu .sub-menu li,
    .main-menu .children li {
        border-bottom: 1px solid #e9ecef;
    }
    
    .main-menu .sub-menu li:last-child,
    .main-menu .children li:last-child {
        border-bottom: none;
    }
    
    .main-menu .sub-menu a,
    .main-menu .children a {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .main-menu .sub-menu a::after,
    .main-menu .children a::after {
        display: none !important;
    }
    
    /* Подменю второго уровня - мобилка */
    .main-menu .sub-menu .sub-menu,
    .main-menu .children .children {
        top: auto !important;
        left: auto !important;
        background: #f1f3f4 !important;
    }
    
    /* Мобильные контакты */
    .mobile-contacts {
        display: block;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }
    
    .mobile-contacts .header-contact {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .mobile-contacts .header-tel {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .mobile-contacts .btn {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    
    /* Оверлей для мобильного меню */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ДЕСКТОПНЫЕ СТИЛИ - гарантируем отображение на больших экранах */
@media (min-width: 1025px) {
    .main-menu .sub-menu,
    .main-menu .children {
        display: block !important; /* Принудительно показываем на десктопе */
    }
    
    /* Скрываем мобильные элементы на десктопе */
    .hamburger {
        display: none !important;
    }
    
    .main-navigation {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        left: 0 !important;
    }
    
    .mobile-contacts {
        display: none !important;
    }
    
}
@media (max-width: 768px) {
	.site-header .btn {
		display: none;
	}
}

@media (max-width: 1200px) {
	.site-branding .site-title {
		width: 80%;
	}
	.main-menu {
		gap: unset;
	}
	.header-contact {
		display: none;
	}
}

@media (max-width: 1140px) {
	.banner-content {
		flex-wrap: wrap;
	}
	.banner-img {
		display: none;
	}
	.subtitle p {
		margin-top: 30px;
	}
}
/* ============================================================
   АДАПТИВНАЯ ВЕРСТКА
   ============================================================ */

/* ===== ПЛАНШЕТЫ (до 1024px) ===== */
@media (max-width: 1024px) {
    /* Общие отступы */
    section {
        padding: 40px 0;
    }

    /* Хедер */
    .site-header {
        padding: 15px 0;
    }

    .site-branding .site-title {
        width: 100%;
        max-width: 180px;
    }

    .site-branding .site-title img {
        max-height: 50px;
        width: auto;
    }

    .header-contact,
    .header-tel {
        display: none;
    }

    .site-header .btn {
        display: none;
    }

    /* Баннер */
    .banner {
        padding: 120px 0 200px;
        background-position: center;
    }

    .banner-content {
        flex-direction: column;
        gap: 30px;
    }

    .banner-text {
        width: 100%;
        max-width: 100%;
    }

    .banner-text h1 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .banner-text span {
        font-size: 60px;
    }

    .banner__items {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
        column-gap: 20px;
    }

    .banner-item span {
        font-size: 22px;
    }

    .banner-item img {
        width: 40px;
        height: 40px;
    }

    .banner-img {
        display: none;
    }

    /* Заголовки */
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }

    .advantages h2::before,
    .advantages h2::after {
        width: 100px;
    }

    /* Преимущества */
    .adv-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .adv-item {
        max-width: 100%;
        height: 260px;
        padding: 25px;
    }

    .adv-item h3 {
        font-size: 24px;
    }
    .adv-item p {
        font-size: 16px;
    }
    .adv-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .adv-item::before,
    .adv-item::after {
        width: 60px;
        height: 60px;
    }

    /* О нас */
    .about-wrapper {
        flex-direction: column;
        gap: 30px;
    }

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

    .about-img {
        height: 300px;
    }

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

    /* Услуги */
    .title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .title-wrapper .title {
        min-width: unset;
        width: 100%;
    }

    .descr {
        max-width: 100%;
    }

    .descr::before {
        display: none;
    }

    .service-item {
        height: 380px;
        padding: 20px;
    }

    .service-item h3 {
        font-size: 24px;
    }

    /* Контакты */
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .map {
        width: 100%;
        height: 300px;
    }

    .c-info {
        max-width: 100%;
    }

    .tel,
    .mail,
    .time,
    .location {
        width: 50%;
        margin-bottom: 20px;
    }

    .c-info span {
        font-size: 14px;
    }
    .c-info a {
        font-size: 18px;
    }

    .tel span::before,
    .mail span::before,
    .location span::before,
    .time span::before {
        width: 40px;
        height: 40px;
    }

    /* Страница услуг */
    .serv-banner {
        padding: 130px 0 180px;
        background-position: center;
    }

    .serv-banner h1 {
        font-size: 44px;
    }
    .serv-banner p {
        font-size: 18px;
    }

    .works-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 40px 0;
    }

    .work-item {
        height: 280px;
    }
    .work-item h3 {
        font-size: 22px;
    }

    .serv-adv-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 0;
    }

    .stages-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px 0;
    }

    .stage-item span {
        font-size: 42px;
    }
    .stage-item h3 {
        font-size: 20px;
    }

    .stage-item::after {
        width: 40px;
        height: 40px;
        right: -5px;
        top: -5px;
    }

    .price-header {
        padding: 18px 30px;
        font-size: 18px;
    }
    .price-content li {
        padding: 16px 30px;
        font-size: 17px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .price-content li span {
        padding-left: 20px;
        border-left: none;
        width: 100%;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    /* Портфолио */
    .portfolio-item {
        height: 400px;
    }

    .text-block {
        padding: 20px 0 60px;
    }

    .text-descr {
        font-size: 20px;
    }

    /* Форма консультации */
    .consultation-form {
        padding: 60px 0;
    }

    .cons-form {
        padding: 40px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .cons-form h2 {
        font-size: 32px;
    }

    /* Заявка */
    .request-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .request-form__image {
        max-width: 200px;
    }

    .request-form__text p {
        font-size: 20px;
        padding: 20px 0;
    }

    /* Новости */
    .news-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-item h2 {
        font-size: 22px;
    }

    /* Страница портфолио */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Страница акций */
    .sales-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sale-item.sale-seasonal {
        grid-column: 1;
    }

    .sale-title {
        font-size: 20px;
        padding-right: 70px;
    }

    .sale-badge {
        font-size: 20px;
        padding: 6px 16px;
    }

    /* Футер */
    .contacts {
        padding: 30px 0 60px;
    }
}

/* ===== МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) ===== */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    section {
        padding: 30px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Хедер */
    .site-header {
        padding: 10px 0;
    }

    .site-branding .site-title {
        max-width: 130px;
    }

    .site-branding .site-title img {
        max-height: 40px;
    }

    /* Гамбургер */
    .hamburger-box {
        width: 26px;
        height: 20px;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 26px;
        height: 2.5px;
    }

    .hamburger-inner::before {
        top: -8px;
    }
    .hamburger-inner::after {
        bottom: -8px;
    }

    /* Баннер */
    .banner {
        padding: 80px 0 130px;
    }

    .banner-text h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .banner-text span {
        font-size: 40px;
    }

    .banner__items {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
        column-gap: 12px;
    }

    .banner-item {
        gap: 10px;
    }

    .banner-item img {
        width: 32px;
        height: 32px;
    }

    .banner-item span {
        font-size: 16px;
    }

    .subtitle p {
        font-size: 20px;
        margin-top: 20px;
    }

    /* Заголовки */
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 26px;
    }

    .advantages h2::before,
    .advantages h2::after {
        width: 60px;
        margin-right: 8px;
        margin-left: 8px;
    }

    /* Преимущества */
    .adv-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .adv-item {
        height: auto;
        min-height: 200px;
        padding: 20px;
        gap: 15px;
    }

    .adv-item h3 {
        font-size: 20px;
    }
    .adv-item p {
        font-size: 15px;
    }
    .adv-icon {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .adv-item::before,
    .adv-item::after {
        width: 40px;
        height: 40px;
    }

    .adv-item::before {
        top: -10px;
        left: -10px;
    }
    .adv-item::after {
        bottom: -10px;
        right: -10px;
    }

    /* О нас */
    .about-img {
        height: 220px;
    }

    .about-text h2 {
        font-size: 26px;
    }
    .about-text h2::after {
        width: 80px;
        margin: 10px 0;
    }
    .about-text p {
        font-size: 16px;
    }

    /* Услуги */
    .title-wrapper .title {
        min-width: unset;
    }

    .sub-t {
        font-size: 14px;
    }
    .sub-t::before {
        width: 60px;
    }

    .services .descr {
        max-width: 100%;
    }

    .services-slider {
        margin-top: 25px;
    }

    .service-item {
        height: 280px;
        padding: 15px;
        border-radius: 8px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    .note {
        font-size: 16px;
        padding: 0 0 30px;
        margin-top: -30px;
        line-height: 1.6;
    }

    .custom-nav {
        justify-content: center;
        margin-top: 15px;
    }

    .custom-prev,
    .custom-next {
        width: 38px;
        height: 38px;
        background-size: 8px !important;
    }

    /* Контакты */
    .contact-wrapper {
        margin-top: 20px;
        gap: 20px;
    }

    .map {
        height: 220px;
    }

    .c-info {
        flex-direction: column;
        gap: 5px;
    }

    .tel,
    .mail,
    .time,
    .location {
        width: 100%;
        margin-bottom: 12px;
    }

    .c-info span {
        font-size: 13px;
        gap: 10px;
    }
    .c-info a {
        font-size: 16px;
    }

    .tel span::before,
    .mail span::before,
    .location span::before,
    .time span::before {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        background-size: 18px;
    }

    .icons {
        justify-content: center;
        gap: 10px;
		width: 100%;
    }
    .icons a {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }
    .icons img {
        width: 24px;
        height: 24px;
    }

    /* Страница услуг */
    .serv-banner {
        padding: 100px 0 120px;
    }

    .serv-banner h1 {
        font-size: 32px;
    }
    .serv-banner p {
        font-size: 16px;
        padding: 15px 0;
        max-width: 100%;
    }

    .op-btn {
        min-width: 180px;
        height: 44px;
        font-size: 16px;
        border-radius: 25px;
    }

    .works-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 25px 0;
    }

    .work-item {
        height: 200px;
        padding: 15px;
        border-radius: 8px;
    }
    .work-item h3 {
        font-size: 17px;
        padding-bottom: 20px;
    }

    .left-title {
        font-size: 26px;
    }
    .left-title::after {
        width: 80px;
        margin: 8px 0;
    }

    .line-title::before,
    .line-title::after {
        width: 60px;
        margin-right: 8px;
        margin-left: 8px;
    }

    .serv-adv-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 0;
    }

    .serv-adv-item {
        padding: 18px 20px;
    }
    .serv-adv-item h3 {
        font-size: 20px;
        margin-left: 15px;
    }
    .serv-adv-item .adv-descr {
        font-size: 16px;
    }
    .serv-adv-item .adv-img {
        width: 40px;
        height: 40px;
    }
    .serv-adv-item .adv-img img {
        width: 40px;
        height: 40px;
    }

    .stages-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px 0;
    }

    .stage-item span {
        font-size: 32px;
    }
    .stage-item h3 {
        font-size: 17px;
        padding-bottom: 5px;
    }
    .stage-item p {
        font-size: 15px;
    }
    .stage-item::after {
        width: 30px;
        height: 30px;
        border-width: 1.5px;
    }

    .price-block {
        margin: 30px 0;
    }
    .price-header {
        padding: 14px 20px;
        font-size: 16px;
    }
    .price-content li {
        padding: 12px 20px;
        font-size: 15px;
        flex-direction: column;
        gap: 5px;
    }
    .price-content li span {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 8px;
        width: 100%;
    }

    /* Портфолио */
    .portfolio-item {
        height: 300px;
    }

    .custom-next-portfolio,
    .custom-prev-portfolio {
        width: 38px;
        height: 38px;
        background-size: 8px !important;
    }

    .text-block {
        padding: 15px 0 40px;
    }

    .text-descr {
        font-size: 17px;
    }
    .text-descr p {
        padding-top: 10px;
    }

    /* Форма консультации */
    .consultation-form {
        padding: 40px 0;
    }

    .cons-form {
        padding: 30px 20px;
        max-width: 100%;
        border-radius: 12px;
    }

    .cons-form h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .cons-form label {
        font-size: 16px;
    }
    .cons-form input {
        font-size: 15px;
        padding: 5px 10px;
        width: 100%;
    }
    .cons-form .wpcf7-submit {
        width: 100%;
        min-width: unset;
        height: 44px;
        font-size: 16px;
        margin-top: 25px;
    }

    /* Заявка */
    .request-form__image {
        max-width: 150px;
    }
    .request-form__text p {
        font-size: 17px;
        padding: 15px 0;
    }

    /* Новости */
    .news-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item {
        padding: 15px;
    }
    .news-item h2 {
        font-size: 20px;
        margin: 10px 0;
    }
    .news-thumbnail img {
        height: 200px;
    }

    /* Страница портфолио */
    .portfolio-page {
        padding: 30px 0 40px;
    }

    .page-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Страница акций */
    .sales-page {
        padding: 30px 0 40px;
    }

    .sales-header {
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 26px;
    }
    .page-description {
        font-size: 16px;
    }

    .sale-content {
        padding: 20px 16px 16px;
    }

    .sale-title {
        font-size: 17px;
        padding-right: 60px;
    }

    .sale-badge {
        font-size: 16px;
        padding: 4px 12px;
        top: 12px;
        right: 12px;
    }

    .sale-tag,
    .sale-period {
        font-size: 11px;
        padding: 3px 12px;
    }

    .sale-description,
    .sale-text {
        font-size: 14px;
    }
    .sale-list li {
        font-size: 14px;
    }

    .sale-footer {
        margin-top: 12px;
        padding-top: 12px;
    }
    .sale-asterisk {
        font-size: 12px;
    }

    /* Футер */
    .contacts {
        padding: 20px 0 40px;
    }
    .footer-content {
        padding: 20px 0;
    }
    .footer-content p,
    .footer-content a {
        font-size: 13px;
    }

    /* Мобильное меню */
    .main-navigation {
        width: 85%;
        padding: 15px;
    }
    .main-menu a {
        padding: 12px 0;
        font-size: 15px;
    }
    .main-menu .sub-menu a,
    .main-menu .children a {
        padding: 10px 0;
        font-size: 13px;
    }
}

/* ===== ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (до 480px) ===== */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .container {
        padding: 0 12px;
    }

    /* Хедер */
    .site-branding .site-title {
        max-width: 100px;
    }
    .site-branding .site-title img {
        max-height: 32px;
    }

    /* Баннер */
    .banner {
        padding: 60px 0 80px;
    }

    .banner-text h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .banner-text span {
        font-size: 30px;
    }

    .banner__items {
        grid-template-columns: 1fr 1fr;
        row-gap: 14px;
        column-gap: 8px;
    }

    .banner-item {
        gap: 6px;
    }
    .banner-item img {
        width: 24px;
        height: 24px;
    }
    .banner-item span {
        font-size: 13px;
    }

    .subtitle p {
        font-size: 17px;
        margin-top: 15px;
    }

    /* Заголовки */
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }

    .advantages h2::before,
    .advantages h2::after {
        width: 40px;
        margin-right: 5px;
        margin-left: 5px;
    }

    /* Преимущества */
    .adv-item {
        min-height: 170px;
        padding: 15px;
        gap: 10px;
    }
    .adv-item h3 {
        font-size: 18px;
    }
    .adv-item p {
        font-size: 14px;
    }
    .adv-icon {
        width: 32px;
        height: 32px;
        bottom: 12px;
        right: 12px;
    }
    .adv-item::before,
    .adv-item::after {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }

    /* Услуги */
    .service-item {
        height: 220px;
        padding: 12px;
        border-radius: 6px;
    }
    .service-item h3 {
        font-size: 17px;
    }

    .note {
        font-size: 14px;
        padding: 0 0 20px;
        margin-top: -20px;
        line-height: 1.5;
    }

    /* Портфолио */
    .portfolio-item {
        height: 220px;
        padding: 0 5px;
    }

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

    /* Страница услуг */
    .serv-banner {
        padding: 80px 0 80px;
    }
    .serv-banner h1 {
        font-size: 26px;
    }
    .serv-banner p {
        font-size: 14px;
        padding: 10px 0;
    }

    .op-btn {
        min-width: 150px;
        height: 38px;
        font-size: 14px;
        gap: 8px;
        border-radius: 20px;
    }
    .op-btn::after {
        width: 10px;
        height: 16px;
    }

    .works-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 15px 0;
    }
    .work-item {
        height: 150px;
        padding: 10px;
        border-radius: 6px;
    }
    .work-item h3 {
        font-size: 14px;
        padding-bottom: 12px;
    }

    .left-title {
        font-size: 22px;
    }
    .left-title::after {
        width: 60px;
        margin: 5px 0;
    }

    .line-title::before,
    .line-title::after {
        width: 40px;
        margin-right: 5px;
        margin-left: 5px;
    }

    .serv-adv-item h3 {
        font-size: 17px;
        margin-left: 10px;
    }
    .serv-adv-item .adv-descr {
        font-size: 14px;
    }

    .stages-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 20px 0;
    }
    .stage-item span {
        font-size: 26px;
    }
    .stage-item h3 {
        font-size: 15px;
    }
    .stage-item p {
        font-size: 13px;
    }
    .stage-item::after {
        width: 22px;
        height: 22px;
        border-width: 1px;
        right: 0;
        top: 0;
    }

    .price-header {
        padding: 12px 16px;
        font-size: 14px;
        padding-right: 40px;
    }
    .price-header::after {
        right: 10px;
        transform: translateY(-50%) rotate(0deg) scale(0.8);
    }
    .price-content li {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Форма */
    .cons-form {
        padding: 20px 15px;
    }
    .cons-form h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .cons-form label {
        font-size: 14px;
    }
    .cons-form input {
        font-size: 14px;
        padding: 4px 8px;
    }
    .cons-form .wpcf7-submit {
        height: 38px;
        font-size: 14px;
        margin-top: 18px;
        border-radius: 12px;
    }

    /* Новости */
    .news-item h2 {
        font-size: 17px;
    }
    .news-thumbnail img {
        height: 150px;
    }
    .news-item .excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
        max-height: 2.8em;
    }

    /* Страница портфолио */
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .portfolio-item {
        aspect-ratio: 1/1;
        height: auto;
    }

    /* Страница акций */
    .sale-title {
        font-size: 15px;
        padding-right: 50px;
    }
    .sale-badge {
        font-size: 14px;
        padding: 3px 10px;
        top: 10px;
        right: 10px;
    }
    .sale-content {
        padding: 16px 12px 14px;
    }

    /* Мобильное меню */
    .main-navigation {
        width: 90%;
        padding: 12px;
    }
    .main-menu a {
        padding: 10px 0;
        font-size: 14px;
    }
    .main-menu .sub-menu a,
    .main-menu .children a {
        padding: 8px 0;
        font-size: 12px;
    }
}

/* ===== ДЕСКТОПНЫЕ УЛУЧШЕНИЯ (большие экраны) ===== */
@media (min-width: 1441px) {
    .container {
        max-width: 1440px;
    }

    .banner {
        padding: 201px 0 207px;
    }

    .banner-text h1 {
        font-size: 64px;
    }

    .adv-wrapper {
        gap: 30px;
    }

    .adv-item {
        height: 330px;
        padding: 40px;
    }

    .service-item {
        height: 530px;
    }

    .work-item {
        height: 400px;
    }
}

/* ===== ПОРТРЕТНАЯ ОРИЕНТАЦИЯ на планшетах ===== */
@media (max-width: 1024px) and (orientation: portrait) {
    .banner__items {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .serv-adv-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

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

/* ===== АЛЬБОМНАЯ ОРИЕНТАЦИЯ на телефонах ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .banner {
        padding: 100px 0 150px;
    }

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

    .service-item {
        height: 300px;
    }

    .works-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .work-item {
        height: 180px;
    }

    .stages-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-item {
        height: 250px;
    }
}
/* Убираем pointer-events для мобильных устройств */
@media (max-width: 1024px) {
    .menu-item a[href="https://#"] {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

/* Основной контейнер - используем display: flex */
.popup-two-columns {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Изменено с center на stretch */
    gap: 0; /* Убираем gap, чтобы картинка была встык */
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden; /* Чтобы скругление применялось ко всему контейнеру */
}

/* Левая колонка - 40% ширины */
.popup-left {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex; /* Добавляем flex для дочернего элемента */
    align-items: stretch; /* Растягиваем по высоте */
}

/* Правая колонка - 60% ширины */
.popup-right {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем контент по вертикали */
}

/* Картинка на всю высоту колонки */
.popup-left img {
    width: 100%;
    height: 100%; /* Растягиваем на всю высоту */
    object-fit: cover; /* Обрезаем картинку, сохраняя пропорции */
    display: block;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Убираем отступы у figure */
.popup-left figure {
    margin: 0!important;
    width: 100%;
    height: 100%;
    display: flex;
}

/* Стили для правой колонки */
.popup-right h2 {
    margin-top: 0;
    font-size: 24px;
    line-height: 1.3;
}

.popup-right p {
    margin-bottom: 0px;
    font-size: 15px;
    color: #555;
    font-weight: 500!important;
    line-height: 1.5;
}

/* Стили для формы в правой колонке */
.popup-right .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-right .wpcf7-form input[type="text"],
.popup-right .wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #FFF;
}

.popup-right .wpcf7-form input[type="text"]:focus,
.popup-right .wpcf7-form input[type="tel"]:focus {
    border-color: #AC6C40;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.popup-right .wpcf7-form input[type="submit"] {
    background: linear-gradient(165deg, #D69C00 30%, #AC6C40 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.popup-right .wpcf7-form input[type="submit"]:hover {
    background: #202020;
    color: #D69C00;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .popup-two-columns {
        flex-direction: column;
        gap: 0;
        border-radius: 10px;
    }
    
    .popup-left,
    .popup-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .popup-left {
        order: -1; /* Картинка сверху на мобильных */
    }
    
    .popup-left img {
        height: 250px; /* Фиксированная высота на мобильных */
        border-radius: 10px 10px 0 0;
    }
    
    .popup-right {
        padding: 25px 20px;
    }
    
    .popup-right h2 {
        font-size: 20px;
    }
}
.wpcf7-spinner {
    display: none !important;
}
.popup-right .wpcf7-form p {
    margin: 0;
    padding: 0;
}

.popup-right .wpcf7-form label br {
    display: none;
}
@media (max-width: 480px) {
    .popup-left img {
        height: 200px!important;
    }
}