/* CSS Reset */

@font-face {
  font-family: 'Stolzl';
  src: url('../fonts/Stolzl-Book.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Stolzl-Book.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Stolzl-Book.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/Stolzl-Book.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Stolzl-Book.ttf') format('truetype'); /* Safari, Android, iOS */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Stolzl Medium */
@font-face {
  font-family: 'Stolzl';
  src: url('../fonts/Stolzl-Medium.eot');
  src: url('../fonts/Stolzl-Medium.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Stolzl-Medium.woff2') format('woff2'),
       url('../fonts/Stolzl-Medium.woff') format('woff'),
       url('../fonts/Stolzl-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container {
  max-width: 500px;
  margin: 0 auto;
  
}


html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Stolzl', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    background-color: #fff;
    color: #59675d;
}

ul, ol {
    list-style: none;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}
.header {
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff; 
    border-bottom: 1px solid #eee;
}

.logo-small {
    width: 120px;
    height: auto;
}

.lang select {
    padding: 6px 10px;
    font-size: 26px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.lang select:hover,
.lang select:focus {
    border-color: #534937;
    outline: none;
}


/* Заголовки и текст */

h1 {
    font-family: "Stolzl", serif;
    font-weight: 500;
    font-size: 46px;
    line-height: 1;
    text-align: center;
    max-width: 100%;
    margin: 70px 15px 0 15px;
    color: #59675d;

}

h3 {
    font-family: "Stolzl", serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 1.2;
    text-align: left;
    max-width: 100%;
    margin-bottom: 30px;
    color: #59675d;
}

h2 {
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    margin: 15px;
    max-width: 100%;
}



.logo {
    text-align: center;
}



.button-img {
    width: 100%; 
    max-width: 100%;
    padding: 0px 15px 10px;
    height: auto; 
    overflow: hidden; 
}

.button-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; 
    border-radius: 10px;
}


.main-btn {
    margin: 20px 15px;
}

.descr {
    margin-top: 15px;
    font-size: 14px;
}

.bonus {
    display: flex;
    align-items: center;
    margin: 10px 0 60px 0;
    justify-content: space-between;
    gap: 10px;
}
.bonus-bul {
    position: relative; /* нужно для абсолютного позиционирования замка */
    justify-content: flex-end;
    font-size: 16px;
    line-height: 1.1;
    text-align: right;
    color: #ffffff;
    padding: 20px 10px;
    border-radius: 10px;
    width: calc(50% - 5px);
    aspect-ratio: 1.9 / 1;
    flex-direction: column;
    display: flex;
    align-items: flex-end;
    overflow: hidden; /* важно, если фон выходит за края */
}

.lock-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  padding: 6px;
  font-size: 20px;
  color: #fff;
  width: 45px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-text {
  z-index: 1; /* если вдруг что-то перекроется */
}

.breakf {
    background-image: url(../img/breakf.png);
    background-size: contain;
}
.morning {
    background-image: url(../img/morning.png);
    background-size: contain;
}

/* QUIZ-блок */

.quiz-block {
    border-radius: 10px;
    margin: 0 15px;
    padding: 35px 15px;
    
    box-shadow: 0 4px 15px rgba(146, 130, 101, 0.3);
}

.quest-title {
    text-align: left;
    margin: 15px 0;
    font-size: 20px;
}

.answers {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 25px 0; 
}


/* Прогресс и навигация */

.progress-container {
    flex-wrap: wrap;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    max-width: 100%;
}

.progress-info {
    width: 100%;
}

.progress-label {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.progress-label span {
    color: #928265;
    font-weight: bold;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #928265;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #534937;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.navigation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    position: relative;
    margin-top: 10px;
}

.back-button {
    width: 100px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8b8b8;
    font-size: 20px;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.back-button:hover {
    border-color: #928265;
    color: #928265;
}

.next-button {
    background-color: #928265;
    color: white;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(126, 104, 64, 0.54);
    transition: background-color 0.3s ease;
}

.next-button:hover {
    background-color: #817155;
}

.enter-hint {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 14px;
    color: #b26b6b;
}

.enter-hint span {
    color: #d84848;
    font-weight: bold;
}

.footer {
    
    padding: 30px;
    text-align: center;
    font-size: 14px;
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 18px;
    background-color: #fff;
    color: #333;
}
.form-input:focus {
    border-color: #928265;
}
.answer-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    font-size: 18px;
    line-height: 1.2;
    background-color: #f1f1f1;
    color: #000;
    padding: 15px 10px;
    border-radius: 25px;
    width: 100%;
    font-weight: 200;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 1px solid #928265;
}

.answer-btn::before {
    content: "";
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    border-radius: 8px;
    background-color: #e4dcdc;
    transition: background-color 0.3s ease;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
}

.answer-btn.selected::before {
    background-color: #928265;; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}


.answer-btn:hover {
    background-color: #f1f1f1;
}

/*.answer-btn.selected {
    background-color: #928265;
    color: white;
}*/


.galary-block {
    padding: 0 15px; /* отступы слева и справа */
    margin-top: 80px;
}

.galary {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(146, 130, 101, 0.3);
}

.galary-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%; 
    height: 100%;
}

.img-gal {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
}

.foto-gal {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}
/* Кнопки переключения */
.galary-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: rgba(146, 130, 101, 0.5);
    border: none;
    color: #fff;
    font-size: 22px;
    padding: 8px 12px;
    border-radius: 25px;
    transition: 0.3s;
}

.galary-btn:hover {
    background-color: rgba(146, 130, 101, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Точки навигации */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot-active, .dots .dot:hover {
    background-color: #928265;
}
.maps {
    border-radius: 10px;
}
.book {
    display: flex;
    justify-content: space-between;
    margin: 0 15px 60px;
    gap:10px;
}
.book-but {
    display: flex;
    flex-direction: column;
    gap:10px;
    justify-content: space-around;
    margin: 30px 0;
}
.book-but p {
    
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
}



.f-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 15px 70px;
}

.but-f-types {
    padding: 8px 15px;
    font-size: 16px;
    border-radius: 10px;
    border:1px solid #59675d;
    color: #59675d;
    cursor: pointer;
    text-align: center;
    
}

/* Обертка для второй строки */
.f-types-bottom-row {
    grid-column: 1 / -1; /* занимает всю ширину сетки */
    display: flex;
    justify-content: center;
    gap: 10px;
}

.b-black {
    background-color: #59675d;
    color: #ffffff;
}

.btn {
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px 0px;
    font-size: 18px;
    line-height: 1.1;
    position: relative;
    font-weight: 300;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 10px;
}

.btn:hover {
    box-shadow: 0 0 15px rgba(146, 130, 101, 0.7);
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(146, 130, 101, 0.5);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 20px rgba(146, 130, 101, 0.9);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(146, 130, 101, 0.5);
    }
}

.about {
    border-radius: 10px 10px 0 0;
    background-color: #eae6dd;
    padding:60px 30px;
    

}
.about p {
    color: #59675d;

}
.benefits {
    padding:60px 15px 0px;
    line-height: 1.3;

}
.long-benif{
    padding: 25px 15px;
    border-radius: 10px;
    background-color: #59675d;
    color: #ffffff;
    margin-bottom: 10px;
}
.long-benif h4 {
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 15px;
    color:#eae6dd;
}
.long-benif p {
    font-weight: 200;
    font-size: 16px;
    color: #eae6dd
}
.two-benif {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    gap:10px;
}

.ben-text {
    flex: 0 1 70%;
    padding: 25px 15px;
    border-radius: 10px;
    background-color: #eae6dd;
    color: #59675d;
    box-sizing: border-box;
}
.two-benif h4 {
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 15px;
    
}
.two-benif p {
    font-weight: 200;
    font-size: 16px;
    
}
.ben-img { 
    flex: 0 1 30%;
    box-sizing: border-box;
}
.ben-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.direction-card {
  display: flex;
  flex-direction: row;
  border-radius: 10px;
  overflow: hidden;
  background-color: #eae6dd;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(146, 130, 101, 0.15);
}

.direction-image {
  flex: 1;
  max-width: 50%;
}

.direction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 10px 10px 0;
}

