/*
* Theme Name: 	DTER
* Author: 		Dmitriy Tertyshnikov
* Version:     	Версия темы : 1.2
*/

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  }

body{
	background: rgb(198, 183, 216);
	padding: 0px;
	margin: 0px;
	font-size: 20px;
	color: black;
	font-family: Arial, Helvetica, sans-serif;
	border-radius: 0%;
	overflow-x:hidden;
	
}

















/*---------------- прелоадер -------------------------*/
/*====================================================*/

#loader{
     position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    z-index:999999;
    background:rgb(198,183,216);
}
/*----------------------------------------------------*/


















/*---------------- HERO ------------------------------------------------*/
/*=====================================================
  HERO
=====================================================*/
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

/*=====================================================
  СЛОИ
=====================================================*/
.layer {
  position: absolute;
  inset: 0;
}

/* фон */
.layer-bg {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
  will-change: transform;
}


/* фон - page - 1 */
/* ------------------------------------------------------------------------ */
.layer-bg-1 {
 background-color: rgb(252, 247, 245); 
}
.layer-bg-1 img {
  width: 100%;
  height: auto;
  display: block;
}
/* ------------------------------------------------------------------------ */



/* мягкое затемнение */
.layer-bg::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.08),
      rgba(0,0,0,0.18)
    );
}

/* декоративный слой */
.layer-mid {
  background:
    radial-gradient(
      circle at 70% 40%,
      rgba(255,255,255,0.08),
      transparent 45%
    );

  will-change: transform;
}

/*=====================================================
  КОНТЕНТ
=====================================================*/
.content {
  position: relative;
  z-index: 10;

  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;

  /* текст ниже примерно на 20% */
  padding: 20vh 10% 8vh;

  box-sizing: border-box;
}

/*=====================================================
  ОБЩИЕ СТИЛИ ТЕКСТА
=====================================================*/
.content h1,
.content h3 {
  margin: 0;

  text-align: right;

  color: #28232c;

  max-width: 900px;

  text-wrap: balance;

  will-change: transform, opacity;
   
  user-select: none;
  
  -webkit-user-select: none;

  pointer-events: none;
}

/*=====================================================
  H1
=====================================================*/
.content h1 {
  font-family: "Montserrat", sans-serif;
  
  color: rgba(42, 42, 42, 0.90);

  font-weight: 200;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  line-height: 0.92;

  /* крупный premium hero */
  font-size: clamp(4.5rem, 9vw, 9rem);

  margin-bottom: 0.18em;
}

/*=====================================================
  H3
=====================================================*/
.content h3 {
  font-family: "Noto Sans JP", sans-serif;

  font-weight: 300;

  line-height: 1.22;

  letter-spacing: 0.02em;

  /* увеличенный подзаголовок */
  font-size: clamp(1.8rem, 3.8vw, 3.6rem);

  max-width: 760px;
}

/*=====================================================
  LAPTOP
=====================================================*/
@media (max-width: 1200px) {
  .content h1 {
    font-size: clamp(4rem, 10vw, 7rem);
  }

  .content h3 {
    font-size: clamp(1.6rem, 4vw, 3rem);
  }
}

/*=====================================================
  TABLET
=====================================================*/
@media (max-width: 992px) {
  .content {
    padding: 22vh 7% 7vh;
  }

  .content h1 {
    font-size: clamp(3.5rem, 11vw, 6rem);
  }

  .content h3 {
    font-size: clamp(1.4rem, 4.8vw, 2.5rem);
  }
}

/*=====================================================
  MOBILE
=====================================================*/
@media (max-width: 768px) {
  .content {
    padding: 24vh 24px 8vh;
  }

  .content h1,
  .content h3 {
    max-width: 100%;
  }

  .content h1 {
    font-size: clamp(3.2rem, 13vw, 5.4rem);

    line-height: 0.94;

    margin-bottom: 16px;
  }

  .content h3 {
    font-size: clamp(1.35rem, 5.6vw, 2rem);

    line-height: 1.3;
  }
}

/*=====================================================
  MOBILE LANDSCAPE
=====================================================*/
@media (max-height: 540px) and (orientation: landscape) {
  .content {
    padding-top: 18vh;
    padding-bottom: 4vh;
  }

  .content h1 {
    font-size: clamp(2.6rem, 7vw, 4.5rem);
  }

  .content h3 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }
}




















.grid3 {
	position: relative;
  z-index: 10;
  background-color: rgb(252, 247, 245);
  margin: 0px;
	padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 550px));
	grid-template-rows: 1fr;
    grid-gap: 50px;
    place-items: start center;
    justify-content: center;
/*	border-bottom: 7px solid rgb(113, 101, 122); */
  	
}
 
.grid3 > .item {
    padding: 0;
	margin: 0;
    
}
.item > img {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    max-width: 440px;
    border-radius: 30px;
   /* border: 0px solid rgb(255, 145, 0);*/
    object-fit: fill;
}



.grid31 {
    padding: 0 20px 0 20px;
	margin: 0;
    display: grid;
    grid-template-columns: minmax(350px, 550px);
	grid-template-rows: 2fr;
    place-items: center;
    
}
.grid31 > .item2 > h1{
    color: rgb(255, 255, 255);
    text-align: center;
    background-color: rgb(69, 70, 83);
    transform: rotate(-7deg);
   
}
.grid31 > .item > h3{
    color: rgb(107, 107, 107);
  
}  

.grid31 > .item > h1{
    color: rgb(38, 38, 46);
 
}  






.item > p{
    color: rgb(65, 56, 75);
    font-size: 1.5vmax;
}
.grid4 {
	position: relative;
  z-index: 10;
  background-color: rgb(252, 247, 245);
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(550px, auto) );
	grid-template-rows: 1fr;
    grid-gap: 30px;
    place-items: start stretch;
    justify-content: center;
	
  	
}

.grid4 > .item4  {
    display: grid;
    grid-template-columns:  minmax(550px, 550px);
    background-color: rgb(252, 247, 245);
    padding: 20px;
    border-radius: 30px;
    
}

.grid4 > .item41  {
  display: grid;
  grid-template-columns:  minmax(550px, 550px);
  background-color: rgb(252, 247, 245);
  padding: 20px;
  border-radius: 30px;
  
}

.grid4 > .item4 > p {
    text-align: justify;
}
.grid4 > .item41 > p {
  text-align: justify;
}

.grid5 {
	background-color: rgb(218, 208, 208);
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(550px, auto) );
	grid-template-rows: 1fr;
    grid-gap: 30px;
    place-items: start stretch;
    justify-content: center;
	position: relative;
  	
}

.grid5 > .item5 {
    display: grid;
    grid-template-columns:  minmax(550px, 550px);
    background-color: rgb(252, 247, 245);
    padding: 20px;
    border-radius: 30px;
    
}

