body{
    margin: 0;
    padding: 0;
    font-family: "Arial Narrow", Arial, sans-serif, serif;
    text-align: center;
    background-color: rgb(240, 218, 149);
    overflow: hidden;
    overflow-y: scroll;
    background-image: url('../images/footer_background3.png'); /* замените на своё изображение */
      background-repeat: no-repeat;
      background-size: 100% auto; /* по ширине 100%, по высоте авто */
      background-position: bottom left; /* внизу и по центру */
}

*{
    box-sizing: border-box;
    color: rgb(20,30,40);
    transition-property: all;
    transition-duration: 1s;
}

h1{
    font-size: 36px;
    font-family: Arial, serif, sans-serif;
}

h2{
    font-size: 36px;
    line-height: 44px;
    font-family:  "Playfair Display", Arial;
}

hr{
    margin: 2px;
    padding: 0;
}

p{
    font-size: 14px;
}

.banner{
    width: 100%;
    margin: 0;
    padding: 20px;
    padding-top: 0;
}

.banner_img{
    width: 100%;
}


nav{
    position: fixed;
    top: 0px;
    width: 100%;
    text-align: center;
    z-index: 10000;
}

nav ul{
    width: auto;
    max-width: 80%;
    display: inline-block;
    list-style-type: none;
    background-color: rgba(236, 204, 117);
    padding: 20px;
    margin-top: 0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 0px 5px rgba(20,30,40,0.3);
}

nav ul li{
    margin-right: 10px;
    margin-left: 10px;
    font-size: 22px;
    font-family: "Kaushan Script", "Playfair Display", Arial;
    display: inline-block;
}

nav ul a{
    text-decoration: none;
    color: rgb(20,30,40);
}

.enumerated_list div{
    display: grid;
    grid-template-columns: 8% 88%;
    grid-gap: 2%;
    margin-top: 20px;
}

.enumerated_list img{
    width: 100%; 
    border-radius: 100px;
}

.enumerated_list p{
    align-items: top;
    margin: 0;
} 

.main{
    text-align: center;
}

.main_container{
    width: 90%;
    max-width: 1200px;
    display: inline-block;
    color: rgb(20,30,40);
    font-family: "Playfair Display", Arial, serif;
    background-image: url("../images/long_path.png");
    background-repeat: no-repeat;
    background-size: 80% 100%;
    background-position: center center;
}

.main_container .content_back{
    background-color: rgb(240,218,149);
    border: 2px solid #94704b;
    border-radius: 20px;
    padding: 20px;
}


.dual_content_block{
    display: grid;
    grid-template-columns: 48% 48%;
    grid-gap: 4%;
    align-items: stretch;
    margin-top: 100px;
    margin-bottom: 100px;
}

hr{
    background-color: rgb(20,30,40);
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(20,30,40);
    border: 1px solid #848244;
    display: none;
}

.dual_content_block_30{
    display: grid;
    grid-template-columns: 68% 30%;
    grid-gap: 2%;
    align-items: stretch;
    margin-top: 100px;
    margin-bottom: 100px;
}

.dual_content_30_block{
    display: grid;
    grid-template-columns: 30% 68%;
    grid-gap: 2%;
    align-items: stretch;
    margin-top: 100px;
    margin-bottom: 100px;
}


