    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: #000000ff;
      color: #fffcfcff;
    }
    header {
      background: #2c3e50;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 28px;
      font-weight: bold;
      letter-spacing: 2px;
  
    }
    section.header {
    background:url(../images/main.jpeg) no-repeat center/cover;
     display:block 
    }

    nav {
      background: #34495e;
      padding: 20px 0;
      text-align: center;
      border-radius:  20px;
      opacity: 80%;
      
    }
    nav a {
      color: white;
      text-decoration: none;
      margin: 0 15px;
      font-weight: bold;
      font-size: 18px;
    }
    nav a:hover {
      color: #e74c3c;
    }
    .nav_header {
    padding: 10px 0;
    text-align: center;
    background: none;
    }  
     .nav_header a {
      color: white;
      text-decoration: none;
      margin: 0 15px;
      font-weight: bold;
      font-size: 18px;
    }
    .nav_heared a:hover {
      color: red;
    }   
    main {
      margin: 80px auto;
      padding: 0 15px;
    }
    section {
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
    }
    h2 {
      color: #2c3e50;
      margin-top: 0;
    }
    .btn {
      display: inline-block;
      background: #ddaaa4;
      color: rgb(0, 0, 0);
      padding: 13px 28px;
      border-radius: 4px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
      margin: 15px 0;
    }
    .btn:hover {
      background: #c0392b;
    }
    footer {
      background: #2c3e50;
      color: white;
      text-align: center;
      padding: 15px 0;
      font-size: 14px;
    }
    .header{
      outline:0px solid red;
      padding: 10px 25px;
      height:700px;
      /*background:*/
    }
    .block_info{
     margin:120px auto;
     padding:40px 15px

    }
    .container{
      outline:0px solid red;
      display:flex;     
      justify-content:space-around;
      padding:35px;
      height: 100%;
      width: 100%;
    }
    .item-1{
      outline:0px solid red;
      display:block;
    }
     .item-1 img{
      min-width:150px;
      width:150px;
      height: 150px;
     }


    .item-2{
      display:block;
    }
    .item-2 h2,.item-2 h3,.item-2 h5{
      color:#c5c7c7;
    font-family: "Pinyon Script", cursive;
    font-weight: 300;
    font-size: 3rem;
    }
.wave-text span {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    animation: wave 2s ease-in-out infinite;
     font-family: "Pinyon Script", cursive;
       color:#c5c7c7;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}
.wave-text span:nth-child(5) {
    animation-delay: 0.8s;
}
.wave-text span:nth-child(5) {
    animation-delay: 0.8s;
}
.wave-text span:nth-child(6) {
    animation-delay: 1.0s;
}
.wave-text span:nth-child(7) {
    animation-delay: 1.2s;
}
.wave-text span:nth-child(8) {
    animation-delay: 1.4s;
}
.wave-text span:nth-child(9) {
    animation-delay: 1.6s;
}
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
.phone {
    font-family: monospace;
    font-size: 2em;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
    width: 40ch; /* длина номера */
    animation: typing 3s steps(40) forwards, blink-caret 0.75s step-end infinite;
  }
  
  @keyframes typing {
    from { width: 0 }
    to { width: 40ch }
  }

  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black }
  }
 .item-2 .btn{
  animation: scaleButton 2s ease-in-out infinite;
 }
@keyframes scaleButton {
  0%, 100% {
    transform: scale(1);  /* Исходный размер */
  }
  50% {
    transform: scale(1.2); /* Увеличение на 20% */
  }
}
.location_block{
    outline: 0px solid red;
    padding:10px;
    margin-top: -170px;
    display: block;
}
.item-3{
display: block;
text-align: center;
padding:10px;
outline: 0px solid red;
background-image: url(../images/i4.jpeg);
background-repeat: no-repeat;
background-size: cover;
height: 400px;
width: 480px;
position: relative;
}
.item-3 h1,.item-4 h1{
display: block;
margin-top: -44px;
color:#ffffff;
font:bold 24px "Tahoma",sans-serif;
text-align: center;
}
.item-3 h3,.item-4 h3{
font:bold 29px "Tahoma",sans-serif;
margin-top: 20px;
color: #fff;

}
.item-3 h6,.item-4 h6{
font:25px "Tahoma",sans-serif;
margin-top: 20px;
color: #fff;

}
.item-3 a.btn,.item-4 a.btn{
cursor: pointer;
background-color: #738181;
margin: 20px 0;
font: 19px "Tahoma",sans-serif;
color: #fff;
}
.item-3 a.btn:hover,.item-4 a.btn:hover{
  background-color: #909797;
}
.text_slide{
display: block;
margin-top:160px

}
.item-4{
text-align: center;
padding:10px;
outline: 0px solid red;
background-image: url(../images/i3.jpeg);
background-repeat: no-repeat;
background-size: cover;
display: block;
height: 400px;
width: 480px;
position: relative;}

