@import url(reset.css);
@import url(kit.css);

:root {
  --title_font: "Sora", sans-serif;
  --text__font: "Inter", sans-serif;

  /* --primary: #4057da;
  --primary__hover: #5368de;
  --extra__hover: #aebaff;
  --secondary: #4f5566;
  --extra__secondary: #e7eaf5;
  --light: #fffafc;
  --white: #fff;
  --base: #040613; */

  --base: #fffafc;
  --light: #040613;
  --white: #0a0b1a;
  --secondary: #b0b4c5;
  --extra__secondary: #1a1d2d;
  --primary: #6b83ff;
  --primary__hover: #8498ff;
  --extra__hover: #3a4ba3;
}

body {
  overflow-x: hidden;
  color: var(--base);
  font-size: 16px;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-family: var(--text__font);
  background: var(--white);
}

/* header */
.header {
  position: fixed;
  z-index: 2026;
  left: 0;
  top: 0;
  width: 100%;
  padding: 14px 0;
  /* border-bottom: 1px solid var(--extra__secondary); */
  /* box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1); */
  /* background: var(--white); */
  backdrop-filter: blur(17px);
  background: var(--extra__secondary);
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  padding: 0;
  margin: 0;
}

.header__logo img {
  height: 35px;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 1px;
}

.header__menu-link {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid transparent;
}

.header__menu-link.active {
  color: var(--base);
  border-color: var(--secondary);
  opacity: 0.5;
}

.header__menu-link:hover {
  color: var(--base);
  background: var(--white);
  border-color: var(--secondary);
  opacity: 1;
}

.menu__btn {
  display: none;
}

@media(max-width:1100px) {
  .header {
    background: var(--white);
    backdrop-filter: none;
    border-bottom: 1px solid var(--extra__secondary);
  }

  .header__nav {
    display: none;
  }

  .header__nav.active {
    display: flex;
    position: absolute;
    top: 54px;
    left: -1px;
    width: calc(100% + 2px);
    background: var(--white);
    padding: 100px 15px;
    border-radius: 0 0 20px 20px;
    border: 1px solid var(--extra__secondary);
  }

  .header__menu {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .header__menu-link {
    font-size: 16px;
    color: var(--base);
    display: flex;
  }

  .header__menu-link:hover {
    color: var(--primary);
  }

  .menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    border: none;
    position: relative;
    padding: 0;
    margin: 0;
  }

  .menu__btn span {
    width: 40px;
    height: 2px;
    position: relative;
  }

  .menu__btn span::before,
  .menu__btn span::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    position: absolute;
    left: 0;
    transition: all .3s ease;
  }

  .menu__btn span::before {
    top: -4px;
  }

  .menu__btn span::after {
    bottom: -4px;
  }

  .menu__btn:hover span::before,
  .menu__btn:hover span::after {
    background: var(--base);
  }

  .menu__btn.active span::before {
    transform: rotate(-45deg);
    top: 0;
  }

  .menu__btn.active span::after {
    transform: rotate(45deg);
    bottom: 0;
  }
}

/* hero */
.hero {
  padding: 150px 0 100px;
  position: relative;
  /* background: url(../media/hero/bg.webp) no-repeat center/cover; */
}

.homepage .hero::before {
  content: '';
  display: block;
  width: 40%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--light);
  height: 100%;
  z-index: -2;
}

/* Видео фон */
.homepage .hero__video-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  z-index: -3;
  object-fit: cover;
}

.homepage .hero__title {
  font-size: calc(14px + 5vw);
  margin-bottom: 60px;
  font-weight: 500;
  max-width: 900px;
  color: var(--base);
  mix-blend-mode: difference;
  text-transform: uppercase;
  pointer-events: none;
  text-align: left;
}

.homepage .hero__subtitle {
  max-width: 400px;
  margin: 0 0 30px;
  color: var(--base);
  line-height: 1.5;
  font-size: 26px;
  text-transform: uppercase;
  text-align: left;
  mix-blend-mode: difference;
}

