body {
  overflow-x:hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  color: #fff;
  font-size: 60px;
}

h2 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-size: 50px;
}

p {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14px;
}

/*Header*/
.container {
  width: 1280px;
  margin: 0 auto;
}

header {
  background-color: rgba(239, 240, 235, 1);
  padding-top: 25px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
  text-decoration: none;
  color: #195535;
  padding: 0 25px;
}

.active {
  font-weight: 800;
}

.buttons {
  display: flex;
  gap: 10px;
}

.btn {
  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;

  padding: 15px 25px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.btn-green {
  background: #257F4F;
  color: #fff;
}

.btn-yellow {
  background: #FEEF5E;
  color: #000;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1100; /* чтобы было выше overlay */
}
.burger span {
  display: block;
  height: 3px;
  background: #195535;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация крестика */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  height: 100px;
  inset: 0;
  background: rgba(239,240,235,0.98);
  z-index: 1000;
}
.overlay.active {
  display: flex;
}
.overlay-menu {
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

@media (max-width: 1024px) {
  .container {
    width: 900px;
  }

  header .buttons {
    display: none; /* кнопки уезжают в бургер */
  }

  .burger {
    display: flex;
  }

  header {
    padding-top: 22px;
  }

  .overlay nav a {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: 322px;
  }

  header nav {
    display: none; /* меню тоже прячем */
  }

  .overlay {
    display: none;
    position: fixed;
    height: 100%;
    inset: 0;
    background: rgba(239,240,235,0.98);
    z-index: 1000;
    text-align: left;
    align-items: start;
    padding: 80px;
  }

  .overlay-menu {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;
  }

  .overlay nav a {
    display: block;
    padding: 0;
  }
}


/*Hero*/

.hero {
  position: relative;
  background-color: rgba(239, 240, 235, 1);
  padding-bottom: 60px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 50px;
  gap: 80px;
}

.featured {
  margin-top: 71px;
  margin-bottom: 100px;
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: rgba(4, 14, 8, 70%);

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-img {
  display: flex;
  gap: 60px;
}

.feature-img img {
  padding: 0;
  margin: 0;
}

.hero-action h2 {
  font-family: "EB Garamond";
  font-weight: 600;
  font-size: 56px;
  line-height: 67px;
  color: rgba(25, 85, 53, 1);
}

.hero-action h2 span {
  color: rgba(25, 85, 53, 1);
  font-style: italic;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FEEF5E 100%);
}

.hero-action img {
  margin-top: 40px;
}

.hidden-desctop {
  display: none;
}

.hidden-4 {
  display: none;
}

.hero .arrow-decor {
  position: absolute;
  top: 109px;
  left: 786px;
  width: 100px;
  transform: rotate(-90deg);
}

.how-1024 {
  display: none;
}

@media (max-width: 1024px) {
  .hero {
    padding-bottom: 77px;
  }

  .hero .container {
    flex-direction: row-reverse;
    gap: 60px;
  }

  .featured {
    display: none;
  }

  .hero-action h2 {
    font-size: 40px;
    line-height: 46px;
  }

  .hero-action img {
    display: none;
  }

  .how-1920 {
    display: none;
  }

  .how-1024 {
    display: block;
  }

  .hero .arrow-decor {
    position: absolute;
    top: 130px;
    left: 566px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 44px;
  }

  .hero .container {
    flex-direction: column;
    gap: 0px;
    padding-top: 22px;
  }

  .hero-action h2 {
    font-size: 30px;
    line-height: 33px;
    text-align: center;
  }

  .hero-action h2 span {
    font-size: 40px;
    line-height: 56px;
  }

  .how-1024 {
    display: none;
  }

  .hero .arrow-decor {
    display: none;
  }
}



/*about*/
.about {
  position: relative;
  padding: 100px 0 40px;
}

.about-content {
  display: flex;
}

.about-img {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-family: "EB Garamond";
  font-weight: 600;
  font-size: 50px;
  line-height: 60px;
  color: rgba(25, 85, 53, 1);
}

h2 span {
  color: rgba(25, 85, 53, 1);
  font-style: italic;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FEEF5E 100%);
}

.about-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 33px;
}

