:root {
  --color-accent: #f2ff00;
  --color-action: #ff2910;
  --color-green: #007a12;
  --color-dark: #0b041a;
  --color-light: #f6faff;
  --color-card: #fcffb7;
  --color-white: #ffffff;

}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  color: var(--color-dark);
  font-family: "Inter", sans-serif;
  background: var(--color-white);
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button,
input {
  font: inherit;
}
[class*="__container"] {
  max-width: 1272px;
  margin: 0 auto;
  padding: 0 16px;
}
.wrapper {
  min-height: 100%;
  overflow: hidden;
}
.title-h2 {
  color: var(--color-dark);
  font-size: 32px;
  font-weight: 900;
  line-height: 100%;
}
.title-h2--light {
  color: var(--color-light);
}
.title-h3 {
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 100%;
}
.text-regular,
.text-light {
  font-size: 16px;
  line-height: 100%;
}
.text-regular {
  font-weight: 400;
}
.text-light {
  font-weight: 300;
}
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-action);
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  cursor: pointer;
  transition: opacity 200ms ease;
}
.button:hover {
  opacity: 0.82;
}
.button--outline {
  color: var(--color-action);
  border: 1px solid var(--color-action);
  background: transparent;
}
.button--dark {
  background: var(--color-dark);
}
.button--green {
  border: 1px solid var(--color-light);
  background: transparent;
}

.header {
  background: var(--color-accent);
}
.header__container {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 36px;
}
.header__logo {
  display: flex;
  width: 125px;
  align-items: center;
}
.header__logo-image {
  display: block;
  width: 100%;
  height: auto;
}
.header__burger {
  display: none;
}
.header__navigation {
  display: flex;
  margin-left: auto;
  gap: 30px;
}
.header__link {
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}
.header__actions {
  display: flex;
  gap: 16px;
}
.header__actions .button {
  min-height: 35px;
  padding: 0 20px;
  font-size: 14px;
}

.hero {
  min-height: 705px;
  background:
    linear-gradient(rgba(11, 4, 26, 0.64), rgba(11, 4, 26, 0.64)),
    url("../img/hero.jpg") center / cover no-repeat;
}
.hero__content {
  width: 720px;
  padding-top: 175px;
}
.hero__title {
  color: var(--color-light);
  font-size: 48px;
  font-weight: 700;
  line-height: 120%;
}
.hero__text {
  max-width: 715px;
  margin-top: 28px;
  color: var(--color-light);
  font-size: 24px;
  font-weight: 400;
  line-height: 100%;
}
.hero__button {
  margin-top: 38px;
}

.benefits {
  padding: 55px 0;
}
.benefits__container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.benefits__content {
  width: 50%;
}
.benefits__list {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 20px;
}
.benefits__item {
  position: relative;
  padding-left: 38px;
  line-height: 120%;
}
.benefits__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-size: 22px;
}
.benefits__photo {
  width: 50%;
  height: 365px;
}

.photo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.photo--benefits {
  background-image: url("../img/img1.png");
}
.photo--service-1 {
  background-image: url("../img/img2.jpg");
}
.photo--service-2 {
  background-image: url("../img/img3.png");
}
.photo--service-3 {
  background-image: url("../img/img4.png");
}
.photo--service-4 {
  background-image: url("../img/img6.jpg");
}
.photo--service-5 {
  background-image: url("../img/img7.jpg");
}
.photo--process {
  background-image: url("../img/img8.jpg");
}

.services {
  padding: 0 0 60px;
}
.services__title,
.services__intro {
  text-align: center;
}
.services__intro {
  margin-top: 22px;
  line-height: 120%;
}
.services__list {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.service-card {
  display: flex;
  width: calc((100% - 40px) / 3);
  min-height: 520px;
  padding: 14px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-accent);
  background: var(--color-card);
}
.service-card__photo {
  width: 100%;
  height: 250px;
}
.service-card__title {
  min-height: 53px;
  margin-top: 18px;
  line-height: 110%;
}
.service-card__text {
  margin-top: 18px;
  line-height: 120%;
}
.service-card__button {
  min-height: 38px;
  margin-top: auto;
  padding: 0 16px;
  font-size: 16px;
}