.hero__title {
  font-size: calc(14px + 4vw);
  margin-bottom: 60px;
  font-weight: 500;
  color: var(--base);
  text-align: center;
}

.hero__subtitle {
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--base);
  line-height: 1.5;
  font-size: 26px;
  text-align: center;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.hero__button img {
  height: 12px;
  transition: all .2s linear;
}

.hero__button.btn:hover img {
  transform: translateX(2px);
}

.hero__bullets {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: start;
}

.hero__bullets li {
  position: relative;
  font-size: 14px;
  color: var(--secondary);
  padding-left: 20px;
}

.hero__bullets li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: calc(50% - 3px);
  animation: pulse 1s linear 0s infinite;
}

.hero__bullets li:nth-child(1)::before {
  background: rgb(0, 225, 0);
}

.hero__bullets li:nth-child(2)::before {
  background: rgb(238, 112, 133);
}

.hero__bullets li:nth-child(3)::before {
  background: rgb(230, 157, 23);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--extra__hover);
  }

  100% {
    box-shadow: 0 0 0 6px #aebaff00;
  }
}

@media(max-width:700px) {
  .hero__buttons {
    flex-direction: column;
  }

  .hero__bullets {
    flex-wrap: wrap;
  }
}


/* catalog */
.catalog {
  padding: 100px 0;
}

.catalog__wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 10px;
  margin: 0 auto;
  max-width: 990px;
}

.catalog__item {
  padding: 24px 40px;
  border-radius: 100px;
  border: 1px solid var(--extra__secondary);
  background: var(--light);
  color: var(--base);
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.catalog__item:hover {
  background: var(--primary__hover);
  color: var(--light);
}

.catalog__item svg {
  height: 16px;
}

@media(max-width:700px) {
  .catalog__item {
    padding: 14px 20px;
  }
}

/* tools */
.tools {
  padding: 80px 0;
  /* background: var(--light); */
}

.tools__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.tools__item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  /* padding: 20px; */
  border-radius: 16px;
  border: 1px solid var(--extra__secondary);
  /* background: var(--light); */
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(20px);
  /* border: 1px solid var(--extra__secondary); */
}

.tools__item-preview {
  width: 100%;
  height: 230px;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  filter: brightness(.8);
}

.tools__item:hover .tools__item-preview {
  filter: grayscale(.6);
}

.tools__item-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: 0 0 16px 16px;
}

.tools__item-title {
  font-size: calc(14px + 1vw);
  font-weight: 500;
  color: var(--base);
  line-height: 1.1;
}

.tools__item-tabs {
  margin-bottom: 20px;
}

.tools__tabs-header {
  position: relative;
  background: var(--light);
  border-radius: 100px;
  padding: 12px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.tools__tabs-header span {
  text-align: center;
  padding: 10px;
  font-weight: 500;
  color: var(--secondary);
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-size: 16px;
  transition: all .3s ease-in-out;
}

.tools__tabs-header span:first-child {
  color: var(--primary);
}

.tools__tabs-header span:nth-child(2) {
  color: #c12d2d;
}

.tools__tabs-header span:hover {
  opacity: 0.5;
}

.tab-indicator {
  position: absolute;
  top: 6px;
  height: calc(100% - 10px);
  background: var(--white);
  border-radius: 100px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 1;
  transition: transform .3s ease-in-out;
}

.tools__tabs-wrap {
  position: relative;
  min-height: 100px;
  pointer-events: none;
}

.tab-content {
  opacity: 0;
  font-size: 18px;
  color: var(--base);
  text-align: center;
  position: relative;
  left: 0;
  bottom: -15px;
  line-height: 1.5;
  height: 0;
}

.tab-content:first-child {
  color: var(--primary);
}

.tab-content:nth-child(2) {
  color: #c12d2d;
}

.tab-content.active {
  opacity: .8;
  height: 100%;
}

.tools__item-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.tools__message {
  font-size: 12px;
  color: var(--secondary);
  text-align: left;
  font-style: italic;
}

.affilate__link {
  font-size: 14px;
  color: var(--extra__hover);
  text-decoration: underline;
}

@media(max-width:900px) {
  .tools__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .tools__wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* guides */
.guides {
  padding: 80px 0;
  background: var(--light);
}

.guides__wrap-title {
  font-size: 22px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 20px;
}

.guides__wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.guides__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  position: relative;
  border: 1px solid var(--extra__secondary);
  border-radius: 22px;
  background: var(--white);
}

.guides__item:hover {
  border-color: var(--primary__hover);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.03);
}