.about-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.items-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.items-title p {
  font-family: "EB Garamond";
  font-weight: 500;
  font-size: 26px;
  line-height: 31.2px;
  color: #195535;
}

.about-items .description {
  margin-top: 0;
}

.description {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  line-height: 27.2px;
  color: rgba(4, 14, 8, 70%);

  margin-top: 25px;
}

.hidden-3 {
  display: none;
}

.about .decor {
  position: absolute;
  left: 273px;
  bottom: 2px;
  width: 60px;
}

.about .star {
  position: absolute;
  left: 789px;
  top: 138px;
  width: 77px;
}

.about-1024 {
  display: none;
}

@media (max-width: 1024px) {
  .about {
    padding: 88px 0 86px;
  }

  .about-content {
    gap: 45px;
  }

  .about-img {
    flex: auto;
    margin-top: 60px;
  }

  .about-text {
    flex: auto;
  }

  .about-1920 {
    display: none;
  }

  .about-1024 {
    display: block;
  }

  .about-text h2 {
    font-size: 40px;
    line-height: 60px;
  }

  .hidden-3 {
    display: none;
  }

  .about .decor {
    position: absolute;
    left: 384px;
    bottom: 35px;
    width: 60px;
    transform: scaleX(-1);
  }

  .about .star {
    position: absolute;
    left: 329px;
    top: 101px;
    width: 77px;
  }

}

@media (max-width: 768px) {
  .about {
    padding: 13px 0 63px;
  }

  .about-content {
    flex-direction: column;
    gap: 45px;
  }

  .about-img {
    flex: auto;
    margin-top: 60px;
  }

  .about-1024 {
    display: block;
    width: 100%;
  }

  .about-text h2 {
    font-size: 40px;
    line-height: 40px;
    text-align: center;
  }

  .about-column {
    margin-top: 53px;
    gap: 53px;
  }

  .about .decor {
    position: absolute;
    left: auto;
    right: 0;
    bottom: auto;
    top: 737px;
    width: 60px;
    transform: scaleX(-1);
  }

  .about .star {
    position: absolute;
    left: auto;
    right: 46px;
    top: 13px;
    width: 77px;
  }

}


/*numbers*/
.numbers-section {
  padding: 40px 0 100px;
}

.numbers {
  display: flex;
  justify-content: space-between;
}

.numbers-items {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  width: 320px;
}

.numbers-items h2 {
  margin: 0;
  font-family: "EB Garamond";
  font-weight: 600;
  font-size: 50px;
  line-height: 60px;
  color: #195535;
}

.numbers-items .description {
  margin-top: 0;
}

.line-1, .line-2, .line-3 {
  border-right: 1px dashed rgba(255, 167, 192, 1);
  height: 97px;
}

@media (max-width: 1024px)  {
  .numbers-section {
    padding: 35px 0 100px;
  }

  .numbers-items {
    width: 256px;
  }

  .numbers-items h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .line-1, .line-2, .line-3 {
    height: 77px;
  }
}

@media (max-width: 768px)  {
  .numbers-section {
    padding: 0 0 51px;
  }

  .numbers {
    flex-wrap: wrap;
    row-gap: 33px;
  }

  .numbers-items {
    width: 151px;
  }

  .line-2 {
    border-right: 0;
  }
}


/*expert*/
.expert {
  background-color: rgba(239, 240, 235, 1);
  text-align: center;
  padding: 100px 0 83px;
  background-image: url(images/expert-background.png);
  background-size: 1920px;
  background-repeat: no-repeat;
  background-position: top center;
}

.expert h2 {
  color: #195535;
}

.expert-team {
  display: flex;
  gap: 45px;
  margin-top: 80px;
}

.expert-team img {
  width: 396px;
  border-radius: 200px 200px 0 0;
}

.expert-team-mob {
  display: none;
}