.process {
  padding: 48px 0;
  color: var(--color-light);
  background: var(--color-green);
}
.process__container {
  display: flex;
  align-items: center;
  gap: 75px;
}
.process__content {
  width: 52%;
}
.process__list {
  margin: 28px 0;
  padding-left: 20px;
  list-style: decimal;
  line-height: 125%;
}
.process__actions {
  display: flex;
  gap: 20px;
}
.process__actions .button {
  min-height: 38px;
  font-size: 14px;
}
.process__photo {
  width: 48%;
  height: 360px;
}

.testimonials {
  padding: 58px 0;
}
.testimonials__title {
  text-align: center;
}
.testimonials__list {
  display: flex;
  margin-top: 38px;
  gap: 20px;
}
.review {
  width: 50%;
  padding: 20px;
  background: var(--color-card);
}
.review__header {
  display: flex;
  margin-bottom: 22px;
  align-items: center;
  gap: 14px;
}
.review__avatar {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}
.review__name {
  font-size: 20px;
  line-height: 100%;
}
.review__meta {
  margin-top: 7px;
  color: var(--color-green);
  font-size: 14px;
  line-height: 100%;
}
.review > p {
  line-height: 120%;
}

.faq {
  padding: 45px 0;
  color: var(--color-light);
  background: var(--color-green);
}
.faq__container {
  display: flex;
  gap: 70px;
}
.faq__content {
  width: 50%;
}
.faq__content p {
  max-width: 530px;
  margin: 28px 0;
  line-height: 120%;
}
.faq__content .button {
  min-height: 38px;
  font-size: 14px;
}
.faq__list {
  display: flex;
  width: 50%;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  padding: 17px;
  overflow: hidden;
  color: var(--color-dark);
  background: var(--color-white);
}
.faq__item summary {
  position: relative;
  padding-right: 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 100%;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 300ms ease;
}
.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq__item p {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 300;
  line-height: 100%;
}

.footer-spacer {
  height: 56px;
  background: var(--color-white);
}

.footer {
  padding: 48px 0 25px;
  color: var(--color-light);
  background: var(--color-dark);
}
.footer__columns {
  display: flex;
  gap: 65px;
}
.footer__column {
  display: flex;
  min-width: 130px;
  flex-direction: column;
  gap: 8px;
}
.footer__column--wide {
  width: 260px;
}
.footer h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
}
.footer a,
.footer p {
  color: var(--color-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
}
.footer__newsletter {
  margin-left: auto;
}
.footer__newsletter p {
  margin-bottom: 22px;
}
.footer__form {
  display: flex;
  gap: 18px;
}
.footer__form input {
  width: 315px;
  min-height: 48px;
  padding: 0 18px 0 50px;
  background-color: var(--color-white);
  background-image: url('../img/icon.svg');
  background-position: 16px center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
}
.footer__form .button {
  font-size: 14px;
}
.footer__bottom {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(246, 250, 255, 0.45);
  text-align: center;
}
.footer__bottom div {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.footer__bottom a {
  font-size: 14px;
  font-weight: 300;
  line-height: 100%;
}
.footer__bottom p {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 100%;
  text-align: center;
  opacity: 0.65;
}

.services-page {
  padding-top: 64px;
}
.services-page__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
}
.services-page__intro {
  margin-top: 24px;
  line-height: 120%;
}

.team-page {
  padding: 64px 0 55px;
}
.team-page__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
}
.team-page__intro {
  margin-top: 24px;
  line-height: 120%;
}
.team-page__list {
  display: flex;
  margin-top: 30px;
  gap: 20px;
}
.team-card {
  display: flex;
  width: calc((100% - 40px) / 3);
  min-height: 450px;
  padding: 24px 16px;
  flex-direction: column;
  align-items: center;
  background: var(--color-card);
  text-align: center;
}
.team-card__image {
  display: block;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 0%;
}
.team-card__name {
  margin-top: 18px;
}
.team-card__role {
  min-height: 32px;
  margin-top: 12px;
  color: var(--color-green);
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}
.team-card__text {
  margin-top: 28px;
  line-height: 120%;
}
.team-reason .process__container {
  gap: 20px;
}
.team-reason .process__content {
  width: calc(100% - 630px);
}
.team-reason .process__photo {
  width: 610px;
  height: 357px;
  flex: 0 0 610px;
}
.team-reason__text {
  margin: 28px 0;
  line-height: 120%;
}
.team-reason__photo {
  background-image: url('../img/img16.jpg');
}