.content_text{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.content_text div{
    text-align: left;
}

.content_text p, .single_content_block p{
    font-size: 20px;
    line-height: 34px;
    font-family: "Playfair Display", Arial, serif;
    
}

.single_content_block p{
    background-color: rgb(240,218,149);
    font-family: "Montserrat", "Playfair Display", Arial, serif;
    line-height: 50px;
    margin-top: 100px;
    margin-bottom: 100px;
    text-align: left;
    padding: 20px;
}
.content_text img{
    width: 100%;
}

.our_tech_container{
    width: 100%;
    height: 100%;
}

.our_tech_container img{
    background-image: url("../images/res7.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.our_prices_container{
    background-image: url("../images/res8.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}



.content_img{
    display: flex;
    align-items: center;
}

.content_img div{
    text-align: center;
}

.content_slider{
    display: flex;
    align-items: center;
}

.content_img img{
    max-height: 100%;
    max-width: 80%;
}


.bio_production{
    min-height: 800px;
}
.bio_production_images{
    width: 100%;
    text-align: center;
}

.bio_images{
    width: 80%;
    display: inline-grid;
    grid-template-columns: 48% 48%;
    gap: 2%;
}

.bio_production_images img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


.bio_person{
    cursor: pointer;
}

.second_bio_person{
    display: none;
    background-color: rgb(240,218,149);
    border: 2px solid #94704b;;
    border-radius: 20px;
}

.bio_production_text{
    width: 100%;
    text-align: center;
    display: none;
    height: 100%;
}

.bio_text{
    width: 80%;
    display: inline-flex;
    align-items: center;
    background-color: rgb(240, 218, 149);
    border: 2px solid #94704b;
    border-radius: 20px;
    padding: 20px;
    height: 100%;
}

.bio_text p{
    font-size: 24px;
    line-height: 34px;
}


/*header blockquote{
    position: absolute;
    top: 30%;
    left: 15%;
    text-align: left;
    font-family: "Kaushan Script", "Playfair Display", Arial;
    font-size: 24px;
    font-style: italic;
    font-weight: normal;
    line-height: 34px;
}*/

    .accordion {
      width: 100%;
      border: none;
      border-radius: 8px;
      font-family: "Playfair Display", Arial, serif;
      display: block;
    }

    .accordion-item {
      border-bottom: 1px solid #94704b;
    }

    .accordion-header {
      background: transparent;
      color: #333;
      cursor: pointer;
      padding: 14px 20px;
      width: 100%;
      text-align: left;
      border: none;
      outline: none;
      font-size: 22px; 
      position: relative;
      font-style: italic;
      font-family: "Playfair Display", Arial, serif;
      color: rgb(20,30,40);
    }

    .accordion-header::after {
      content: "+";
      position: absolute;
      right: 20px;
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .accordion-header.active::after {
      content: "−";
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding: 0 20px;
      background-color: transparent;
      color: #444;
    }

    .accordion-content p {
      margin: 10px 0;
    }

    .accordion-content.show {
      padding: 10px 20px;
    }

/*price table style*/
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #3a3a3a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.price-table thead {
  background-color: #eccc75;
}

.price-table th,
.price-table td {
  padding: 12px 16px;
  text-align: left;
}

.price-table tbody tr:nth-child(even) {
  background-color: #d7e2ba;
}

.price-table tbody tr:nth-child(odd) {
  background-color: #fffbee;
}

.price-table th {
  font-weight: bold;
  font-size: 18px;
  color: #2a2a2a;
}

/*price table style*/


.our_production{
    text-align: center;
}

.our_production_container{
    background-image: url('../images/middle_background4.png');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 400px;
    padding-bottom: 100px;
}

.our_production_img{
    max-width: 80%;
    width: 500px;
    display: inline-block;
}

/*slider*/
.slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(169, 116, 66,0.5); /* цвет дерева */
  color: #fff;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 20px;
  font-family: Georgia, serif;
  box-shadow: inset 0 0 2px #4c2d0c, 0 2px 4px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: #855e35;
}

.slider-btn.prev {
  left: 10px;
  z-index: 1000;
}

.slider-btn.next {
  right: 10px;
  z-index: 1000;
}
/*end of slider*/

/*wide slider*/
.wide-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
  background-color: rgb(240,218,149);
}

.wide-slider__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.wslider_container{
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    flex-shrink: 0;
    object-fit: cover;
    height: auto;
}

.wide-slider__track img {
  width: 100%;
}

/* Кнопки */
.wide-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #a97442; /* деревянный стиль */
  color: #fff;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
}

.wide-slider__btn:hover {
  background-color: #855e35;
}

.wide-slider__btn--prev {
  left: 20px;
}

.wide-slider__btn--next {
  right: 20px;
}
/*end of wide slider*/


footer{
    width: 100%;
    margin-top: 100px;
    text-align: left;
}

footer img{
    max-width: 100%;
    margin-top: 600px;
}

footer svg{
    height: 400px;
    max-width: 100%;
    margin-top: 600px;
    margin-bottom: 50px;
}

.map_table_img{
    width: 80%;
    max-width: 100%;
}

.phone_table_img{
    height: 300px;
}

footer>div{
    text-align: center;
}

.finner_box{
    display: inline-flex;
    align-items: flex-end;
    height: 100%;
}

.footer_container{
    width: 100%;
    display: inline-grid;
    grid-template-columns: 40% 29% 29%;
    grid-gap: 1%;
}

.three_images_grid{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 32% 32% 32%;
    gap: 2%;
}

.three_images_grid img{
    width: 100%;
    border-radius: 10px;
}

.four_images_grid{
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: 24% 24% 24% 24%;
    gap: 1%;
}

.four_images_grid img{
    width: 100%;
    border-radius: 10px;
}




        /* Стиль модального окна */
        .modal {
          display: none;
          position: fixed;
          z-index: 10999;
          padding-top: 60px;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          overflow: auto;
          background-color: rgba(0,0,0,0.8);
          animation: fadeIn 0.3s ease;
        }
        
        
        /* Картинка внутри модального */
        .modal-content {
          display: block;
          margin: auto;
          max-width: 90%;
          max-height: 80vh;
          border-radius: 10px;
          box-shadow: 0 0 20px rgba(0,0,0,0.6);
          animation: zoomIn 0.4s ease;
        }
        
        .popup-image{
            cursor: pointer;
        }
        
        /* Крестик */
        #close {
          position: absolute;
          top: 20px;
          right: 35px;
          color: #fff;
          font-size: 40px;
          font-weight: bold;
          cursor: pointer;
          transition: 0.3s;
        }
        
        #close:hover {
          color: #ff4444;
        }

        /* Анимации */
        @keyframes fadeIn {
          from {opacity: 0;}
          to {opacity: 1;}
        }
        
        @keyframes zoomIn {
          from {transform: scale(0.8);}
          to {transform: scale(1);}
        }

.fade-in {
  animation: fadeIn 1s ease-in-out;
}
/*End of animations*/
@media screen and (max-device-width: 1024px) {
}

@media screen and (max-device-width: 968px){
}

@media screen and (max-device-width: 768px) {

}

@media screen and (max-device-width: 630px){

}



@media screen and (max-device-width: 5footer_background3/*Start of Nav Menu CSS Code*/

    /*End of Nav Menu CSS Code*/
}

@media screen and (max-device-width: 400px) {

    
}