body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  background: #fff;
  color: #000;
}

.hero {
  width: 100%;
  min-height: 100vh;
  background: url("../images/fon.png") no-repeat center center / cover;
  background-color: rgba(255,255,255,0.8);
  background-blend-mode: lighten;
  display: flex;
  flex-direction: column;
  padding: 0 50px;
  box-sizing: border-box;
  position: relative;
  color: #000;
  
}

.why-me {
  display: none;
}


.hero-text h1 span {
  color: #1679fa;
}


.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}


.hero > * {
  position: relative;
  z-index: 1;
}


.header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
}

.header .logo img {
  display: block;
  max-height: 50px;
}


.header .nav {
  display: flex;
  gap: 35px;
}

.header .nav a {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-family: Montserrat, sans-serif;
  color: #000;
  transition: color 0.3s ease;
}

.header .header-phone {
  font-size: 16px;
  color: #000;
}

.header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #1679fa;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header .nav a:hover::after {
  transform: scaleX(1);
}


.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-size: 18px;
  color: #000;
}

.header-icons {
  display: flex;
  gap: 12px;
}

.header-icons img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s ease;
}

.header-icons a:hover img {
  transform: scale(1.2);
}



.hero-content {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

.hero-text h1 {
  font-family: Montserrat, sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: left;
  color: #000;
}

.hero-text p {
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  color: #000;
  opacity: 0.9;
  margin-bottom: 30px; 
}


.hero-about {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.hero-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-item img {
  flex-shrink: 0;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title h2 {
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: #282828;
  margin: 0;
}

.hero-text-block p {
  font-family: Montserrat, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.4;
  color: #282828;
  opacity: 0.9;
  margin: 20px 0 0 0;
}


.hero-content > img {
  flex: 1;
  max-width: 45%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.hero-content::after {
  content: "";
  position: absolute;
  bottom: 22%;
  right: -2%;
  width: 45%;
  height: 60px;
  background: rgba(0, 0, 0, 1);
  border-radius: 80%;
  filter: blur(40px);
  transform: rotate(-5deg);
  z-index: 1;
}



.advantages {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background-color: #fff;
}

.advantages h3{
  display: none;
}

.advantages-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1700px;
  gap: 60px;
}

.advantages-content h3{
  display: none;
}

.advantages-text h2 span {
  color: #1679fa;
}

.advantages-image {
  flex: 1 1 600px;
  max-width: 600px;
  width: 100%;
  margin-left: 2%;
}

.advantages-text {
  flex: 1 1 700px;
  max-width: 781px;
}

.advantages-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 55px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  margin-bottom: 30px;
}

.advantages-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  color: rgba(0, 0, 0, 1);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}


.service {
  border: 6px solid rgba(22, 121, 250, 1);
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  height: 360px; 
}

.service.text {
  display: none;
}


.service.special {
  background: #1679fa;
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1679fa;
  color: #fff;
  grid-column: span 2;   
  justify-self: center  ;  
  margin-left: calc(25% - 100px); 
  margin-right: calc(25% - 100px); 
}


.service.special h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}


.service.special p {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 10px;
  color: #fff;
}


.special-footer {
  margin-top: 4%;
  height: 10%;
  display: flex;
  align-items: center;
  justify-content: space-between; 
}

.special-footer .phone {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.special-footer img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 0px;
}


.service-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 5%;
}

.service-header img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-left: 7%;
}

.service-header h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 20px;
}

.service-body p {
  font-size: 16px;
  color: #333;
  margin: 0 0 10px;
  margin-left: 5%;
}

.services {
  background: #fff;
}

.services h2 {
  color: rgba(0, 0, 0, 1);
  background: #fff;
  font-family: Montserrat;
  font-size: 55px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left;
  margin-left: 12.2%;
}

.service-body .price {
  margin-top: auto;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: rgba(21, 80, 156, 1);
}

.service.special .price,
.service.special p,
.service.special h3 {
  color: #fff;
}