.service-hero {
  min-height: 620px;
  color: var(--color-light);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.service-hero--debt {
  background-image: linear-gradient(rgba(11, 4, 26, 0.64), rgba(11, 4, 26, 0.64)), url('../img/img2.jpg');
}
.service-hero--investments {
  background-image: linear-gradient(rgba(11, 4, 26, 0.64), rgba(11, 4, 26, 0.64)), url('../img/hero2.jpg');
}
.service-hero--family {
  background-image: linear-gradient(rgba(11, 4, 26, 0.64), rgba(11, 4, 26, 0.64)), url('../img/img6.jpg');
}
.service-hero--pmi {
  background-image: linear-gradient(rgba(11, 4, 26, 0.64), rgba(11, 4, 26, 0.64)), url('../img/img7.jpg');
}
.service-hero--pension {
  min-height: auto;
  background-image: linear-gradient(rgba(11, 4, 26, 0.64), rgba(11, 4, 26, 0.64)), url('../img/img3.png');
}
.service-hero--pension .service-hero__content {
  padding: 124px 0;
}
.service-hero__content {
  max-width: 690px;
  padding-top: 175px;
}
.service-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 120%;
}
.service-hero__text {
  margin-top: 28px;
  font-size: 24px;
  font-weight: 400;
  line-height: 100%;
}
.service-hero__text p + p {
  margin-top: 24px;
}

.pension-why,
.pension-tools {
  padding: 55px 0;
}
.pension-tools {
  padding-bottom: 32px;
}
.pension-why__container,
.pension-steps__container,
.pension-tools__body {
  display: flex;
  align-items: center;
  gap: 20px;
}
.pension-steps__container {
  align-items: flex-start;
}
.pension-why__content,
.pension-why__image,
.pension-steps__content,
.pension-steps__image,
.pension-tools__image,
.pension-tools__list {
  width: calc(50% - 10px);
}
.pension-why__image,
.pension-steps__image,
.pension-tools__image {
  display: block;
  height: auto;
  object-fit: contain;
}
.pension-why__text {
  margin-top: 24px;
  line-height: 120%;
}
.pension-challenges,
.pension-life {
  padding: 0 0 55px;
}
.pension-challenges__title,
.pension-life__title,
.pension-tools__title {
  text-align: center;
}
.pension-challenges__list,
.pension-life__list {
  display: flex;
  margin-top: 30px;
  gap: 20px;
}
.value-card.pension-card {
  display: flex;
  width: calc((100% - 40px) / 3);
  min-height: 296px;
  padding: 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-accent);
  background: var(--color-card);
}
.pension-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.pension-card__title {
  margin-top: 20px;
}
.pension-card__text {
  margin-top: 20px;
  line-height: 120%;
}
.value-card.pension-card .value-card__title,
.value-card.pension-card .value-card__text {
  margin-top: 10px;
}
.pension-steps {
  padding: 48px 0;
  color: var(--color-light);
  background: var(--color-green);
}
.pension-steps__list {
  display: flex;
  margin-top: 28px;
  flex-direction: column;
  gap: 18px;
}
.pension-steps__item,
.pension-steps__list li {
  line-height: 120%;
}
.pension-steps__item strong,
.pension-steps__list li strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
}
.pension-steps__list li span {
  display: block;
}
.pension-steps__image {
  height: 644px;
  object-fit: cover;
}
.pension-tools__body {
  margin-top: 24px;
  align-items: stretch;
}
.pension-tools__heading-title {
  width: 610px;
}
.pension-tools__image {
  height: 704px;
  object-fit: fill;
}
.pension-tools__list {
  display: flex;
  height: 704px;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.pension-tool {
  display: flex;
  min-height: 161px;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--color-green);
  background: #eef8ef;
}
.pension-tool__heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pension-tool__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.pension-tool__title,
.pension-tool h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 100%;
}
.pension-tool__text,
.pension-tool p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 100%;
}
.pension-life + .faq .faq__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.value-card.pension-life__card {
  width: calc((100% - 40px) / 3);
  min-height: 150px;
}
.pension-life__card p {
  margin-top: 20px;
  line-height: 120%;
}

