/* roboto-condensed-regular - latin */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/roboto-condensed-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-condensed-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-condensed-700 - latin */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/roboto-condensed-v19-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-condensed-v19-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}
h2 {
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  text-transform: uppercase;
  padding: 20px 0px 15px 0px;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0;
}

body {
  font-size: 16px;
  font-family: "Roboto Condensed", sans-serif;
  line-height: 1.35;
  font-weight: 400;
  font-style: normal;
}

button {
  cursor: pointer;
}

label {
  display: block;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  font-family: inherit;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + span {
  position: relative;
  padding-left: 26px;
  display: block;
}

input[type="checkbox"] + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="checkbox"]:checked + span::before {
  border-color: rgb(146, 146, 146);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

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

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

.icon {
  display: inline-block;
  height: 1em;
  vertical-align: -0.125em;
  width: 1em;
}

.btn,input.btn,button.btn,a.btn {
  color: #ffffff;
  background: #f50100;
  font-size: 20px;
  text-align: center;
  font-style: normal;
  font-weight: bold;
  text-transform: uppercase;
  padding: 5px 8px;
  display: inline-block;
  min-width: 130px;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid #f50100;
}

.btn:hover,
input.btn:hover,
button.btn:hover,
a.btn:hover {
  border-color: #f50100;
  background-color: transparent;
  color: #404040;
}

.btn-wrapper {
  text-align: center;
  padding: 23px 0px;
}

.btn span {
  font-size: 12px;
  display: block;
  line-height: 14px;
}

.main-menu{
  display: none;
}
.site-header {
  background-color: #ffffff;
  position: relative;
}

.site-header.scroll {
  box-shadow: 0px -5px 8px -7px rgba(34, 60, 80, 0.51) inset;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 19px 13px 19px;
}

.site-header__actions {
  display: none;
}

.site-header__logo {
  margin-right: auto;
}

.mobile-menu-btn {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center; /* центрируем содержимое кнопки */
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 1;
  position: relative;
  border: 0;
  background-color: transparent;
  padding: 0;
}
/* добавляем "гамбургер" */
.mobile-menu-btn > span,
.mobile-menu-btn > span::before,
.mobile-menu-btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #000000;
  border-radius: 1px;
  transition: all 250ms ease;
}
.mobile-menu-btn > span::before {
  content: "";
  top: -15px;
}
.mobile-menu-btn > span::after {
  content: "";
  top: 15px;
}

.mobile-menu-btn.open > span {
  background-color: transparent;
}

.mobile-menu-btn.open > span::before {
  top: 0;
  transform: rotate(-45deg);
}
.mobile-menu-btn.open > span::after {
  top: 0;
  transform: rotate(45deg);
}

.site-header__mobile-menu {
  position: absolute;
  background: #fff;
  left: 0;
  right: 0;
  display: none;

}

.site-header__mobile-menu.open {
  display: block;
}

.site-header__mobile-menu ul {
  padding: 19px;
  margin: 0;
  list-style: none;
}

.site-header__mobile-menu a {
  color: #404040;
  font-size: 18px;
  text-transform: uppercase;

}

.site-header__mobile-menu li{
  margin-bottom: 10px;
}


.site-header__bottom {
  display: flex;
  align-items: center;
  padding: 13px 19px 19px 19px;
}

.section-promo {
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #000000;
}

.section-promo h1 {
  font-size: 24px;
  max-width: 254px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  padding-top: 24px;
  padding-bottom: 28px;
  margin: 0 auto;
}

.section-promo h1 span {
  padding-top: 27px;
  display: block;
}

.section-service {
  text-align: center;
  margin-bottom: 30px;
}

.section-service h2 {
  text-transform: uppercase;
  margin-bottom: 0;
}

.section-faq {
  margin-bottom: 30px;
}

.section-faq ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-faq li {
  list-style-type: none;
}

.section-faq h3 {
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0px 15px 0px;
}

.section-faq button {
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  background-color: transparent;
  border: transparent;
  position: relative;
  display: block;
  width: 100%;
  padding-right: 40px;
  padding-top: 7px;
  padding-bottom: 7px;
  margin-bottom: 11px;
}
.section-faq__content[aria-hidden='true'] {
  display: none;
}

.section-faq .icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #000000;
  border-radius: 50%;
  font-size: 30px;
}

.section-fag__content-inner {
  padding: 14px;
}

.section-review {
  text-align: center;
  margin-bottom: 30px;
}

.section-about {
  text-align: center;
  margin-bottom: 30px;
}

.section-contact .btn {
  margin: 20px 0;
}

.splide__arrow--prev {
  left: 0;
}

.splide__arrow--next {
  right: 0;
}

.splide__slide {
  padding: 0 32px;
}

