:root{
	--main-purple-color: #5c3eb9;
	--main-green-color: #6eb966;
	--main-gray-color: #cccccc;
}
.green{color: var(--main-green-color);}
.purple{color: var(--main-purple-color);}

body{
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}
/*Шрифты вкосячить*/
div{
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box;
/*	color: var(--main-purple-color);*/
}
/*Любой флекс*/
.fx{display: flex; gap: 30px; flex-wrap: wrap;}
/*Растяжка флекса по ширине равные интервалы*/
.jc{justify-content: space-between;}
/*Любой кликабельный элемент*/
.pointer{cursor: pointer;}
.ai-c{align-items: center;}
.t-c{
	text-align: center;
}
.t-r{
	text-align: right;
}
/*Ссылка безпалевная*/
.nolink{text-decoration: none; color: inherit;}

header{
	color: var(--main-gray-color);
	height: 90px;
	border-bottom: 1px solid var(--main-gray-color);
	background-color: var(--main-purple-color);
}

header>.wrap{
	align-items: center;
	margin-top:0px;
}

.logo{
	padding:0px 5px;
	font-family: 'Raleway', sans-serif;
	background-color: var(--main-green-color);
	color: #fff;
	display: flex;
	align-items: center;
	width: 239px;
	font-size: 45px;
	height: 100px;
}
.logoBS {
	font-weight: bold;
}
.m60{margin: 60px auto;}
.w120{width: 120px;}
.w180{width: 180px;}
.w240{width: 240px;}
.w320{width: 320px;}
.w460{width: 500px;}
.w680{width: 680px; max-width: 680px;}
.ar-left{
	justify-content: end;
	align-items: end;
}
.ar-right{
	justify-content: left;
	align-items: end;
}



/* ширина "Обёртки" текста */
.wrap{
	width: 960px;
	margin: 10px auto;
	position: relative;
}
.header_addresses, .header_worktime, .header_phones,.header_messanger{
	position: relative;
}
.header_messanger{
	display: flex;
}
.address_item:first-child:before{
	content:url('images/location.svg');
	position: absolute;
	left: -25px;
}

.worktime_item:first-child:before{
	content: url('images/clock.svg');
	position: absolute;
	left: -25px;
}

.phones_item:first-child:before{
	content: url('images/phone.svg');
	position: absolute;
	left: -25px;
}

.messanger_wa:before{
	content: url('images/wa_black.svg');
	color: #ccc;
	cursor: pointer;
}

.messanger_tlg:before{
	content: url('images/tlg_gray.svg');
	color: #ccc;
	cursor: pointer;
}

/* SECTION 1 */

.top_menu{

	position: relative;
}
.header_callme{
	background-color: var(--main-green-color);
    color: #000;
    height: 40px;
    padding: 5px;
    border-radius: 20px;
    display: flex;
    font-size: 14px;
    width: 120px;
    align-items: center;

    justify-content: center;
	display: none;
}
.menu_item{
	position: relative;
	margin-right: 20px;
	transition: all 0.3s ease-in-out;
	color: #ccc;
	cursor: pointer;
}
.menu_item:hover{
	text-decoration: underline;
	opacity: 0.7;
}

.sec_menu{
	height: 100px;
}


.banner_text{
	position: absolute;
	top: 80px;
    left: 70px;
}

.banner_caption{
	font-size: 36px;
	font-weight: bold;
	margin: 20px 0px;
	color: #fff;

}
.banner_subtitle{
	font-size: 14px;
	width: 400px;
	color: #fff;
}
.banner_button{
	text-align: center;
	margin: 35px;
	padding: 20px;
	background-color: #222;
	color: #fff;
	font-size: 14px;
	width: 170px;
}


/* USLUGI */
.sec_uslugi{
	margin-top:40px;
}

.container_title{
	font-size: 34px;
	font-weight: bold;
	margin-bottom: 40px;
	text-align: center;
}
.container_uslugi{
	color: var(--main-purple-color);
	gap: 5px;
}


.usluga{
	text-align: center;
	width: 23%;
	padding: 5px;
}
.usluga_title{
	font-weight: bold;
	font-size: 22px;
	margin: 20px 0px;
}

.u_button{
	font-size: 14px;
	cursor: pointer;
	padding: 10px;
	border: 1px solid var(--main-purple-color);
	border-radius: 20px;
	margin: 10px 0px;
	transition: all 0.2s ease-in-out;
}