.legal {
  padding: 64px 0;
}
.legal__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 120%;
}
.legal__notice {
  margin-top: 28px;
  max-width: 920px;
  line-height: 140%;
}
.legal__content {
  display: flex;
  max-width: 920px;
  margin-top: 40px;
  flex-direction: column;
  gap: 32px;
}
.legal__section p,
.legal__list {
  margin-top: 16px;
  line-height: 140%;
}
.legal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal__list li {
  position: relative;
  padding-left: 24px;
}
.legal__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.contacts {
  padding: 64px 0 55px;
}
.contacts__container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contacts__content,
.contacts__image {
  width: calc(50% - 10px);
}
.contacts__title,
.thanks__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 120%;
}
.contacts__intro {
  max-width: 610px;
  margin-top: 22px;
  line-height: 120%;
}
.contacts__form {
  display: flex;
  margin-top: 15px;
  flex-direction: column;
  gap: 8px;
}
.contacts__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
}
.contacts__field input,
.contacts__field select,
.contacts__field textarea {
  width: 100%;
  min-height: 40px;
  padding: 12px 12px 12px 6px;
  color: var(--color-dark);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: var(--color-white);
}
.contacts__field textarea {
  min-height: 80px;
  resize: vertical;
}
.contacts__field input::placeholder,
.contacts__field textarea::placeholder {
  color: #b8c1d1;
}
.contacts__submit {
  width: 295px;
  margin-top: 28px;
}
.contacts__image {
  display: block;
  height: 500px;
  object-fit: contain;
}
.contacts__error {
  display: none;
  margin-top: 20px;
  padding: 12px;
  color: var(--color-action);
  font-size: 14px;
  line-height: 120%;
  border: 1px solid var(--color-action);
}
.contacts__error--visible {
  display: block;
}
.thanks {
  padding: 64px 0 48px;
}
.thanks__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.thanks__image {
  display: block;
  width: 524px;
  height: 403px;
  object-fit: contain;
}
.thanks__text {
  margin-top: 24px;
  line-height: 120%;
}
.service-audience,
.service-results {
  padding: 55px 0;
}
.service-audience__container,
.service-results__container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.service-audience__content,
.service-results__content {
  width: calc(50% - 10px);
}
.service-audience__image,
.service-results__image {
  display: block;
  width: calc(50% - 10px);
  height: 330px;
  object-fit: contain;
}
.service-results__image {
  object-fit: cover;
}
.service-checks {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 24px;
}
.service-checks__item {
  position: relative;
  padding-left: 38px;
  line-height: 120%;
}
.service-checks__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-size: 22px;
}
.service-method {
  padding: 0 0 55px;
}
.service-method__title {
  text-align: center;
}
.service-method__list {
  display: flex;
  margin-top: 30px;
  gap: 20px;
}
.service-method__card {
  min-height: 275px;
}
.service-method__card .value-card__title {
  line-height: 110%;
}