.grid5 > .item51 {
  display: grid;
  grid-template-columns:  minmax(550px, 550px);
  background-color: rgb(252, 247, 245);
  padding: 20px;
  border-radius: 30px;
  
}

.grid5 > .item5 > p {
    text-align: justify;
}

.grid5 > .item51 > p {
  text-align: justify;
}

.vtoroy-block{
 background-color: rgb(102, 98, 116);
    margin: auto;
    padding: 20px 0px ;
    position: relative;
	text-align:center;
	color:rgb(198, 183, 216);
	position: relative;
}

.vtoroy-block h1{
    margin: auto;
    padding: 0px 20px 20px 20px ;
    position: relative;
	text-align:center;
	color:rgb(198, 183, 216);
	position: relative;
	max-width: 1100px;
}

.SectionLine-vtoroy-block{
    width: 195px;
    height: 3px;
    background: rgb(198, 183, 216);
    margin: 23px auto;
  }
  
.grid5 > .item5 h1,
.grid5 > .item5 h2,
.grid5 > .item5 h3,
.grid5 > .item5 h4,
.grid5 > .item5 h5,
.grid5 > .item5 h6,
.grid5 > .item5 ul,
.grid5 > .item5 ol,
.grid5 > .item5 li,
.grid5 > .item5 a,
.grid5 > .item5 span,
.grid5 > .item5 strong,
.grid5 > .item5 em,

.grid5 > .item51 h1,
.grid5 > .item51 h2,
.grid5 > .item51 h3,
.grid5 > .item51 h4,
.grid5 > .item51 h5,
.grid5 > .item51 h6,
.grid5 > .item51 ul,
.grid5 > .item51 ol,
.grid5 > .item51 li,
.grid5 > .item51 a,
.grid5 > .item51 span,
.grid5 > .item51 strong,
.grid5 > .item51 em {
    color: rgb(102, 98, 116);
	margin-block-start: 0.5em;
    margin-block-end: 0.5em;
	margin-left: 10px;
	margin-right: 10px;
}  
















@media screen and (max-width: 650px){
    body{
        background-color: rgb(219, 196, 255);
        padding: 0px;
        margin: 0px;
       
    }
    .grid3 {
        background-color: rgb(252, 247, 245);
        padding: 20px;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0px, 550px));
        grid-template-rows: 1fr;
        grid-gap: 0px;
        place-items: start center;
        justify-content: center;
    /*	border-bottom: 7px solid rgb(113, 101, 122); */
          
    }
     
    .grid3 > .item {
        padding: 0;
        margin: 0;
        
    }
    .item > img {
        /*position: absolute;*/
        /*top: 0;*/
        /*left: 0;*/
        max-width: 320px;
        border-radius: 30px;
        object-fit: cover;
    }

    .grid31 {
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(240px, 550px);
        grid-template-rows: 2fr;
        place-items: center;
        
    }
    .grid31 > .item2 > h1{
        color: rgb(255, 255, 255);
        text-align: center;
        background-color: rgb(69, 70, 83);
        transform: rotate(-7deg);
        border-radius: 10px;
        font-size: 20px;
        padding: 5px 30px 5px 30px;
        
       
    }
    .grid31 > .item > h3{
        color: rgb(107, 107, 107);
        font-size: 22px;
        text-align: center;
    }  
    
    .grid31 > .item > h1{
        color: rgb(38, 38, 46);
        font-size: 30px;
        text-align: center;
    }  
    
    
    .grid4 {
      background-color: rgb(252, 247, 245);
        padding: 20px;
        grid-template-columns: repeat( auto-fit, minmax(320px, 550px) );
        grid-gap: 20px;
    }

    .grid4 > .item4 {
            
            grid-template-columns:  minmax(320px, 550px);
            grid-gap: 0px;
            padding: 0px;
            margin: 0;
            border-radius: 30px;
            background: #f9f4f4;
            border-width: 1px;
            border-style:solid;
            border-color: #d2d2df;
    }

    .grid4 > .item41  {
     
      grid-template-columns:  minmax(320px, 550px);
      grid-gap: 0px;
      padding: 0px;
      margin: 0;
      border-radius: 30px;
      background: #f9f4f4;
      border-width: 1px;
      border-style:solid;
      border-color: #d2d2df;
    }
   
    .grid4 > .item4 > p {
        color: rgb(49, 47, 56);
        font-size: 20px;
        width: minmax(300px, 550px);
        margin: 0;
        padding: 20px;
        text-align: left;
    }
    .grid4 > .item41 > p {
      color: rgb(49, 47, 56);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
      text-align: left;
  }

    .grid5 {
      background-color: rgb(102, 98, 116);
      padding: 20px;
      grid-template-columns: repeat( auto-fit, minmax(320px, 550px) );
      grid-gap: 20px;
	  position: relative;
  }

  .grid5 > .item5 {
          
          grid-template-columns:  minmax(320px, 550px);
          background-color: rgb(252, 247, 245);
          grid-gap: 0px;
          padding: 0px;
          margin: 0;
  }

  .grid5 > .item51 {
          
    grid-template-columns:  minmax(320px, 550px);
    background-color: rgb(252, 247, 245);
    grid-gap: 0px;
    padding: 20px;
    margin: 0;
}
 
  .grid5 > .item5 > p {
      color: rgb(49, 47, 56);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
      text-align: left;
  }   

  .grid5 > .item51 > p {
    color: rgb(49, 47, 56);
    font-size: 20px;
    width: minmax(300px, 550px);
    margin: 0;
    padding: 20px;
    text-align: left;
}   

}














