
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'FixelText';
    src: url('/fonts/FixelText-Medium.woff2') format('woff2'),
        url('/fonts/FixelText-SemiBold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap; }


@font-face {
    font-family: 'Neutral Face';
    src: local('Neutral Face Bold'), local('NeutralFaceBold'),
        url('NeutralFaceBold.eot?#iefix') format('embedded-opentype'),
        url('/fonts/NeutralFaceBold.woff2') format('woff2'),
        url('/fonts/NeutralFaceBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');



ul {
  list-style-type: none;
}


:root {
   --color-white:#ffff;
   --color-button-primary:#FF6060;
   --color-button-secondary:#E13333;
   --color-notfull-black:#222222;
   --section-grey:#383838;
   --color-pink-accent:#FFBEBE;
   --border-grey:#929292;


   --color-text-blue:#394674;
   --color-border-brown:#695945;
   --color-background:#E7E2D7;
   --color-text-black:#353535;
   --color-card-background:#E1E1E1;
   --color-discount:#DE7D7D;
   --color-button-grey:#808080;
   --color-button-block:#CFCABE;
   --color-green-offer:#6D8070;

}

body {
    margin: 0;
}
.offer-container1 {
  width: 100%;
    max-width: 1380px;
    margin: 0 auto;

   
}

/* offer-section */

.offer_section {
   background-color: var(--color-background);
   display: flex;
   border-bottom-left-radius: 40px;
   border-bottom-right-radius: 40px;
   position: relative;
   overflow: hidden;
     
}
.offer-container {
  
   position: relative;

    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;

    z-index: 5;
}

.offer-title {
 
  padding-top: 5px;
  width: 859px;
  height: 120px;
  line-height: 60px;
   font-size: 58px;
  margin: 0;
   margin-bottom: 10px;
  font-family: 'Neutral Face';
  font-weight: bold;


 color: var(--color-border-brown);
}

.offer-text {
  margin: 0;
  width: 859px;
  height: 155px;
  font-family: 'FixelText';
  font-weight: 600;
  color: var(--color-text-blue);
  font-size: 28px;
}
.offer-text-accent {
  color: var(--color-border-brown);
}
.offer-left-block {
  display: flex;
  flex-direction: column;
  gap: 110px;
}
.price-block-text {
  margin: 0;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 28px;
  color: var(--color-border-brown);
}
.price-discount {
  color: var(--color-discount);
  font-weight: 500;
  text-decoration: line-through;
}
.price-price {
  font-weight: 600;
  color:var(--color-text-blue);
}

.see-program-button {
  width: 360px;
  height: 70px;
  font-family: 'Montserrat';
  font-size: 24px;
  font-weight: 500;
  background: none;
  border-radius: 40px;
  color: var(--color-button-grey);
  border: 3px solid #808080;
}
.see-program-button:hover {
   border: 3px solid #DE7D7D;
   color: var(--color-discount);
}
.button-block {
  align-items: center;
  gap: 30px;
  display: flex;
  align-items: center;
  border-radius: 60px;
  border-top-left-radius: 30px;
   border-bottom-left-radius: 30px;
  background-color: var(--color-button-block);
  padding: 6.5px 10px ;
  width: 742px;
}
.price-buttons-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.littlebrownline {
  position: absolute;
  left: 1000px;
  top: 392px;
}

.bigbrownline {
position: absolute;
top: -60px;
left: 50px;
 overflow: visible; 
}



.offer-img1 {
  display: none;
}

/* offer-container2*/

.offer-container2 {
  background: var(--color-green-offer);
  border-radius: 40px;
   border-top-right-radius: 0;
   border-bottom-right-radius: 40px;
  overflow: hidden;          /* ✅ ОБРЕЗАЕТ ВСЁ ВЫХОДЯЩЕЕ */
  position: relative;  
   width: 650px;
  height: 685px; 
}
.offer-container2 img{
  position: absolute;
  inset: 0;                  /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;         /* можно contain, если нужно без кропа */
  display: block;
}

.offer-img {
  position: relative;
  width: 650px;
  height: 685px;
  border-bottom-right-radius: 40px;
 
}
 .greenline {
  position: relative;
  top: 90px;
  width: 8;

 }
 
 .greenline1 {
  display: none;
 }
 .adaptiv-background {
  display: none;
 }

 .offer-container2 img.offer-img{ z-index: 2; }
.offer-container2 img.greenline{ z-index: 1; pointer-events: none; } /* линия поверх */



/* инфа оффер */

.offer-info {
  position: absolute;
  background-color: var(--color-white);
  width: 277px;
  height: 79px;
  display: flex;
  border-radius: 30px;
  z-index: 10;
  align-items: center;

  top: 590px;
  left: 160px;
}
.offer-info p {
  font-family: 'FixelText';
  margin: 0;
}
.offer-info svg {
  margin-left: 15px;
  margin-right: 10px;
}
.ofinf1 {
 font-size: 16px;
 font-weight: 500;
 color: var(--color-text-blue);
}
.ofinf2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-border-brown);
}