.about-intro {
  padding: 64px 0 55px;
}
.about-intro__container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.about-intro__image {
  display: block;
  width: 610px;
  height: 462px;
  flex: 0 0 610px;
  order: 2;
  object-fit: cover;
}
.about-intro__content {
  width: calc(100% - 630px);
  order: 1;
}
.about-intro__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 120%;
}
.about-intro__text {
  display: flex;
  margin-top: 28px;
  flex-direction: column;
  gap: 20px;
  line-height: 120%;
}
.about-intro__subtitle {
  margin-top: 28px;
}
.about-intro__mission {
  margin-top: 22px;
  line-height: 120%;
}
.about-intro__button {
  margin-top: 28px;
}

.values {
  padding: 0 0 55px;
}
.values__title,
.values__intro {
  text-align: center;
}
.values__intro {
  margin-top: 24px;
  line-height: 120%;
}
.values__list {
  display: flex;
  margin-top: 30px;
  gap: 20px;
}
.value-card {
  display: flex;
  width: calc((100% - 60px) / 4);
  min-height: 200px;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--color-accent);
  background: var(--color-card);
}
.value-card__icon {
  display: block;
  width: 40px;
  height: 40px;
}
.value-card__title {
  margin-top: 20px;
}
.value-card__text {
  margin-top: 20px;
  line-height: 120%;
}

.trust {
  padding: 0 0 55px;
}
.trust__container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.trust__image {
  display: block;
  width: 610px;
  height: 563px;
  flex: 0 0 610px;
  object-fit: contain;
}
.trust__content {
  width: calc(100% - 630px);
}
.trust__list {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 28px;
}
.trust__item {
  position: relative;
  padding-left: 38px;
  line-height: 120%;
}
.trust__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-size: 22px;
}

