body {
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #ccc;
}

.container {
    width: 90%;
    max-width: 1110px;
    margin: 0 auto;
}

.header {
    width: 100%;
    background: rgba(255, 255, 255, 0);
    position: fixed;
    z-index: 1000;
}

.header.scrolled {
    background: #000;
}

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

.messenger {
    display: flex;
    justify-content: space-between;
    width: 120px;
}

.menu {
    margin-top: 15px;
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.menu_link {
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    color: #ccc;
    display: block;
}
  
.menu_logo_image {
    height: 35px;
}

.menu .submenu {
  position: absolute;
  left: 0;
  display: none;
  background: #111;
  list-style: none;
  padding: 10px 0;
  min-width: 220px;
  z-index: 2000;
  top: 100%;
  margin: 0;
  padding: 10px 0;
  pointer-events: auto;
}

.menu .submenu li a {
  display: block;
  padding: 8px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.menu .submenu li a:hover {
  background: #222;
}
.menu .has-submenu { 
  position: relative;
  display: inline-block;
}

.menu .has-submenu:hover > .submenu,
.menu .has-submenu:focus-within > .submenu {
  display: block;
}
.menu .has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;          
  pointer-events: none;  
}

.messenger_icon_image {
    height: 25px;
}
  
.contact_phone {
    font-size: 20px;
}

.privacy {
  padding-top: 100px;
}

.privacy-title {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 28px;
    line-height: 140%;
    color: #ccc;
}

.privacy-text {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #ccc;
}
  
.banner {
    width: 100%;
    height: 800px;
    background: #000 url(../img/Main1.jpg);
    background-color: rgba(0, 0, 0, 1);
    background-blend-mode: normal;
    object-fit: cover;
    background-position: right;
    border-style: cover;
    background-size: cover;
    margin: 0;
    padding: 0;
}

.banner_content {
    overflow: hidden;
    display: flex;
    padding-top: 200px;
}

.banner_offer {
    height: 455px;
}

.banner_title {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 64px;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    line-height: 122%;
    color: #ccc;
    margin: 0;
    width: 760px;
}

.banner_desc {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 32px;
    text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    line-height: 119%;
    margin-top: 40px;
    margin-bottom: 120px;
    color: #ccc;
}

.buttons a {
    padding: 12px 20px;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 4px;
}
  
.btn-primary {
    background-color: #890202;
    color: #ccc;
}

.btn-primary:hover {
    background-color: #6E0101;
    transform: translateY(-3px);
}
  
.btn-secondary {
    border: 1px solid #ccc;
    color: #ccc;
}

.btn-secondary:hover {
    background-color: #890200;
    border: 1px solid #ccc;
    transform: translateY(-3px);
}

.banner_title,
.banner_desc {
  transition: opacity 0.5s ease;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
    pointer-events: none;
}
  
.nav-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    pointer-events: all;
    padding: 10px 20px;
    transition: background 0.3s ease;
}
  
.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
  
.banner {
    position: relative;
    overflow: hidden;
}
.promo {
  display: none;
}

.about {
    background-color:#000;
    margin: 0;
}

.about_content {
    display: flex;
    justify-content: center;
    padding-top: 90px;
    padding-bottom: 90px;
}

.about_photo_img {
    margin-right: 90px;
    height: 550px;
}

.about_text_block {
    width: 540px;
}

.about_text {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #ccc;
}

.services {
    padding-top: 50px;
  }

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