@media screen and (min-width: 651px) and (max-width: 962px){
    .grid4 {
      background-color: rgb(252, 247, 245);
        padding: 20px;
        grid-template-columns: repeat( auto-fit, minmax(320px, 950px) );
        grid-gap: 20px;
    }
    .grid4 > .item4 {
            
        grid-template-columns:  minmax(320px, 950px);
        padding: 20px;
        margin: 0;
        border-radius: 30px;
        background: #f9f4f4;
        border-width: 1px;
        border-style:solid;
        border-color: #d2d2df;
    }

    .grid4 > .item41  {
      grid-template-columns:  minmax(320px, 950px);
      grid-gap: 0px;
      padding: 20px;
      margin: 0;
      border-radius: 30px;
      background: #f9f4f4;
      border-width: 1px;
      border-style:solid;
      border-color: #d2d2df;
    }

    .grid4 > .item4 > p {
        color: rgb(65, 56, 75);
        font-size: 20px;
        width: minmax(300px, 550px);
        margin: 0;
        padding: 20px;
    }
    .grid4 > .item41 > p {
      color: rgb(65, 56, 75);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
  }

    .grid31 {
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(240px, 950px);
        grid-template-rows: 2fr;
        place-items: center;
        
    }

    .grid31 > .item2 > h1{
        color: rgb(255, 255, 255);
        text-align: center;
        background-color: rgb(69, 70, 83);
        transform: rotate(-7deg);
        border-radius: 10px;
        font-size: 30px;
        padding: 5px 30px 5px 30px;
        margin-top: 10px;
    }

    .grid31 > .item > h3{
        color: rgb(107, 107, 107);
        font-size: 30px;
        text-align: center;
        margin-top: 20px;
    }  
    
    .grid31 > .item > h1{
        color: rgb(38, 38, 46);
        font-size: 45px;
        text-align: center;
        padding-top: 0px;
    }  

    .grid3 {
      background-color: rgb(252, 247, 245);
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(2, minmax(240px, 950px));
        grid-template-rows: 1fr;
        grid-gap: 50px;
        place-items: start center;
        justify-content: center;
    /*	border-bottom: 7px solid rgb(113, 101, 122); */
          
    }
     
    .grid3 > .item {
        padding: 0;
        margin: 0;
        
    }
    .item > img {
        /*position: absolute;*/
        /*top: 0;*/
        /*left: 0;*/
        max-width: 300px;
        border-radius: 30px;
        object-fit: cover;
    }

    .grid5 {
      background-color: rgb(102, 98, 116);
      padding: 20px;
      grid-template-columns: repeat( auto-fit, minmax(320px, 950px) );
      grid-gap: 20px;
	  position: relative;
  }
  .grid5 > .item5 {
          
      grid-template-columns:  minmax(320px, 950px);
      background-color: rgb(252, 247, 245);
      grid-gap: 0px;
      padding: 20px;
      margin: 0;
  }

  .grid5 > .item51 {
          
    grid-template-columns:  minmax(320px, 950px);
    background-color: rgb(252, 247, 245);
    grid-gap: 0px;
    padding: 20px;
    margin: 0;
}

  .grid5 > .item5 > p {
      color: rgb(65, 56, 75);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
  }

  .grid5 > .item51 > p {
    color: rgb(65, 56, 75);
    font-size: 20px;
    width: minmax(300px, 550px);
    margin: 0;
    padding: 20px;
}

}


























@media screen and (min-width: 963px) and (max-width: 1159px){
    .grid4 {
      background-color: rgb(252, 247, 245);
        padding: 20px;
        grid-template-columns: repeat( auto-fit, minmax(320px, 950px) );
        grid-gap: 20px;
    }
    .grid4 > .item4 {
            
        grid-template-columns:  minmax(320px, 950px);
        grid-gap: 0px;
        padding: 20px;
        margin: 0;
        border-radius: 30px;
        background: #f9f4f4;
        border-width: 1px;
        border-style:solid;
        border-color: #d2d2df;
    }

    .grid4 > .item41  {
           
      grid-template-columns:  minmax(320px, 950px);
      grid-gap: 0px;
      padding: 20px;
      margin: 0;
      border-radius: 30px;
      background: #f9f4f4;
      border-width: 1px;
      border-style:solid;
      border-color: #d2d2df;
    }

    .grid4 > .item4 > p {
        color: rgb(65, 56, 75);
        font-size: 20px;
        width: minmax(300px, 550px);
        margin: 0;
        padding: 20px;
    }
    .grid4 > .item41 > p {
      color: rgb(65, 56, 75);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
  }

    .grid31 {
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(240px, 950px);
        grid-template-rows: 2fr;
        place-items: center;
        
    }
    .grid31 > .item2 > h1{
        color: rgb(255, 255, 255);
        text-align: center;
        background-color: rgb(69, 70, 83);
        transform: rotate(-7deg);
        border-radius: 10px;
        font-size: 30px;
        padding: 5px 30px 5px 30px;
        margin-top: 50px;
    }
    .grid31 > .item > h3{
        color: rgb(107, 107, 107);
        font-size: 30px;
        text-align: center;
        margin-top: 50px;
    }  
    
    .grid31 > .item > h1{
        color: rgb(38, 38, 46);
        font-size: 45px;
        text-align: center;
        padding-top: 20px;
    }  

    .grid3 {
      background-color: rgb(252, 247, 245);
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(2, minmax(240px, 475px));
        grid-template-rows: 1fr;
        grid-gap: 50px;
        place-items: start center;
        justify-content: center;
    /*	border-bottom: 7px solid rgb(113, 101, 122); */
          
    }
     
    .grid3 > .item {
        padding: 0;
        margin: 0;
        
    }
    .item > img {
        /*position: absolute;*/
        /*top: 0;*/
        /*left: 0;*/
        max-width: 350px;
        border-radius: 30px;
        object-fit: cover;
    }

    .grid5 {
      background-color: rgb(102, 98, 116);
      padding: 20px;
      grid-template-columns: repeat( auto-fit, minmax(320px, 950px) );
      grid-gap: 20px;
	  position: relative;
  }
  .grid5 > .item5 {
          
      grid-template-columns:  minmax(320px, 950px);
      background-color: rgb(252, 247, 245);
      grid-gap: 0px;
      padding: 20px;
      margin: 0;
  }

  .grid5 > .item51 {
          
    grid-template-columns:  minmax(320px, 950px);
    background-color: rgb(252, 247, 245);
    grid-gap: 0px;
    padding: 20px;
    margin: 0;
}
  .grid5 > .item5 > p {
      color: rgb(65, 56, 75);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
  }

  .grid5 > .item51 > p {
    color: rgb(65, 56, 75);
    font-size: 20px;
    width: minmax(300px, 550px);
    margin: 0;
    padding: 20px;
}

}

























.testimonial {
  flex: 1; 
  background: #f9f4f4;
  padding: 28px;
  border-radius: 30px;
  border-width: 1px;
  border-style:solid;
  border-color: #d2d2df;
}