.guides__item-category {
  padding: 6px 14px;
  background: var(--light);
  color: var(--base);
  font-size: 14px;
  border-radius: 100px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  left: 20px;
  top: 20px;
  box-shadow: 0 2px 10px 0 #0000002f;
}

.guides__item-preview {
  width: 100%;
  height: 200px;
  border-radius: 22px 22px 0 0;
  object-fit: cover;
}


.guides__item-content {
  padding: 20px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guides__content-icon {
  fill: var(--extra__secondary);
  position: absolute;
  top: calc(50% - 10px);
  right: 20px;
  height: 20px;
  width: 20px;
}

.guides__item:hover .guides__content-icon {
  fill: var(--primary__hover);
}

.guides__item-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--base);
}

.guides__item:hover .guides__item-title {
  color: var(--primary);
}

.guides__item-description {
  color: var(--secondary);
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 10px;
}

.guides__item-readtime {
  color: var(--secondary);
  font-size: 14px;
  margin: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guides__item-readtime img {
  height: 14px;
}

.guides__item .btn {
  width: calc(100% - 40px);
  margin: auto auto 20px;
}

/* guides__experts */
.guides__experts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.home-guides__experts {
  grid-template-columns: 1fr;
}

.guides__experts-item {
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.expert__info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 40px;
  align-items: start;
}

.expert__info-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

.expert__info-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expert__content-name {
  font-size: 30px;
  font-weight: 600;
}

.expert__content-skills {
  color: var(--primary);
}

.expert__info-description {
  line-height: 1.5;
  color: var(--secondary);
}

.experts__content-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}


.expert__item-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.expert__content-item {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 20px;
}

.expert__content-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.home-guides__experts .expert__content-item {
  height: 330px;
}

@media(max-width:1100px) {
  .guides__experts {
    grid-template-columns: 1fr;
  }

  .guides__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:700px) {
  .expert__info {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .expert__info-img {
    margin: 0 auto;
  }

  .experts__content-buttons {
    grid-template-columns: 1fr;
  }

  .expert__item-wrap {
    grid-template-columns: 1fr;
  }

  .guides__wrap {
    grid-template-columns: 1fr;
  }
}

/* advantages */
.advantages {
  padding: 60px 0;
  background: var(--light);
}

.advantages__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.advantages__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
  text-align: center;
}

.advantages__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.advantages__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  border: 1px solid var(--extra__secondary);
  border-radius: 22px;
  background: var(--white);
  padding: 30px;
}

.advantages__item:hover {
  border-color: var(--primary__hover);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

.advantages__item-icon {
  padding: 10px;
  border-radius: 8px;
  background: var(--extra__secondary);
}

.advantages__item:hover .advantages__item-icon {
  background: var(--primary__hover);
}

.advantages__item:hover .advantages__item-icon svg {
  stroke: var(--light);
}

.advantages__item-title {
  font-size: 24px;
  font-weight: 600;
}

.advantages__item-description {
  line-height: 1.5;
  color: var(--secondary);
}

@media(max-width:700px) {
  .advantages__wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* methodology */
.methodology {
  padding: 80px 0;
}

.methodology__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.methodology__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
  text-align: center;
}

.methodology__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.methodology__feature {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: var(--light);
}

.methodology__icon {
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 20px;
  border-radius: 10px;
}

.methodology__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.methodology__feature-title {
  font-weight: 600;
  font-size: 20px;
}

.methodology__feature-desc {
  color: var(--secondary);
  line-height: 1.5;
}

.methodology__button {
  max-width: 400px;
  margin: 0 auto;
  background: var(--base);
  padding: 30px 20px;
}

@media(max-width:500px) {
  .methodology__feature {
    flex-direction: column;
    align-items: start;
  }
}

.latest__articles {
  padding: 60px 0;
  background: var(--white);
}

.latest__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  margin-bottom: 10px;
}

