/* Caveat */
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* El Messiri */
@font-face {
  font-family: 'El Messiri';
  src: url('../fonts/ElMessiri-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'El Messiri';
  src: url('../fonts/ElMessiri-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'El Messiri';
  src: url('../fonts/ElMessiri-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'El Messiri';
  src: url('../fonts/ElMessiri-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Inter */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}



:root{
    /*main*/

    --linen: #F1F2ED;
    --beige: #E7D7CA;
    --desert: #C5AA9F;
    --coffe: #988076;
    --forest: #4C3F39;
    --white: #FCFBF9;
    --whiteo: #FBFCFA80;
    --header-bg:#F1F2ED99;
    --black: #000000;

    
    /*font*/
    --family1:'Inter', sans-serif;
    --family2: 'El Messiri', sans-serif;
    --family3: 'Caveat', sans-serif;
    


   
}


*{
    box-sizing: border-box;
}

*:focus{
    box-shadow: none;
    outline: none;
}

form{
    margin: 0;
}

body,html{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    font-family: var(--family1);
    background: var(--white);
    color: var(--coffe);

}

.page-container{
    min-height: 100vh;
    flex-direction: column;
    display: flex;
    overflow: hidden;
}

img, figure{
    max-width: 100%;
}

a{
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    text-decoration: none;
    color: var(--coffe);
    transition: .3s all ease-in-out;
}

a:hover{
  text-decoration: none;
  color: var(--coffe);
  font-weight: 400; /* нормальний */
  text-shadow: 0.03em 0 0 currentColor, -0.03em 0 0 currentColor;
}

main{
    flex-grow: 1;
}

p{
    margin-bottom: 10px;
}

p:last-child{
  margin: 0;
}

.wrap{
    max-width: 1320px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
}

@media(max-width: 1320px){
    .wrap{
        max-width: 960px;
    }
}


@media(max-width: 960px){
    .wrap{
        max-width: 768px;
    }
}

@media(max-width: 768px){
    .wrap{
        max-width: 360px;
    }
}

.mind-btn{
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--linen);
  background: var(--coffe);
  padding: 0 58px;
  transition: .3s all ease-in-out;
  color: var(--white);
  text-shadow: none;
  cursor: pointer;
}

.mind-btn:hover{
  font-weight: 700;
  border-color: var(--beige);
  background: var(--desert);
  color: var(--white);
  text-shadow: none;
}

.mind-btn:active{
  font-weight: 700;
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
  text-shadow: none;
}

.mind-btn-light{
  font-weight: 700;
  border-color: var(--beige);
  background: var(--desert);
  color: var(--white);
  text-shadow: none;
}


.mind-btn-light:hover{
  font-weight: 700;
  background: var(--coffe);
  border-color: var(--linen);
  color: var(--white);
  text-shadow: none;
}

.mind-btn-light:active{
  font-weight: 700;
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
  text-shadow: none;
}

.btn-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: var(--coffe);
  border: 2px solid var(--linen);
  cursor: position;
  transition: .3s all ease-in-out;
}

.btn-icon:hover{
  background: var(--desert);
  border-color: var(--beige);
}

.btn-icon:active{
  background: var(--forest);
  border-color: var(--forest);
}


/* article */

.articles-sec{
	padding: 64px 0 72px;
	position: relative;
}

.articles-sec-cont{
	position: relative;
	padding-bottom: 52px;
}

.articles-sec-cont > .wrap{
	z-index: 2;
}

.articles-sec-bg{
	height: 262px;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	z-index: 1;
	background: var(--beige);
}

.articles-sec-block{
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.articles-sec-title-cont{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.articles-sec-title-block{
	display: flex;
	flex-direction: column;
}

.articles-sec-title{
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--forest);
	font-family: var(--family2);
	font-weight: 600;
	font-size: 40px;
	line-height: 120%;
	text-transform: uppercase;
}

.articles-sec-title .icon{
	background: var(--coffe);
	border: 2ox solid var(--linen);
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.articles-sec-semititle{
	color: var(--desert);
	font-family: var(--family3);
	font-weight: 400;
	font-size: 32px;
	line-height: 120%;
}

.articles-sec-title-text{
	max-width: 511px;
	color: var(--coffe);
	font-weight: 400;
	font-size: 18px;
	line-height: 120%;
}

.articles-sec-list{
	margin: 0 -8px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 0;
}

.articles-sec-list-item-block{
	display: flex;
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 8px;
	display: flex;
}

.articles-sec-list-item{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--linen);
}

.articles-sec-item-img-block{
	position: relative;
	padding: 4px;	
}

.articles-sec-item-img{
	width: 100%;
	aspect-ratio: 300 / 304;
	overflow: hidden;
	position: relative;
}

.articles-sec-item-img img{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.articles-sec-item-line{
	position: absolute;
	z-index: 2;
	height: 1px;
	width: 5px;
	background: var(--coffe);
	left: 4px;
	bottom: 4px;
}

.articles-sec-item-line:before, .articles-sec-item-line:after{
	content: "";
	position: absolute;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	background: var(--coffe);
	rotate: 45deg;
}

.articles-sec-item-line:before{
	left: -5px;
}

.articles-sec-item-line:after{
	right: -2px;
}

.articles-sec-item-name{
	padding: 4px 4px 8px;
	min-height: 78px;
	color: var(--forest);
	font-weight: 700;
	font-size: 16px;
	line-height: 140%;
}

.articles-sec-item-name:hover{
	font-weight: 700;
	color: var(--forest);
}

/* faq-sec */

.faq-sec{
  padding: 64px 0;
  background: var(--linen);
}

.faq-cont{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-title-cont{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-title{
  color: var(--desert);
  font-family: var(--family3);
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  text-transform: uppercase;
}

.faq-semititle{
  color: var(--forest);
  font-family: var(--family2);
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  text-transform: uppercase;
}

.faq-list-cont{
  display: flex;
  align-items: flex-start;
  gap: 130px;
}

.faq-img{
  position: relative;
  margin-bottom: 54px;
  aspect-ratio: 420 / 642;
  max-width: 420px;
  width: 100%;
  flex: 0 0 420px;
}

.faq-img img{
  position: relative;
  z-index: 3;
}

.faq-img:before, .faq-img:after{
  content: "";
  position: absolute;
}

.faq-img:before{
  z-index: 2;
  border:6px solid var(--desert);
  width: 406px;
  height: 695px;
  top: 28px;
  left: -52px;
}

.faq-img:after{
  z-index: 1;
  background: var(--beige);
  width: 362px;
  height: 566px;
  bottom: -39px;
  right: -65px;
}

.faq-list{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-top: 3px;
  padding-top: 7px;
  border-top: 1px solid var(--coffe);
  position: relative;
}

.faq-list:before{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: -3px;
  left: 0;
  rotate: 45deg;
  background: var(--coffe);
}

.accordion-item{
  background: transparent;
  border-radius: 0;
  margin-bottom: 3px;
  border:none;
  border-bottom: 1px solid var(--coffe);
  padding-bottom: 7px;
  position: relative;
}

.accordion-item:before{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  bottom: -3px;
  left: 0;
  rotate: 45deg;
  background: var(--coffe);
}

.accordion-item:first-of-type, .accordion-item:last-of-type{
  border-radius: 0;
}

.accordion-title-block{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 32px 25px 8px;
  cursor: pointer;
}

.accordion-title{
  flex-grow: 1;
  color: var(--forest);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
  transition: .3s all ease-in-out;
}

.accordion-title-block:hover .accordion-title, .accordion-item.opened .accordion-title{
  color: var(--coffe);
}

.accordion-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  flex: 0 0 20px;
  height: 20px;
}

.accordion-icon svg{
  left: 0;
  position: absolute;
  top: 0;
  transition: .3s all ease-in-out;
}

.accordion-item.opened .accordion-icon svg{
  rotate: 180deg;
}

.accordion-item.opened .plus-icon{
  opacity: 0;
}

.accordion-icon .minus-icon{
  top: 9px;
}

.accordion-dropdown{
  padding: 0 8px 12px;
  color: var(--forest);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  display: none;
}

@media(max-width: 1320px){
  .faq-list-cont{
    gap: 35px;
  }

  .faq-img{
    max-width: 263px;
    margin-left: 13px;
    flex: 0 0 263px;
  }

  .faq-img:before{
    border-width: 4px;
    width: 240px;
    height: 437px;
    top: 18px;
    left: -18px;
  }

  .faq-img:after{
    width: 205px;
    height: 356px;
    bottom: -25px;
    right: -19px;
  }

  .faq-title{
    font-size: 40px;
    line-height: 120%;
  }

  .faq-semititle{
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
  }

  .accordion-title{
    font-size: 20px;
  }

  .accordion-dropdown{
    font-size: 16px;
    line-height: 120%;
  }
}

@media(max-width: 960px){

}

@media(max-width: 768px){
  .faq-list-cont{
    flex-direction: column-reverse;
    gap: 60px;
  }

  .faq-list{
    width: 100%;
  }

  .faq-img{
    max-width: 276px;
    margin-left: 15px;
    flex: 0 0 auto;
  }

  .faq-img:before{
    border-width: 6px;
    width: 267px;
    height: 457px;
    left: -34px;
    top: 18px;
  }

  .faq-img:after{
    width: 215px;
    height: 372px;
    bottom: -26px;
    right: -20px;
  }
}


/* seo-sec */

.seo-sec{
  padding: 64px 0;
}

.seo-text{
  color: var(--forest);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}

@media(max-width: 1320px){
  .seo-text{
    font-size: 16px;
    line-height: 140%;
  }
}

@media(max-width: 960px){

}

@media(max-width: 768px){

}

/*  */

@media(max-width: 1320px){

}

@media(max-width: 960px){

}

@media(max-width: 768px){

}