@media screen and (min-width: 1160px){
    .grid4 {
      background-color: rgb(252, 247, 245);
        padding: 20px 20px 100px 20px;
        grid-template-columns: repeat( auto-fit, minmax(320px, 550px) );
        grid-gap: 20px;
    }
    .grid4 > .item4 {
            
        grid-template-columns:  minmax(320px, 550px);
        grid-gap: 0px;
        padding: 20px;
        margin: 0;
        height: 92%;
        border-radius: 30px;
        background: #f9f4f4;
        border-width: 1px;
        border-style:solid;
        border-color: #d2d2df;
    }

    .grid4 > .item41  {
      grid-template-columns:  minmax(320px, 550px);
      background: #f9f4f4;
        grid-gap: 0px;
        padding: 20px;
        margin: 0;
        height: 92%;
        border-radius: 30px;
        border-width: 1px;
        border-style:solid;
        border-color: #d2d2df;
    }

    .grid4 > .item4 > p {
        color: rgb(65, 56, 75);
        font-size: 20px;
        width: minmax(300px, 550px);
        margin: 0;
        padding: 20px;
    }
    .grid4 > .item41 > p {
      color: rgb(65, 56, 75);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
  }
  .grid3 {
    background-color: rgb(252, 247, 245);
    background-size: cover;
    background-position: 50% 50%; 
    margin: 0px;
    padding: 50px 20px ;
      display: grid;
      grid-template-columns: repeat(2, minmax(350px, 550px));
    grid-template-rows: 1fr;
      grid-gap: 10px;
      place-items: start center;
      justify-content: center;
     }
     .item > img {
      max-width: 400px;
      border-radius: 30px;
      object-fit: fill;
  }
    .grid31 {
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(240px, 550px);
        grid-template-rows: 2fr;
        place-items: center;
        
    }
    .grid31 > .item2 > h1{
        color: rgb(255, 255, 255);
        text-align: center;
        background-color: rgb(69, 70, 83);
        transform: rotate(-7deg);
        border-radius: 10px;
        font-size: 30px;
        padding: 5px 30px 5px 30px;
        margin-top: 50px;
    }
    .grid31 > .item > h3{
        color: rgb(107, 107, 107);
        font-size: 30px;
        text-align: center;
        margin-top: 50px;
    }  
    
    .grid31 > .item > h1{
        color: rgb(38, 38, 46);
        font-size: 45px;
        text-align: center;
        padding-top: 20px;
    }  

    .grid5 {
      background-color: rgb(102, 98, 116);
      padding: 20px;
      grid-template-columns: repeat( auto-fit, minmax(320px, 550px) );
      grid-gap: 20px;
	  position: relative;
  }
  .grid5 > .item5 {
          
      grid-template-columns:  minmax(320px, 550px);
      background-color: rgb(252, 247, 245);
      grid-gap: 0px;
      padding: 20px;
      margin: 0;
      height: 92%;
  }

  .grid5 > .item51 {
          
    grid-template-columns:  minmax(320px, 550px);
    background-color: rgb(252, 247, 245);
    grid-gap: 0px;
    padding: 20px;
    margin: 0;
    height: 92%;
}

  .grid5 > .item5 > p {
      color: rgb(65, 56, 75);
      font-size: 20px;
      width: minmax(300px, 550px);
      margin: 0;
      padding: 20px;
  }

  .grid5 > .item51 > p {
    color: rgb(65, 56, 75);
    font-size: 20px;
    width: minmax(300px, 550px);
    margin: 0;
    padding: 20px;
}

}















/*	menu --------------------------------------------------- */

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  background-color: rgba(42, 42, 42, 0.90);
  overflow: hidden;
  transition: 0.3s;
}

.OpenOpacityMenu{
  animation-name: poyvlenie-menu;
  animation-duration: 0.5s;
}

@keyframes poyvlenie-menu {
  0% {
      opacity: 0;
     
  }

  100% {
      opacity: 1;
    
  }
}


.overlay_content {
  position: relative;
  top: 5%;
  width: 90%;
  margin-top: 50px;
  text-align: left;
  white-space: nowrap; 
}
.overlay a{
  text-decoration: none;
  color: white;
  font-family:Arial, Helvetica, sans-serif;
  font-style: 50px;
  transition: 0.2s;
  display: block;
  padding: 8px;
}

.overlay a:hover{
  
  color: rgb(247, 161, 255);
}


.menu{
  list-style-type: none;
}
.sub-menu{
  list-style-type:disc;
  color: rgb(205, 161, 255);
}
.sub-menu>li>a{
  color: rgb(205, 161, 255);
}
.menu>li>a{
  color: rgb(205, 161, 255);
}
.overlay a[aria-current="page"] {
  font-weight: bold;
  color: rgb(205, 161, 255);
}





/*	кнопка открытия и закрытия меню */

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

label {
  top: 10px;
  display: inline-block;
  padding: 10px;
  background-color: rgb(69, 70, 83);
  border-radius: 50%;
  cursor: pointer;
  margin: 20px;
  z-index: 30000;
  position: fixed;
  caret-color: transparent; 
}
label:hover{
  background-color: rgb(107, 83, 134);
  caret-color: transparent;
}
.bar {
  display: block;
  z-index: 20000;
  background-color: #f3f1eb;
  width: 30px;
  height: 3px;
  border-radius: 5px;
  margin: 5px auto;

  transition: background-color 0.4s ease-in, transform 0.4s ease-in,
    width 0.4s ease-in;   
}
/*	анимация открытия, закрытия меню */
input[type="checkbox"]:checked ~ label .top {
  -webkit-transform: translateY(8px) rotateZ(45deg);
  -moz-transform: translateY(8px) rotateZ(45deg);
  -ms-transform: translateY(8px) rotateZ(45deg);
  -o-transform: translateY(8px) rotateZ(45deg);
  transform: translateY(8px) rotateZ(45deg);
}

input[type="checkbox"]:checked ~ label .bottom {
  -webkit-transform: translateY(-8px) rotateZ(-45deg);
  -moz-transform: translateY(-8px) rotateZ(-45deg);
  -ms-transform: translateY(-8px) rotateZ(-45deg);
  -o-transform: translateY(-8px) rotateZ(-45deg);
  transform: translateY(-8px) rotateZ(-45deg);

}

input[type="checkbox"]:checked ~ label .middle {
  width: 0;
}

.middle {
  margin: 0 auto;
}









/*	анимация блоков */

@keyframes fade-in-image {
    0% {
        opacity: 0;
        transform: translateX(-220px) rotateZ(0deg);
        animation-timing-function: ease;
    }

    100% {
        opacity: 1;
        transform: translateX(0px) rotateZ(0deg) scale(1, 1);
        animation-timing-function: ease;
    }
  }
   
  @keyframes fade-in-scale {
    0% {
      opacity: 1; 
      transform: translateX(0px) rotateZ(0deg) scale(1, 1);
    }
    30% {
      
      transform: translateX(0px) rotateZ(0deg) scale(1.1, 1.1);
    }
    50% {
    
      transform: translateX(0px) rotateZ(0deg) scale(1, 1);
    }
    70% {
     
      transform: translateX(0px) rotateZ(0deg) scale(1.03, 1.03);
    }
    100% {
      opacity: 1; 
      transform: translateX(0px) rotateZ(0deg) scale(1, 1);
    }
  }
   
  @keyframes fade-in-name {
    0% {
      opacity: 0; 
      transform: translateX(200px) rotateZ(-0deg) scale(0.7, 0.7);
    }

    100% {
      opacity: 1; 
      transform: translateX(0) rotateZ(0deg) scale(1, 1);
    }
  }
  @keyframes fade-in-left-block {
    0% {
      opacity: 0; 
      transform: translateX(-200px) rotateZ(-0deg) scale(1, 1);
    }

    100% {
      opacity: 1; 
      transform: translateX(0) rotateZ(0deg) scale(1, 1);
    }
  }
  @keyframes fade-in-right-block {
    0% {
      opacity: 0; 
      transform: translateX(200px) rotateZ(-0deg) scale(1, 1);
    }

    100% {
      opacity: 1; 
      transform: translateX(0) rotateZ(0deg) scale(1, 1);
    }
  }
  .animated {
    animation-name: fade-in-image;
    animation-duration: 1.0s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
  }
  .animated-2 {
    animation-name: fade-in-scale;
    animation-duration: 1.0s;
    animation-delay: 0s;
    animation-fill-mode: both;
  }
  .animated-3 {
    animation-name: fade-in-name;
    animation-duration: 1.0s;
    animation-fill-mode: both;
  }
  .animated-left-block {
    animation-name: fade-in-left-block;
    animation-duration: 1.0s;
    animation-fill-mode: both;
  }.animated-right-block {
    animation-name: fade-in-right-block;
    animation-duration: 1.0s;
    animation-fill-mode: both;
  }





















  /*	фоновый скроллинг паралакс--------------------------------------- */