.latest__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
}

.footer {
  background: var(--light);
  color: var(--base);
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.footer a {
  color: var(--base);
  display: inline-block;
  margin: 20px;
  text-decoration: underline;
}

/* blog ========================================================================== */
.blog__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.blog__grid {
  grid-template-columns: 1.25fr 3fr;
}

.blog__main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 15px 40px;
}

@media(max-width:1000px) {
  .blog__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:700px) {
  .blog__main {
    grid-template-columns: repeat(1, 1fr);
  }
}

.blog__article {
  border: 2px solid var(--extra__hover);
  border-radius: 18px;
  background: var(--light);
  min-height: 400px;
}

.blog__article-link {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.blog__article-preview {
  width: 100%;
  position: relative;
}

.blog__article-image {
  width: 100%;
  object-fit: contain;
  border-radius: 18px;
}

@media(max-width:700px) {
  .blog__article-image {
    object-fit: cover;
  }

  .blog__article {
    min-height: auto;
  }
}

.blog__article-date {
  padding: 10px 20px 0;
  color: var(--secondary);
  opacity: 0.5;
}

.blog__article-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  padding: 10px 20px 30px 20px;
  color: var(--base);
}

.blog__article:hover .blog__article-title {
  color: var(--primary);
}

/* post */
.hero.article-hero {
  padding-bottom: 300px;
}

.hero__title.article__title {
  max-width: 900px;
  font-size: calc(14px + 3vw);
  text-align: left;
  line-height: 1.1;
  margin: 0 auto 40px;
}

.post__preview {
  width: 100%;
  max-width: 1100px;
  border-radius: 30px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

.article {
  display: grid;
  grid-template-columns: 1fr .5fr;
  gap: 40px;
  margin: 50px auto;
  max-width: 1100px;
}

.review__section .post {
  max-width: 900px;
}

.post {
  background: var(--white);
  padding: 20px;
}

.article__info {
  display: flex;
  justify-content: start;
  gap: 40px;
  align-items: center;
  margin: 0 auto;
  max-width: 900px;
}

.author__hero {
  margin-bottom: 50px;
}

.author__hero .article__info {
  flex-direction: column;
  align-items: start;
}

.article__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article__author-img {
  height: 90px;
  width: 90px;
  object-fit: cover;
  border-radius: 20px;
}

.article__author-link {
  color: var(--primary);
  font-size: calc(14px + .5vw);
  text-decoration: underline;
}

.article__author-link:hover {
  text-decoration: none;
}

.article__update {
  color: var(--secondary);
}

.article__wrap {
  margin-top: -250px;
}

.post h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  margin: 40px 0 30px;
  font-family: var(--title_font);
}

.post h2:first-of-type {
  margin-top: 0;
}

.post h2 span {
  color: var(--primary);
}

.post h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin: 30px 0 10px;
}

.post h3 span {
  color: var(--primary);
}

.post h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 20px 0 10px;
}

.post p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
  width: 100%;
}

.post p a,
.post ul a,
.post blockquote a {
  text-decoration: underline;
  color: var(--primary);
}

.post p.faq__item-description {
  margin: 0;
}

.post p video {
  width: 100%;
}

.post ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.post li {
  font-size: 20px;
  line-height: 1.4;
  margin-left: 16px;
  padding-left: 16px;
  position: relative;
}