.offer-info1 {
  display: none;
}
@media (max-width: 430px) {

  .offer-container2 {
    display: none;
  }
  .offer-title{
  
  max-width: 859px;      /* можно ограничить ширину, но не фиксить */
  line-height: 1.15;     /* вместо 60px */
  height: auto;
}
.offer-text{
  /* height: 155px; — убрать */
  height: auto;
  line-height: 1.4;
}

/* чтобы длинные слова/украинские переносились, а не распирали контейнер */
.offer-title, .offer-text{
  overflow-wrap: anywhere;
  hyphens: auto;
}
  
   .button-block .see-program-button {
    font-size: 20px;
  }
 
  .offer_section {
   display: flex;
   flex-direction: column;
   
}
.offer-container {
  padding: 22px 11px;
  padding-bottom: 32px;
}
 .offer-title {
    width: 324px;
    height: 159px;
    line-height: 40px;
    font-size: 36px;
  }
  .offer-text {
    width: 311px;
    height: 175px;
    font-size: 18px;
  }
  .price-block-text {
   font-size: 18px;
}
.price-buttons-block {
  align-items: center;
  gap: 12px;
}
.button-block {
  flex-direction: column;
  gap: 12px;
  width: 320px;
  border-radius:  40px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding-top: 12.5px ;
  padding-bottom: 12.5px ;
}

.button-block .offer-button {
  width: 320px;

}
body .offer-button {
  width: 320px;
  font-size: 20px;
}
.see-program-button {
  width: 320px;
}

.offer-img {
 display: none;
}
.offer-img1 {
  display: inline;
  z-index: 2;
  object-fit: cover;
  width: 100%;
}

.greenline1 {
  position: absolute;
  display: inline; 
  z-index: 1;
  left: -50px;
  
width: 400px !important;

  max-width: none !important;
}
.adaptiv-background {
  border-radius: 40px;
  align-self: center;
  background-color: var(--color-green-offer);
  height: 400px;
  width: 340px;
  overflow: hidden;
  display:flex;
  position: relative;
}

.offer-left-block {
  gap: 25px;
}




.bigbrownline {

top: -100px;
left: 120px;


  width: 300px !important;
  height: 1000px !important;
  max-width: none !important;
 rotate: 0deg;
}



 


.offer-info1 {
  position: absolute;
  background-color: var(--color-white);
  width: 237px;
  height: 60px;
  display: flex;
  border-radius: 30px;
  z-index: 3;
  align-items: center;

  top: 330px;
  left: 92px;
  
}
.offer-info1 p {
  font-family: 'FixelText';
  margin: 0;
}
.offer-info1 svg {
  margin-left: 15px;
  margin-right: 10px;
  width: 20px;
}
.ofinf1_1 {
 font-size: 14px;
 font-weight: 500;
 color: var(--color-text-blue);
}
.ofinf2_1 {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-border-brown);
}

}

  
/* Кнопка */
.offer-button {
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Montserrat';
  font-size: 26px;
  font-weight: 500;

  background: linear-gradient(106.49deg, #A26060 -2.34%, #DE7D7D 59.12%, #664242 126.18%);
  border: none;

  width: 360px;
  height: 80px;
  border-radius: 25px;

  color: #FFFFFF;



}

.offer-button:hover {
 transform:scale(1.04);       
box-shadow: 0px 0px 20px 8px rgba(255, 41, 41, 0.25);

}

.offer-button:active{ transform:scale(1); }





/* ——— forwhom-section ——— */
.section-title {
  font-size: 58px;
  margin: 0;
  font-family: 'Montserrat';
  font-weight: 700;


    background: linear-gradient(88.51deg, #9F8B71 8.94%, #695945 53.14%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  /* на всякий случай для многострочного текста */
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.title-color-accent {
  color: var(--color-button-primary);
}
.forwhom-section {
  padding: 80px 0;
  text-align: center;                /* заголовок і тексти по центру */
}
.forwhom-section .container,
.forwohm-container {                 /* у тебе клас саме forwohm-container */
  max-width: 1216px;                 /* можеш змінити під свій макет */
  margin: 0 auto;                    /* центр по горизонталі */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.forwhom-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr)); /* 2 колонки */
  gap: 32px;                                       /* проміжки між картками */
  justify-content: center;                               /* центрує сітку в контейнері */
}
/* Розкладаємо явно по клітинках */
.forwhom-card:nth-child(1){ grid-column:1; grid-row:1; }
.forwhom-card:nth-child(2){ grid-column:1; grid-row:2; }
.forwhom-card:nth-child(3){ grid-column:2; grid-row:1; }
.forwhom-card:nth-child(4){ grid-column:2; grid-row:2; }
.forwhom-card {
  padding: 33px;
  padding-bottom: 74px;
  border-radius: 40px;
  border: 2px solid var(--color-border-brown);
  display: flex;
  
  justify-content: center;        
  text-align: start;
  max-width: 592px;    
  max-height: 250px;
  font-size: 28px;
  font-weight: 500;
  font-family: 'FixelText'; 
  color: var(--color-text-blue);
  
}
.forwhom-card p {
  margin-top: 0;
}

@media (max-width: 430px){

  .forwhom-section .container,
.forwohm-container {                 /* у тебе клас саме forwohm-container */
  max-width: 340px;                 /* можеш змінити під свій макет */
  
  
}
.forwohm-container {
  gap: 30px;
}
  .section-title {
    font-size: 32px;
  }
  .forwhom-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
.forwhom-card {
  font-size: 20px;
  max-height: 100px;
  padding-left: 20px;
  padding-top: 20px;
  padding-right: 35;
  padding-bottom: 35px;
  border-radius: 20px;
}
.forwhom-card p {
margin: 0;
}
}


/*  whawillutake-section */


.whawillutake-section {
  padding: 80px 0;
  text-align: center;                /* заголовок і тексти по центру */
}


.whawillutake-section .container {
  padding: 60px 30px;               /* внутрішні відступи */
}

.whawillutake-container {
  background-color: var(--color-background);
  border: 1px,solid;
  border-color: var(--color-border-brown);
  border-radius: 40px;
  width: 100%;
  height: 100%;
  max-height: 900px;
  max-width: 1216px;
  margin-inline: auto;              /* центр всього блоку */
  display: flex;
  flex-direction: column;
  align-items: center;              /* центр заголовка/контенту */
  gap: 40px;
}

/* Список — строго по центру екрана */
.whawillutake-list {
  padding: 0;
  width: 100%;
  max-width: 1175px;                /* замість фіксованої width */
  margin-inline: auto;              /* центр самого списку */
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 53px 25px;
  justify-items: center;            /* центрує картки в колонках */
}

/* Картки — по центру своїх колонок */
.whawillutake-card:nth-child(1){ grid-column:1; grid-row:1; }
.whawillutake-card:nth-child(2){ grid-column:1; grid-row:2; }
.whawillutake-card:nth-child(3){ grid-column:2; grid-row:1; }
.whawillutake-card:nth-child(4){ grid-column:2; grid-row:2; }


.whawillutake-card {
  width: 100%;
  max-width: 575px;
  margin: 0;                        /* прибираємо сторонні margin-и */
  display: flex;
  align-items: start;
  gap: 14px;
  text-align: left;                 /* або center — за бажанням */
  color: #fff;                      /* світлий текст на чорному фоні */
}
.whawillutake-card p{
  margin: 0;
  font-family: 'FixelText';
  font-weight: 500 ;
  font-size: 32px;
  max-width: 500px;
  color: var(--color-text-blue);
}

.whawillutake-button {
  margin-bottom: 50px;
}
.whawillutake-title {
  margin-top: 50px;
  color: var(--color-white);
}


@media (max-width: 430px) {
  .whawillutake-title {
  margin-top: 30px;
}
  .whawillutake-container {
    gap: 25px;
    border-radius: 20px;
  }
  .whawillutake-section .container {
  padding: 0 10px;
}
.whawillutake-list {
  width: 100%;
  max-width: 340px;                /* замість фіксованої width */
  margin-inline: auto;              /* центр самого списку */
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-items: center;  
  align-items: center;
  padding: 0;     
  margin: 0;    /* центрує картки в колонках */
}
.whawillutake-card p{
  font-weight: 500 ;
  font-size: 18px;
  max-width: 268px;
  margin: 0;
}
.whawillutake-card img {
  width: 40px;
  height: 40px;
  align-self: flex-start;
}
.whawillutake-button {
  margin-bottom: 30px;
}
.whawillutake-card .streamline {
  width: 30px;
  height: 30px;
}
.whawillutake-card {
  width: auto;
}
}


/* ——— programofcourse ——— */

.porgramofcourse-section{
  padding: 80px 0;             
}
.porgramofcourse-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.porgramofcourse-list {
  width: 1216px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 32px;
  padding: 0;
  display: grid;
  margin-top: 60px;
  margin-bottom: 53px;
}

.porgramofcourse-card {
  background-color: var(--color-card-background);
  border: 1px solid;
  border-color: var(--color-border-brown);
  border-radius: 40px;
 padding-left: 13px;
 padding-top: 20px;
  display: flex;
  height: 440px;
  width: 578px;
  gap: 15px;
  justify-content: start;
  align-items: start;
  
}

.porgramofcourse-card:nth-child(7)  {
   height: 576px;
}
.porgramofcourse-card:nth-child(8)  {
   height: 576px;
}

.porgramofcourse-card-title {
  width: 416px;
  margin-top: 15px;
  margin-bottom: 10px;
  font-family: 'Montserrat';
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: var(--color-text-blue);
}
.porgramofcourse-card-text {
  width: 416px;
  margin: 0;
  color: var(--color-text-black);
  font-family: 'FixelText';
  font-weight: 500;
  font-size: 24px;
  line-height: 40px;

}

.programofcourse-little-list {
    list-style-type: disc;
}

@media (max-width: 430px) {
  .porgramofcourse-card .porgramofcourse-card-title {
    font-size: 20px;
    line-height: 20px;
    width: 219px;
  }
  .porgramofcourse-card-text1 {
    padding-bottom: 30px;
  }
   .porgramofcourse-list .porgramofcourse-card {
  height: 100%;
  width: 327px;
  gap: 10px; }

 .porgramofcourse-list {
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
   padding: 0;
 }
 .programofcourse-little-list {
  padding: 0 20px ;
  padding-bottom: 30px;
  width: 221px;
  height: 100%;
 }
  .porgramofcourse-texts .programofcourse-little-list p {
  width: 180px;
 
 }
 
 .porgramofcourse-card p {
  letter-spacing: 2%;
  line-height: 25px;
  width: 220px;
  font-size: 16px;
 }
 .programofcoursesvg {
  width:60px;
  height: 60px;
 }
 
}


/* ——— Відгуки ——— */

/*відгуки — фото целиком (без обрезки), центр по горизонтали и вертикали*/
.reviews-container{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin-top:60px;
  margin-bottom:60px;
}

/* Контейнер слайдера */
#reviewsSwiper.swiper{
  margin-top: 60px;
  position:relative;
  width:100%;
  max-width:560px;
  height:380px;                 /* фиксируем “окно просмотра” */
  border-radius:40px;
}

