*, *::before, *::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: #2E2E2E;
  background: #F8F8F8;
  -webkit-font-smoothing: antialiased;
}

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

img{
  max-width: 100%;
  height: auto;
  display: block;
}

button{
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input{
  font-family: inherit;
  border: none;
  outline: none;
}

.container{
  width: 1312px;
  margin: 0 auto;
}

.page{
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 12px;
}

.main{
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 8px 24px 10px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover{
  opacity: 0.85;
}

.btn--primary{
  background: #070708;
  color: #fff;
}

.btn--contour{
  background: #fff;
  color: #2E2E2E;
  border: 1px solid #3ABFA4;
}

.btn--large{
  height: 60px;
  border-radius: 20px;
}

.color-green{
  color: #27907B;
}

.section-title{
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #2E2E2E;
}

.header{
  display: flex;
  justify-content: center;
}

.header__content{
  width: 1312px;
  height: 76px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.header__logo img{
  display: block;
}

.header__buttons{
  display: flex;
  gap: 12px;
  align-items: center;
}

.guide-nav{
  position: sticky;
  top: 12px;
  z-index: 500;
  display: flex;
  justify-content: center;
}

.guide-nav__inner{
  width: 1312px;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 10px 12px;
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 6px 24px rgba(4, 57, 69, 0.06);
}

.guide-nav__inner::-webkit-scrollbar{ display: none; }

.guide-nav__link{
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #2E2E2E;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.guide-nav__link:hover{
  background: #EBFFFB;
  color: #27907B;
}

.guide-nav__link--active{
  background: #070708;
  color: #fff;
}

.guide-nav__link--active:hover{
  background: #070708;
  color: #fff;
}

.guide-nav__link--accent{
  font-weight: 700;
  color: #27907B;
  background: #EBFFFB;
}

.guide-nav__link--accent:hover{
  background: #D3F3EB;
  color: #1F7A68;
}

.guide-nav__sep{
  flex-shrink: 0;
  width: 1px;
  height: 22px;
  background: #E6ECEA;
  margin: 0 4px;
}

.guide-nav__link--current,
.guide-nav__link--current:hover{
  background: #27907B;
  color: #fff;
}

#how-works,
#discounts,
#cases,
#faq{
  scroll-margin-top: 90px;
}

.hero{
  display: flex;
  justify-content: center;
}

.hero__content{
  width: 1312px;
  border-radius: 20px;
  background: linear-gradient(223deg, #24A08F 2.38%, #043945 93.74%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 48px;
}

.hero__text{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.hero__title{
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero__subtitle{
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.expert-setup .section-title{
  margin-bottom: 32px;
}

.how-works .section-title{
  margin-bottom: 32px;
}

.why-profit .section-title{
  margin-bottom: 32px;
}

.results .section-title{
  margin-bottom: 32px;
}

.cases .section-title{
  margin-bottom: 0;
}

.faq .section-title{
  margin-bottom: 32px;
}

.faq__list{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item{
  background: #fff;
  border-radius: 20px;
  padding: 24px 32px;
  overflow: hidden;
}

.faq__question{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq__question-text{
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #27907B;
}

.faq__item{
  transition: background 0.2s;
}

.faq__item:hover{
  background: #EBFFFB;
}

.faq__toggle{
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #F8F8F8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq__toggle img{
  width: 24px;
  height: 24px;
}

.faq__icon-minus{
  display: none;
}

.faq__item--open .faq__icon-minus{
  display: block;
}

.faq__item--open .faq__icon-plus{
  display: none;
}

.faq__answer{
  display: none;
  padding-top: 12px;
}

.faq__answer p{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #2E2E2E;
}

.faq__item--open .faq__answer{
  display: block;
}

.modal-overlay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 8, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay--open{
  display: flex;
}

.modal{
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 620px;
  width: 90%;
  position: relative;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn{
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__close{
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #BBB;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal__close:hover{
  color: #070708;
}

.modal__title{
  font-size: 24px;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 24px;
}

.modal__table{
  width: 100%;
  border-collapse: collapse;
}

.modal__table tr{
  border-bottom: 1px solid #F0F0F0;
}

.modal__table tr:last-child{
  border-bottom: none;
}

.modal__table td{
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.4;
  color: #2E2E2E;
  vertical-align: top;
}

.modal__table td:first-child{
  font-weight: 500;
  color: #888;
  white-space: nowrap;
  padding-right: 20px;
  width: 140px;
}

.footer{
  background: #DCE9E6;
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.footer__content{
  width: 1312px;
  padding: 0 16px;
}

.footer__top{
  display: flex;
  gap: 12px;
  padding-top: 100px;
  padding-bottom: 50px;
}

.footer__col{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col:not(:first-child){
  gap: 24px;
}

.footer__bottom{
  border-top: 1px solid #C1C1C1;
  display: flex;
  align-items: center;
  padding: 50px 0 100px;
}

.footer__bottom span{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #2E2E2E;
}

.footer__link{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #2E2E2E;
  transition: color 0.2s;
}

.footer__link:hover{
  color: #27907B;
}

.section-title{
  font-size: clamp(28px, 5vw, 48px);
}

@media (max-width: 1360px){.container,
  .header__content,
  .guide-nav__inner,
  .hero__content,
  .footer__content{
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
  }
.page{
    padding-left: 16px;
    padding-right: 16px;
  }}

@media (max-width: 1024px){.main{
    gap: 60px;
  }
.btn,
  .btn--large{
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 14px;
    text-align: center;
  }
.header__buttons .btn{
    width: auto;
  }
.hero__content{
    padding: 32px;
  }
.hero__title{
    font-size: 36px;
  }
.faq__question-text{
    font-size: 20px;
  }
.footer{
    margin-top: 60px;
  }
.footer__top{
    flex-wrap: wrap;
    padding-top: 48px;
    padding-bottom: 40px;
  }
.footer__col:first-child{
    width: 100%;
    margin-bottom: 24px;
  }
.footer__col:not(:first-child){
    flex: 1;
  }
.footer__bottom{
    padding: 32px 0 48px;
  }}

@media (max-width: 768px){.page{
    gap: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }
.main{
    gap: 40px;
  }
.btn,
  .btn--large{
    height: 44px;
    padding: 6px 16px 8px;
    border-radius: 12px;
  }
.header__content{
    padding: 12px;
    border-radius: 16px;
    height: auto;
  }
.header__logo img{
    width: 180px;
    height: auto;
  }
.header__buttons{
    gap: 8px;
  }
.guide-nav{ top: 8px; }
.guide-nav__inner{ border-radius: 16px; padding: 8px; }
.guide-nav__link{ font-size: 14px; padding: 8px 12px; }
.guide-nav__sep{ height: 18px; margin: 0 2px; }
.hero__content{
    padding: 24px;
    border-radius: 16px;
  }
.hero__title{
    font-size: clamp(24px, 6vw, 36px);
  }
.hero__subtitle{
    font-size: 16px;
  }
.hero__text{
    gap: 20px;
  }
.expert-setup .section-title{
    font-size: clamp(28px, 6vw, 48px);
  }
.faq__item{
    padding: 16px 20px;
    border-radius: 16px;
  }
.faq__question-text{
    font-size: 18px;
  }
.faq__toggle{
    width: 36px;
    height: 36px;
  }
.faq__toggle img{
    width: 20px;
    height: 20px;
  }
.footer{
    margin-top: 40px;
  }
.footer__top{
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 32px;
  }
.footer__col:first-child{
    flex: none;
    width: 100%;
    margin-bottom: 20px;
  }
.footer__col:not(:first-child){
    flex: 1;
    gap: 16px;
  }
.footer__bottom{
    padding: 24px 0 32px;
  }
.footer__bottom span{
    font-size: 14px;
  }}

@media (max-width: 400px){.page{
    padding-left: 8px;
    padding-right: 8px;
  }
.header__logo img{
    width: auto;
  }
.header__buttons .header__login{
    display: inline-flex;
  }
.hero__title{
    font-size: 22px;
  }
.faq__question-text{
    font-size: 16px;
  }
.btn,
  .btn--large{
    font-size: 14px;
    padding: 8px 16px;
  }}

@keyframes float{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatSlow{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes spinSlow{
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wobble{
  0%, 100% { transform: rotate(-24.2deg) translateY(0); }
  50% { transform: rotate(-24.2deg) translateY(-6px); }
}

.anim{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim--left{
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim--right{
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim--scale{
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim.visible,
.anim--left.visible,
.anim--right.visible,
.anim--scale.visible{
  opacity: 1;
  transform: translate(0) scale(1);
}

.anim-delay-1{ transition-delay: 0.1s; }

.anim-delay-2{ transition-delay: 0.2s; }

.anim-delay-3{ transition-delay: 0.3s; }

.anim-delay-4{ transition-delay: 0.4s; }

.anim-delay-5{ transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce){*, *::before, *::after{
    animation: none !important;
    transition: none !important;
  }}