.post li:before {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -ms-flex-negative: 0;
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  content: "";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-shrink: 0;
  height: 8px;
  justify-content: center;
  left: 0;
  margin-right: 8px;
  margin-top: 10px;
  position: absolute;
  top: 0;
  width: 8px;
}

.post p img {
  border-radius: 18px;
  width: 100%;
  max-width: 750px;
}

.post__table {
  margin: 20px 0 40px;
  overflow-x: auto;
}

.post table {
  width: 100%;
  border-collapse: collapse;
}

.post table thead {
  background: var(--primary);
  color: var(--white);
}

.post table th {
  padding: 20px 10px;
}

.post table td {
  border-bottom: 2px solid var(--extra__hover);
  padding: 20px 10px;
  line-height: 1.5;
}

.post .faq__item-title {
  padding: 20px 18px;
  font-size: 18px;
}

.post blockquote {
  font-size: 20px;
  font-style: italic;
  padding: 20px;
  background: var(--primary-extra);
  margin: 0;
  line-height: 1.5;
  border-radius: 20px;
  margin-bottom: 25px;
}

@media(max-width:950px) {
  .post__table {
    max-width: 100%;
  }
}

@media(max-width:800px) {
  .post__table {
    overflow-x: scroll;
    width: calc(100vw - 50px);
  }

  .post table td {
    min-width: 150px;
  }
}

/* sidebars */
.post__navigation {
  width: 100%;
  height: 100%;
  position: relative;
}

.post__navigation-widget {
  min-width: 300px;
  position: sticky;
  top: 100px;
  background-origin: padding-box;
  padding: 20px;
  border-radius: 26px;
  background: var(--light);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, .2), inset 0 0 8px 0 rgba(255, 255, 255, .12), 0 1px 2px 0 rgba(0, 0, 0, .08);
}

.post__navigation-title {
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 20px;
}

.post__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post__nav ul li {
  padding-left: 20px;
  position: relative;
  line-height: 1.25;
}

.post__nav ul li::before {
  content: '•';
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  left: 0;
  top: 4px;
  color: var(--primary);
}

.post__nav-link {
  color: var(--base);
  transition: all .2s ease;
  font-size: 14px;
}

.post__nav-link:hover,
.post__nav-link.active {
  color: var(--primary);
}

.post__navigation-description {
  line-height: 1.5;
  font-size: 20px;
  margin-bottom: 20px;
}

.post__navigation-btn {
  font-size: 20px;
  padding: 16px 16px;
}

@media(max-width:1200px) {
  .blog__grid {
    grid-template-columns: 1fr 2fr;
  }
}

@media(max-width:1050px) {
  .post__header {
    padding: 140px 0 50px;
    margin-bottom: 50px;
  }

  .post__header-wrap {
    grid-template-columns: 1fr;
  }

  .post__header-preview {
    order: -1;
  }
}

@media(max-width:900px) {
  .article {
    grid-template-columns: 1fr;
  }

  .post {
    padding: 20px 0;
  }

  .post__navigation {
    order: -1;
  }

  .post__nav-link {
    font-size: 16px;
  }
}

@media(max-width:600px) {
  .post__header {
    padding: 110px 0 50px;
  }
}

@media(max-width:550px) {
  .post__author {
    grid-template-columns: 1fr;
  }
}

/* 3. faq */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__item {
  border-radius: 16px;
  background: var(--extra__secondary);
}

.faq__item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  font-size: 30px;
  border-radius: 16px;
  cursor: pointer;
}

.faq__item-icon {
  height: 14px;
  transition: all .3s ease;
}

.faq__item.open .faq__item-icon {
  transform: rotate(180deg);
}

.faq__item-description {
  padding: 0;
  font-size: 0;
  visibility: hidden;
  height: 0;
}

.faq__item.open .faq__item-description {
  font-size: 18px;
  padding: 10px 20px 20px 20px;
  height: auto;
  visibility: visible;
  font-weight: 300;
  color: var(--secondary);
}