/* СЕКЦИЯ */
#container {
  position: relative;
  min-height: 120vh;
  min-height: 120dvh; /* современный фикс iOS/Android */
  overflow: hidden;
}

/* ФОН — фиксированный слой */
/* ВАЖНО: современный viewport fix */
#parallax {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  background: url('5.jpg') 20% 50% no-repeat;
  background-size: cover;

  will-change: transform;

  z-index: -1;
}



/* КОНТЕНТ ПОВЕРХ ФОНА */
#text {
  position: relative;
  z-index: 2;

  padding-top: 70vh;
  text-align: center;
  color: rgb(32, 30, 34);
}

/* СТИКЕР */
.sticker {
  width: 300px;
  margin: 0 auto;
  padding: 15px;
  background: linear-gradient(rgb(255, 249, 231), rgb(255, 244, 206));
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  transform: rotate(-1.5deg);
  
  opacity: 0;
  transform: translateY(40px) rotate(-1.5deg);
  transition: none; /* важно — JS управляет движением */
  will-change: transform, opacity;
}

.sticker::before {
  content: '';
  position: absolute;
  left: 115px;
  top: -15px;

  width: 75px;
  height: 25px;

  background-color: rgba(243,245,228,0.9);
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 2px 2px 2px #00000046;

  transform: rotate(-6deg);
}

/* ТЕКСТ ВНУТРИ */
#text h3 {
  font-size: 25px;
  margin: 10px 0;
}

#text p {
  margin: 10px 0;
}
  



  


















  /*------   слайдер    -------------------------------*/
  
  .progressbar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #9a9aa7;
    z-index: 100;
  }
  .progressbar-fill {
    position: inherit;
    width: inherit;
    height: inherit;
    margin-left: -100%;
    background: #e88382;
  }
  @keyframes progressBarFill {
    0% {
      margin-left: -100%;
    }

    100% {
      margin-left: 0;
    }
  }
  label.Sl {
          position: relative;
					display: block;
          z-index: 3000;
          border-radius: 0%;
					width: 200px;
					height: 30px;
					overflow: hidden;
					margin: 10px;
					padding: 10px 0 0 0;
					text-align: left;
					text-transform: uppercase;
					font-family: @main-font;
					font-size: 1em;
					color: #f6eac5;
					font-weight: 400;
					cursor: pointer;
					transition: all .3s;
          font-family: Arial, Helvetica, sans-serif;
          color: #9a9aa7;
          background: transparent;
  }
  .grid6 {
    display: grid;
    margin-top: -2px; 
    padding-bottom:  30px;
    justify-content: center;
    background-color: rgb(102, 98, 116);
    grid-template-columns: repeat( auto-fit, minmax(250px, auto) );
    gap: 20px;
	position: relative;
}




#banner1:checked ~ .slider #top-banner-1,
#banner2:checked ~ .slider #top-banner-2,
#banner3:checked ~ .slider #top-banner-3,
#banner4:checked ~ .slider #top-banner-4 {
  opacity: 1;
  z-index: 5000;
}
#banner1:checked ~ .grid6 label:nth-of-type(1) .progressbar,
#banner2:checked ~ .grid6 label:nth-of-type(2) .progressbar,
#banner3:checked ~ .grid6 label:nth-of-type(3) .progressbar,
#banner4:checked ~ .grid6 label:nth-of-type(4) .progressbar {
  background: #ffffff;
}

    #banner1:checked ~ .grid6 label:nth-of-type(1),
		#banner2:checked ~ .grid6 label:nth-of-type(2),
		#banner3:checked ~ .grid6 label:nth-of-type(3),
		#banner4:checked ~ .grid6 label:nth-of-type(4) {
			cursor: default;
			color:rgb(255, 255, 255);
			transition: all 0.0s;
		}
#banner1:checked ~ .grid6 label:nth-of-type(1) .progressbar-fill,
#banner2:checked ~ .grid6 label:nth-of-type(2) .progressbar-fill,
#banner3:checked ~ .grid6 label:nth-of-type(3) .progressbar-fill,
#banner4:checked ~ .grid6 label:nth-of-type(4) .progressbar-fill {
  animation: progressBarFill 5s linear;
}
#banner1, #banner2, #banner3, #banner4{
  display: none;
}
#top-banner-1 {
  background-color: rgb(102, 98, 116);
  background-size: cover;
  animation-name: TopSlider;
}

.slider {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  background-color: rgb(102, 98, 116);
  margin-top: -2px; 
}
  .banner {
    position: absolute;
    display: grid;
    grid-template-columns: minmax(250px, 1245px) ;
    margin: 0px;
    padding: 0px;
    
    justify-content: center;
    opacity: 0;
    z-index: 0;
    width: inherit;
    height: inherit;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: all 0.5s ease;
  }
  
  .banner-inner-wrapper {
    justify-self: center;
    width: 90%;
    height: 90%;
    margin: 30px ;overflow: hidden;
    background-color: rgb(102, 98, 116);
    box-sizing: border-box;
    border-radius: 30px;
	overflow: hidden;
	
  }