@media (max-width: 1024px) {
  .expert {
    padding: 97px 0 73px;
    background-image: none;
  }

  .expert-team {
    display: flex;
    gap: 32px;
    margin-top: 80px;
  }

  .expert-team img {
    width: 280px;
    border-radius: 140px 140px 0 0;
  }
}

@media (max-width: 768px) {
  .expert {
    background-image: none;
    padding: 67px 0 0;
  }

  .expert h2  {
    font-size: 50px;
    line-height: 50px;
  }

  .expert-team {
    display: none;
  }

  .expert-team-mob {
    display: flex;
    gap: 14px;
    margin-top: 50px;
  }

  .expert-team-mob img {
    width: 124px;
    border-radius: 60px 60px 0 0;
  }
}



/*СTA*/
.start {
  position: relative;
  background-color: #ffffff;
  padding: 100px 0;
}

.start-column {
  display: flex;
}

.start-title, .start-cta {
  width: 640px;
}

.start-title {
  padding-right: 40px;
}

.start-cta {
  padding-left: 40px;
}

.start-cta .description {
  margin-top: 34px;
}

.start-step {
  margin-top: 47px;
  display: flex;
}

.start-step button {
  padding: 18px 28px;
  border: none;
  border-radius: 10px;
  background: #257F4F;
  color: #fff;
  margin-right: 27px;

  font-family: "Inter";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
}

.step-item {
  display: flex;
}

.clients {
  margin-left: 27px;
}

.clients span {
  font-family: "EB Garamond";
  font-weight: 500;
  font-size: 26px;
  line-height:32px;
  color: rgba(25, 85, 53, 1);
}

.clients p {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14px;
  line-height: 27px;
  color: rgba(4, 14, 8, 70%);
}

.start .arrow-decor {
  position: absolute;
  left: 881px;
  top: 177px;
  width: 70px;
}