.direction-content {
  flex: 1;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.direction-content h4 {
  font-weight: 400;
  font-size: 20px;
  color: #59675d;
}

.direction-content p {
  font-size: 14px;
  color: #59675d;
  font-weight: 300;
  line-height: 1.4;
}

.direction-btn {
  align-self: flex-start;
  padding: 12px 30px;
  background-color: #59675d;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s ease;
}

.direction-btn::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.3s ease;
}

.direction-btn:hover {
  background-color: #817155;
}

.direction-btn:hover::after {
  transform: translateX(4px);
}

.card-dark {
  background-color: #59675d;;
  
}
.card-dark .direction-content p {
  color: #eae6dd;
  
}
.card-dark h4 {
    color: #eae6dd;
}
.card-dark .direction-btn {
  
  background-color: #eae6dd;
  color: #59675d;
  
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.faq-item {
  background-color: #eae6dd;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(146, 130, 101, 0.1);
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  cursor: pointer;
  font-size: 18px;
  color: #59675d;
  transition: background-color 0.3s ease;
}

.faq-number {
  font-weight: 300;
  margin-right: 15px;
  font-family: "Manrope", sans-serif;
}

.faq-text {
  flex: 1;
  font-family: "Stolzl", serif;
    font-weight: 500;
  font-size: 18px;
}

.faq-arrow {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 16px;
  color: #59675d;
  font-weight: 300;
  line-height: 1.4;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-block {
    padding-bottom: 60px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 10px 20px 20px;
}
.contacts {
    padding:60px 15px;
    background-color: #59675d;
    color:#eae6dd;
}
.contacts h3 {
    color: #eae6dd;
}
.team-section {
  padding: 60px 15px;
  background-color: #f6f4ef;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card {
  display: flex;
  gap: 15px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(146, 130, 101, 0.1);
  overflow: hidden;
  padding: 10px 20px 10px 10px; /* 10px сверху и снизу, 20px по бокам */
  align-items: stretch; /* растягивает блоки на всю высоту */
  min-height: 140px; /* можно подстроить */
}

.team-photo {
  flex: 0 0 160px;
  border-radius: 10px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}


.team-info {
  flex: 1;
}

.team-info h4 {
  font-family: "Stolzl", serif;
    font-weight: 500;
  font-size: 20px;
  color: #59675d;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 16px;
  font-weight: 300;
  color: #59675d;
  line-height: 1.4;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(89, 103, 93, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 6px 25px rgba(146, 130, 101, 0.25);
  animation: popupFade 0.3s ease-out;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #928265;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: #534937;
}

@keyframes popupFade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}