.banner-inner-wrapper-jpg {
	object-fit: cover ;
	width: 100%; 
	height: 100%;
	object-position: 50% 50%;
}







  


















  /*------   ОТЗЫВЫ    -------------------------------*/
  
  .razdel-reviews {
    padding: 38px 0 0 0;
    background-color: rgb(252, 247, 245);
    color: #9075a1;
    text-align: center;
  }
  .sestim-donials{
    max-width: 1120px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px ;
    position: relative;
  }
  
  .SectionLine{
    width: 195px;
    height: 3px;
    background: #9075a1;
    margin: 23px auto;
  }
  
  .sagestim-lonials{
    display: flex;
    overflow:auto;
    flex-shrink: 0; 
    overflow-x:hidden;
  }
  .vemotau-vokusipol{
    display: flex;
    flex: 33.33%;
    max-width: 33.33%;
    min-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
  }
  .testimonial {
    flex: 1; 
    background: #f9f4f4;
    padding: 28px;
    border-radius: 30px;
    border-width: 1px;
    border-style:solid;
    border-color: #d2d2df;
  }
  .testimonial img{
	object-position: 50% 0%;
	object-fit: cover ;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: -40px;
  }
  .testimonial p{
    position: relative;
    font-size: 16px;
    margin: 0;
    top: -40px;
	color: rgb(65, 56, 75); 
   }
  .gecedanam{
    position: relative;
    font-size: 20px;
    text-transform: uppercase;
	color: rgb(65, 56, 75);
    margin: 20px 0;
    top: -50px;
  }

  .apogered-gselected{
    color: #53b32b;
    margin-bottom: 20px;
  }
  
  @media screen and (max-width:960px) {
  .vemotau-vokusipol{
    flex: 100%;
    max-width: 100%;
    min-width: 100%;
  }
  }
  
  @media screen and (max-width:600px) {
  .vemotau-vokusipol{
    flex: 100%;
    max-width: 100%;
    min-width: 100%;
  }
  }



















 /* ---------------  кнопки для пролистывания блока отзывов -------------------------------- */

.scroll-button-left{
  position:relative;
  z-index: 1552;
}
.scroll-button-right{
  position:relative;
  z-index: 1552;
}
label.Modal-Close {
  top: 0;
  right: 5px;
  display: inline-block;
  padding: 10px;
  background-color: rgb(69, 70, 83);
  border-radius: 50%;
  cursor: pointer;
  margin: 0px;
  z-index: 105051;
  position:relative;
}
label.Modal-Close:hover{
  background-color: rgb(107, 83, 134);
}

.barClose {
  display: block;
  background-color: #f3f1eb;
  width: 20px;
  height: 3px;
  border-radius: 5px;
  margin: 5px auto;
  transition: background-color 0.4s ease-in, transform 0.4s ease-in,
    width 0.4s ease-in;   
   
}
span.topButtonRight {
  -webkit-transform: translateY(-3px) translateX(2px) rotateZ(45deg);
  -moz-transform: translateY(-3px) translateX(2px) rotateZ(45deg);
  -ms-transform: translateY(-3px) translateX(2px) rotateZ(45deg);
  -o-transform: translateY(-3px) translateX(2px) rotateZ(45deg);
  transform: translateY(-3px) translateX(2px) rotateZ(45deg);
}

span.bottomButtonRight {
   -webkit-transform: translateY(2px) translateX(2px) rotateZ(-45deg);
  -moz-transform: translateY(2px) translateX(2px) rotateZ(-45deg);
  -ms-transform: translateY(2px) translateX(2px) rotateZ(-45deg);
  -o-transform: translateY(2px) translateX(2px) rotateZ(-45deg);
  transform: translateY(2px) translateX(2px) rotateZ(-45deg);

}

span.topButtonLeft {
  -webkit-transform: translateY(-3px) translateX(-2px) rotateZ(-45deg);
  -moz-transform: translateY(-3px) translateX(-2px) rotateZ(-45deg);
  -ms-transform: translateY(-3px) translateX(-2px) rotateZ(-45deg);
  -o-transform: translateY(-3px) translateX(-2px) rotateZ(-45deg);
  transform: translateY(-3px) translateX(-2px) rotateZ(-45deg);
}

span.bottomButtonLeft {
   -webkit-transform: translateY(2px) translateX(-2px) rotateZ(45deg);
  -moz-transform: translateY(2px) translateX(-2px) rotateZ(45deg);
  -ms-transform: translateY(2px) translateX(-2px) rotateZ(45deg);
  -o-transform: translateY(2px) translateX(-2px) rotateZ(45deg);
  transform: translateY(2px) translateX(-2px) rotateZ(45deg);

}












































 /* ---------------  модальное окно -------------------------------- */


   /* свойства модального окна по умолчанию */
   .modal {
    position: fixed;
    /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    /* цвет фона */
    z-index: 105050;
    opacity: 0;
    /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    /* анимация перехода */
    pointer-events: none;
    /* элемент невидим для событий мыши */
  }

  /* при отображении модального окно */
  .modal:target {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  /* ширина модального окна и его отступы от экрана */
  .modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
  }

  @media (min-width: 576px) {
    .modal-dialog {
      max-width: 500px;
      margin: 30px auto;
    }
  }

  /* свойства для блока, содержащего контент модального окна */
  .modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 20px;
    outline: 0;
	 overflow-y: initial !important;
  }

  @media (min-width: 768px) {
    .modal-content {
      -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
      box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
  }

  /* свойства для заголовка модального окна */
  .modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
  }

  .modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
  }

  /* свойства для кнопки "Закрыть" */
  .close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
  }

  /* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
  .close:focus,
  .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
  }

  /* свойства для блока, содержащего основное содержимое окна */
  .modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
	overflow-y: auto;
	margin-bottom: 40px;
	min-height:auto;
  max-height: 50vh ;
  }
  .modal-body p {
	  top:5px;
  }



  /* свойства для кнопки "Закрыть" новый вариант */
  label.Modal-Close {
    top: 5px;
    right: 5px;
    display: inline-block;
    padding: 10px;
    background-color: rgb(69, 70, 83);
    border-radius: 50%;
    cursor: pointer;
    margin: 0px;
    z-index: 105051;
    position: relative;
  }
  label.Modal-Close:hover{
    background-color: rgb(107, 83, 134);
  }

  .barClose {
    display: block;
    background-color: #f3f1eb;
    width: 20px;
    height: 3px;
    border-radius: 5px;
    margin: 5px auto;
    transition: background-color 0.4s ease-in, transform 0.4s ease-in,
      width 0.4s ease-in;   
     
  }
  /*	крестик закрытия меню закрытия меню */
  input[type="checkbox"] ~ label .topClose {
    -webkit-transform: translateY(4px) rotateZ(45deg);
    -moz-transform: translateY(4px) rotateZ(45deg);
    -ms-transform: translateY(4px) rotateZ(45deg);
    -o-transform: translateY(4px) rotateZ(45deg);
    transform: translateY(4px) rotateZ(45deg);
  }
  
  input[type="checkbox"] ~ label .bottomClose {
    -webkit-transform: translateY(-4px) rotateZ(-45deg);
    -moz-transform: translateY(-4px) rotateZ(-45deg);
    -ms-transform: translateY(-4px) rotateZ(-45deg);
    -o-transform: translateY(-4px) rotateZ(-45deg);
    transform: translateY(-4px) rotateZ(-45deg);
  
  }
  
  
  
    /*	кнопка подробнее */
  