.about__why {
  padding: 60px 0;
}

.about__why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about__why-description {
  line-height: 1.5;
  color: var(--secondary);
  margin-top: 20px;
}

.about__why-image {
  width: 100%;
  max-height: 600px;
  border-radius: 40px;
  object-fit: cover;
}

.about__why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: start;
  margin: 30px 0;
}

.about__why-list li {
  position: relative;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  padding-left: 20px;
}

.about__why-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: 0;
  top: calc(50% - 5px);
  top: 5px;
}

.values .advantages__wrap {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width:1000px) {
  .about__why-wrap {
    grid-template-columns: 1fr;
  }

  .about__why-image {
    max-height: 300px;
  }

  .values .advantages__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:600px) {
  .values .advantages__wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

.methodology__hero-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 100px;
}

.methodology__hero-image {
  width: 100%;
  object-fit: cover;
  border-radius: 40px;
  max-height: 400px;
}

.methodology__hero-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.methodology__hero-list li {
  font-size: 30px;
  border-bottom: 1px solid var(--secondary);
  padding: 4px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.methodology__hero-list li span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  background: var(--base);
  color: var(--white);
  font-size: 16px;
}

.methodology__steps {
  padding: 50px 0;
  background: var(--white);
}

.methodology__steps-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.methodology__steps-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--extra__secondary);
}

.methodology__item-caption {
  display: flex;
  align-items: start;
  gap: 20px;
}

.methodology__caption-number {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.methodology__caption-title {
  font-size: calc(16px + 1.5vw);
  font-weight: 600;
  max-width: 330px;
}

.methodology__item-description {
  display: flex;
  flex-direction: column;
  color: var(--secondary);
  gap: 20px;
}

.methodology__item-description p {
  line-height: 1.5;
}

.methodology__item-description ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.methodology__item-description ul li {
  position: relative;
  line-height: 1.5;
  padding-left: 20px;
}

.methodology__item-description ul li::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: calc(50% - 5px);
}

@media(max-width:900px) {
  .methodology__hero-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .methodology__hero-list li {
    font-size: 18px;
    border-bottom: none;
    padding: 0;
  }

  .methodology__steps-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }

  .methodology__item-caption {
    flex-direction: column;
  }

  .methodology__item-description ul li::before {
    top: 10px;
  }
}

.hero__review-subtitle {
  text-align: left;
  margin: 0 auto 30px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--secondary);
}

.review-hero .hero__buttons {
  margin: 0 auto;
  max-width: 900px;
  justify-content: start;
}

.review__content .post {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 50px;
}

.review__content .post h2 {
  color: var(--primary);
}

.review__content .post .hero__buttons {
  justify-content: start;
}

.faq {
  padding: 60px 0 0;
}

.faq-container {
  background-color: var(--extra__secondary);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--secondary);
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 20px 60px 20px 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  font-size: 18px;
  color: var(--base);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 52px;
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-q {
  font-weight: 700;
  color: #2c3e50;
}

.faq-a {
  font-weight: 700;
  color: #27ae60;
}

.summary {
  background-color: #e8f4fc;
  border-left: 4px solid var(--primary);
  padding: 15px;
  margin-top: 30px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.controls button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.controls button:hover {
  background-color: #2980b9;
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 16px;
    padding: 16px 50px 16px 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px 48px;
  }

  .controls {
    flex-direction: column;
  }

  .controls button {
    width: 100%;
  }
}

#cookie-notice {
  display: flex;
  position: fixed;
  bottom: 50px;
  left: 50px;
  background: var(--light);
  color: var(--base);
  padding: 15px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px;
  z-index: 9999;
  transition: opacity 0.3s;
  opacity: 1;
}

.cookie-notice-wrap {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
@media(max-width:700px){
  #cookie-notice{
    width: 90%;
    left: 5%;
  }
}