/*Theme Name: Advanced Tint
Theme URI:
Author: Mikhail Epikhin
Author URI:
Description: Original theme
Version: 1.0*/

@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-Regular.eot');
	src: local('☺'), url('fonts/PlusJakartaSans-Regular.woff') format('woff'), url('fonts/PlusJakartaSans-Regular.ttf') format('truetype'), url('fonts/PlusJakartaSans-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-Italic.eot');
	src: local('☺'), url('fonts/PlusJakartaSans-Italic.woff') format('woff'), url('fonts/PlusJakartaSans-Italic.ttf') format('truetype'), url('fonts/PlusJakartaSans-Italic.svg') format('svg');
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-Bold.eot');
	src: local('☺'), url('fonts/PlusJakartaSans-Bold.woff') format('woff'), url('fonts/PlusJakartaSans-Bold.ttf') format('truetype'), url('fonts/PlusJakartaSans-Bold.svg') format('svg');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-BoldItalic.eot');
	src: local('☺'), url('fonts/PlusJakartaSans-BoldItalic.woff') format('woff'), url('fonts/PlusJakartaSans-BoldItalic.ttf') format('truetype'), url('fonts/PlusJakartaSans-BoldItalic.svg') format('svg');
	font-weight: bold;
	font-style: italic;
}
@font-face {
	font-family: 'Anton';
	src: url('fonts/Anton-Regular.eot');
	src: local('☺'), url('fonts/Anton-Regular.woff') format('woff'), url('fonts/Anton-Regular.ttf') format('truetype'), url('fonts/Anton-Regular.svg') format('svg');
	font-weight: bold;
	font-style: normal;
}