label.Modal-Open {
    top: -10px;
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    margin: 0;

    text-transform: uppercase;
    text-decoration: none;

    border-radius: 100px;
    background-color: rgb(69, 70, 83);
    color: #fff;

    cursor: pointer;
    z-index: 5050;

    transition: all 0.2s;

    animation: moveInBottom 0.6s ease-out;
    animation-fill-mode: backwards;
}

/* hover — тень ближе */
label.Modal-Open:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* нажатие — ещё ближе */
label.Modal-Open:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* псевдо-слой */
label.Modal-Open::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border-radius: 100px;
    background-color: rgb(69, 70, 83);

    z-index: -1;
    transition: all 0.4s;
}

/* эффект расширения */
label.Modal-Open:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

/* анимация */
@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}














  /*------   КОНТАКТЫ    -------------------------------*/
  
  .razdel-contacts {
    padding: 0 0 40px 0;
    background-color: rgb(252, 247, 245);
    color: #9075a1;
    text-align: center;
	margin: -2px 0px -2px 0px;
	position: relative;
  }
  .vemotau-vokusipol1{
    background-color: #f9f4f4;
    border-style: solid;
    border-color: #d2d2df;
    border-width:  1px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, auto) );
    padding: 15px;
    margin: 0px;
    overflow :hidden;
  }
  .testimonial_Contact1 {
    background:transparent;
    padding: 0px;
    border-radius: 0px;
    border-width: 0px;
    border-style:solid;
    border-color: #d2d2df;
    overflow :hidden;
  }
  .testimonial_Contact2 {
    background: #f9f4f4;
    padding: 0px;
    border-radius: 30px;
    border-width: 1px;
    border-style:solid;
    border-color: #d2d2df;
    overflow :hidden;
  }
  .contact{
    width: 100%;
    height: 100%;
    border: 0;
  }
  .testimonial_Contact1 > h4 {
    text-align: left;
    margin-left: 20px;
    color: rgb(49, 47, 56);
  }
  .testimonial_Contact1 > p {
    text-align: left;
    margin: 5px 10px 5px 20px;
    color: rgb(49, 47, 56);
  }


























  
  /*------   ФУТЕР    -------------------------------*/
  .skewed-bg {
  background-color: rgb(206, 196, 214);
  padding: 200px 0;
  margin-top: -200px;
}

.skewed-bg .FooterContent {
  text-align: center;
}

.skewed-bg .FooterContent .Footertitle {
  padding-top: 0px;
  font-weight: normal;
}

.skewed-bg .FooterContent .Footertext {
  width: 60%;
  margin: 25px auto;
  color: black;
}







  .razdel-footer {
    padding: 50px 20px 20px 20px;
    background-color: rgb(69, 70, 83);
    color: #f3f3f3;
    text-align: right;
    transform: skew(0deg, -10deg);
    margin-top: -150px;
  }
  .footer-donials{
    max-width: 1120px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px ;
    position: relative;
    transform: skew(0deg, 10deg);
  }
  .razdel-footer-after {
    background-color: rgb(69, 70, 83);
    min-height: 250px;
    margin-top: -50px;
    
  }
  .razdel-footer-after-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, auto) );
      grid-gap: 0px 0px;
      justify-content: center;
  }
.razdel-footer-menu {
    position: relative;
    background:transparent;
    width:600px;
    padding-bottom:0px;
    top: 0px;
	  right: 0px;
  }  

.razdel-footer-after a{
  text-decoration: none;
  color: white;
  font-family:Arial, Helvetica, sans-serif;
  font-style: 50px;
  transition: 0.2s;
  display: block;
  padding: 3px;
}

.razdel-footer-after a:hover{
  
  color: rgb(247, 161, 255);
}














.znak {
    position: relative;
    width: 500px;  
    
    height: 150px;
    margin: auto;
    background:transparent;
    padding:0;
    top: 0px;
  }
.znak-P {
  position:absolute;
      top: 0px;
      left: 30px;
      padding: 0px;
      font-weight:300;
      font-size: 80px;
      color: #ffffff;

      }
.znak-w {
  position:absolute;
  top: 25px;
  left: 25px;
      padding: 0px;
      font-weight:800;
      font-size: 50px;   
      color:chocolate;
      z-index: 200;
  }
  .SectionLine-footer {
    position:absolute;
    width: 100px;
    height: 2px;
    background:chocolate;
    top: 100px;
    left: 85px;
}
.znak-web{
  position:absolute;
    color:chocolate;
    font-weight:300;
    font-size: 26px;   
    top: 45px;
    left: 108px;
}
.znak-desinger{
  position:absolute;
  top: 70px;
  left: 88px;
  padding: 0px;
  font-weight:300;
  font-size: 24px;   
  color: #ffffff;
}

@media (min-width: 420px) {
  .razdel-footer {
    padding: 50px 20px 150px 20px;
    margin-top: -150px;
    transform: skew(0deg, -5deg);
  }
    .footer-donials{
      padding: 0 20px ;
      transform: skew(0deg, 5deg);
  }
  .razdel-footer-after {
    min-height: 250px;
    margin-top: -150px;
  }
  body{
    margin-bottom: -200px;
  }

}





























  
  /*------   ПРЕЛОАДЕР    -------------------------------*/
#preloader{
    position:fixed;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgb(69,70,83);

    z-index:99999;

    opacity:1;
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}

#preloader.hide{
    opacity:0;
	transform:scale(1.05);
    pointer-events:none;
}
/* Контейнер логотипа */

.znak-preloader{
    position:relative;
    width:500px;
    height:150px;
    margin:auto;
    background:transparent;
    padding:0;
    top:0;
	left:100px;
	visibility:hidden;
}

/* P */

.znak-preloader-P{
    position:absolute;
    top:15px;
    left:30px;
    padding:0;

    font-weight:300;
    font-size:85px;
    color:#fff;

    margin:0;
    line-height:1;
}

/* w */

.znak-preloader-w{
    position:absolute;
    top:25px;
    left:25px;
    padding:0;

    font-weight:800;
    font-size:50px;
    color:chocolate;

    z-index:200;

    margin:0;
    line-height:1;
}

/* линия */

.SectionLine-preloader{
    position:absolute;

    width:100px;
    height:2px;

    background:chocolate;

    top:60px;
    left:95px;
}

/* web */

.znak-preloader-web{
    position:absolute;

    color:chocolate;

    font-weight:300;
    font-size:26px;

    top:32px;
    left:115px;

    margin:0;
    line-height:1;
}

/* desinger */