.u_button:hover{
	background-color: var(--main-purple-color);
	color: #fff;
	font-weight: bold;
}

.sec_certs{
	margin: 40px auto;
}
.sec_certs .wrap{
	justify-content: center;
	gap: 20px;
}
.cert_item{
	border: 1px dotted #ccc;
	padding: 20px;
}
.sec_certs_title{
	text-align: center;
    font-size: 20px;
    margin: 20px;
}


/* ABOUT */
.sec_about{
	background-color: #fafafa;
}
.about_text{
	position: relative;
}
.about_title{
	font-size: 36px;
	font-weight: bold;
	margin: 40px 0px 20px;
}
.about_text_fields{
	width: 450px;
}
.about_shade{
	position: absolute;
	margin-left:40px;
	font-size: 92px;
    color: #ccc;
    font-weight: 900;
    opacity: 0.2;
}
.about_line{
	margin: 20px 0px;
}

.sec_about2{
	margin-top:60px;
}
.about_button{
	text-align: center;
	margin: 35px;
	padding: 20px;
	background-color: #222;
	color: #fff;
	font-size: 14px;
	width: 80px;
}

/* FOOTER */
footer{
	background-color: var(--main-purple-color);
}
footer .wrap {
	gap: 20px;
}
footer .wrap>div{
	margin: 30px;
}
footer .wrap>div:first-child{
	margin-left: 0px;
}
.footer-1-worktime{
	margin-top: 20px;
	color: #ccc;
	font-size: 16px;
}
.footer-1-address{
	color: #ccc;
	font-size: 16px;
}

.footer-1-phone{
	margin: 20px 0px;
	color:#fff;
	font-size: 24px;
	font-weight: 900;
}

.footer-2-item{
	padding: 20px;
	cursor: pointer;
	color: #fff;
	font-weight: bold;
	transition: all 0.3s ease-in-out;
	border: 1px solid var(--main-purple-color);
}

.footer-2-item:hover{
	border: 1px solid #fff;
	background-color: #fff;
	color: var(--main-purple-color);
}

.footer-3{
	
	padding-top:20px;
}

.footer-3-title{
	color: #fff;
	font-size: 18px;
}
.f3-item{
	color: #fff;
	font-size: 15px;
	margin: 10px 0px;
}


/* VINIRS */

.b1_l_title{
	font-size: 72px;
	font-weight: 900;
	
	line-height: 60px;
}
.banButtons{
	margin: 60px auto;
	display: flex;
	width: 400px;
	flex-wrap: wrap;
}

.b1_l_button{
	cursor: pointer;
	text-align: center;
	padding: 10px;
	margin: 5px;
	font-size: 14px;
	width: 120px;
	border: 2px solid #5a36b1;
}

.banBigText{
	font-size: 62px;
	font-weight: 900;
	line-height: 68px;
}

.banButton{
	text-align: center;
	justify-content: center;
	padding: 10px;
	margin: 5px;
	font-size: 16px;
	width: 150px;
	border: 2px solid #5a36b1;
	transition: all .3s ease-in-out;
	height: 50px;
	display: flex;
	align-items: center;
}
.banButton:hover{
	background-color: #5a36b1;
	color: #fff;
}



.text_gray{
	color: #999;
	font-size: 16px;
}
.text_gray {
	margin-bottom: 10px;
}
.bigtitle{
	font-size: 36px;
	font-weight: 700;
	margin: 20px 0px;
}

.col1, .col2{
	max-width: 42%;

}

.col3{
	max-width: 20%;

}


.bordered{
	background-color: #fff;
	padding: 20px 30px;
	border: 2px solid #5a36b1;
	border-radius: 20px;
	position: relative;
}

.signed::before{
	content:"!";
	font-size:32px;
	width: 50px;
	height: 50px;
	top:-30px;
	text-align: center;
	color:#fff;
	border-radius: 50%;
	background-color: #6eb966;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
}

.midtitle{
	font-size: 20px;
	margin: 10px 0px;
}