.offers{
 text-align: center;
}
.offers h1{
  font:bold 26px "Tahoma",sans-serif;
  color: #fff;
  border-bottom:2px solid orangered ;
  display: inline-block;
  padding: 10px;
}

.flex-container {
  display: flex;
  gap: 20px;
  margin: 15px auto;
  max-width: 1100px;
}

/* Левая большая колонка с сеткой 3x3 */
.left-column {
  display: flex;
  flex-wrap: wrap;
  width: 75%; /* 3 из 4 колонок */
  gap: 20px;
}

.left-column .item_bl {
  flex: 0 0 calc((100% / 3) - 13.33px); /* 3 колонки с gap */
  box-shadow: 0 0 5px #ccc;
  padding:30px 0;
  box-sizing: border-box;
  color:#15b6b6;
  box-shadow: rgba(rgb(255, 255, 255), rgb(105, 80, 80), rgb(77, 59, 59), 0.4);
  border: 1px solid #c7c6c6;
  border-radius: 70px;
  height: 200px;
  position: relative;
}

.left-column .item_bl h6{
width: 100%;
display: block;
position: absolute;
bottom: 20px;
color:#ffffff;
font:bold 14px "Tahoma",sans-serif;
text-align: center;
}
/* Правая колонка вертикальная с двумя высокими блоками */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 25%; /* 1 из 4 колонок */
}

.right-column .tall-item {
  color:#909797;
  flex: 1; /* занимает равное пространство */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Стили для кнопки внутри сертификата */
.tall-item button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #c12b2b;
  border: none;
  color:#909797;
  cursor: pointer;
  font-weight: bold;
  border-radius: 3px;
}

.item_bl_1{
  background-image: url(../images/ser_img_1.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
}
.item_bl_2{
background-image: url(../images/ser_img_2.jpg);
background-repeat: no-repeat;
background-size: cover;  
}
.item_bl_3{
background-image: url(../images/ser_img_3.jpeg);
background-repeat: no-repeat;
background-size: cover;  
}
.item_bl_4{
background-image: url(../images/ser_img_4.jpg); 
background-repeat: no-repeat;
background-size: cover; 
}
.item_bl_5{
background-image: url(../images/ser_img_5.png);  
background-repeat: no-repeat;
background-size: cover;
}
.item_bl_6{
background-image: url(../images/ser_img_6.jpeg);  
background-repeat: no-repeat;
background-size: cover;
}
.item_bl_7{
background-image: url(../images/ser_img_7.jpeg);  
background-repeat: no-repeat;
background-size: cover; 
}
.item_bl_8{
background-image: url(../images/ser_img_8.jpg);
background-repeat: no-repeat;
background-size: cover;   
}
.item_bl_9{
background-image: url(../images/ser_img_9.jpeg);  
background-repeat: no-repeat;
background-size: cover;
}

#about{
   text-align: center;
}
#about h1{
font:bold 26px "Tahoma",sans-serif;
  color: #fff;
  border-bottom:2px solid orangered ;
  display: inline-block;
  padding: 10px;
  margin: 15px auto;
}
#about p{
font:18px "Tahoma",sans-serif;
color: #fff;
}
#contacts{
   text-align: center;
}
#contacts h1{
  font:bold 26px "Tahoma",sans-serif;
  color: #fff;
  border-bottom:2px solid orangered ;
  display: inline-block;
  padding: 10px;
  margin: 15px auto;
}
#contacts p{
font:18px "Tahoma",sans-serif;
color: #fff;
}

