/**
 * Сброс стилей
 **/
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline; 
}

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

body {
  line-height: 1; 
}

ol, ul {
  list-style: none; 
}

blockquote, q {
  quotes: none; 
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: normal; 
}

input {
  outline: 0; 
}

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

/* ============================================= */
/* ШРИФТЫ                                        */
/* ============================================= */
@font-face {
    font-family: "Montserrat_SemiBold";
    src: url("../fonts/montserrat-semibold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat_Bold";
    src: url("../fonts/montserrat-bold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat_Medium";
    src: url("../fonts/montserrat-medium.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat_Black";
    src: url("../fonts/montserrat-black.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Montserrat_ExtraBold";
    src: url("../fonts/montserrat-extrabold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Nunito-SemiBold";
    src: url("../fonts/nunito-semibold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Roboto_Regluar";
    src: url("../fonts/roboto-regluar.woff") format("woff");
    font-display: swap;
}

.clear {
	clear: both;
}

/* ============================================= */
/* БАЗОВЫЕ СТИЛИ (Desktop First, 1250px+)        */
/* ============================================= */
body {
    background-image: 
        linear-gradient(rgba(51, 51, 51, 0.7), rgba(51, 51, 51, 0.7)),
        url(../images/test/back.webp);
    background-size: cover, cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

#head_block {
	width: 100%;
	background-color: #f7f7f7;
}

.head_block_size {
    width: 1250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

.logo_block {
	display: flex;
}

.logo_img {
	height: 100px;
	margin-right: 20px;
}

.time_block {
	display: flex;
}

.liner {
	width: 2px;
	height: 42px;
	background-color: #d74315;
	margin-left: 40px;
	margin-right: 40px;
}

/* Навигация */
nav {
    width: 100%;
    height: 80px;
    margin: 0 auto;
    z-index: 1000;
    position: relative;
    background-color: transparent;
}

.burger_logo {
	display: none;
}
nav .nav-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1250px;
    height: 100%;
    background-color: #fff;
    border-radius: 0 0 15px 15px;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

nav.sticky .nav-bg {
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav .nav-inner {
    width: 1250px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav_button {
    font-size: 20px;
    font-family: Montserrat_SemiBold;
    text-transform: uppercase;
    color: #333;
    transition: all 0.15s ease;
    position: relative;
    cursor: pointer;
}

.nav_button::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #d74315;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav_button:hover {
    color: #d74315;
}

.nav_button:hover::after {
    width: 100%;
}

.nav_button_form {
    font-size: 16px;
    font-family: Montserrat_SemiBold;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 25px;
    background-color: #d74315;
    border: 2px solid #d74315;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav_button_form:hover {
    color: #fff;
    background-color: #333;
    border: 2px solid #333;
}

.none_block {
	padding-top: 30px;
	display: none;
    position: absolute;
	width: 320px;
	top: 100%;
    left: 50%;
	transform: translateX(-50%);
}

.podmenu {
    width: 320px;
    background-color: #fff;
	border-radius: 0 0 15px 15px;
    overflow: hidden;
    z-index: 100;
}

.podmenu a {
    display: block;
    font-family: Montserrat_Medium;
    font-size: 16px;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    position: relative;
}

.podmenu a:last-child {
    border-bottom: none;
}

.podmenu a::after {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    color: #d74315;
    transition: all 0.25s ease;
}

.podmenu a:hover {
    background-color: #fafafa;
    color: #d74315;
    padding-left: 30px;
}

.podmenu a:hover::after {
    opacity: 1;
    right: 15px;
}

.nav_button--dropdown:hover .none_block {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-arrow {
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown-arrow::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #333;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav_button--dropdown:hover .dropdown-arrow {
    background-color: #fff;
    transform: scale(1.1);
}

.nav_button--dropdown:hover .podmenu {
    display: flex;
	flex-direction: column;
}

.nav_button--dropdown:hover .dropdown-arrow::before {
    border-bottom-color: #d74315;
    top: 55%;
    transform: translate(-50%, -50%) rotate(180deg);
}

/* Баннер */
#Banner {
	margin-top: -80px;
    position: relative;
    height: 800px;
    display: flex;
    flex-direction: column;
	justify-content: flex-end;
    overflow: hidden;
	background-color: #fff;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.7);
    z-index: 2;
}

.banner_text {
    position: relative;
    z-index: 3;
	font-family: Montserrat_SemiBold;
	font-size: 50px;
	color: #d74315;
	line-height: 80px;
	margin-bottom: 80px;
    width: 990px;
    margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.banner_button {
	font-size: 20px;
    display: inline-block;
	padding: 15px 30px;
	border: 2px solid #d74315;
	border-radius: 15px;
	line-height: 20px;
	text-transform: uppercase;
	color: #fff;
	background-color: #d74315;
	margin-top: 60px;
	margin-bottom: 100px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.banner_button:hover {
	background-color: #fff;
	border: 2px solid #fff;
	color: #d74315;
}

span {
	font-size: 64px;
	line-height: 50px;
	color: #fff;
	font-family: Montserrat_ExtraBold;
}

/* Блок с услугами */
#service {
	width: 1250px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 120px;
}

.title {
	color: #333;
	font-family: Montserrat_ExtraBold;
	font-size: 45px;
}

.service_block {
	display: flex;
	justify-content: space-between;
}

.repair_block {
	margin-top: 60px;
	width: 400px;
	height: 488px;
	border: 1px solid #fff;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
}

.repair_fon {
	width: 100%;
	height: 220px;
	background-image: url(../images/test/1.webp);
}

.repair_fon2 {
	width: 100%;
	height: 220px;
	background-image: url(../images/test/2.webp);
}

.repair_fon3 {
	width: 100%;
	height: 220px;
	background-image: url(../images/test/3.webp);
}

.repair_title {
	width: 100%;
	height: 85px;
	background-color: #d74315;
	color: #fff;
	font-family: Montserrat_Bold;
	font-size: 20px;
	text-transform: uppercase;
	display: flex;
    justify-content: center; 
    align-items: center; 
}

.text {
	width: 360px;
	height: 143px;
	background-color: #F7F7F7;
	padding: 20px 20px;
	display: flex;
    justify-content: center; 
	color: #7B7B7B;
	font-family: Roboto_Regluar;
	font-size: 16px;
	text-align: center;
	line-height: 20px;
}

/* Блок с преимуществами */
.advantages {
	background: none;
	width: 100%;
}

.all_size {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	height: 300px;
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.advantages p {
	color: #fff;
}

.advantages-blocks {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
}

.advantages1 {
	font-size: 45px;
	font-family: opensans-bold;
}

.advantages2 {
	font-size: 16px;
	font-family: Montserrat_Medium;
}

.nav_button_form_2 {
    font-size: 16px;
    font-family: Montserrat_SemiBold;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 25px;
    border: 2px solid #d74315;
	background-color: #d74315;
    border-radius: 10px;
    cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
}

.nav_button_form_2:hover {
	color: #d74315; 
	background-color: #fff;
    border: 2px solid #fff;
}

/* Общие стили контента */
.container {
    width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 36px;
    color: #222;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.title-underline {
    width: 60px;
    height: 8px;
    background-color: #d74315;
    margin-top: 20px;
}

/* Диагностика */
.diagnostics-section {
    background-color: #f7f7f7;
    padding: 100px 0 80px 0;
}

.diagnostics-grid {
    display: flex;
    gap: 60px;
}

.diagnostics-text {
    flex: 1.5;
}

.text-content {
    font-family: 'Roboto_Regluar', sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

.diagnostics-sidebar {
    flex: 1;
}

.reasons-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.card-title {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 22px;
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-item {
    font-family: 'Roboto_Regluar', sans-serif;
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.reason-item:last-child {
    margin-bottom: 0;
}

.reason-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #d74315;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.stages-card {
    background-color: rgba(51, 51, 51, 1);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,0.1);
}

.stages-title {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.stage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stage-item:last-of-type {
    margin-bottom: 0;
}

.stage-number {
    min-width: 32px;
    height: 32px;
    background-color: #d74315;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 14px;
    color: #fff;
}

.stage-content {
    flex: 1;
}

.stage-name {
    font-family: 'Montserrat_Medium', sans-serif;
    font-size: 15px;
    color: #fff;
    margin-bottom: 3px;
}

.stage-description {
    font-family: 'Roboto_Regluar', sans-serif;
    font-size: 13px;
    color: #aaa;
    line-height: 18px;
}

.stage-button {
    margin-top: 30px;
}

/* О компании */
.about-section {
    background-color: #fff;
    padding: 100px 0;
}

.about-grid {
    display: flex;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
}

.about-image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: 100%;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1.2;
}

.about-company-name {
    font-family: 'Montserrat_ExtraBold', sans-serif;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.about-slogan {
    font-family: 'Montserrat_Medium', sans-serif;
    font-size: 18px;
    color: #d74315;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text {
    font-family: 'Roboto_Regluar', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.features-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-card {
    flex: 1;
    background-color: #f7f7f7;
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #d74315;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

.feature-number {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 20px;
    line-height: 1;
    color: #fff;
}

.feature-title {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 14px;
    color: #222;
    text-transform: uppercase;
}

.directions-title {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 16px;
    color: #222;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.directions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.direction-item {
    font-size: 15px;
    line-height: 24px;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.direction-arrow {
    color: #d74315;
    font-size: 18px;
    line-height: 1;
    margin-right: 12px;
    font-weight: bold;
    font-family: 'Roboto_Regluar', sans-serif;
    flex-shrink: 0;
}

.direction-text {
    font-size: 15px;
    line-height: 24px;
    color: #555;
    font-family: 'Roboto_Regluar', sans-serif;
}

.direction-text strong {
    color: #222;
}

.advantages-banner {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    border-left: 4px solid #d74315;
}

.advantage-item {
    flex: 1;
}

.advantage-title {
    font-family: 'Montserrat_Bold', sans-serif;
    font-size: 14px;
    color: #222;
    margin-bottom: 5px;
}

.advantage-text {
    font-family: 'Roboto_Regluar', sans-serif;
    font-size: 13px;
    color: #666;
}

/* Контакты */
.contacts-section {
    background-color: #f7f7f7;
    padding: 100px 0 100px 0;
}

.contacts-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 0;
}

.contacts-info {
    flex: 1;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #d74315;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon-img {
    height: 28px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-family: 'Montserrat_Medium', sans-serif;
    font-size: 16px;
    color: #7B7B7B;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-family: 'Montserrat_Bold', sans-serif;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-phone {
    font-size: 28px;
}

.contact-email {
    font-size: 24px;
}

.contact-schedule {
    font-size: 22px;
}

.contact-value:hover {
    color: #d74315;
}

.contact-note {
    font-family: 'Roboto_Regluar', sans-serif;
    font-size: 14px;
    color: #7B7B7B;
    margin-top: 5px;
}

.contact-button {
    margin-top: 45px;
}

.btn-contact {
	display: inline-block; 
	padding: 18px 45px; 
	font-size: 16px;
}

.contacts-map {
    flex: 1.5;
}

.map-container {
    margin-top: -100px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: 480px;
}

.map-container iframe {
    height: 480px;
}

/* Футер */
footer {
	background-image: url(../images/test/footer_bg.webp);
    background-size: cover, cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.footer_main {
	width: 1250px;
	margin: 0 auto;
}

.footer_block1 {
	display: flex;
	padding-top: 100px;
	justify-content: space-between;
}

.footer_colom_1 {
	margin-top: 27px;
	width: 308px;
}

.footer_text1 {
	width: 100%;
	color: #FFF;
	font-family: Montserrat_Medium;
	font-size: 16px;
	margin: 28px 0;
	line-height: 24px;
}

.footer_text2 {
	color: #FFF;
	font-family: Montserrat_Bold;
	font-size: 16px;
	text-transform: uppercase;
}

.footer_liner {
	width: 2px;
	height: 280px;
	opacity: 0.5;
	background: #d74315;
}

.footer_colom_2 {
	margin-top: 27px;
	display: flex;
	flex-direction: column;
}

.footer_text3 {
	font-size: 20px;
	font-family: Montserrat_Medium;
	line-height: 40px;
	text-decoration: none;
	color: #fff;
}

.footer_colom_3 {
	margin-top: 27px;
}

footer .block1 {
	width: 240px;
	margin-bottom: 20px;
}

footer .head_h1 {
	font-family: Montserrat_Bold;
	color: #FFF;
	font-size: 18px;
}

footer .phone {
	width: 12%;
	background-size: contain;
    background-repeat: no-repeat;
}

footer .time {
	width: 12%;
	background-size: contain;
    background-repeat: no-repeat;
}

footer .mail {
	width: 12%;
	background-size: contain;
    background-repeat: no-repeat;
}

.footer_block2 {
	position: relative;
	width: 100%;
	margin-top: 60px;	
	z-index: 2;
}

.footer_opacity {
	width: 100%;
	position: absolute;
	opacity: 0.4;
	background: #222;
	z-index: 10;
	height: 64px;
}

.footer_align {
	height: 64px;
	display: flex;
	align-items: center; 
    justify-content: space-between; 
	z-index: 2;
}

.footer_text4 {
	color: #FFF;
	font-family: Montserrat_Medium;
	font-size: 16px;
	z-index: 10;
}

.footer_text5 {
	font-size: 16px;
	color: #fff;
	font-family: Montserrat_Medium;
	z-index: 10;
}

/* Модальное окно */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.8s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #d74315;
}

.modal-title {
    font-family: Montserrat_Bold;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.modal-subtitle {
    font-family: Roboto_Regluar;
    font-size: 16px;
    color: #7B7B7B;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: Montserrat_Medium;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact-form input:focus {
    border-color: #d74315;
    outline: none;
}

.contact-form input::placeholder {
    color: #aaa;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #d74315;
    border: 2px solid #d74315;
    border-radius: 10px;
    color: #fff;
    font-family: Montserrat_SemiBold;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #333;
    border-color: #333;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: #fff;
    margin: 0 auto 20px;
}

.success-message h3 {
    font-family: Montserrat_Bold;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.success-message p {
    font-family: Roboto_Regluar;
    font-size: 16px;
    color: #7B7B7B;
}

/* Страница ремонта */
.service-page {
    width: 100%;
    background-color: #fff;
    padding: 60px 0;
}

.service-container {
    width: 1250px;
    margin: 0 auto;
}

.service-intro {
    display: flex;
    gap: 150px;
    margin-bottom: 60px;
    align-items: center;
}

.service-intro-text {
    flex: 1;
}

.service-intro-text h2 {
    font-family: Montserrat_Bold;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.service-intro-text p {
    font-family: Roboto_Regluar;
    font-size: 18px;
    line-height: 28px;
    color: #666;
}

.service-intro-image {
    flex: 1;
}

.service-intro-image img {
    width: 100%;
    border-radius: 15px;
}

.service-works h2,
.service-prices h2,
.service-cta h2 {
    font-family: Montserrat_Bold;
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.work-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f7f7f7;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.work-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.work-item h3 {
    font-family: Montserrat_SemiBold;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.work-item p {
    font-family: Roboto_Regluar;
    font-size: 14px;
    color: #7B7B7B;
    line-height: 20px;
}

.service-cta {
    background-color: #d74315;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
}

.service-cta h2 {
    color: #fff;
    margin-bottom: 15px;
}

.service-cta p {
    font-family: Roboto_Regluar;
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-form input {
    width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-family: Montserrat_Medium;
    font-size: 16px;
}

.cta-form button {
    padding: 15px 40px;
    background-color: #333;
    border: 2px solid #333;
    border-radius: 10px;
    color: #fff;
    font-family: Montserrat_SemiBold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-form button:hover {
    background-color: transparent;
    border: 2px solid #fff;
}

/* Скрываем бургер и мобильное меню на десктопе */
.burger-btn {
    display: none;
}

.mobile-menu {
    display: none;
}
/* ============================================= */
/* АДАПТИВНАЯ ВЕРСТКА                              */
/* ============================================= */

/* Большие десктопы (1400px+) */
@media screen and (min-width: 1400px) {
    .all_size {
        max-width: 1400px;
    }
}

/* Стандартные десктопы (1024px - 1250px) */
@media screen and (max-width: 1300px) {
    .head_block_size,
    .container,
    #service,
    .footer_main,
    .service-container {
        width: 95%;

    }

    nav .nav-inner {
        width: 95%;
    }

    nav .nav-bg {
        width: 95%;
    }

    .banner_text {
        width: 90%;
        font-size: 42px;
        line-height: 70px;
    }

    span {
        font-size: 54px;
    }

    .service_block {
        gap: 20px;
    }

    .repair_block {
        width: 32%;
        height: auto;
    }

    .text {
        width: auto;
        height: auto;
        min-height: 143px;
    }

    .all_size {
        width: 95%;
    }
}


@media screen and (max-width: 1174px) {
	.nav_button{
		font-size: 16px;
	}
	.nav_button_form {
		padding: 8px 15px;
	}
}
/* Планшеты (768px - 1024px) */
@media screen and (max-width: 1024px) {
	

	nav {
		position: absolute;
	}
	
	.logo_img {
		display:none;
	}
    /* Шапка */
    .head_block_size {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    .time_block {
        flex-wrap: wrap;
        justify-content: center;
    }

    .liner {
        margin: 0 20px;
    }
    /* Показываем логотип */
    .burger_logo {
        display: block;
        height: 60px;
        z-index: 1;
    }

    /* Прячем десктопное меню */
    nav .nav-inner > .nav_button,
    nav .nav-inner > .nav_button_form {
        display: none;
    }

    /* Показываем кнопку-бургер */
    .burger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        gap: 7px;
        padding: 0;
    }

    .burger-btn span {
        display: block;
        width: 32px;
        height: 3px;
        background-color: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Анимация в крестик */
    .burger-btn.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    .burger-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .burger-btn.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Мобильное меню */
	.mobile-menu {
		display: none;
		position: fixed;
		top: 0; /* Меняем с 80px на 0 — теперь на весь экран */
		left: 0;
		width: 100%;
		height: 100vh; /* На всю высоту */
		background-color: #fff;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		padding-top: 120px; /* Отступ сверху, чтобы пункты не залезали под nav */
		gap: 15px;
		z-index: 1000; /* Поверх nav */
		overflow-y: auto;
		box-shadow: none;
	}
	
	.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Чуть ниже меню, но выше всего остального */
}

	.mobile-overlay.active {
		display: block;
	}
	.mobile-menu.active {
		display: flex;
	}

    .mobile-menu .nav_button,
    .mobile-menu .nav_button_form {
        display: block;
        width: 80%;
        max-width: 400px;
        text-align: center;
        padding: 16px 20px;
        font-size: 20px;
        border: none;
        border-radius: 12px;
        background: #f7f7f7;
        color: #333;
    }

    .mobile-menu .nav_button_form {
        background: #d74315;
        color: #fff;
        margin-top: 15px;
    }

    .mobile-menu .nav_button::after {
        display: none;
    }
	

    /* Баннер */
	
    #Banner {
        margin-top: 0;
        height: 600px;
    }

    .banner_text {
        font-size: 32px;
        line-height: 50px;
        margin-bottom: 40px;
    }

    span {
        font-size: 40px;
        line-height: 40px;
    }

    .banner_button {
        font-size: 16px;
        padding: 12px 25px;
        margin-top: 40px;
        margin-bottom: 60px;
    }

    /* Услуги */
    #service {
        padding-top: 60px;
    }

    .title {
        font-size: 36px;
        text-align: center;
    }

    .title-underline {
        margin: 20px auto 0;
    }

    .section-title {
        font-size: 30px;
        text-align: center;
    }

    .service_block {
        flex-wrap: wrap;
        justify-content: center;
    }

    .repair_block {
        width: 45%;
        margin-top: 30px;
    }

    /* Преимущества */
    .all_size {
        height: auto;
        padding: 40px 0;
        flex-wrap: wrap;
        gap: 30px;
    }

    .advantages-blocks {
        width: 45%;
    }

    /* Диагностика */
    .diagnostics-section,
    .about-section,
    .contacts-section {
        padding: 60px 0;
    }

    .diagnostics-grid,
    .about-grid,
    .contacts-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-wrapper {
        max-height: 400px;
    }

    .about-image {
        display: none;
    }
	.reasons-card {
		
	}
	.stages-card {
		
	}
    .contacts-map {
        flex: none;
    }

    .map-container {
        margin-top: 0;
        height: 350px;
    }

    .map-container iframe {
        height: 350px;
    }

    /* Футер */
    .footer_block1 {
        flex-wrap: wrap;
        gap: 30px;
        padding-top: 60px;
    }

    .footer_colom_1 {
        width: 100%;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
        display: block;
    }

    .footer_liner {
        display: none;
    }

    .footer_colom_2 {
        width: 45%;
        text-align: center;
    }

    .footer_colom_3 {
        width: 45%;
    }

    footer .block1 {
        width: 100%;
    }

    .footer_align {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        justify-content: center;
    }

    /* Страница ремонта */
    .service-intro {
        flex-direction: column;
        gap: 40px;
    }

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

    .cta-form {
        flex-direction: column;
        align-items: center;
    }

    .cta-form input {
        width: 100%;
        max-width: 300px;
    }
}

/* Мобильные (480px - 768px) */
@media screen and (max-width: 768px) {

	.liner {
        margin: 0 10px;
    }


    /* Навигация */
    .nav_button {
        font-size: 14px;
    }

    .none_block {
        width: 200px;
        left: 0;
        transform: none;
    }

    .podmenu {
        width: 200px;
    }

    .podmenu a {
        font-size: 14px;
        padding: 12px 15px;
    }

    /* Баннер */
    #Banner {
        height: 500px;
    }

    .banner_text {
        font-size: 26px;
        line-height: 40px;
    }

    span {
        font-size: 32px;
        line-height: 32px;
    }

    .banner_button {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* Услуги */
    .title,
    .section-title {
        font-size: 28px;
    }

    .repair_block {
        width: 90%;
        max-width: 400px;
    }

    /* Преимущества */
	.all_size {
		display: flex;
	}
    .advantages1 {
        font-size: 36px;
    }

    .advantages2 {
        font-size: 14px;
    }

    /* Диагностика */
    .reasons-card,
    .stages-card {
        padding: 20px;
    }

    .card-title,
    .stages-title {
        font-size: 20px;
    }

    /* О компании */
    .features-grid {
        flex-direction: column;
        gap: 15px;
    }

    .advantages-banner {
        flex-direction: column;
        gap: 15px;
    }

    /* Контакты */
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .contact-phone {
        font-size: 24px;
    }

    .contact-email {
        font-size: 20px;
    }

    .contact-schedule {
        font-size: 18px;
    }

    .contact-button {
        text-align: center;
    }

    /* Футер */
    .footer_colom_2,
    .footer_colom_3 {
        width: 100%;
        text-align: center;
    }

    .footer_colom_3 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer_text3 {
        font-size: 16px;
        line-height: 35px;
    }

    .footer_text4,
    .footer_text5 {
        font-size: 12px;
    }

    /* Модальное окно */
    .modal-container {
        padding: 25px;
        width: 95%;
    }

    .modal-title {
        font-size: 24px;
    }

    /* Страница ремонта */
    .works-grid {
        grid-template-columns: 1fr;
    }

    .service-intro-text h2 {
        font-size: 28px;
    }

    .service-cta {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 666px) {
	#head_block {
		display: none;
	}
}

/* Маленькие мобильные (320px - 480px) */
@media screen and (max-width: 480px) {
    /* Шапка */
    .logo_img {
        height: 60px;
    }

    .contact_block p {
        font-size: 14px !important;
    }

    .contact_block a {
        font-size: 13px !important;
    }

    /* Навигация */
    nav .nav-inner {
        gap: 5px;
    }

    .nav_button {
        font-size: 12px;
        padding: 6px 8px;
    }

    .nav_button_form {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Баннер */
    #Banner {
        height: 400px;
    }

    .banner_text {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    span {
        font-size: 26px;
        line-height: 28px;
    }

    .banner_button {
        font-size: 12px;
        padding: 8px 16px;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    /* Заголовки */
    .title,
    .section-title {
        font-size: 24px;
    }

    .title-underline {
        width: 40px;
        height: 6px;
    }

    /* Услуги */
    .repair_title {
        font-size: 16px;
        height: 65px;
    }

    .text {
        font-size: 14px;
        line-height: 18px;
    }

    /* Преимущества */
    .advantages1 {
        font-size: 30px;
    }

    .advantages2 {
        font-size: 13px;
    }

    /* Диагностика */
    .diagnostics-section,
    .about-section,
    .contacts-section {
        padding: 40px 0;
    }

    .text-content {
        font-size: 15px;
        line-height: 24px;
    }

    .reason-item {
        font-size: 14px;
    }

    /* Контакты */
    .contact-phone {
        font-size: 22px;
    }

    .contact-email {
        font-size: 18px;
    }

    .contact-schedule {
        font-size: 16px;
    }

    .map-container,
    .map-container iframe {
        height: 250px;
    }

    /* Футер */
    .footer_block1 {
        padding-top: 40px;
    }

    .footer_text1 {
        font-size: 14px;
        line-height: 22px;
    }

    .footer_text2 {
        font-size: 14px;
    }

    .footer_text3 {
        font-size: 14px;
        line-height: 30px;
    }

    footer .head_h1 {
        font-size: 14px;
    }

    .footer_block2 {
        margin-top: 30px;
    }

    .footer_opacity {
        height: 50px;
    }

    .footer_align {
        height: 50px;
        padding: 0 10px;
    }

    .footer_text4,
    .footer_text5 {
        font-size: 10px;
    }

    /* Модальное окно */
    .modal-container {
        padding: 20px;
        border-radius: 15px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-subtitle {
        font-size: 14px;
    }

    .contact-form input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 12px;
    }

    /* Страница ремонта */
    .service-intro-text h2 {
        font-size: 24px;
    }

    .service-intro-text p {
        font-size: 15px;
        line-height: 24px;
    }

    .work-item h3 {
        font-size: 16px;
    }

    .service-cta h2 {
        font-size: 22px;
    }

    .service-cta p {
        font-size: 14px;
    }
}
@media screen and (max-width: 400px) {
	.all_size {
		flex-direction: column;
        align-content: center;
	}
	.footer_align {
        height: 50px;
        padding: 0;
    }
}
/* Очень маленькие экраны (до 360px) */
@media screen and (max-width: 360px) {
    .banner_text {
        font-size: 18px;
        line-height: 28px;
    }

    span {
        font-size: 22px;
        line-height: 24px;
    }

    .nav_button {
        font-size: 11px;
    }
}