/* Стрелки */
#reviewsSwiper .swiper-button-prev,
#reviewsSwiper .swiper-button-next{
  color:var(--color-praimary-blue);
  width:38px; height:38px;
}

/* Слайды: центрируем контент */
#reviewsSwiper .swiper-slide{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;              /* цвет полей вокруг фото */
}

/* Картинка: показываем ПОЛНОСТЬЮ, без кропа */
#reviewsSwiper .swiper-slide img{
  display:block;

  /* ключевые переопределения */
  object-fit:contain !important;
  object-position:center !important;

  /* вписываемся в окно, не растягивая */
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;

  /* защита от размытия */
  transform:none !important;
  backface-visibility:hidden;
}

/* Подпись под слайдером */
.swiper-caption{
  margin-top:1px;
  text-align:center;
  font:300 38px/1.35 "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--color-secondary-grey);
}
.swiper-caption::before{
  content:"";
  display:block;
  width:560px;
  height:2px;
  margin:0;
  background:linear-gradient(90deg, #6044FF 0%, rgba(30,0,198,0.8) 100%);
  border-radius:999px;
}

/* Адаптив */
@media (max-width:387px){
    
  #reviewsSwiper.swiper{
    width:340px;
    height:400px;              /* при необходимости подстрой под свои пропорции */
    border-radius:20px;
  }
  .swiper-caption{ font-size:30px; }
  .swiper-caption::before{ width:340px; height:2px; }
}