.step>.midtitle{
	font-weight: bold;
}
.etap{
	margin-bottom: 40px;
}
.etaps{
	column-count: 2;
	flex-direction: column;
	flex-wrap: wrap;
	list-style-type: none;
	counter-reset: num;
}
.etaps li{
	position: relative;
}
.etaps li:before{
	content: counter(num);
	counter-increment: num;
	display: inline-block;
	position: absolute;
	top: 0px;
	left: -60px;
	color: #5a36b1;
	text-align: center;
	font-size: 80px;
	font-weight: bold;
	width: 40px;
}

.b1_bot_title::before{
	content: '';
	width: 60px;
	height: 60px;
	background-color: #83ff83;
	opacity: 0.5;
	border-radius: 50%;
	position: absolute;
	z-index: -1;
	left: -35px;

}

.b1_bot_title{
	position: relative;
	display: flex;
	font-size: 28px;
	font-weight: 900;
	line-height: 24px;
	margin: 30px 0px;

}


.b3_left_title{
	font-size: 30px;
	color: #5a36b1;
}

.implant_steps{
 	columns: 2;
}
.step{
	margin-bottom: 40px;
	display: inline-block;

}
.step>.midtitle{
	margin: 0px auto;
}

.img-400{width: 400px;}
.img-300{width: 300px;}
.img-200{width: 200px;}

.ps_title{
	font-size: 32px;
	font-weight: bold;
	color: var(--main-green-color);
	margin: 40px 0px 10px;
}
.price_section{
	max-width: 640px;
}
.price{
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.dots{
	min-width: 20px;
	flex-grow: 1;
	border-bottom: 1px dashed #999;
}

.price>.u{
	font-size: 16px;
	border-bottom: 1px dashed #999;
}

.price>.p{
	color: var(--main-purple-color);
	text-align: right;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px dashed #999;
	min-width: 80px;
}
.price>.p::after{

}

.footer-1-social{
	margin-top: 10px;
}
.caries_types{
	width: 100%;
}
.map-container {
    width: 460px;
    height: 460px;
    max-width: 100%;
    margin: 0 auto;
}

.cert_title {
    text-align: center;
}

.messanger_wa {
    margin-right: 10px;
}




.m60{margin: 60px auto;}
.w120{width: 120px;}
.w180{width: 180px;}
.w240{width: 240px;}
.w320{width: 320px;}
.w460{width: 500px;}
.w680{width: 680px; max-width: 680px;}
.ar-left{
	justify-content: end;
	align-items: end;
}
.ar-right{
	justify-content: left;
	align-items: end;
}


.banButtons1{
	margin: 60px auto;
	width: 400px;
}

.banButtons1{
	margin: 60px auto;
	width: 400px;
}

.banButton1{
	text-align: center;
	justify-content: center;
	padding: 10px;
	margin: 5px;
	font-size: 16px;
	width: 440px;
	border: 2px solid #5a36b1;
	transition: all .3s ease-in-out;
	height: 50px;
	display: flex;
	align-items: center;
}
.banButton1:hover{
	background-color: #5a36b1;
	color: #fff;
}

























.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Контент модального окна */
.modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Заголовок модального окна */
.modal-header {
    padding: 25px 30px;
    background-color: var(--main-purple-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--main-green-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: white;
}

/* Кнопка закрытия */
.modal-close {
    font-size: 32px;
    cursor: pointer;
    color: white;
    line-height: 1;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--main-green-color);
    transform: scale(1.1);
}

/* Тело модального окна */
.modal-body {
    padding: 30px;
}

/* Контактная информация */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--main-purple-color);
    font-size: 16px;
    font-weight: bold;
}

/* Номер телефона */
.phone-number {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    padding: 12px 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: 5px solid var(--main-green-color);
}

.phone-number1 {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    padding: 12px 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: 5px solid var(--main-green-color);
	color: var(--main-green-color);
}

/* Кнопки в модальном окне */
.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.modal-btn {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    min-width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Roboto', sans-serif;
}

/* Кнопка "Позвонить" */
.modal-call {
    background-color: var(--main-green-color);
    color: #000;
    
    /* Центрирование текста */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.modal-call:hover {
    background-color: #5da855;
}

/* Кнопка "Скопировать номер" */
.modal-copy {
    background-color: var(--main-purple-color);
    color: white;
}

.modal-copy:hover {
    background-color: #4a2e9a;
}

/* Состояние "Скопировано" */
.modal-copy.copied {
    background-color: #4CAF50;
    color: white;
}