.reasons {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.reasons h2 {
  font-family: Montserrat, sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
}

.reasons h2 span {
  color: #1679fa;
}


.reasons-grid {
  display: flex;
  gap: 40px;              
  flex-wrap: wrap;        
  justify-content: center;
  padding-left: 0%;       
  box-sizing: border-box; 
}

.reason-card { 
  background: #f9fbff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 280px;
  height: 352px;
  
  opacity: 0.95;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.reason-card:nth-child(1) {
  background-image: url('../images/bg1.png');
}

.reason-card:nth-child(2) {
  background-image: url('../images/bg2.png');
}

.reason-card:nth-child(3) {
  background-image: url('../images/bg3.png');
}

.reason-card:nth-child(4) {
  background-image: url('../images/bg4.png');
}



.reason-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  position: relative;
}

.reason-header img {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  margin-right: -20px;
  opacity: 0.8;
}

.reason-number {
  font-size: 40px;
  font-weight: 900;
  color: #1679fa;
}

.reason-header h3 {
  font-size: 25px;
  font-weight: 600;
  text-align: justify;
}


.reason-card p {
  margin-top: 20%; 
  color: rgba(0, 0, 0, 1);
  font-family: Montserrat;
  font-size: 19px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left;
  margin-left: 5%;
}



.contacts-section {
  padding: 60px 20px;
  padding-left: 12%;       
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.contacts-section h2 {
  font-family: Montserrat, sans-serif;
  font-size: 37px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: left;
}


.contacts-grid {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 7%;              
  flex-wrap: wrap;        
  width: 100%;
  box-sizing: border-box;
}


#map {
  width: 1000px;
  height: 660px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 800px;        
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0;               
}


.contacts-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 35px 40px;
  flex: 0 0 320px;        
  min-height: 300px;
  margin-top: 10%;               
}

.contacts-card h3 {
  font-size: 29px;
  font-weight: 900;
  margin-bottom: 25px;
  color: #1679fa;
  margin-left: 13%;
}

.contacts-card ul {
  list-style: none;
  padding: 0;
  margin-left: 9%;
}

.contacts-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 18px;
}

.contacts-card li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}



.footer {
  width: 100%;
  height: 100px;
  background: #1578fa;
  display: flex;
  align-items: center;
  justify-content: center; 
  position: relative;      
}

.footer-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%); 
  margin-left: 10.5%;
}

.footer p {
  font-size: 14px;
  color: #fff;
  margin: 0;
}



button, .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background: #1578fa;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover, .btn:hover {
  opacity: 0.85;
}




.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.burger img {
  width: 32px;
  height: 32px;
}


.mobile-menu {
  position: fixed;
  top: 15px;
  right: 0;
  width: 250px;
  height: 40vh;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 20px;
  transform: translateX(100%); /* вместо 100vw */
  transition: transform 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0); 
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
  text-align: center;
  flex: 1;
}

.mobile-menu nav a {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.mobile-menu nav a:hover {
  color: #1679fa;
}


.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
}
.close-btn img {
  width: 28px;
  height: 28px;
}


.menu-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.menu-icons img {
  width: 28px;
  height: 28px;
}

@media (max-width: 1600px) {
  #map {
        width: 600px;
        height: 450px;
        border-radius: 12px;
        overflow: hidden;
        flex: 0 0 600px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  .hero-content {
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        position: relative;
        z-index: 2;
   }   
    
    .hero-content::after {
        content: "";
        position: absolute;
        bottom: 30%;
        right: -2%;
        width: 45%;
        height: 60px;
        background: rgba(0, 0, 0, 1);
        border-radius: 80%;
        filter: blur(40px);
        transform: rotate(-5deg);
        z-index: 1;
    }
    
    .contacts-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        padding: 35px 40px;
        flex: 0 0 320px;        
        min-height: 300px;
        margin-top: 3%;               
    }
    
    
    /* Контейнер */
  .advantages {
    padding: 60px 20px;
  }

  .advantages-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px; /* уменьшенный gap */
    justify-content: center;
  }

  /* Картинка */
  .advantages-image {
    flex: 1 1 400px; /* меньше базовая ширина */
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: block;
  }

  /* Текст */
  .advantages-text {
    flex: 1 1 500px; /* уменьшаем текстовую колонку */
    max-width: 500px;
    width: 100%;
    
  }

  .advantages-text h2 {
    font-size: 42px; /* меньше заголовок */
    line-height: 1.2;
  }

  .advantages-text p {
    font-size: 18px; /* меньше текст */
    line-height: 1.5;
  }
}