/* ——— author-section ——— */
.author-section{
  padding: 80px 0;
  text-align: center;               
}
.author-container {
  border: 1px, solid , var(--color-border-brown);
  background-color: var(--color-background);
  border-radius: 40px;
  width: 100%;
  height: 100%;
  max-height: 1000px;
  max-width: 1216px;
  margin-inline: auto;              /* центр всього блоку */
  display: flex;
  flex-direction: column;
  align-items: center;              /* центр заголовка/контенту */
}
.author-container .section-title {
  color: var(--color-white);
}
.author-div {
  display: flex;
  height: 745px;
  align-items: center;
  margin-bottom: 40px;
}

.author-container h1 {
  margin-top: 40px;
  margin-bottom: 40px;
}
.author-about {
  width: 540px;
  font-family: 'FixelText';
  font-size: 27px;
  font-weight: 500;
  color: var(--color-notfull-black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}
.author-about-list {
  display: flex;
  flex-direction: column;
 align-items: flex-start;
 
}
.author-about-card {
  width: 540px;
  border-bottom: 1px solid var(--border-grey);
  text-align: start;
}
.author-about-card p {
  font-size: 20px;
  max-width: 470px;
  width: 100%;
}
.author-about-title {
  font-weight: 600;
  font-family: 'Montserrat';
  color: var(--color-text-blue);
  font-size: 34px;
  padding-left: 40px;
  margin: 0;
}

@media (max-width: 430px) {
  .author-section .author-section-title {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .author-container {
    gap:40px;
  display:flex;
  flex-direction:column;
  border-radius: 20px;
  height: 900px;
  max-width: 340px;
          
}
  .author-div {
    flex-direction: column-reverse;
  }
  .author_photo {
    width: 320px;
    height: 410px;
  }
  .author-about {
    align-items: center;
  width: 340px;
  font-size: 20px;
  
}
.author-about-card {
  width: 320px;
}
  .author-about-title {
    width: 320px;
    font-size: 20px;
    padding: 0;
    
  }
  .author-about-list {
    width: 320px;
    padding: 0;
  }
  .author-about-card p {
    font-size: 16px;
    margin-top: 10px;
     margin-bottom: 10px;
  max-width: 320px;
  width: 100%;
}
}


/*slider*/
    .swiper {
        max-width: 560px;
      width: 100%;
         max-height: 380px;
      height: 100%;
      border-radius: 40px;
      
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
@media (max-width: 430px) {
  .swiper {
        max-width: 340px;
      width: 100%;
         max-height: 380px;
      height: 100%;
      border-radius: 20px;
      
    }
    
}


    
  /*FAQ-section*/
  .FAQ-section {
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 
   .FAQ-container {
    width: 1216px;
   }
  .faq-list { 
    margin-top: 60px;
  list-style: none; 
  padding: 0; 
  display: grid; 
  gap: 16px; 
}

.faq-item { 
  border-bottom: 1px solid var(--border-grey); 
   border-top: 1px solid var(--border-grey); 
  background: #fff; 
}
.faq-item span {
  color: var(--color-text-blue);
}
/* Кнопка-вопрос */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 20px;
  font: 500 36px 'Montserrat';
  color: var(--color-notfull-black);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}



.faq-q{ 
  color: var(--color-button-primary); 
} 
.faq-icon{ 
  color: var(--section-grey);
  transition: transform .25s ease;
 }
.faq-q[aria-expanded="true"] .faq-icon{ 
  transform: rotate(45deg);
 }
 
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  padding: 0 20px;           
  text-align: start;
}
.faq-a p {
  margin-top: 20px;
  margin-bottom: 20px;
}
.faq-a > * { 
  margin: 16px 0 20px; 
  font: 500 24px 'Montserrat'; 
  color: var(--color-notfull-black);
}

@media (max-width: 430px) {
  .FAQ-container {
    width: 340px;
   }
   .faq-list {
    gap: 5px;
   }
   .faq-q {
    font-size: 20px;
    padding: 20px 5px;
   }

   .faq-a > * { 
  margin: 16px 0 20px; 
  font: 500 16px 'Montserrat'; 
  color: var(--color-notfull-black); 
}


  /* фиксированный размер плюса/крестика во всех брейкпоинтах */
.faq-icon{
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 22px;        /* запрещаем flex-сжатие/рост */
  display: inline-block; /* не растягивается на всю строку как block */
  color: var(--section-grey);
  transition: transform .25s ease;
}

/* опционально: полностью игнорировать глобальный max-width для этой иконки */
.faq-icon{ max-width: none; }
}


@media (max-width: 370px) {
  .FAQ-container {
    width: 300px;
   }
}



/* ——— footer ——— */
.footer {
  padding: 80px 0;
  text-align: center;  
   display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
}
.footer .container {
  border: 1px,solid, var(--color-border-brown);
  width: 100%;
  background: var(--color-background);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}
.footer-container {
 display: flex;
 flex-direction: column;
 align-items: center;
 
}
.footer-container h1 {
  color: var(--color-white);
  margin: 46px 0;
}
.footer .footer-container .footer-title{
  background: none !important;
  -webkit-background-clip: initial !important;
          background-clip: initial !important;
  -webkit-text-fill-color: var(--color-border-brown) !important; 
  color: var(--color-border-brown) !important;
}
.footer-list {
display: grid;
gap: 40px;
grid-template-columns: repeat(2, minmax(260px, 1fr));
margin-bottom: 84px;
}
.footer-list > li:nth-child(1){ grid-column:1; grid-row:1; }
.footer-list > li:nth-child(2){ grid-column:1; grid-row:2; }
.footer-list > li:nth-child(3){ grid-column:2; grid-row:1; }
.footer-list > li:nth-child(4){ grid-column:2; grid-row:2; }

.footer-button {
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 27px;
  color: var(--color-white);
  width: 500px;
  height: 100px;
  background-color: var(--color-border-brown);
  border: 0;
  border-radius: 60px;
}
.footer-button:hover {
  background-color: var(--color-text-blue);
}
.adress-copyright {
  align-self: center;
  font-family: 'Montserrat';
  color: var(--color-white);
  display: flex;
  gap: 50px;
  padding: 0;
}
.adress-copyright a {
  text-decoration: none;
  color: var(--color-border-brown);
  font-size: 20px;
}
.adress-copyright a:hover {
  text-decoration: none;
  color: var(--color-text-blue);
  

}

.adress-copyright li:last-child p{
  font-size: 20px;
  color: var(--color-text-blue);
}
@media (max-width: 430px) {
  .footer .container {
  width: 100%;
  
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.footer-list {
  gap: 15px;
  padding: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.footer-button {
  width: 320px;
  height: 78px;
}
.footer-button p {
  font-size: 20px;
}
.adress-copyright {
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  padding: 0;

}
.footer .adress-copyright p {
  margin: 10px;
}


}


/* ===== Modal base ===== */
.modal { 
  position: fixed; inset: 0; 
  display: none; 
  z-index: 1000; 
}
.modal.open { display: block; }
.modal__overlay{
  position: absolute; inset: 0; 
  background: rgba(0,0,0,.45);
}
.modal__dialog{
  position: absolute; 
  inset: 0;
  margin: auto;
  width: 700px;           /* ПК — як у макеті */
  height: 540px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  display: flex; flex-direction: column; 
  align-items: center;
  padding: 32px 24px;
}
.modal__close{
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border: none;
  background: transparent; font-size: 28px; line-height: 1; cursor: pointer;
}
.modal__title{
  margin: 8px 0 16px;
  font: 500 32px 'Montserrat', system-ui;
  color: var(--color-notfull-black);
}

/* Form */
/* ===== Modal form (inputs fixed) ===== */
/* ===== Modal form (inputs fixed v3) ===== */
#lead-form{ 
  width: 100%; 
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  gap: 18px; 
}
.field{ 
  width: 100%; 
  display:flex; 
  flex-direction:column; 
  align-items:center; 
}

/* Обёртка инпута: высота, рамка и вертикальная центровка содержимого */
.input{
  box-sizing: border-box;
  width: 480px;                 /* ПК поля/кнопка 480 */
  height: 56px;
  padding: 0 20px;              /* базовые отступы */
  border: 1px solid #D9D9D9;
  border-radius: 28px;
  background: #fff;
  display: flex;                 /* ↓ центровка текста по вертикали */
  align-items: center;
  font: 500 16px 'Montserrat', system-ui;
  color: var(--color-notfull-black);
  outline: none;
}
.input:focus-within{ border-color: var(--color-notfull-black); }

/* Внутренние <input> растягиваем на всю высоту контейнера .input */
.input > input{
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0;
}

/* Плейсхолдеры — всегда видимые серые */
.input > input::placeholder,
.phone-input::placeholder{ color:#9B9B9B; opacity:1; }
.input > input::-webkit-input-placeholder,
.phone-input::-webkit-input-placeholder{ color:#9B9B9B; opacity:1; }
.input > input::-moz-placeholder,
.phone-input::-moz-placeholder{ color:#9B9B9B; opacity:1; }
.input > input:-ms-input-placeholder,
.phone-input:-ms-input-placeholder{ color:#9B9B9B; opacity:1; }
.input > input::-ms-input-placeholder,
.phone-input::-ms-input-placeholder{ color:#9B9B9B; opacity:1; }

/* Phone composite — шире колонка под номер, меньше внутренние паддинги */
.phone-wrap{
  display: grid; 
  /* было: 44px 72px 1fr — мало места под цифры;
     делаем компактнее слева и гарантируем минимум ширины для номера */
  grid-template-columns: 36px 66px minmax(180px, 1fr);
  column-gap: 5px;
  align-items: center;

  /* переопределяем базовые отступы .input, чтобы освободить место под цифры */
  padding-left: 12px;
  padding-right: 12px;

  position: relative;
}
.flag{ width: 28px; height: 28px; display:flex; align-items:center; justify-content:center; }
.dial{ color:#5A5A5A; font-weight:600; white-space:nowrap; width: 50px; }

/* Телефонный input — вровень с остальными и не обрезается */
.phone-input{
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 16px 'Montserrat', system-ui;
  color: var(--color-notfull-black);
  padding: 0;
  min-width: 0;                 /* важно для сжатых экранов */
  overflow: hidden;             /* чтобы не выпадали маски */
  text-overflow: clip;
}

/* Невидимий селект над прапором — для зміни країни (как было) */
.country-picker{
  position:absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 36px; opacity: 0; cursor: pointer;
}

/* Errors */
.error-text{ 
  display:none; margin-top: 8px; 
  width: 480px; 
  color: var(--color-button-primary); 
  font: 500 14px 'Montserrat';
}
.input.invalid, .phone-wrap.invalid { border-color: var(--color-button-primary); }
.field.invalid .error-text{ display:block; }
.field.invalid .input { border-color: var(--color-button-primary); }

/* Submit */
.modal-btn{
  width: 480px; height: 56px;
  border: 0; border-radius: 28px;
  background: #1E1E1E; color:#fff;
  font: 600 18px 'Montserrat';
  cursor: pointer;
}
.modal-btn:hover { background-color: #929292; }

/* Block page scroll when open */
body.no-scroll{ overflow: hidden; }

/* ===== Mobile (макет Default2 / Variant3) ===== */
@media (max-width: 430px){
  .modal__dialog{
    width: 340px;          /* мобайл ширина модалки */
    height: auto;
    max-height: 440px;
    border-radius: 40px;
    padding: 28px 16px 22px;
  }
  .modal__title{ font-size: 28px; text-align:center; }

  /* поля/кнопка 265 — оставляем твой размер */
  .input, .error-text, .modal-btn{ width: 265px; }

  /* ужимаем служебные колонки, отдаём максимум цифрам */
  .phone-wrap{
    grid-template-columns: 28px 58px minmax(150px, 1fr);
    column-gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* ——— БАЗОВІ ОБМЕЖЕННЯ ——— */
    
    img,video,svg{max-width:100%;height:auto;display:block;}
    html,body{max-width:100%;overflow-x:hidden;}  /* страховка від скролу */
    


   
    