.section-review__item {
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.contact-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact-info strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.contact-info a {
  color: #fafafa;
}


.section-contact__col--accent {
  padding: 30px;
  background-color: #f50100;
  color: #fafafa;
  margin-bottom: 20px;
}

.section-contact__col--accent h2 {
  font-size: 30px;
  margin-bottom: 0;
}

.contact-info__img {
  max-width: 80px;
}



.site-footer {
  background-color: #201f1f;
  color: #f1f1f1;
  text-align: center;
  padding: 40px 0;
}

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

.site-footer-col {
  padding-bottom: 20px;
}

.site-footer-col h4 {
  font-size: 20px;
}

.site-footer-col p {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.site-footer-col li {
  list-style-type: none;
  margin-left: 0;
  margin-right: 0;
}

.site-footer-col a:link {
  color: #fafafa;
}

.site-footer-col a:visited {
  color: #fafafa;
}

.site-footer__social {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__social li {
  padding: 20px 5px;
}

.footer-bottom {
  background-color: #201f1f;
  color: #a5a3a3;
  text-align: center;
  padding-bottom: 10px;
  font-size: 14px;
}

.footer-bottom li {
  list-style-type: none;
  margin-left: 0;
  margin-right: 0;
}

.footer-bottom a:link {
  color: #a5a3a3;
}

/**
 * 1. Make the dialog container, and its child overlay spread across
 *    the entire window.
 */
 .dialog-container,
 .dialog-overlay {
   position: fixed; /* 1 */
   top: 0; /* 1 */
   right: 0; /* 1 */
   bottom: 0; /* 1 */
   left: 0; /* 1 */
 }
 
 /**
  * 1. Make sure the dialog container and all its descendants sits on
  *    top of the rest of the page.
  * 2. Make the dialog container a flex container to easily center the
  *    dialog.
  */
 .dialog-container {
   z-index: 2; /* 1 */
   display: flex; /* 2 */
   padding: 20px;
 }
 
.dialog-title {
   display: flex;
   align-items: center;
   justify-content: space-between; 
   padding-bottom: 16px;
 }

 .dialog-title h2 {
   margin: 0;
   text-transform: uppercase;
 }

 /**
  * 1. Make sure the dialog container and all its descendants are not
  *    visible and not focusable when it is hidden.
  */
 .dialog-container[aria-hidden='true'] {
   display: none; /* 1 */
 }
 
 /**
  * 1. Make the overlay look like an overlay.
  */
 .dialog-overlay {
   background-color: rgba(43, 46, 56, 0.9); /* 1 */
 }
 
 /**
  * 1. Vertically and horizontally center the dialog in the page.
  * 2. Make sure the dialog sits on top of the overlay.
  * 3. Make sure the dialog has an opaque background.
  */
 .dialog-content {
   margin: auto;
   z-index: 2;
   position: relative;
   padding: 16px;
   border-radius: 10px;
   background-color: #f1f1f1;
 }

 .dialog-content button[data-a11y-dialog-hide] {
  background-color: #f50100;
  color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
 }

 .dialog-content .btn {
   margin: 16px;
 }

@media screen and (min-width: 375px) {
}

@media screen and (min-width: 600px) {
}

@media screen and (min-width: 768px) {
  .section-promo h1 {
    padding-top: 48px;
    padding-bottom: 56px;
    max-width: 334px;
  }

  .btn-wrapper {
    padding: 40px 0px;
  }

  .container {
    max-width: 680px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 10px;
  }
}

@media screen and (min-width: 990px) {
  .section-promo h1 {
    padding-top: 100px;
    padding-bottom: 106px;
    max-width: 474px;
    font-size: 34px;
  }

  .section-faq {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    max-width: 870px;
  }

  .section-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 50px 0;
  }

  .section-contact__col--accent {
    margin: 30px 30px;
  }

  .section-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .mobile-menu-btn{
    display: none;
  }
  .main-menu{
    display: block;
  }

  .main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: right;
  }

  .main-menu li {
    padding: 18px;
    font-size: 20px;
  }

  .main-menu a {
    color: #404040;
  }
  
  

  .main-menu a:hover {
    border-bottom: 4px solid #f50100;
  
}

.site-header__top {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__actions .btn {
  margin-left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}


}

@media screen and (min-width: 1180px) {
  .container {
    max-width: 1100px;
  }
  .section-promo h1 {
    padding-top: 150px;
    padding-bottom: 140px;
    max-width: 630px;
  }

}

@media screen and (min-width: 1366px) {
  .container {
    max-width: 1200px;
  }
  .section-review {
    margin-bottom: 90px;
  }
  .btn-wrapper {
    padding: 70px 0px;
  }
}

@media screen and (min-width: 1440px) {
   .container {
     max-width: 1360px;
   }

   .section-promo h1 {
    padding-top: 150px;
    padding-bottom: 140px;
    max-width: 800px;
    font-size: 44px;
   }
   .section-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
  }

}