.znak-preloader-desinger{
    position:absolute;

    top:62px;
    left:98px;

    padding:0;

    font-weight:300;
    font-size:24px;

    color:#fff;

    margin:0;
    line-height:1;
}
/* важно: убираем transition вообще */
.preload-item{
    position:absolute;
    will-change:transform, opacity;
}





















/*------   КНОПКА НАВЕРХ    -------------------------------*/

.upbtn {
  opacity: 0.8;
  z-index: 9999;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: -80px;
  right: 20px;
  cursor: pointer;
  border:3px solid #e0bfff;
  border-radius: 10px;
  transition: all .3s ease-in-out;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(42, 42, 42, 0.80);
  background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQ0NC44MTkgNDQ0LjgxOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDQ0LjgxOSA0NDQuODE5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTQzMy45NjgsMjc4LjY1N0wyNDguMzg3LDkyLjc5Yy03LjQxOS03LjA0NC0xNi4wOC0xMC41NjYtMjUuOTc3LTEwLjU2NmMtMTAuMDg4LDAtMTguNjUyLDMuNTIxLTI1LjY5NywxMC41NjYgICBMMTAuODQ4LDI3OC42NTdDMy42MTUsMjg1Ljg4NywwLDI5NC41NDksMCwzMDQuNjM3YzAsMTAuMjgsMy42MTksMTguODQzLDEwLjg0OCwyNS42OTNsMjEuNDExLDIxLjQxMyAgIGM2Ljg1NCw3LjIzLDE1LjQyLDEwLjg1MiwyNS42OTcsMTAuODUyYzEwLjI3OCwwLDE4Ljg0Mi0zLjYyMSwyNS42OTctMTAuODUyTDIyMi40MSwyMTMuMjcxTDM2MS4xNjgsMzUxLjc0ICAgYzYuODQ4LDcuMjI4LDE1LjQxMywxMC44NTIsMjUuNywxMC44NTJjMTAuMDgyLDAsMTguNzQ3LTMuNjI0LDI1Ljk3NS0xMC44NTJsMjEuNDA5LTIxLjQxMiAgIGM3LjA0My03LjA0MywxMC41NjctMTUuNjA4LDEwLjU2Ny0yNS42OTNDNDQ0LjgxOSwyOTQuNTQ1LDQ0MS4yMDUsMjg1Ljg4NCw0MzMuOTY4LDI3OC42NTd6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)
}
.upbtn:hover {
  opacity: 1;
  background-color: #2e263d;

}























/*------   РУБРИКИ    -------------------------------*/
.category-cards-container {
  position: relative;
  padding: 20px;
  max-width: 1200px;
  margin: 0 0 30px 0;
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-content: center;
  justify-items: center;
}

.article-card {
  width: 320px;
  background: white;
  border-radius: 12px;
  overflow: hidden;

  position: sticky;
  top: 20px;

  display: flex;
  flex-direction: column;

  will-change: transform;

  /* 👇 базовая тень */
  box-shadow:
    0 4px 12px rgba(0,0,0,0.10),
    0 1px 3px rgba(0,0,0,0.08);

  /* 👇 transform теперь через variables */
  transform:
    translateY(var(--cardY, 0px))
    scale(var(--cardScale, 1));

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    opacity 0.35s ease;

  z-index: 1;
}

.article-card:hover {
	opacity: 1 !important;
	z-index: 9999 !important;
  /* 👇 лёгкое увеличение */
  transform:
    translateY(calc(var(--cardY, 0px) - 10px))
    scale(calc(var(--cardScale, 1) * 1.03));

  /* 👇 эффект "поднятия" */
  box-shadow:
    0 18px 40px rgba(0,0,0,0.18),
    0 8px 18px rgba(0,0,0,0.12);

  opacity: 1;
}

.article-card {
  opacity: var(--cardOpacity, 1);
}

.card-link {
  text-decoration: none;
  color: #333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image {
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.no-image {
   background: #f0f0f0 url("bg.jpg") center center / cover no-repeat;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-style: italic;
}

.card-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-excerpt {
  color: #666;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #888;
}

/* Эффект уменьшения при скролле */
.article-card.scrolled {
  transform: scale(0.92);
  opacity: 0.88;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-card.scrolled .card-image img {
  transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
  .article-card {
    width: 100%;
    position: relative; /* Отключаем sticky на мобильных */
  }
  .category-cards-container {
    padding: 10px;
  }
}























/***********************************************************************/
/*******************           Single          *************************/
/***********************************************************************/
/*=====================================================
  H1
=====================================================*/
.single__title h1 {
  font-family: "Montserrat", sans-serif;
  
  color: rgba(42, 42, 42, 0.90);

  font-weight: 200;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  line-height: 0.92;

  /* крупный premium hero */
  font-size: clamp(4.5rem, 9vw, 9rem);
  text-align: left !important; /* принудительно по левому краю */

  margin-bottom: 0em;
}

.single__article {
  display: flow-root; /* чтобы контейнер "обнимал" float */
  text-align: justify; /* текст по ширине блока */
  margin-left: 0; /* выравнивание по левому краю */
  padding-bottom: 1em;
  
}

.single__article h1{
  text-align: center !important; /* принудительно по левому краю */
  
}

.single__article p {
  font-family: "Montserrat", sans-serif;
  
  color: rgba(42, 42, 42, 0.90);

  font-weight: 700;

  letter-spacing: 0.05em;

  line-height: 1.0;

  /* основной шрифт single*/
  font-size: clamp(1rem, 1.4vw, 1.4rem);

  margin-bottom: 0em;
}

.single__article img {
  float: left;
  width: 33.333%;
  height: auto;
  margin: 20px 20px 20px 0;
  border-radius: 12px;
}
/* Мобильные устройства */
@media (max-width: 768px) {
  .single__article img {
    float: none;
    display: block;
    width: 100%;
	height: auto;
    margin: 0 0 20px 0;
	border-radius: 12px;
  }
}











.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.post-navigation {
  padding: 0 10px;
  background: #f9f4f4;
  border-width: 1px;
  border-style: solid;
  border-color: #d2d2df;
  border-radius: 20px;
  overflow: hidden;
  
}
/* сама "кнопка-ссылка" */
.post-navigation a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 1px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.2s ease;
  color: #000;
}

/* текст */
.nav-title {
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  max-width: 360px;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* максимум 2 строки */
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.post-navigation label.Modal-Close {
    top: 0px !important;
	right: 0px !important;
}
















/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 15px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color:  #9075a1;
  padding: 7px 10px;
  background: #f9f4f4;
  border-width: 1px;
  border-style: solid;
  border-color: #d2d2df;
  border-radius: 10px;
  overflow: hidden;
}

.breadcrumbs a {
    color:  #9075a1;
    text-decoration: none;
}

.breadcrumbs a:hover {
	color: #999;
	text-decoration: underline;
	
}

.breadcrumbs span {
    color: #fff;
}