@media (max-width: 480px) {

    .reasons h2 span {
      color: #1679fa;
    }

  body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: #fff;
    color: #000;
    overflow-x: hidden;
  }

  .header {
    padding: 0 0px;
    height: 60px;
  }

  .hero {
    width: 100%;
    min-height: 5vh;
    background: url("../images/fon.png") no-repeat center center / cover;
    background-color: rgb(255, 255, 255);
    padding-left: 5%;
    padding: 0 10px;
  }

  .header .logo img {
    display: block;
    max-height: 40px;
  }

  .hero-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 5px;
  }
  
  .hero-text p {
    font-size: 18px;
    text-align: left;
  }


  .hero-text .hero-text-block p {
    margin-top: 5%;
    font-size: 12px !important;
    text-align: left;
  }

  .hero-about {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }


  .hero-title h2 {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    color: #282828;
    margin: 0;
  }


  .hero-item img {
    flex-shrink: 0;
    width: 15px;
  }


  .header-phone {
    color: #1578fa;
    font-size: 50px;
  }

  .header-right {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%); 
    width: 70%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 20px;
    gap: 25px;
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .nav.open {
    transform: translateX(0);
  }
  .nav a {
    font-size: 22px;
    font-weight: 600;
    color: #000;
  }

  .hero-content {
    max-width: 105%;
    flex-direction: column;
    margin-top: 10px;
    gap: 20px;
    position: relative;
  }
  
  .hero-content > img {
    display: none;
  }

  .hero-content::after {
    display: none;
  }


  .hero-text {
    max-width: 150%;
    
  }
  .hero-text h1 {
    font-size: 32px;
    text-align: left;
  }


  .advantages, .services, .reasons, .contacts-section {
    padding: 40px 15px;
  }

  .why-me {
    display: block;
  }

  .why-me > h4{
    margin-top: 10%;
    margin-bottom: 0;
    margin-left: 5%;
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: #111;
    line-height: 1.2;
    text-align: left;
  }

  .why-me > h4 span {
    color: #1578fa;
  }


  .advantages {
    padding: 20px 15px;
  }

  .advantages > h3 {
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 15px;
    color: #111;
    line-height: 1.2;
    text-align: left;
  }

  .advantages > h3 span {
    color: #1578fa;
  }

  .advantages-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }

  .advantages-image {
    content: url("../images/v2_2048.png");
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 0px;
    border: 0px solid rgba(22, 121, 250, 0.5);
    object-fit: cover;
  }

  .advantages-text {
    flex: 1;
  }


  .advantages-text h2 {
    display: none;
  }

  .advantages-text p {
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    text-align: left;
  }



  .services h2 {
    color: rgba(0, 0, 0, 1);
    background: #fff;
    font-family: Montserrat;
    font-size: 30px;
    font-weight: 900;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: left;
    margin-left: 3%;
  }

  .service {
    border: 4px solid rgba(22, 121, 250, 1);
    border-radius: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1px;
    box-sizing: border-box;
    height: 250px; 
  }

  .service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5%;
    margin-right: 5px;
  }


  .service-header h3{
    font-size: 12px;
    font-weight: 600;
    margin: 0;
  }

  .service-header img{
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-left: 3%;
  }

  .service-body p {
    font-size: 11px;
    color: #333;
    margin: 0 0 0px;
    margin-left: 2%;
    
  }

  .service-body .price {
    margin-top: auto;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: rgba(21, 80, 156, 1);
    margin-bottom: 5%;
  }

  .services-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    
  }

  .service.special {
    display: block;
    grid-column: span 2; 
    margin: 0;
    padding: 5px;
  }

  .service.text {
    display: block;
    border: 0px solid rgba(22, 121, 250, 1);
    border-radius: 0px;
    align-items: center;
  }

  .service.text h5{
    margin-top: 50%;
    text-align: left;
    font-size: 15px;
    font-weight: 900;
  }

  .service.text span {
    color: #1578fa;
  }
  
  .service.special h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 0px;
    color: #fff;
  }

  
  .service.special p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 0px;
    color: #fff;
  }

 
  .special-footer {
    margin-top: 0%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
  }

  .special-footer .phone {
    font-size: 18px !important;
    font-weight: 700;
    color: #fff;
  }

  .special-footer img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0px;
  }

  .reasons {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    
  }

  .reasons-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    justify-items: center; 
  }

  .reason-card {
    width: 80%;       
    max-width: 180px;  
    height: auto;      
    margin: 0;         
  }

  .reason-card p {
    margin-top: 10%; 
    font-size: 14px; 
  }

  .reason-header h3 {
    font-size: 18px;
  }

  .reason-number {
    font-size: 28px;
  }

  .reason-header img {
    width: 60px;
    height: 60px;
    margin-right: -10px;
  }


  #map {
    width: 96%;
    height: 250px;
    flex: none;
  }

  .contacts-card {
    padding: 20px 15px;
    max-width: 90%;
    text-align: center;
    margin-left: 3%;
    min-height: 0px;
  }

  .contacts-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .contacts-section h2 {
    font-family: Montserrat, sans-serif;
    font-size: 37px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    
  }

  .contacts-card ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px 10px;
    justify-items: center;
    padding: 0;
    margin: 0;
  }

  .contacts-card li {
    display: flex;
    align-items: center;
    gap: 3.5px;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
  }

  .contacts-card li:last-child {
    grid-column: 1 / -1; 
  }

  .contacts-card li img {
    width: 20px;
    height: 20px;
  }


  .footer {
    flex-direction: column;
    height: auto;
    padding: 15px;
    width: 100%;
  }
  .footer-logo {
    position: static;
    transform: none;
    margin: 0 0 10px 0;
  }

  .footer-logo img {
    width: 120px;
    height: px;
  }

}