.service_title {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 46px;
    line-height: 117%;
    color: #ccc;
}
  
  .services-subtitle {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 24px;
    line-height: 121%;
    text-align: right;
    color: #ccc;
    width: 450px;
    padding-top: 20px;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
  }
  
  .service-card1 {
    position: relative;
    background: #000 url(../img/service1.jpg);
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .service-card2 {
    position: relative;
    background: #000 url(../img/service2.jpg);
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .service-card3 {
    position: relative;
    background: #000 url(../img/service3.jpg);
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .service-card4 {
    position: relative;
    background: #000 url(../img/service4.jpg);
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .service-card5 {
    position: relative;
    background: #000 url(../img/service5.jpg);
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.4s ease;
    grid-column: 1 / -1;
    justify-self: center;
    width: 500px;
  }
  
  .overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
  }
  
  .overlay h3 {
    margin: 0;
    padding-bottom: 30px;
    font-weight: 400;
    font-size: 36px;
    font-family: 'Montserrat';
    color: #ccc;
    position: relative;
    z-index: 2;
  }
  
  .details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: left;
    margin-top: 15px;
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 22px;
    line-height: 140%;
    color: #ccc;
  }

  .details-last {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: left;
    margin-top: 15px;
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    color: #ccc;
  }
  .details-5 {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: left;
    margin-top: 15px;
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 20px;
    line-height: 150%;
    color: #ccc;
  }

  .details ul {
    border-top: 1px solid #ccc;
    list-style: none;
    padding-left: 0;
    padding-top: 20px;
    margin: 0;
  }

  .details-last ul {
    border-top: 1px solid #ccc;
    list-style: none;
    padding-left: 0;
    padding-top: 20px;
    margin: 0;
  }
  .details-5 ul {
    border-top: 1px solid #ccc;
    list-style: none;
    padding-left: 0;
    padding-top: 20px;
    margin: 0;
  }
  
  .service-card1:hover .details {
    opacity: 1;
    max-height: 500px;
    margin-top: 0;
    margin-bottom: auto;
  }

  .service-card2:hover .details {
    opacity: 1;
    max-height: 500px;
    margin-top: 0;
    margin-bottom: auto;
  }

  .service-card3:hover .details {
    opacity: 1;
    max-height: 500px;
    margin-top: 0;
    margin-bottom: auto;
  }

  .service-card4:hover .details-last {
    opacity: 1;
    max-height: 500px;
    margin-top: 0;
    margin-bottom: auto;
  }

  .service-card5:hover .details-5 {
    opacity: 1;
    max-height: 500px;
    margin-top: 0;
    margin-bottom: auto;
  }

  .form {
    margin: 0;
    font-family: 'Montserrat';
    background: #000 url('../img/mercedes.jpg') no-repeat right center;
    background-size: cover;
    color: #000;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 750px;
    /* height: 140vh; */
  }
  
  .form-container {
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 20px;
    padding-bottom: 50px;
    max-width: 430px;
    margin-left: 10%;
  }
  
  .form_title {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 38px;
    margin: 0;
    padding-bottom: 30px;
    color: #ccc;
  }
  
  .form_text {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    padding-bottom: 30px;
    color: #ccc;
  }
  
  input[type="text"],
  input[type="tel"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid white;
    color: #ccc;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 300;
    max-width: 400px;
  }
  
  input::placeholder {
    color: #aaa;
  }
  
  .checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 40px;
    color: #ccc;
  }
  
  .checkbox input {
    margin-right: 10px;
  }

  .checkbox_link {
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 300;
    color: #ccc;
    /* text-decoration: none; */
  }
  
  .button_form {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ccc;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    font-family: 'Montserrat';
    font-weight: 300;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .button_form:hover {
    background: #890200;
    color: #ccc;
  }

  .contacts {
    background-color: black;
    color: #ccc;
    padding: 60px 0;
  }
  
  .contacts_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .contacts_left {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contacts_logo {
    width: 350px;
  }
  
  .contacts_address {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 300;
    color: #ccc;
  }
  
  .location_icon {
    width: 18px;
    margin-right: 10px;
  }
  
  .contacts_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
  }
  
  .contacts_icons a {
    margin-left: 20px;
    display: inline-block;
    margin-bottom: 30px;
  }
  
  .contacts_icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
  }
  
  .contacts_icons img:hover {
    transform: scale(1.1);
  }
  
  .contacts_phone a {
    font-size: 22px;
    color: #ccc;
    text-decoration: none;
  }
  
  .footer {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer_content p {
    margin: 0;
    color: #777;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 300;
  }

  .prices-hero { 
  padding-top: 140px; 
  padding-bottom: 30px; 
  background:#000; 
  color:#ccc; 
}
.prices-hero h1 { 
  font-weight:400; 
  font-size:46px; 
  margin:0 0 10px; 
}
.prices-hero .muted { 
  color:#aaa; 
  font-weight:300; 
}
.toolbar { 
  display:flex; 
  gap:12px; 
  flex-wrap:wrap; 
  margin-top:16px; 
}
.toolbar input[type="search"], .toolbar select {
  background: transparent; 
  color:#ccc; 
  border:1px solid #666; 
  padding:10px 12px; 
  border-radius:6px; 
  font-family: 'Montserrat';
}
.chips { 
  display:flex; 
  gap:10px; 
  flex-wrap:wrap; 
  margin-top:14px; 
}
.chip { 
  background: 
  transparent; 
  color:#ccc; 
  border:1px solid #666; 
  padding:8px 12px; 
  border-radius:999px; 
  cursor:pointer; 
}
.chip.active, .chip:hover { 
  background:#890202; 
  border-color:#890202; 
  color:#ccc; 
}

.group { padding: 16px 0 30px; }
.group-header { display:flex; justify-content:space-between; align-items:baseline; margin: 10px 0; }
.group-header .h2 { font-weight:400; font-size:32px; margin:0; }
.group-header .muted { color:#aaa; font-size:14px; }

.table-wrap { width:100%; overflow:auto; border:1px solid #333; border-radius:8px; }
.table { width:100%; border-collapse: collapse; }
.table thead th { text-align:left; padding:12px 14px; font-weight:400; font-size:14px; color:#ccc; background:#111; border-bottom:1px solid #333; white-space:nowrap; }
.table tbody td { padding:12px 14px; border-bottom:1px solid #222; vertical-align:top; color:#ccc; }
.table tbody tr:hover { background:#0a0a0a; }
.table td.service { font-weight:300; }

.note { padding: 20px 0 60px; }
.bullets { color:#aaa; font-weight:300; }
.btn.btn-primary { display:inline-block; padding:12px 16px; border:1px solid #890202; color:#ccc; text-decoration:none; border-radius:6px; }
.btn.btn-primary:hover { background:#890202; border-color:#ccc; }

.table-scroll{ position:relative; overflow:auto; border:1px solid #333; border-radius:8px; }
.table-prices{ border-collapse:separate; border-spacing:0; min-width:760px; width:100%; }
.table-prices thead th{ position:sticky; top:0; z-index:2; background:#111; box-shadow: inset 0 -1px 0 #333; }
.table-prices th,.table-prices td{ white-space:nowrap; padding:12px 14px; color:#ccc; border-bottom:1px solid #222; }
.table-prices td.service{ white-space:normal; max-width:420px; }
.table-prices tbody tr:hover{ background:#0a0a0a; }


.table-scroll .scroll-hint{ position:absolute; top:0; bottom:0; width:36px; pointer-events:none; transition:opacity .2s; }
.table-scroll .scroll-hint.left{ left:0; background:linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,0)); opacity:0; }
.table-scroll .scroll-hint.right{ right:0; background:linear-gradient(270deg, rgba(0,0,0,.8), rgba(0,0,0,0)); opacity:0; }

.class-detector { display:flex; flex-direction:column; gap:10px; margin-top:8px; }
.class-detector .cd-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.class-detector label { display:flex; flex-direction:column; gap:6px; color:#ccc; font-weight:300; }
.class-detector select { background: transparent; color:#ccc; border:1px solid #666; padding:10px 12px; border-radius:6px; min-width:180px; }
.class-detector .badge { margin-left:10px; border:1px solid #666; border-radius:999px; padding:8px 12px; color:#ccc; }
#detectedClass:empty { display: none;}
.class-detector .note-inline { margin: 0; color:#aaa; }
.highlight-col { background: rgba(137,2,2,.15) !important; }
.muted { padding-top: 15px; padding-bottom: 15px; }

  .mobile-menu {
    border: none;
    background: none;
    padding: 4px;
    cursor: pointer;
    display: none;
  }

.adapt-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-200px);
    transition: all .5s ease-in-out;
}

.adapt-menu.is-active {
    visibility: visible;
    opacity: 100%;
    transform: translateY(0px);
}

.adapt-menu_close {
    border: none;
    background: none;
    display: block;
    margin-top: 15px;
    margin-right: 15px;
    margin-left: auto;
    margin-bottom: 120px;
}

.adapt-menu_item {
    display: block;
    text-decoration: none;
    font-family: 'Montserrat';
    font-weight: 300;
    color: #ccc;
    font-size: 36px;
    text-transform: uppercase;
    margin-left: 40px;
    margin-bottom: 28px;
}

.adapt-menu_item:hover {
    color: #fff; 
}

.adapt-menu .sub {
    display: block;
    text-decoration: none;
    font-family: 'Montserrat';
    font-weight: 300;
    color: #ccc;
    font-size: 28px;
    text-transform: uppercase;
    margin-left: 20px;
    list-style: none;
}

.adapt-menu-sub {
  text-decoration: none;
    font-family: 'Montserrat';
    font-weight: 300;
    color: #ccc;
    font-size: 24px;
    text-transform: uppercase;
    list-style: none;
}

.mobile-video {
  display: none;
}




@media screen and (max-width: 1113px) {
  .container {
    max-width: 900px;
    width: 90%;
  }
  .slider-nav {
    top: 90%;
  }

}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 920px;
    width: 90%;
  }

  .menu.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .menu .menu_item,
  .menu .has-submenu{
     display: none;
  }


  .menu_logo_image,
  .messenger {
    margin-right: 50px;
  }

  .mobile-menu {
    display: block;
    margin-right: 15px;
    margin-top: 15px;
    margin-left: auto;
  }

  .about_content {
    flex-direction: column;
    align-items: center;
  }
    
  .about_photo_img {
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
  }
    
  .about_text_block {
    width: 100%;
    max-width: 90%;
    padding: 0 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
    
  .details,
  .details-last,
  .details-5 {
    opacity: 1 !important;
    max-height: none !important;
    margin-top: 15px;
  }

  .service-card5 {
    width: auto;
  }
    
  .overlay {
    justify-content: flex-start;
  }
    
  .overlay h3 {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .mobile-video {
    display: block;
    width: 100%;
    max-width: 480px;   /* чтобы не растягивалось слишком сильно */
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .mobile-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    
  }
  .promo {
    display: block;
    width: 100%;
    max-width: 480px;   /* чтобы не растягивалось слишком сильно */
    margin: 0 auto;
    padding-top: 50px;
  }

  .promo_img {
    width: 100%;
    height: auto;
    object-fit: cover;
    
  }
    
}

@media screen and (max-width: 930px) {
  .container {
    max-width: 800px;
    width: 90%;
  }
  .prices-hero h1{ font-size:36px; }
  .table-prices{ min-width: 680px; }

}

@media screen and (max-width: 768px) {
  .container {
    max-width: 680px;
    width: 90%;
  }
  .prices-hero { padding-top: 120px; }
  .group-header .h2 { font-size:26px; }

  .banner {
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
    background-position: 80% top;
    margin-top: 150px;

  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .banner_title,
  .banner_desc {
    text-shadow: 
      -1px -1px 0 black,
      1px -1px 0 black,
      -1px 1px 0 black,
      1px 1px 0 black;
  }

  .banner {
    height: 80vh; 
    position: relative;
    align-items: stretch;
    display: flex;
  }

  .banner_offer {
    flex-grow: 1;
  }

  .banner_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 0px 30px 80px;
    text-align: left;
    align-items: flex-start;
    z-index: 2;
  }

  .banner_title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 12px;
    text-align: left;
    width: 80%;
  }

  .banner_desc {
    font-size: 28px;
    text-align: left;
    width: 100%;
  }

  .buttons {
    position: absolute;
    bottom: 50px;
    left: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    z-index: 5;
  }

  .buttons a {
    max-width: 320px;
    padding: 14px 24px;
    font-size: 24px;
    font-weight: 300;
    border-radius: 8px;
    text-align: center;
    display: block;
  }

  .buttons a:first-child {
    background-color: #960000;
    color: #ccc;
    border: none;
  }

  .buttons a:last-child {
    background: transparent;
    border: 1px solid #ccc;
    color: #ccc;
  }

  .slider-nav {
    display: none;
  }

  .service {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }

  .service_title {
    align-self: flex-start;
    text-align: left;
    margin: 0;
  }

  .services-subtitle {
    align-self: flex-end;
    text-align: right;
    margin: 0;
    margin-bottom: 30px;
    font-size: 20px;
    width: 70%;
  }

  .contacts_wrapper {
    flex-direction: column;
    align-items: center;
    margin: 0;
    width: 100%;
  }

  .contacts_left,
  .contacts_right {
    width: 100%;
    align-items: center;
  }

  .contacts_right {
    align-items: center;
    padding-top: 30px;
  }

  .contacts_logo {
    padding-bottom: 35px;
  }

  .contacts_icons {
    display: flex;
    gap: 20px;
  }

  .contacts_icons a {
    margin-left: 0;
    margin-bottom: 0;
  }

  .contacts_phone a {
    font-size: 32px;
  }

  .contacts_icons img {
    width: 50px;
    height: 50px;
  }

  .form {
    background: #000 url('../img/mercedes.jpg') no-repeat right center;
    background-position: 80% top;
  }

  .mobile-menu {
    margin-right: 0;
    margin-top: 0;
  }
}
  

@media screen and (max-width: 600px) {
  .container {
    width: 90%;
  }
  .banner_title {
    font-size: 40px;
  }
    
  .banner_desc {
    font-size: 24px;
  }

  .overlay h3 {
    font-size: 28px;
  }

  .about_text {
    font-size: 18px;
    font-weight: 300;
  }
  .service_title {
    font-size: 40px;
  }

  .services-subtitle {
    font-size: 16px;
  }

  .details {
    font-size: 16px;
  }

  .details-5 {
    font-size: 16px;
  }

  .service-card1 {
    height: 400px;
  }
  .service-card2 {
    height: 400px;
  }
  .service-card3 {
    height: 400px;
  }
  .service-card5 {
    height: 400px;
  }


  .form {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 80vh;
    padding-top: 150px;
    background: #000 url('../img/mercedes.jpg') no-repeat right center;
    background-position: 70% top;
  }
    
  .form-container {
    width: 90%;
    margin: 0 auto;
    padding: 30px 20px;
  }
    
  .form_title {
    font-size: 36px;
    padding-bottom: 20px;
  }
    
  .form_text {
    font-size: 16px;
    padding-bottom: 40px;
    width: 90%;
  }

  .contacts_wrapper {
    flex-direction: column;
    align-items: center;
    margin: 0;
    width: 100%;
  }

}

@media screen and (max-width: 480px) {
  .container {
    width: 90%;
  }

  .menu_logo_image,
  .messenger {
    margin-right: 25px;
  }
  .menu_logo_image {
    height: 30px;
  }

  .privacy {
    padding-top: 80px;
  }

  .banner_content {
    padding: 0px 20px 80px;         
  }

  .banner_title {
    font-size: 34px;
    width: 100%;
  }

  .banner_desc {
    font-size: 20px;
  }

  .buttons {
    bottom: 40px;
    left: 20px;
    right: 20px;
  }

  .about_text_block {
    max-width: 100%;
    padding: 0;
  }

  .about_photo_img {
    height: 450px;
  }

  .overlay h3 {
    font-size: 24px;
  }

  .form_title {
    font-size: 30px;
  }

  .form_text {
    font-size: 12px;
  }

  input[type="text"],
  input[type="tel"] {        
    max-width: 90%;
  }

  .contacts_wrapper {
    width: 100%;
  }

  .contacts_logo {
    width: 300px;
  }

  .contacts_address {
    text-align: center;
  }

  .checkbox_link {
    font-size: 12px;     
  }
  .footer_content p {
    font-size: 11px;
  }
}

@media screen and (max-width: 430px) {
  .container {
    width: 90%;
  }

  .banner_title {
    font-size: 32px;
    width: 90%;
  }

  .banner_desc {
    font-size: 18px;
  }

  .services-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .overlay h3 {
    font-size: 22px;
  }

  .details-last {
    font-size: 12px;
  }

  .details-5 {
    font-size: 14px;
  }

  .form {
    height: 70vh;
  }
  .form-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .form_title {
    font-size: 28px;
  }

  .contacts_address {
    font-size: 14px;
  }
  .contacts_wrapper {
    width: 100%;
  }

  

  .buttons a {
    max-width: 260px;
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 6px;
  }

}

@media screen and (max-width: 375px) {
  .container {
    width: 90%;
  }

  .banner_title {
    font-size: 32px;
    width: 90%;
  }

  .banner_desc {
    font-size: 18px;
  }

  .services-subtitle {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .overlay h3 {
    font-size: 20px;
  }

  .details {
    font-size: 14px;
    
  }

  .details-last {
    font-size: 12px;
    
  }
  .form-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .form_title {
    font-size: 28px;
  }

  .contacts_address {
    font-size: 14px;
  }
  .contacts_wrapper {
    width: 100%;
  }

   .contacts_logo {
    width: 260px;
  }

  .contacts_address {
    font-size: 12px;
  }

  .contacts_phone a {
    font-size: 28px;
  }

  .contacts_icons img {
    width: 34px;
    height: 34px;
  }

  .buttons a {
    max-width: 260px;
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 6px;
  }

}

@media screen and (max-width: 320px) {
  .container {
    width: 90%;
  }

  .menu_logo_image,
  .messenger {
    margin-right: 18px;
  }

  .messenger_icon_image {
    height: 20px;
  }

  .banner {
    margin-top: 100px;

  }

  .banner_content {
    padding: 0px 20px 30px;         
  }

  .banner_title {
    font-size: 26px;
  }

  .banner_desc {
    font-size: 14px;
  }

  .buttons a {
    max-width: 260px;
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 6px;
  }

  .about_content {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .about_photo_img {
    height: 380px;
  }

  .about_text {
    font-size: 14px;
  }

  .service_title {
    font-size: 28px;
  }

  .details {
    font-size: 13px;
  }

  .overlay h3 {
    font-size: 18px;
  }

  .service-card1 {
    height: 360px;
  }
  .service-card2 {
    height: 360px;
  }
  .service-card3 {
    height: 360px;
  }

  .service-card4 {
    height: 460px;
  }

  .service-card5 {
    height: 360px;
  }

  .details-last {
    font-size: 11px;
    line-height: 130%;
  }

  .details-5 {
    font-size: 13px;
  }

  .form {
    padding-top: 100px;
  }

  .form-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
  .form_title {
    font-size: 24px;
  }

  .form_text {
    font-size: 10px;
  }
  .checkbox_link {
    font-size: 10px;     
  }

  .button_form {
    padding: 12px;
    font-size: 16px;
  }
  .contacts_wrapper {
    width: 100%;
  }
 

}