@media (max-width: 1024px) {
  .start-column {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .start-title {
    width: 473px;
  }

  .start-cta {
    width: 400px;
  }

  .start-title h2 {
    font-size: 40px;
    line-height: 43px;
  }

  .start-title {
    padding-right: 0px;
  }

  .start-cta {
    padding-left: 0px;
  }

  .start-cta .description {
    margin-top: 0px;
    width: 386px;
  }

  .start-step {
    margin-top: 52px;
    align-items: center;
  }

  .clients {
    margin-left: 5px;
  }

  .start-step img {
    width: 95px;
    height: 28px;
  }

  .clients span {
    font-size: 14px;
    line-height:17px;
  }

  .clients p {
    font-size: 7px;
    line-height: 15px;
  }

  .start .arrow-decor {
    left: 473px;
    top: 47px;
  }
}

@media (max-width: 768px) {
  .start {
    padding: 60px 0;
  }

  .start-column {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .start-title {
    width: 100%;
  }

  .start-cta {
    width: 100%;
  }

  .start-title h2 span {
    font-size: 50px;
    line-height: 50px;
  }

  .start-cta .description {
    margin-top: 40px;
    width: 100%;
  }

  .start-step {
    margin-top: 40px;
    flex-direction: column-reverse;
    align-items: start;
    gap: 15px;
  }

  .step-item {
    display: flex;
    align-items: center;
    gap: 21px;
  }

  .clients {
    margin-left: 5px;
  }

  .people {
    display: none;
  }

  .start-step img {
    width: 219px;
    height: 51px;
  }

  .start-step button {
    width: 100%;
  }

  .clients span {
    font-size: 26px;
    line-height:32px;
  }

  .clients p {
    font-size: 14px;
    line-height: 27px;
  }

  .start .arrow-decor {
    left: 187px;
    top: auto;
    bottom: 194px;
  }

  .hidden-4 {
    display: block;
  }
}


/*FAQ*/
.faq {
  width: 1280px;
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}

.faq-section__content-grid {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  width: 800px;
  margin: 0 auto;
}

.faq__item {
  padding: 30px 0;
  border-top: 1px solid rgba(4, 14, 8, 9%);
}

.faq__question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: "EB Garamond";
  font-weight: 500;
  font-size: 22px;
  line-height:26px;
  color: rgba(25, 85, 53, 1);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq__icon {
  width: auto;
  height: 21px;
  transition: transform 0.3s ease;
}

.faq__answer {
  display: none;
  font-family: "Inter";
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  line-height: 27px;
  color: rgba(4, 14, 8, 70%);
  margin-top: 20px;
}

.faq__item.active .faq__answer {
  display: block;
}

@media (max-width: 1024px) {
  .faq {
    width: 900px;
    padding: 100px 0 0;
  }
}

@media (max-width: 768px) {
  .faq {
    width: 322px;
    padding: 60px 0 0;
  }

  .faq-section__content-grid {
    padding-top: 60px;
    width: 322px;
  }

  .faq__question {
    gap: 20px;
  }
}



/*footer*/
  footer {
    margin-top: 60px;
    background: #0b2b16;
    background-image: url(images/footer.png);
    background-repeat: no-repeat;
    color: #fff;
    padding: 98px 0 20px;
  }

  .footer-main {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 50px;
  }

  .footer-navigation {
    width: 585px;
  }

  .footer-navigation h3 {
    font-family: "EB Garamond";
    font-weight: 500;
    font-size: 30px;
    line-height:36px;
    color: #fff;
  }

  .footer-navigation h3 span {
    font-style: italic;
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FEEF5E 100%);
  }

  .subscribe-form {
    margin: 40px 0 59px;
  }

  .subscribe-input {
    position: relative;
    width: 492px;
  }

  .subscribe-input input {
    width: 492px;
    padding: 18px 3px 18px 20px; /* справа оставляем место под кнопку */
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 15px;
  }

  .subscribe-input .btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #257F4F;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 15px;
    cursor: pointer;
  }

  .footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .footer-links .links-column {
    flex: 1;
  }

  .footer-links .links-column h4 {
    font-family: "EB Garamond";
    font-weight: 500;
    font-size: 28px;
    line-height:34px;
    color: #fff;
    margin-bottom: 30px;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
  }

  .footer-links ul li {
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 27.2px;
  }

  .footer-form {
    width: 497px;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    color: rgba(4, 14, 8, 70%);
  }

  .footer-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-form .field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-form input,
  .footer-form textarea {
    padding: 19px 26px;
    border: 1px solid rgba(4, 14, 8, 20%);
    border-radius: 10px;
    width: 100%;

    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
  }

  .footer-form textarea {
    min-height: 140px;
  }

  .footer-form .btn {
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    background: #257F4F;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 15px;
    cursor: pointer;
  }

  footer .site {
    margin-top: 20px;
  }

  .policy {
    display: flex;
    gap: 40px;
  }

  .policy a {
    text-decoration: none;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
    cursor: pointer;
  }

  .copyright {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 16%);

    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
    color: rgba(255, 255, 255, 22%);
    text-align: center;
  }

  .hidden-5 {
    display: none;
  }

  @media (max-width: 1024px) {
    footer {
    margin-top: 75px;
    padding: 112px 0 20px;
  }

  .footer-main {
    gap: 30px;
    margin-bottom: 40px;
  }

  .footer-main img {
    margin-top: 162px;
    width: 293.2px;
    height: 281px;
  }

  .footer-form {
    display: none;
  }

  footer .site {
    margin-top: 20px;
  }

  .hidden-5 {
    display: block;
  }
}

  @media (max-width: 768px) {
    footer {
    margin-top: 87px;
    padding: 52px 0 30px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .footer-navigation {
    width: 100%;
  }

  .subscribe-form {
    margin: 53px 0 94px;
  }

  .subscribe-input {
    position: relative;
    width: 100%;
  }

  .subscribe-input input {
    width: 100%;
  }

  .footer-links {
    margin-bottom: 30px;
  }

  .footer-form {
    display: block;
    width: 100%;
    padding: 50px 17px;
  }

  .copyright {
    margin-top: 40px;
  }

  .hidden-5 {
    display: none;
  }
}