@media (min-width: 768px) and (max-width: 991px) {
  body._lock {
    overflow: hidden;
  }
  .header {
    position: relative;
    z-index: 20;
  }
  .header__container {
    justify-content: space-between;
  }
  .header__logo {
    position: relative;
    z-index: 2;
  }
  .header__burger {
    position: relative;
    z-index: 2;
    display: flex;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    cursor: pointer;
  }
  .header__burger span {
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    transition: transform 300ms ease, opacity 300ms ease;
  }
  .header._menu-open .header__burger span:first-child {
    transform: translateY(11px) rotate(45deg);
  }
  .header._menu-open .header__burger span:nth-child(2) {
    opacity: 0;
  }
  .header._menu-open .header__burger span:last-child {
    transform: translateY(-11px) rotate(-45deg);
  }
  .header__navigation,
  .header__actions {
    position: absolute;
    right: 0;
    left: 0;
    display: flex;
    padding-right: 16px;
    padding-left: 16px;
    flex-direction: column;
    align-items: stretch;
    visibility: hidden;
    background: var(--color-accent);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms ease;
  }
  .header__navigation {
    top: 104px;
    padding-top: 24px;
    gap: 0;
  }
  .header__link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(11, 4, 26, 0.2);
  }
  .header__actions {
    top: 312px;
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .header._menu-open .header__navigation,
  .header._menu-open .header__actions {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .benefits__container,
  .process__container {
    gap: 32px;
  }
  .benefits__content,
  .benefits__photo,
  .process__content,
  .process__photo {
    width: calc(50% - 16px);
  }
  .service-card {
    width: calc((100% - 20px) / 2);
  }
  .faq__container {
    flex-direction: column;
    gap: 35px;
  }
  .faq__content,
  .faq__list {
    width: 100%;
  }
  .footer__columns {
    flex-wrap: wrap;
  }
  .footer__newsletter {
    width: 100%;
    margin-left: 0;
  }
  .about-intro__container,
  .trust__container {
    gap: 32px;
  }
  .about-intro__image,
  .about-intro__content,
  .trust__image,
  .trust__content {
    width: calc(50% - 16px);
  }
  .about-intro__image,
  .trust__image {
    height: auto;
    flex-basis: auto;
  }
  .values__list {
    flex-wrap: wrap;
  }
  .value-card {
    width: calc((100% - 20px) / 2);
  }
  .team-page__list {
    flex-wrap: wrap;
  }
  .team-card {
    width: calc((100% - 20px) / 2);
  }
  .team-reason .process__content,
  .team-reason .process__photo {
    width: calc(50% - 16px);
    flex-basis: auto;
  }
  .service-method__list {
    flex-wrap: wrap;
  }
  .service-method__card {
    width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  body._lock {
    overflow: hidden;
  }
  [class*="__container"] {
    padding-right: 16px;
    padding-left: 16px;
  }
  .title-h2 {
    font-size: 24px;
  }
  .title-h3 {
    font-size: 20px;
  }
.service-card__title {
  min-height: 24px;
 
}
  .header {
    position: relative;
    z-index: 20;
  }
  .header__container {
    min-height: 72px;
    justify-content: space-between;
  }
  .header__logo {
    position: relative;
    z-index: 2;
  }
  .header__burger {
    position: relative;
    z-index: 2;
    display: flex;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    cursor: pointer;
  }
  .header__burger span {
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    transition: transform 300ms ease, opacity 300ms ease;
  }
  .header._menu-open .header__burger span:first-child {
    transform: translateY(11px) rotate(45deg);
  }
  .header._menu-open .header__burger span:nth-child(2) {
    opacity: 0;
  }
  .header._menu-open .header__burger span:last-child {
    transform: translateY(-11px) rotate(-45deg);
  }
  .header__navigation,
  .header__actions {
    position: absolute;
    right: 0;
    left: 0;
    display: flex;
    padding-right: 16px;
    padding-left: 16px;
    flex-direction: column;
    align-items: stretch;
    visibility: hidden;
    background: var(--color-accent);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms ease;
  }
  .header__navigation {
    top: 72px;
    padding-top: 24px;
    gap: 0;
  }
  .header__link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(11, 4, 26, 0.2);
  }
  .header__actions {
    top: 280px;
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .header._menu-open .header__navigation,
  .header._menu-open .header__actions {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .hero {
    min-height: 550px;
    background-position: center;
  }
  .hero__content {
    width: 100%;
    padding-top: 120px;
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__text {
    max-width: 100%;
    font-size: 20px;
  }

  .benefits__container,
  .process__container,
  .faq__container {
    flex-direction: column;
  }
  .benefits__container {
    align-items: stretch;
    gap: 35px;
  }
  .benefits__content,
  .benefits__photo,
  .process__content,
  .process__photo,
  .faq__content,
  .faq__list {
    width: 100%;
  }

  .services__intro br {
    display: none;
  }
  .services__list {
    flex-direction: column;
  }
  .service-card {
    width: 100%;
    min-height: auto;
  }
  .service-card__button {
    margin-top: 24px;
  }

  .process__container {
    align-items: stretch;
    gap: 35px;
  }
  .process__actions {
    flex-wrap: wrap;
  }

  .testimonials__list {
    flex-direction: column;
  }
  .review {
    width: 100%;
  }

  .faq__container {
    gap: 35px;
  }
  .faq__item summary {
    font-size: 20px;
  }

  .footer__columns {
    flex-direction: column;
    gap: 35px;
  }
  .footer__column,
  .footer__column--wide,
  .footer__newsletter {
    width: 100%;
    margin-left: 0;
  }
  .footer__form {
    align-items: stretch;
    gap: 16px;
  }
  .footer__form input {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }
  .footer__form .button {
    width: auto;
    flex: 0 0 auto;
    padding-right: 16px;
    padding-left: 16px;
  }
  .footer__bottom div {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }
  .about-intro {
    padding-top: 40px;
  }
  .services-page {
    padding-top: 40px;
  }
  .services-page__title {
    font-size: 32px;
  }
  .services-page__intro br {
    display: none;
  }
  .team-page {
    padding-top: 40px;
  }
  .team-page__title {
    font-size: 32px;
  }
  .team-page__intro br {
    display: none;
  }
  .team-page__list {
    flex-direction: column;
  }
  .team-card {
    width: 100%;
  }
  .team-reason .process__content,
  .team-reason .process__photo {
    width: 100%;
    flex-basis: auto;
  }
  .service-hero {
    min-height: 550px;
  }
  .service-hero__content {
    padding-top: 120px;
  }
  .service-hero__title {
    font-size: 32px;
  }
  .service-hero__text {
    font-size: 20px;
  }
  .service-audience__container,
  .service-results__container {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .service-audience__content,
  .service-results__content,
  .service-audience__image,
  .service-results__image {
    width: 100%;
  }
  .service-audience__image {
    order: 0;
  }
  .service-audience__content {
    order: 1;
  }
  .service-results__image {
    order: 0;
  }
  .service-results__content {
    order: 1;
  }
  .service-method__list {
    flex-direction: column;
  }
  .service-method__card {
    width: 100%;
    min-height: auto;
  }
  .service-audience__image,
  .service-results__image {
    height: auto;
  }
  .service-audience + .service-method {
    padding-top: 0;
  }
  .service-hero__title br {
    display: none;
  }
  .about-intro__container,
  .trust__container {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .about-intro__image,
  .about-intro__content,
  .trust__image,
  .trust__content {
    width: 100%;
  }
  .about-intro__image,
  .trust__image {
    height: auto;
    flex-basis: auto;
  }
  .about-intro__image {
    order: 0;
  }
  .about-intro__content {
    order: 1;
  }
  .about-intro__title {
    font-size: 32px;
  }
  .about-intro__button {
    width: 100%;
    text-align: center;
  }
  .values__intro br {
    display: none;
  }
  .values__list {
    flex-direction: column;
  }
  .value-card {
    width: 100%;
    min-height: auto;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .pension-why__container,
  .pension-steps__container,
  .pension-tools__body {
    align-items: flex-start;
  }
  .pension-challenges__list,
  .pension-life__list {
    flex-wrap: wrap;
  }
  .value-card.pension-card,
  .value-card.pension-life__card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  .pension-why,
  .pension-tools {
    padding: 32px 0;
  }
  .pension-challenges,
  .pension-life {
    padding-bottom: 32px;
  }
  .pension-why__container,
  .pension-steps__container,
  .pension-tools__body,
  .pension-challenges__list,
  .pension-life__list {
    flex-direction: column;
    align-items: stretch;
  }
  .pension-why__content,
  .pension-why__image,
  .pension-steps__content,
  .pension-steps__image,
  .pension-tools__image,
  .pension-tools__list,
  .value-card.pension-card,
  .value-card.pension-life__card {
    width: 100%;
  }
  .pension-why__image,
  .pension-steps__image {
    order: 0;
  }
  .pension-why__content,
  .pension-steps__content {
    order: 1;
  }
  .pension-challenges__list,
  .pension-life__list,
  .pension-tools__body {
    margin-top: 24px;
  }
  .value-card.pension-card,
  .value-card.pension-life__card {
    min-height: auto;
  }
  .pension-steps {
    padding: 0 0 32px;
  }
  .pension-steps__content {
    padding-top: 28px;
  }
  .pension-steps__image {
    height: auto;
  }
  .pension-tools__heading-title,
  .pension-tools__image,
  .pension-tools__list {
    width: 100%;
    height: auto;
  }
  .pension-tool {
    min-height: auto;
  }
  .pension-tool h3 {
    font-size: 20px;
  }
  .legal {
    padding: 32px 0;
  }
  .legal__title {
    font-size: 32px;
  }
  .legal__content {
    margin-top: 32px;
    gap: 28px;
  }
  .contacts {
    padding: 32px 0;
  }
  .contacts__container {
    flex-direction: column;
    align-items: stretch;
  }
  .contacts__content,
  .contacts__image {
    width: 100%;
  }
  .contacts__title,
  .thanks__title {
    font-size: 32px;
  }
  .contacts__submit {
    width: 100%;
  }
  .contacts__image {
    height: auto;
    margin-top: 28px;
  }
  .thanks {
    padding: 32px 0;
  }
  .thanks__image {
    width: 100%;
    max-width: 524px;
    height: auto;
  }
  .thanks__text br {
    display: none;
  }
}