html{height: 100%;}
body{margin: 0 auto; height: 100%; white-space: normal; font-family: 'Plus Jakarta Sans', sans-serif; color: #FAFAFA; background: #0A0A0B; line-height: 1.1; font-size: 16px; font-weight: normal;}
body.no-scroll{overflow: hidden;}

a,input{color: #FAFAFA; text-decoration: none;}
a, input, label, label::before, select, textarea, a *, button, .button, .header-scroll, .main-menu > .menu-item-has-children > a::after, .main-menu > li > .sub-menu, .popup-container, .popup, .services-grid-item .bg::after, .service-card .desc, .faq-list-item .question::after, .faq-list-item .answer{
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

*{position: relative; margin: 0px; padding: 0px; list-style: none; vertical-align: top; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; appearance: none !important; background: none; -moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; border: 0; font-family: inherit; font-weight: inherit; line-height: inherit;}

b, strong, b *, strong *{font-weight: bold;}
p, p *{line-height: 1.4;}

.wrapper{margin: 0 auto; max-width: 1360px; padding: 0px 45px;}
.phone{white-space: nowrap;}

.photo picture{position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; overflow: hidden;}
.photo picture img{display: block; width: 100%; height: 100%; object-fit: cover;}

.video-bg{overflow: hidden;}
.video-bg video{display: flex; height: 100%; width: 100%; object-fit: cover; border: none;}

@media only screen and (max-width: 1080px) {
::-webkit-scrollbar{width: 0px; height: 0px; background: transparent;}
.wrapper{padding-left: 30px; padding-right: 30px;}
}

@media only screen and (max-width: 767px) {
.wrapper{padding-left: 15px; padding-right: 15px;}
}

/* Кнопки */

.button{display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 0px 30px; height: 52px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: bold; border-radius: 18px; white-space: nowrap; cursor: pointer;}

.btn-primary{color: #FAFAFA; background: #C03A22;}
.btn-primary:hover{background: #9A2E1B;}

.btn-secondary{color: #FAFAFA; background: rgba(250, 250, 250, 0.05); border: 1px solid rgba(250, 250, 250, 0.1);}
.btn-secondary:hover{border-color: rgba(250, 250, 250, 0.2);}

.btn-sm{padding: 0px 20px; height: 40px; border-radius: 12px;}

.btn-arrow::after{content: ""; flex-shrink: 0; display: block; width: 11px; height: 11px; background: url('images/icons/arrow-right-white.svg') center center no-repeat; background-size: contain;}

.buttons{display: flex; gap: 10px;}

/* Сетка формы */

.form-layout{display: flex; flex-wrap: wrap; gap: 15px 20px;}
.f-100{width: 100%;}
.f-50{width: calc(50% - 10px);}
.f-label{position: absolute; top: -5px; left: 10px; display: block; padding: 0px 5px; color: rgba(250, 250, 250, 0.5); font-size: 10px; background: #131316; opacity: 0; z-index: 1; pointer-events: none;}
.f-input:has(input:focus) .f-label, .f-input:has(input:not(:placeholder-shown)) .f-label{opacity: 1;}
.f-submit{margin-top: 5px; width: 100%;}
.f-submit .button{width: 100%;}
.f-agree{width: 100%;}
.f-submit + .f-agree{margin-top: 5px;}
.f-agree + .f-agree{margin-top: -10px;}
.form-agree{text-align: center; color: rgba(250, 250, 250, 0.5); font-size: 12px;}
.form-agree a:hover{color: #C03A22;}

@media only screen and (max-width: 767px) {
.f-50{width: 100%;}
}

/* Поля форм */

.form-field{display: block; width: 100%; padding: 15px; color: #FAFAFA; font-size: 16px; background: transparent; border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 6px; overflow-x: hidden;}
.form-field:hover{border-color: rgba(250, 250, 250, 0.2);}
.form-field:focus{border-color: #C03A22; box-shadow: 0px 0px 0px 1px #C03A22;}

input::-webkit-input-placeholder{color: rgba(250, 250, 250, 0.5);}
input:-moz-placeholder{color: rgba(250, 250, 250, 0.5);}
textarea::-webkit-input-placeholder{color: rgba(250, 250, 250, 0.5);}
textarea:-moz-placeholder{color: rgba(250, 250, 250, 0.5);}
button{background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit;}

:active, :hover, :focus{outline: 0; outline-offset: 0;}
textarea{resize: none; overflow: auto; min-height: 120px}

.f-radio, .f-checkbox{display: flex; flex-direction: column; gap: 10px;}
.f-label + .f-radio, .f-label + .f-checkbox{margin-top: 15px;}
.wpcf7-list-item, .f-group-item{margin: 0px !important;}
.wpcf7-list-item input, .f-group-item input{display: none;}
.wpcf7-list-item-label, .f-group-item-label{display: flex; align-items: flex-start; gap: 10px; cursor: pointer;}
.wpcf7-list-item-label::before, .f-group-item-label::before{content: ""; flex-shrink: 0; display: block; width: 20px; height: 20px; border: 1px solid rgba(10, 10, 10, 0.1); box-sizing: border-box;}
.wpcf7-list-item-label:hover::before, .f-group-item-label:hover::before{border-color: rgba(10, 10, 10, 0.2);}
:checked + .wpcf7-list-item-label::before, :checked + .f-group-item-label::before{border-color: #C03A22;}

.wpcf7-radio .wpcf7-list-item-label::before, .f-radio .f-group-item-label::before{border-radius: 50%;}
.wpcf7-radio :checked + .wpcf7-list-item-label::before, .f-radio :checked + .f-group-item-label::before{border-width: 6px;}

.wpcf7-checkbox .wpcf7-list-item-label::before, .wpcf7-acceptance .wpcf7-list-item-label::before, .f-checkbox .f-group-item-label::before{background: url('images/icons/tick-white.svg') center center no-repeat; background-size: 10px 10px; border-radius: 6px;}
.wpcf7-checkbox :checked + .wpcf7-list-item-label::before, .wpcf7-acceptance :checked + .wpcf7-list-item-label::before, .f-checkbox :checked + .f-group-item-label::before{background-color: #C03A22;}

/* Contact form 7 */

.wpcf7-form-control-wrap{display: block;}
.wpcf7-spinner{position: absolute !important; top: 50%; right: 50%; transform: translate(50%, -50%); margin: 0px !important;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form .wpcf7-response-output{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: flex; justify-content: center; align-items: center; margin: 0px !important; padding: 45px !important; text-align: center; color: #FAFAFA; line-height: 1.4; background: #0A0A0B; border: 0 !important; border-radius: 6px; opacity: 0; visibility: hidden; animation: 3s alert-show ease; z-index: 1;}

.wpcf7-not-valid-tip{position: absolute !important; top: 3px; right: 3px; max-width: 100%; padding: 3px 5px; color: #FFFFFF !important; font-size: 12px !important; white-space: nowrap; background: #C03A22; border-radius: 6px; box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1); z-index: 1; pointer-events: none;}

@keyframes alert-show {
  0% {opacity: 0; visibility: hidden;}
  15% {opacity: 1; visibility: visible;}
  85% {opacity: 1; visibility: visible;}
  100% {opacity: 0; visibility: hidden;}
}

/* Попапы */

.popup-container{position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; z-index: 99;}
.popup-visible{opacity: 1; visibility: visible;}
.popup-container > .popup-overlay{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; background: rgba(10, 10, 11, 0.7); cursor: pointer;}
.popup{padding: 65px 30px 30px; width: 450px; max-height: 100vh; background: #0A0A0B; border-radius: 24px; box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.5); overflow-y: scroll; scrollbar-width: none;}
.popup-visible .popup{}
.popup::-webkit-scrollbar{width: 0px; height: 0px; background: transparent;}
.popup > .popup-close{position: absolute; top: 15px; right: 15px; display: block; width: 40px; height: 40px; background: url('images/icons/close.svg') center center no-repeat rgba(250, 250, 250, 0.05); background-size: 16px 16px; border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 12px; z-index: 1;}
.popup > .popup-close:hover{border-color: rgba(250, 250, 250, 0.2);}

@media only screen and (max-width: 767px) {

}

/* Форматирование текста */

.story{}
.story > :first-child{margin-top: 0px;}
.story > :last-child{margin-bottom: 0px;}
.story *{font-size: 16px;}
.story p{margin: 15px 0px;}
.story h1{line-height: 1; font-family: 'Anton', sans-serif; font-size: 80px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.01em;}
.story h2{margin-top: 40px; margin-bottom: 25px; line-height: 1; font-family: 'Anton', sans-serif; font-size: 48px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.01em;}
.story h3{margin-top: 30px; font-size: 24px; font-weight: bold;}
.story h1 *, .story h2 *, .story h3 *{font-weight: bold;}
.story ul, .story ol{margin: 30px 0px; counter-reset: myCounter;}
.story li{margin: 12px 0px; padding-left: 30px; line-height: 1.4;}
.story li *{line-height: 1.4;}
.story li::before{position: absolute; left: 0px; top: 0px; display: block; color: #C03A22; line-height: 1.4;}
.story ul li::before{content: "—";}
.story ol li::before{counter-increment: myCounter; content: counter(myCounter) ".";}
.story img{border-radius: 24px;}
.story .wp-caption{margin: 30px 0px;}
.story .wp-caption img{margin: 0px;}
.story .wp-caption-text{margin: 15px 0px 0px; text-align: center; color: rgba(250, 250, 250, 0.5); font-size: 14px;}
.story blockquote{margin: 30px;}
.story blockquote *{line-height: 1.3; font-size: 20px;}
.story a{color: #C03A22; border-bottom: 1px solid rgba(250, 250, 250, 0.1);}
.story a:hover{color: #9A2E1B; border-color: #9A2E1B;}

@media only screen and (max-width: 767px) {
.story h1{font-size: 48px;}
.story h2{font-size: 36px;}
.story h3{font-size: 20px;}
}

/* Шапка */

.header{position: absolute; top: -110px; left: 0px; right: 0px; z-index: 90;}
.header .wrapper{margin-top: 110px; padding-top: 15px; padding-bottom: 15px;}
.header:not(.header-scroll) .wrapper{max-width: unset;}
.header-panel{display: flex; justify-content: space-between; align-items: center; gap: 20px; background: rgba(250, 250, 250, 0);}
.header-panel .left, .header-panel .right{display: flex; align-items: center; gap: 20px;}

.advanced-tint-logo{flex-shrink: 0; display: inline-block; width: 80px; height: 80px; background: url('images/advanced-tint-logo.webp') center center no-repeat; background-size: contain;}

.header-menu{}

.main-menu{display: flex; align-items: center; gap: 10px; z-index: 1;}
.main-menu a{display: inline-flex; align-items: center; gap: 6px; padding: 10px; line-height: 1; font-size: 18px; font-weight: bold; white-space: nowrap; border-radius: 500px;}
.main-menu li:hover > a{color: #C03A22;}

.services-menu{display: flex; align-items: center; gap: 10px; z-index: 1;}
.services-menu a{display: inline-flex; align-items: center; gap: 6px; padding: 10px; line-height: 1; font-size: 20px; font-weight: bold; white-space: nowrap; border-radius: 500px;}
.services-menu li:hover > a{color: #C03A22;}

.main-menu > li.current-menu-item > a, .main-menu > li.current-menu-parent > a, .main-menu > li.current-menu-ancestor > a,
.services-menu > li.current-menu-item > a, .services-menu > li.current-menu-parent > a, .services-menu > li.current-menu-ancestor > a{color: #FAFAFA; padding: 9px; border: 1px solid rgba(250, 250, 250, 0.1); background: #131316;}

.header .phone{font-weight: bold;}

.btn-menu{display: none; width: 40px; height: 40px; background: url('images/icons/menu.svg') center center no-repeat #C03A22; background-size: 20px 20px; border-radius: 12px;}

.header-scroll{position: fixed; top: 0px !important;}
.header-scroll .wrapper{margin-top: 0px !important; padding-top: 10px; padding-bottom: 10px;}
.header-scroll .header-panel{padding-right: 20px; color: #0A0A0B; background: rgba(250, 250, 250, 1); border-radius: 36px;}
.header-scroll .main-menu > li:not(:hover) > a{color: #0A0A0B;}
.header-scroll .services-menu > li:not(:hover) > a{color: #0A0A0B;}
.header-scroll .main-menu > .menu-item-has-children:not(:hover) > a::after{background-image: url('images/icons/arrow-down-black.svg');}
.header-scroll .phone{color: #0A0A0B;}

.header-scroll .main-menu > li.current-menu-item > a, .header-scroll .main-menu > li.current-menu-parent > a, .header-scroll .main-menu > li.current-menu-ancestor > a,
.header-scroll .services-menu > li.current-menu-item > a, .header-scroll .services-menu > li.current-menu-parent > a, .header-scroll .services-menu > li.current-menu-ancestor > a{color: #0A0A0B; padding: 9px; border-color: rgba(10, 10, 11, 0.1); background: rgba(10, 10, 11, 0.05);}

@media only screen and (max-width: 1350px) {
.main-menu a{font-size: 16px;}
.services-menu a{font-size: 18px;}
.header-panel .right{flex-direction: column; gap: 10px 20px;}
}

@media only screen and (max-width: 1150px) {
.main-menu{gap: 5px;}
.main-menu a{font-size: 14px;}
.services-menu{gap: 5px;}
.services-menu a{font-size: 16px;}
}

@media only screen and (max-width: 1080px) {
.header-menu{display: none;}
.header-panel .right{flex-direction: row;}
.btn-menu{display: block;}
}

@media only screen and (max-width: 767px) {
.header{top: -90px;}
.header .wrapper{margin-top: 90px;}
.advanced-tint-logo{width: 60px; height: 60px;}
.header-scroll .header-panel{padding-right: 15px;}
}

@media only screen and (max-width: 480px) {
.header .phone{display: none;}
.header .right{gap: 10px;}
}

/* Мобильное меню */

#popup-menu{justify-content: flex-end; align-items: stretch;}
.popup-menu{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 30px; padding: 70px 15px 30px; width: 350px; border-radius: 24px 0px 0px 24px;}

.mobile-menu li{border-bottom: 1px solid rgba(250, 250, 250, 0.1);}
.mobile-menu a{display: block; padding: 15px 0px; font-size: 20px; font-weight: bold;}

.popup-menu .below{display: flex; flex-direction: column; align-items: stretch; gap: 20px;}
.popup-menu .phone{display: block; text-align: center; font-size: 18px; font-weight: bold;}

/* Надзаголовки */

.eyebrow{display: block; margin-bottom: 15px; color: #C03A22; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;}

/* Заголовок блока */

.block-header{margin-bottom: 30px; max-width: 800px;}
.block-header .headline{display: block; line-height: 1; font-family: 'Anton', sans-serif; font-size: 80px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.01em;}

.block-header + .story{margin-top: -10px;}

@media only screen and (max-width: 767px) {
.block-header .headline{font-size: 48px;}
}

/* Главная. Первый экран */

.hero{border-radius: 0px 0px 90px 90px; overflow: hidden;}
.hero .wrapper{display: flex; align-items: flex-end; padding-top: 216px; padding-bottom: 60px; min-height: calc(100vh - 30px);}
.hero .video-bg{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}

.hero .content{max-width: 800px;}
.hero .block-header .headline{font-size: 120px;}
.hero .block-header + .story{margin-top: -5px; max-width: 500px;}
.hero .buttons{margin-top: 30px;}

@media only screen and (max-width: 767px) {
.hero{border-radius: 0px 0px 60px 60px;}
.hero .wrapper{padding-top: 120px; padding-bottom: 30px;}
.hero .block-header .headline{font-size: 60px;}
.hero .block-header + .story{margin-top: -10px;}
.hero .buttons{flex-direction: column; align-items: stretch;}
}

/* Главная. Услуги */

.services .wrapper{display: flex; align-items: stretch; gap: 30px; padding-top: 90px;}
.services-intro{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; padding: 20px; width: calc(33.33% - 15px); border-radius: 24px; overflow: hidden;}
.services-intro .bg{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.services-intro .bg::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: block; background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5));}

.services-grid{display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: calc(66.66% - 15px);}
.services-grid-item{padding-bottom: 80%; border-radius: 24px; overflow: hidden;}
.services-grid-item .bg{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.services-grid-item .bg::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: block; background: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5)); opacity: 0;}
.services-grid-item:hover .bg::after{opacity: 1;}

.service-card{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 20px;}
.service-card .above{width: 100%;}
.service-card .title{display: block;  max-width: 62%; font-size: 24px; font-weight: bold;}
.service-card .desc{margin-top: 10px; max-width: 62%; color: rgba(250, 250, 250, 0.5); font-size: 14px; opacity: 0; transform: translate(0px, 30px);}
.services-grid-item:hover .service-card .desc{opacity: 1; transform: none;}
.service-card .button{flex-shrink: 0;}

@media only screen and (max-width: 1350px) {
.services .wrapper{flex-direction: column;}
.services-intro, .services-grid{width: 100%;}
}

@media only screen and (max-width: 1080px) {
.service-card .desc{display: none;}
}

@media only screen and (max-width: 767px) {
.services .wrapper{gap: 15px; padding-top: 60px;}
.services-grid{gap: 15px;}

.services-grid-item .bg::after{opacity: 0.5 !important;}
.service-card{align-items: stretch; padding: 20px 15px;}
.service-card .title{max-width: unset; font-size: 20px;}
}

@media only screen and (max-width: 560px) {
.services-grid{grid-template-columns: repeat(1, 1fr);}
.services-grid-item{padding-bottom: 56%;}
}

/* Главная. Преимущества */

.why-us .wrapper{padding-top: 90px;}
.why-us .block-header{max-width: 600px;}

.advantages-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;}
.advantages-grid-item{padding: 20px; color: #0A0A0B; background: #FAFAFA; border-radius: 24px;}
.advantages-grid-item .title{display: block; font-size: 24px; font-weight: bold;}
.advantages-grid-item .desc{margin-top: 10px; color: rgba(10, 10, 11, 0.5);}

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

@media only screen and (max-width: 1080px) {
.advantages-grid{grid-template-columns: repeat(2, 1fr);}
}

@media only screen and (max-width: 767px) {
.why-us .wrapper{padding-top: 60px;}
.advantages-grid-item{padding: 20px 15px;}
.advantages-grid-item .title{font-size: 20px;}
.advantages-grid-item .desc{margin-top: 5px; font-size: 14px;}
}

@media only screen and (max-width: 560px) {
.advantages-grid{grid-template-columns: repeat(1, 1fr);}
}

/* Главная. Отзывы */

.reviews .wrapper{padding-top: 90px;}

.average-rating{}
.average-rating-block{display: flex; align-items: center; gap: 10px;}
.average-rating-block .title{font-weight: bold;}
.average-rating .caption{display: block; margin-top: 5px; color: rgba(250, 250, 250, 0.5); font-size: 14px;}

.reviews-placeholder-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px;}
.reviews-placeholder-grid-item{padding-bottom: 62%; border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 24px;}

.ti-widget.ti-goog .ti-header{text-align: left !important;}
.ti-large-logo{display: none !important;}

.reviews .buttons{margin-top: 45px;}

.rating{display: block; width: 150px; height: 30px; background: #131316;}
.rating::before, .rating .value{content: ""; position: absolute; top: 0px; left: 0px; bottom: 0px; display: block; background: #C03A22;}
.rating::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: block; background: url('images/icons/rating.svg') left center repeat-x; background-size: 30px 30px;}

.rating-5::before{width: 100%;}
.rating-4::before{width: 80%;}
.rating-3::before{width: 60%;}
.rating-2::before{width: 40%;}
.rating-1::before{width: 20%;}
.rating-0::before{width: 0%;}

@media only screen and (max-width: 767px) {
.reviews .wrapper{padding-top: 60px;}
.reviews .buttons{flex-direction: column; align-items: stretch; margin-top: 40px;}
}

/* CTA-блок */

.cta .wrapper{padding-top: 90px;}
.cta-block{display: flex; flex-direction: column; align-items: center; padding: 60px 45px; text-align: center; background: #131316; border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 24px; overflow: hidden;}
.cta-block .bg{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.cta-block .bg::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: block; background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));}
.cta-block .story{max-width: 600px;}
.cta-block .buttons{margin-top: 30px;}

@media only screen and (max-width: 1080px) {

}

@media only screen and (max-width: 767px) {
.cta .wrapper{padding-top: 60px;}

.cta-block{padding: 45px 15px 30px;}
.cta-block .buttons{flex-direction: column; align-items: stretch; width: 100%;}
}

/* FAQ */

.faq .wrapper{padding-top: 90px;}

.faq-input{display: none;}
.faq-list-item:not(:last-child){border-bottom: 1px solid rgba(250, 250, 250, 0.1);}
.faq-list-item .question{display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 0px; font-size: 24px; font-weight: bold; cursor: pointer;}
.faq-list-item .question:hover{color: #C03A22;}
.faq-list-item .question::after{content: ""; flex-shrink: 0; display: block; width: 24px; height: 24px; background: url('images/icons/arrow-right-white.svg') center center no-repeat; background-size: 11px 11px; border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 50%;}
.faq-list-item .question:hover::after{background-image: url('images/icons/arrow-right-red.svg');}

.faq-list-item .answer{padding: 0px; max-width: 800px; height: 0px; overflow: hidden;}

.faq-list-item :checked + .question::after{-webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg);}
.faq-list-item :checked ~ .answer{padding-bottom: 30px; height: unset;}

@media only screen and (max-width: 1080px) {

}

@media only screen and (max-width: 767px) {
.faq .wrapper{padding-top: 60px;}

.faq-list-item .question{padding: 20px 0px; font-size: 20px;}
.faq-list-item .question::after{width: 20px; height: 20px;}
}

/* Страница услуги */

.service-hero .wrapper{padding-top: 155px;}
.service-hero-block{display: flex; align-items: stretch; gap: 45px;}
.service-hero-block .content{width: calc(50% - 22.5px);}

.service-hero-block .photo{width: calc(50% - 22.5px); height: 100%; min-height: 480px; background: #131316; border-radius: 24px; overflow: hidden;}
.service-hero-block .buttons{margin-top: 30px;}

.service-page .wrapper{padding-top: 90px;}
.service-page .content{max-width: 800px;}

@media only screen and (max-width: 1080px) {
.service-hero-block{flex-direction: column; gap: 30px;}
.service-hero-block .content, .service-hero-block .photo{width: 100%;}
}

@media only screen and (max-width: 767px) {
.service-hero .wrapper{padding-top: 120px;}
.service-hero-block .photo{padding-bottom: 115%; min-height: unset;}
.service-hero-block .buttons{flex-direction: column; align-items: stretch;}

.service-page .wrapper{padding-top: 60px;}
}

/* Страница "Галерея" */

.gallery-hero .wrapper{padding-top: 155px;}
.gallery-hero .content{max-width: 800px;}

.gallery-content .wrapper{padding-top: 60px;}

.gallery-content .gallery{display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
.gallery-content .gallery br{display: none;}
.gallery-content .gallery .gallery-item{margin-top: 0px !important; width: unset !important; float: none !important;}
.gallery-content .gallery .gallery-item .gallery-icon{padding-bottom: 70%; height: 100%;}
.gallery-content .gallery .gallery-item .gallery-icon a{position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; display: block; border-radius: 20px; overflow: hidden;}
.gallery-content .gallery .gallery-item .gallery-icon a img{display: block; width: 100% !important; height: 100% !important; border: 0px !important; object-fit: cover;}
.gallery-content .gallery .gallery-item .gallery-caption{display: none;}

@media only screen and (max-width: 767px) {
.gallery-hero .wrapper{padding-top: 120px;}
.gallery-content .wrapper{padding-top: 45px;}
.gallery-content .gallery{gap: 10px;}
}

@media only screen and (max-width: 560px) {
.gallery-content .gallery{grid-template-columns: repeat(2, 1fr);}
}

/* Страница "О нас" */

.about-hero .wrapper{display: flex; align-items: stretch; gap: 30px; padding-top: 155px;}
.about-hero .image{width: calc(62% - 15px); border-radius: 24px; overflow: hidden;}
.about-intro{display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; padding: 20px; width: calc(38% - 15px); min-width: 450px; border-radius: 24px; overflow: hidden;}
.about-intro .bg{position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;}
.about-intro .bg::after{content: ""; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; display: block; background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5));}

.about-page .wrapper{padding-top: 45px;}
.about-page .content{max-width: 800px;}

@media only screen and (max-width: 1080px) {
.about-hero .wrapper{flex-direction: column-reverse;}
.about-hero .image, .about-intro{width: 100%; min-width: unset;}
.about-hero .image{padding-bottom: 50%;}
}

@media only screen and (max-width: 767px) {
.about-hero .wrapper{flex-direction: column; gap: 15px; padding-top: 120px;}
.about-page .wrapper{padding-top: 30px;}
}

/* Страница "Контакты" */

.contact-hero .wrapper{padding-top: 155px;}
.contact-hero .content{max-width: 800px;}

.contact-page .wrapper{display: flex; gap: 30px; align-items: stretch; padding-top: 45px;}
.contact-info, .contact-form{padding: 30px; width: calc(50% - 15px); border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 24px; overflow: hidden;}
.contact-page .headline{display: block; margin-bottom: 20px; line-height: 1; font-family: 'Anton', sans-serif; font-size: 36px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.01em;}

.contact-info-list{display: flex; flex-direction: column; align-items: stretch;}
.contact-info-list-item{display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 30px; padding: 15px 0px; border-bottom: 1px solid rgba(250, 250, 250, 0.1);}
.contact-info-list-item .label{display: block; color: rgba(250, 250, 250, 0.5); font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;}
.contact-info-list-item .value{max-width: 50%; text-align: right;}
.contact-social{display: flex; gap: 10px; margin-top: 30px;}
.contact-social li{flex: 1;}
.contact-social a{display: block; padding: 10px 15px; text-align: center; font-weight: bold; background: rgba(250, 250, 250, 0.05); border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 12px;}
.contact-social a:hover{border-color: rgba(250, 250, 250, 0.2);}

.contact-form{background: #131316;}

.contact-map .wrapper{padding-top: 45px;}
.contact-map .info{display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; padding: 20px; border: 1px solid rgba(250, 250, 250, 0.1); border-radius: 24px; overflow: hidden;}
.contact-map .info::before{content: ""; flex-shrink: 0; display: block; width: 20px; height: 20px; background: url('images/icons/info.svg') center center no-repeat; background-size: contain;}
.contact-map .map{border-radius: 24px; overflow: hidden;}
.contact-map .map iframe{width: 100%;}

@media only screen and (max-width: 1080px) {
.contact-page .wrapper{flex-direction: column;}
.contact-info, .contact-form{width: 100%;}
}

@media only screen and (max-width: 767px) {
.contact-hero .wrapper{padding-top: 120px;}
.contact-page .wrapper{padding-top: 30px;}
.contact-info, .contact-form{padding: 30px 15px;}

.contact-page .headline{font-size: 24px;}
.contact-info-list-item{flex-direction: column;}
.contact-info-list-item .value{max-width: unset; text-align: left}

.contact-map .info{padding: 15px; font-size: 14px;}
}

@media only screen and (max-width: 560px) {
.contact-social{flex-direction: column; align-items: stretch;}
.contact-social li{flex: unset;}
}

/* Простая страница */

.simple-page .wrapper{padding-top: 155px;}
.simple-page .content{max-width: 800px;}

@media only screen and (max-width: 767px) {
.simple-page .wrapper{padding-top: 120px;}
}

/* Подвал */

.footer{margin-top: 90px; background: #131316; border-radius: 120px 120px 0px 0px;}
.footer .wrapper{padding-top: 60px; padding-bottom: 30px;}

.footer-columns{display: flex; gap: 45px;}
.footer-columns .col{flex: 1;}
.footer-columns .col .eyebrow{margin-bottom: 20px; color: rgba(250, 250, 250, 0.5);}

.footer .advanced-tint-logo{width: 96px; height: 96px;}
.footer .site-desc{margin-top: 15px; color: rgba(250, 250, 250, 0.5);}
.footer .site-desc *{font-size: 14px;}
.footer .since{display: block; margin-top: 15px; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;}

.footer-menu{display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}
.footer-menu a:hover{color: #C03A22;}

.footer-contact{display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

.footer-hours{display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px;}
.footer-hours-item{display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-size: 14px;}
.footer-hours-item:not(:last-child){padding-bottom: 10px; border-bottom: 1px dotted rgba(250, 250, 250, 0.1);}

.footer-social{display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}
.footer-social a:hover{color: #C03A22;}

.footer-bottom{display: flex; justify-content: space-between; align-items: flex-start; gap: 45px; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(250, 250, 250, 0.1);}
.footer .copyright{color: rgba(250, 250, 250, 0.5); font-size: 14px;}

.footer-links{display: flex; flex-wrap: wrap; gap: 10px 20px;}
.footer-links a{color: rgba(250, 250, 250, 0.5); font-size: 14px;}
.footer-links a:hover{color: #C03A22;}

@media only screen and (max-width: 1080px) {
.footer{border-radius: 60px 60px 0px 0px;}
.footer-columns{flex-wrap: wrap;}
.footer-columns .col:first-child{flex: unset; width: 100%;}
}

@media only screen and (max-width: 767px) {
.footer{margin-top: 75px;}
.footer .wrapper{padding-top: 45px; padding-bottom: 45px;}
.footer-bottom{flex-direction: column; margin-top: 45px; padding-top: 45px; gap: 20px;}
}