/*======= General settings =======*/

/* COLORS */

:root {
  --primary: #493d9e;
  --primary-hover: #6f65b9;
  --primary-focus: #423890;
  --primary-bg: #edecf5;
  --primary-bg-2: #f4f4f8;
  --secondary: #f14a00;
  --secondary-hover: #f46e33;
  --secondary-bg: #feede6;
  --border-primary: #c7c3e1;

  /* Links */
  --link-main: #2D68C4;
  --link-hover: var(--secondary);
  --link-visited: #6A4C9C;

  /* neutral */

  --black: #0f0a0a;
  --main-text: #3f3b3b;
  --main-text-2: #5e5b5b;
  --white: #fefefe;
  --gray: #dfdfdf;
  --placeholder-text: #918e8e;

  /* info */
  --danger: #ff193b;
  --warning: #ffc719;
  --success: #326e2f;
  --info: #566fc2;

  /* Transition */

  --transition-main: 0.2s ease;
  /* Scrollbar */
  --scrollbarBg: var(--primary-bg);
  --scrollbarThumb: var(--primary);
  --scrollbarWidth: 12px;
  --scrollbarBorder: 3px solid var(--scrollbarBg);
  --scrollbarBorderRadius: calc(var(--scrollbarWidth) / 2);
}

/* Scrollbar settings */

/* html {
  scrollbar-width: var(--scrollbarWidth);
  scrollbar-color: var(--scrollbarThumb) var(--scrollbarBg);
}

html::-webkit-scrollbar {
  width: var(--scrollbarWidth);
}

html::-webkit-scrollbar-track {
  background: var(--scrollbarBg);
  border-radius: var(--scrollbarBorderRadius);
}

html::-webkit-scrollbar-thumb {
  background-color: var(--scrollbarThumb);
  border-radius: var(--scrollbarBorderRadius);
  border: var(--scrollbarBorder);
} */

/* FONTS */

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Regular.eot");
  src: url("../fonts/TildaSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/TildaSans-Regular.woff2") format("woff2"),
    url("../fonts/TildaSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Medium.eot");
  src: url("../fonts/TildaSans-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/TildaSans-Medium.woff2") format("woff2"),
    url("../fonts/TildaSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Semibold.eot");
  src: url("../fonts/TildaSans-Semibold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/TildaSans-Semibold.woff2") format("woff2"),
    url("../fonts/TildaSans-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Bold.eot");
  src: url("../fonts/TildaSans-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/TildaSans-Bold.woff2") format("woff2"),
    url("../fonts/TildaSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "TildaSans";
  src: url("../fonts/TildaSans-Light.eot");
  src: url("../fonts/TildaSans-BLighteot?#iefix") format("embedded-opentype"),
    url("../fonts/TildaSans-Light.woff2") format("woff2"),
    url("../fonts/TildaSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

/* TYPOGRAPHY */

body {
  background: var(--white);

  font-family: "TildaSans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: var(--main-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  margin-bottom: 16px;

  line-height: 1.2;
  color: var(--black);
  font-weight: 600;
}

h1 {
  font-size: 64px;
  line-height: 1.1;
}

h2,
.h2 {
  font-size: 52px;
}

h3,
.h3 {
  font-size: 36px;
}

h4,
.h4 {
  font-size: 28px;
  line-height: 1.3;
}

h5,
.h5 {
  font-size: 24px;
  line-height: 1.3;
}

h6,
.h6 {
  font-size: 20px;
  line-height: 1.3;
}

.body-small {
  font-size: 18px;
}

.caption {
  font-size: 16px;
}

.text-bold {
  font-weight: 700;
}

.text-underline {
  position: relative;
  z-index: 99;
}

.text-underline::before {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;

  width: 100%;
  height: 4px;
  background: var(--primary);
}

.text-normal {
  font-weight: 400 !important;
}

.text-medium {
  font-weight: 500 !important;
}

.text-primary {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

p {
  margin: 0;
  margin-bottom: 24px;
}

.body-large {
  font-size: 1.5rem;
}

.body-extra-large {
  font-size: 1.75rem;
}

/* Text wrap */

.text-wrap {
  width: 100%;
  max-width: min(90vw, 33.75rem);
}

.text-wrap-center {
  margin: 0 auto;
  text-align: center;
}

/*======= Layout =======*/

/* CONTAINER */

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

.container-blog {
  max-width: 720px;
}

/* SECTIONS */

.section-main {
  padding-top: 160px;
}

.section-medium {
  padding-top: 80px;
}

.section-small {
  padding-top: 48px;
}

.section-heading {
  margin-bottom: 64px;
  max-width: 720px;
}

.section-heading-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading-center p {
  margin-left: auto;
  margin-right: auto;
}

.sub-section-heading {
  margin-bottom: 24px;
}

.section-heading-small {
  margin-bottom: 40px;
}

.section-heading p,
.section-text-heading p {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 540px;
  width: 100%;
}

.section-flex {
  display: flex;
  gap: 80px;
}

.section-flex .section-heading,
.section-flex .section-img {
  width: 40%;
  margin-bottom: 0;
}

.section-flex .section-text,
.section-flex .section-content {
  width: 60%;
}

.section-flex-heading-60 .section-heading {
  width: 60%;
}

.section-flex-heading-60 .section-content {
  width: 40%;
}

.section-heading-with-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 48px;
}

.section-img-bottom .section-img {
  height: 520px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.section-img-bottom .section-img img {
  filter: blur(2px);
  filter: opacity(0.8);
}

/* 2 COLUMNS */

.column-2 {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.column-2 p {
  width: calc(50% - 24px);
}

/* POSITIONING */

.position-rel {
  position: relative;
}

/* VISIBILITY */

.mobile-visible {
  display: none;
}

/* PAGE BANNER */

.page-banner {
  position: relative;

  padding: 120px 0 80px;

  overflow: hidden;
}

.page-banner-bg {
  background: var(--white);
  background-position: 0 0, 0 0, 0 0, 50%;
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, auto, cover;
  padding: 120px 0;
}

.page-banner-why-us {
  background-image: linear-gradient(34deg, #493d9e, #fff0 27%),
    radial-gradient(circle at 100% 100%, #493d9e, #fff0 17%),
    linear-gradient(#0000004d, #0000004d), url(../images/about-bg.jpg);
}

.page-banner-about {
  background-image: linear-gradient(34deg, #493d9e, #fff0 27%),
    radial-gradient(circle at 100% 100%, #493d9e, #fff0 17%),
    linear-gradient(#0000004d, #0000004d), url(../images/about-bg.jpg);
}

.page-banner-bg .page-title {
  color: var(--white);
}

.page-title {
  font-size: clamp(2rem, 3.5vw + 0.4rem, 2.75rem);
  margin-bottom: 0.5em;
}

.page-banner-text {
  max-width: 720px;
}

.page-banner-text-center {
  text-align: center;
  margin: 0 auto;
}

.page-banner-text-services {
  max-width: 100%;
  text-align: center;
}

.page-banner-text-title-full {
  max-width: 960px;
}

.page-banner-text-title-full p {
  max-width: 720px;
}

.page-banner-outline {
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1.5px;
  font-size: 16px;
  margin-bottom: 8px;
}

.page-banner img {
  position: absolute;
  top: 120px;
  right: 60px;
  opacity: 0.25;
  width: 420px;
  transform: rotate(-45deg);
}

/* Page banner single.php */

.page-banner-single {
  background: var(--white);
  text-align: center;
  padding: 80px 0 32px;
}

.page-banner-single .page-banner-text {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.page-banner-single img {
  height: 420px;
  object-fit: cover;
  width: 100%;
}

/* MARGINS */

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1rem {
  margin-bottom: 1rem !important;
}

.mb-2rem {
  margin-bottom: 2rem !important;
}

.mb-3rem {
  margin-bottom: 3rem !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-3rem {
  margin-top: 3rem !important;
}

/*======= Components =======*/

/* ACTIONS */

.actions {
  padding-top: 48px;
}

.actions-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  margin-left: auto;
  margin-right: auto;
}

/* LINKS */

a {
  transition: var(--transition-main);
  text-decoration: none;
  color: inherit;
}

.link-primary {
  color: var(--primary);
}

.link-primary:hover {
  color: var(--primary-hover);
  border-bottom: 1px dashed var(--primary-hover);
}

.link-primary:focus-visible {
  color: var(--primary-focus);
  border-bottom: 1px dashed var(--primary-focus);
}

.link {
  color: var(--link-main) !important;
  border-bottom: 1px dashed var(--link-main) !important;
}

.link:hover {
  color: var(--link-hover) !important;
  border-bottom: 1px dashed var(--link-hover) !important;
}

.link:focus-visible {
  color: var(--link-hover) !important;
  border-bottom: 1px dashed var(--link-hover) !important;
}

.link:visited {
  color: var(--link-visited) !important;
  border-bottom: 1px dashed var(--link-visited) !important;
}

.link:visited:hover,
.link:visited:focus-visible {
  color: var(--link-hover) !important;
  border-bottom: 1px dashed var(--link-hover) !important;
}

/* Block link */

.block-link {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

/* Link with arrow */

.link-with-arrow {
  display: flex;
  align-items: center;
  gap: 8px;

  width: fit-content;
  text-decoration: none;
  color: var(--primary);
}

.link-with-arrow:hover,
.link-with-arrow:focus-visible {
  gap: 16px;
}

.link-with-arrow svg path {
  stroke: var(--primary);
}


/* link icon */

.link-icon {
  top: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 50%;
  line-height: 1;
  width: fit-content;
}

.link-icon-absolute {
  position: absolute;
}

.link-icon svg path {
  transition: var(--transition-main);
}

.link-icon-primary {
  border: 1px solid var(--primary);
}

.link-icon-primary svg path {
  fill: var(--primary);
}

.link-icon-primary:hover,
.link-icon-primary:focus-visible {
  background: var(--primary);
}

.link-icon-primary:hover svg path,
.link-icon-primary:focus-visible svg path {
  fill: var(--white);
}

.link-icon-solid {
  border: 1px solid var(--primary);
  background: var(--primary);
}

.link-icon-solid svg path {
  fill: var(--white);
}

.link-icon-solid:hover,
.link-icon-solid:focus-visible {
  background: var(--white);
}

.link-icon-solid:hover svg path,
.link-icon-solid:focus-visible svg path {
  fill: var(--primary);
}

/* Link with icon */

.link-with-icon {
  position: relative;
  display: inline-block;

  width: 17rem;
  height: auto;
  vertical-align: middle;

  transition: 0.3s ease;
}

.circle {
  position: relative;

  display: block;

  margin: 0;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 1.625rem;

  transition: 0.3s ease;
}

.link-with-icon .icon {
  position: absolute;
  top: 0;
  bottom: 0;

  margin: auto;
  background: var(--white);

  transition: 0.3s ease;
}

.link-with-icon .icon.arrow {
  left: 0.425rem;
  width: 1.125rem;
  height: 0.125rem;

  background: none;

  transition: 0.3s ease;
}

.link-with-icon .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: -0.15rem;
  width: 0.625rem;

  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;

  transform: rotate(45deg);
  transition: 0.3s ease;
}

.button-text {
  position: absolute;
  top: 0.55rem;
  left: 0.85rem;
  right: 0;
  bottom: 0;

  padding: 0.3rem 0 0.75rem;
  margin: 0 0 0 1.85rem;

  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;

  transition: 0.3s ease;
}

.link-with-icon:hover .circle {
  width: 100%;
  background: var(--primary-hover);
}

.link-with-icon:hover .icon.arrow {
  background: var(--white);
  transform: translate(1.2rem, 0);
}

.link-with-icon:hover .button-text {
  left: 0.25rem;

  color: var(--white);
}

/* LInk with icon simple */

.link-with-icon-simple {
  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

.link-with-icon-simple svg {
  transition: var(--transition-main);
}

.link-with-icon-simple:hover svg {
  transform: rotate(45deg);
}

.link-with-icon-simple-small {
  font-size: 16px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: fit-content;
  min-height: 44px;
  padding: .02rem 1.25em;

  border: 1px solid transparent;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: inherit;

  cursor: pointer;
  transition: var(--transition-main);
}

.btn-mobile-visible {
  display: none;
}

.btn-mobile-hidden {
  display: inline-flex;
}

.btn-medium {
  padding: 0.2em 1.5em;
}

.btn-small {
  padding: 0.2em 1em;
  min-height: 40px;
}

.btn-large {
  padding: 0.2em 1.75em;
  min-height: 52px;
}

.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);

  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  /* box-shadow: 0px 2px 5px -1px rgba(50, 50, 93, 0.25), 0px 1px 3px -1px rgba(0, 0, 0, 0.30); */
}

.btn-outline {
  border: 1px solid var(--primary);
  background-color: var(--white);

  color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--primary-hover);
  background: var(--primary-hover);

  color: var(--white);
}

.btn-outline-secondary {
  border: 1px solid var(--secondary);
  background-color: var(--white);

  color: var(--secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible {
  border-color: var(--secondary-hover);
  background: var(--secondary-hover);

  color: var(--white);
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0px 5px 25px rgba(51, 122, 103, 0.1);
}

.btn-full {
  width: 100%;
}

/*======= Lists =======*/

/* WP Lists */

ol.faq-text,
ul.faq-text,
ol.wp-block-list,
ul.wp-block-list {
  list-style: initial;
  padding-left: 24px;
}

ol.faq-text li::marker,
ul.faq-text li::marker,
ol.wp-block-list li::marker,
ul.wp-block-list li::marker {
  color: var(--primary);
}

.blog-promo ol.wp-block-list li::marker,
.blog-promo ul.wp-block-list li::marker {
  color: var(--secondary);
}

ul.simpletoc-list,
ol.simpletoc-list {
  list-style: initial;
  padding-left: 10px;
}

ul.simpletoc-list li,
ol.simpletoc-list li {
  counter-increment: point;
  counter-reset: sublist;
}

ul.simpletoc-list ul,
ol.simpletoc-list ol {
  list-style: disc;
  padding-left: 16px;
}

ol.simpletoc-list ol,
ol.simpletoc-list,
ol.wp-block-list,
ol.faq-text {
  list-style: decimal;
}

ul.simpletoc-list li:not(:last-child),
ol.simpletoc-list li:not(:last-child),
ol.wp-block-list li:not(:last-child),
ul.wp-block-list li:not(:last-child) {
  margin-bottom: 8px;
}

.wp-block-list {
  margin-bottom: 24px;
  margin-top: 16px;
}

.simpletoc a::before {
  content: none;
}

.simpletoc a:gover
/* FAQ lists */

ol.faq-text li:not(:last-child),
ul.faq-text li:not(:last-child) {
  margin-bottom: 8px;
}

/* BORDERED OL */

.bordered-ol {
  list-style: none !important;
  padding-left: 0 !important;
}

.bordered-ol>li {
  background: var(--primary-bg);
  padding: 16px;
  margin-bottom: 16px;
}

/* BOX LIST */

.box-list {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.box-list-item {
  position: relative;

  flex: 1 1 calc(50% - 12px);
  align-self: stretch;
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;

  padding: 32px;
  background: var(--primary-bg);
}

.box-list-item-bordered {
  background: var(--white);
  border: 1px solid var(--primary);
}

.box-list-item-3 {
  flex: 1 1 calc(33% - 12px);
}

.box-list-item-2 {
  flex: 1 1 calc(50% - 12px);
}

.box-list-item-4 {
  flex: 0 1 calc(25% - 24px);
}

.box-list-item-5 {
  flex: 0 1 calc(20% - 24px);
}

.box-list-item-jc-sb {
  justify-content: space-between;
}

.box-list-item .wp-block-list {
  margin-bottom: 0;
}

.box-list-item-arrow {
  position: relative;
}

.box-list-item-arrow::before {
  content: "";

  position: absolute;
  top: -2.5em;
  right: -2em;

  display: inline-block;
  width: 52px;
  height: 52px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%230f0a0a' d='M237.13 18.283c-51.748 0-99.183 27.58-136.067 73.395c11.946-6.97 24.526-11.903 37.51-14.76a129.2 129.2 0 0 1 27.25-3c27.562-.123 55.824 8.283 82.636 24.318c70.828 42.362 132.585 137.45 153.704 275.178l-49.44 12.637l74.33 109.74l74.327-147.733l-51.84 13.25c.564-8.534.9-17.16.9-25.905c0-175.088-95.847-317.12-213.307-317.12zm-71.165 74.305c-7.924.04-15.734.9-23.375 2.582c-30.47 6.705-58.785 26.48-81.356 61.89C37.996 207.88 24.4 269.28 24.4 335.4c0 15.983 1.35 31.378 2.883 46.73c14.387-135.103 92.702-238.62 187.363-238.62c34.713 0 67.177 13.976 95.083 38.334c-21.608-29.968-45.915-52.65-70.863-67.57c-24.337-14.556-49.13-21.81-72.902-21.688z'/%3E%3C/svg%3E");
}

.box-list-item-arrow:last-child::before {
  display: none;
}

.box-list-item-fit {
  flex: 1 1 auto;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--primary);
}

.box-list-item h3,
.box-list-item p {
  max-width: 70%;
}

.box-list-item-arrow h3,
.box-list-item-arrow p {
  max-width: 70%;
}

.box-list-item p {
  margin-top: auto;
  margin-bottom: 0;
}

.box-list-item-border {
  background-color: var(--white);
  border: 1px solid var(--primary);
}

.box-list-item-fit h3 {
  max-width: 100%;
  margin-bottom: 0;
}

/* BOX LIST COLUMN */

.box-list-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 80px;
}

.box-list-column-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  min-height: 360px;
  width: 70%;
}

.box-list-column-item:nth-child(odd) {
  background-color: var(--primary-bg);
}

.box-list-column-item:nth-child(even) {
  background-color: var(--white);
  border: 1px solid var(--primary);
}

.box-list-column-item-title,
.box-list-column-item p {
  width: 100%;
  max-width: 540px;
}

.box-list-column-item p {
  margin-bottom: 0;
}

.box-list-column-item .link-icon {
  position: absolute;
  top: 64px;
  right: 64px;
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 50%;
  line-height: 1;
  border: 1px solid var(--primary);
}

.box-list-column-item .link-icon svg path {
  transition: var(--transition-main);
  fill: var(--primary);
}

.box-list-column-item .link-icon:hover,
.box-list-column-item .link-icon:focus-visible {
  background: var(--primary);
}

.box-list-column-item .link-icon:hover svg path,
.box-list-column-item .link-icon:focus-visible svg path {
  fill: var(--white);
}

/* STEPS LIST */

.steps-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.step {
  align-self: stretch;

  padding: 1rem;
  background-color: var(--primary-bg-2);
  width: 25%;
}

.step-number {
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
  opacity: 0.7;
}

/* PRICING LIST */

.pricing-list {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.pricing-list-item {
  border: 1px solid var(--primary);
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-self: stretch;
  flex-basis: calc(33% - 12px);
}

.pricing-list-item-separator {
  margin: 16px 0;
  width: 100%;
  height: 1px;
  background: var(--primary-bg);
}

.pricing-list-item .actions {
  margin-top: auto;
}

/* TAGS */

.tag-list {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tag {
  display: flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  padding: 4px 8px;
  background-color: var(--white);

  color: var(--main-text-2);
  font-size: 16px;
  font-weight: 500;
}

/* IMG CARD LIST */

.img-card-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 48px;
}

.img-card {
  position: relative;

  flex: 1 0 calc(33% - 24px);
  align-self: stretch;

  background-color: var(--white);
  box-shadow: 0 0 12px #0000001a;
}

.img-card-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-direction: column;

  padding: 24px;
}

.img-card-text a {
  margin-top: auto;
  padding-top: 12px;
}

.img-card h3 {
  margin-bottom: 16px;
}

.img-card .tag-list {
  margin-bottom: 16px;
}

.img-card:hover .link-with-icon-simple svg {
  transform: rotate(45deg);
}

/* ICON LIST */

.icon-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.icon-list-wrap {
  flex-wrap: wrap;
  justify-content: space-between;
}

.icon-list-item {
  position: relative;
  flex: 1 1 calc(33% - 24px);
  align-self: stretch;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  border: 1px solid var(--primary);
  background: var(--white);
  padding: 24px;
}

.icon-list-item-no-border {
  border: none;
  padding: 0;
}

.bg-primary {
  background: var(--primary-bg);
  border: none;
}

.icon-list-item-4 {
  flex: 0 1 calc(25% - 24px);
}

.icon-list-item-2 {
  flex: 0 1 calc(50% - 24px);
}

.icon-list-img {
  /* position: absolute;
  top: -16px;
  left: -16px;
  width: 44px; */

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 16px;
}

.icon-list-item-3 .icon-list-img {
  border: 1px solid var(--primary);
}

.icon-list-img-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
}

.icon-list-item h3 {
  margin-bottom: 10px;
}

.icon-list-item h3.h4 {
  text-transform: uppercase;
}

.icon-list-item-center {
  align-items: center;
  text-align: center;
}

.icon-list-item-center .actions {
  margin-top: auto;
}

/* icon list solid */

.icon-list-solid-item {
  flex: 1 1 calc(25% - 24px);
  align-self: stretch;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  border: 1px solid var(--primary-bg);
  background: var(--primary-bg);
  padding: 24px;
}

.icon-list-solid-icon {
  margin-bottom: 24px;
}

.icon-list-solid-item p {
  margin-bottom: 0;
}

/* Boxed list */

.boxed-list-item {
  background: var(--primary-bg);
  padding: 16px;
}

.boxed-list-item:not(:last-child) {
  margin-bottom: 16px;
}

.boxed-list-item-header {
  display: flex;
  align-items: center;
  gap: 4px;

  margin-bottom: 8px;

  font-size: 24px;
  font-weight: 600;
}

.boxed-list-item-header p {
  width: calc(100% - 48px);
}

.boxed-list-item-bordered {
  background: var(--white);
  border: 1px solid var(--primary);
}

/* FAQ LIST */

.faq-item,
.wp-block-details {
  padding: 24px 0;
  border-top: 1px solid var(--primary-bg);
  border-bottom: 1px solid var(--primary-bg);
}

.faq-question {
  font-size: 24px;
  font-weight: 600;
}

.wp-block-details {
  font-size: 20px;
  font-weight: 600;
}

.wp-block-details p {
  font-weight: 400;
  color: var(--main-text-2);
}

.faq-question:hover,
.faq-question:active {
  color: var(--primary);
  cursor: pointer;
}

.faq-summary,
.wp-block-details summary {
  list-style: none;
}

.faq-summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker {
  display: none;
}

.faq-summary,
.wp-block-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0;
  position: relative;
}

.faq-summary:after,
.wp-block-details summary:after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='%23493D9E' d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4'/%3E%3C/svg%3E");

  display: inline-block;

  cursor: pointer;
}

details[open] .faq-summary:after,
.wp-block-details[open] summary:after {
  rotate: 45deg;
}

.faq-text p,
.wp-block-details p {
  margin: 16px 0 0 0;
}

.faq-text-img-wrap {
  position: relative;
  margin-top: 16px;
}

.wp-block-details .wp-block-list {
  font-weight: 400 !important;
}

/* answer open animation */

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-1.25em);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

details[open] div,
.wp-block-details[open] p {
  animation-name: fadeInDown;
  animation-duration: 0.5s;
}

/* TEXT on IMAGE */

.text-on-img {
  backdrop-filter: blur(5%px);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 16px;
  color: var(--white);
}

.text-on-img p {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 600;
}

.text-on-img-2 {
  margin-left: auto;
}

/* SIMPLE LIST INLINE */

.simple-list-inline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* SOCIAL MENU */

.social-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-menu-item a svg path {
  transition: var(--transition-main);
}

.social-menu-item a:hover svg path,
.social-menu-item a:focus-visible svg path {
  fill: var(--link-hover);
}

/* FIGURES GRID */

.figures-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  justify-content: flex-start;

  width: fit-content;
  padding-top: 24px;
  border-top: 1px solid var(--border-primary);

  text-align: center;
}

.figure-number {
  font-size: 52px;
  font-weight: 600;
  color: var(--primary);
}

/* TEAM GRID */

.team-grid {
  display: flex;
  align-items: flex-start;
  gap: 48px;

  margin-top: 48px;
}

.team-member {
  width: calc(50% - 24px);
}

.team-member-img {
  height: 120px;
  width: 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-img img {
  height: 100%;
  max-width: 120%;
  object-fit: cover;
}

.team-member-content {
  margin-top: 24px;
}

.team-member-title {
  margin-top: 4px;

  color: var(--primary);
  font-size: 18px;
  font-weight: 300;
}

.team-member-description {
  font-size: 16px;
}

/*======= Other settings =======*/

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* MODAL */

.modal {
  /* display: none; */
  visibility: hidden;
  opacity: 0;

  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;

  transform: translateY(-220px);
  transition: 0.8s ease;

  background-color: #fefefe;
  margin: 3% auto;
  padding: 24px;
  border: 1px solid #888;
  width: 100%;
  max-width: 680px;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal.active .modal-content {
  transform: translateY(0);
}

/* The Close Button */

.close {
  align-self: flex-end;

  color: var(--main-text);
  font-size: 48px;
  line-height: 1;
  font-weight: 400;

  transition: var(--transition-main);
  cursor: pointer;
}

.close:hover,
.close:focus-visible {
  color: var(--primary);
  text-decoration: none;
}

/* BACK TO TOP */

/* version in the footer */

.backtotop-wrap {
  margin-top: 32px;
}

.backtopbutton {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 4px;
  /* button reset: */
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.backtopbutton svg {
  transform: rotate(-60deg);
  transition: var(--transition-main);
}

.backtopbutton:hover,
.backtopbutton:focus-visible {
  color: var(--primary);
}

.backtopbutton:hover svg path,
.backtopbutton:focus-visible svg path {
  fill: var(--primary);
}

/* version fixed */

.topbutton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--main-text);

  cursor: pointer;
  text-align: center;
}

.topbutton svg {
  transform: rotate(-60deg);
  transition: var(--transition-main);
}

.topbutton svg path {
  fill: var(--main-text);
}

.topbutton:hover,
.topbutton:focus-visible {
  border-color: var(--primary);
}

.topbutton:hover svg path,
.topbutton:focus-visible svg path {
  fill: var(--primary);
}

/* Хедер на всю ширину */
.site-header.header-full {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  transition: all 0.3s ease;
}

/* Стили для прозрачного хедера при скролле */
.site-header.header-full.scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Контейнер для центрирования содержимого */
.header-full .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 16px 0;
  margin: 0;
  background: transparent;
  transition: padding 0.3s ease;
}

/* Уменьшаем padding при скролле для более компактного вида */
.scrolled .navbar {
  padding: 12px 0;
}

.custom-logo-link img {
  max-height: 40px;
  width: auto;
  transition: max-height 0.3s ease;
}

.scrolled .custom-logo-link img {
  max-height: 32px;
}

.navbar-toggle {
  display: none;
}

.navbar-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-height: none;
  overflow: visible;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  position: relative;
  margin: 0;
}

.menu-item a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;

  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu-item a:hover,
.menu-item a:focus-visible,
.current-menu-item a {
  background-color: var(--primary-bg-2);
  color: var(--primary) !important;
}

.menu-item-mobile {
  display: none;
}

/* Стили для выпадающего меню */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 32px;
}

.menu-item-has-children::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%233f3b3b' d='m7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.menu-item-has-children:hover::after {
  transform: translateY(-50%) rotate(180deg);
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 16px 0;
  margin: 0;
  list-style: none;

  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease;
}

.header-full .sub-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sub-menu .menu-item {
  width: 100%;
}

.sub-menu .menu-item a {
  padding: 12px 24px;
  white-space: normal;
  background: transparent;
  border-radius: 0;
}

.sub-menu .menu-item a:hover,
.sub-menu .menu-item a:focus-visible {
  background-color: var(--primary-bg-2);
  color: var(--primary) !important;
  transform: translateX(8px);
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*======= Blog =======*/

.blog-page-title {
  font-size: 2.75em;
}

/* ARTICLE LIST */

.article-list {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-direction: column;

  width: 100%;
}

/* ARTICLE GRID */

.article-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* ARTICLE MINIATURE */

.entry-miniature {
  position: relative;

  align-self: stretch;

  width: calc(33% - 40px);

  overflow: hidden;

  transition: var(--transition-main);
  box-shadow: 0 0 24px #0000001a;
}

.entry-miniature:hover {
  transform: scale(1.025);
}

.entry-miniature img {
  height: auto;
}

.entry-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  margin-bottom: 24px;
}

.entry-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-math-breadcrumb,
.rank-math-breadcrumb a {
  font-size: 14px;
}

.rank-math-breadcrumb a:hover {
  color: var(--primary);
}

.rank-math-breadcrumb a:focus-visible {
  color: var(--primary-focus);
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 4px;

  margin-bottom: 8px;

  font-size: 14px;
  color: var(--main-text-2);
}

.entry-meta svg {
  margin-top: -2px;
}

.entry-info .entry-meta {
  margin-bottom: 0;
}

.entry-info a {
  font-size: 14px;
  color: var(--black);
  background: var(--primary-bg);
  padding: 4px 8px;
  border-radius: 4px;
}

.entry-info a:hover {
  background: var(--primary);
  color: var(--white);
}

.entry-miniature-content {
  padding: 24px;
}

.entry-miniature-content p {
  margin-bottom: 0;
}

/* ARTICLE LIST ITEM */

.article-list-item {
  border-radius: 10px;
  box-shadow: 0 0 10px #0000001a;
  /*background: var(--primary-bg);*/
  border: 1px solid var(--primary-bg);
  padding: 24px;
  align-self: stretch;
  width: 100%;

  transition: var(--transition-main);
  overflow: hidden;
}

.article-list-item:hover {
  transform: scale(1.025);
}

.article-list-item h3 {
  font-weight: 500;
}

.article-list-item .entry-info {
  justify-content: flex-start;
  gap: 16px;

  margin-bottom: 16px;
}

/* Typography - headings margins */

.wp-block-heading {
  margin: 1.5em 0 0.75em;
}

h1.wp-block-heading {
  font-size: 2.5em;
  font-weight: 500;
}

h2.wp-block-heading,
.service-container h2 {
  font-size: 2em;
  font-weight: 500;
}

h3.wp-block-heading {
  font-size: 1.55em;
  font-weight: 500;
}

h4.wp-block-heading {
  font-size: 1.35em;
  font-weight: 500;
}

h5.wp-block-heading {
  font-size: 1.1em;
  font-weight: 500;
}

/* Blog post links */

.blog-post a:not([class])::before {
  content: none;
}

.blog-post a:not([class]) {
  display: inline;
  color: var(--link-main);
  border-bottom: 1px dashed var(--link-main);
}

.blog-post a:not([class]):hover,
.blog-post a:not([class]):focus-visible {
  border-color: var(--link-hover);
  color: var(--link-hover);
}

.blog-post a:not([class]):visited {
  color: var(--link-visited);
  border-color: var(--link-visited);
}

.blog-post a:not([class]):visited:hover,
.blog-post a:not([class]):visited:focus-visible {
  border-color: var(--link-hover);
  color: var(--link-hover);
}

/* .blog-post p {
  font-size: 22px;
} */

/* WP elements */

.wp-block-table-mobile {
  display: none;
}

.wp-block-table {
  margin-bottom: 24px;
}

.wp-block-separator {
  border-top: 2px solid var(--primary-bg);
  margin-bottom: 24px;
}

.service-container .wp-block-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.case-container .wp-block-image img {
  box-shadow: 0 0 24px #0000001a;
}

.wp-block-image {
  margin: 48px 0 32px;
}

.wp-block-image.image-opacity {
  filter: grayscale(1);
}

.wp-block-image :where(figcaption) {
  font-size: 16px;
  color: var(--main-text-2);
  font-style: italic;
  text-align: center;
}

.wp-block-code code {
  display: inline-block;

  width: 100%;
  background: var(--primary-bg-2);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 1.5rem;

  color: var(--black);
  font-size: 16px;
}

blockquote {
  display: inline-block;
  position: relative;

  border-left: 2px solid var(--primary);
  padding: 24px;
  margin-bottom: 1.5rem;
  margin-left: 0;
  margin-right: 0;

  font-size: 24px;
  font-style: italic;
}

/* blockquote::before {
  content: url("https://api.iconify.design/bi/chat-square-quote.svg?color=%23222831&width=40&height=40");

  position: absolute;
  top: 20px;
  left: 20px;
} */

blockquote p {
  margin: 0;
}

blockquote cite {
  display: block;
  margin-top: 4px;
  margin-right: 8px;
  float: right;

  font-size: 14px;
}

.callout {
  display: inline-block;
  position: relative;

  background: var(--primary-bg-2);
  padding: 20px 20px 20px 80px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  margin-left: 0;
  margin-right: 0;
}

.callout::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40px' height='40px' viewBox='0 0 72 72'%3E%3Cpath fill='%23d0cfce' d='M35.71 64.65c4.779 0 7.509-2.244 8.156-5.151h-16.31c.647 2.907 3.376 5.151 8.155 5.151z'/%3E%3Cpath fill='%23fcea2b' d='M45.203 10.655s-12.23-3.457-18.2 1.269s-6.401 15.6-6.401 15.6c.585 2.213 4.226 8.493 4.226 8.493c.54.911 2.253 7.481 3.249 11.36h15.92c.866-2.845 4.35-13.15 4.805-14.21c.584-1.363 1.58-4.016 2.083-5.017c1.21-2.409 1.166-4.533.538-7.027c-1.358-5.385-2.474-6.723-6.221-10.47z'/%3E%3Cpath fill='%23fff' d='M35.71 7.202c-8.532 0-16.5 6.752-16.5 15.28c0 1.079-.264 4.491 1.217 4.491c0 0 2.393-7.825 8.362-12.55s15.52-3.725 15.52-3.725c-.664-2.045-5.55-3.499-8.596-3.499z'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='2' d='M52.55 23.75c0 3.985-1.785 5.908-3.754 10.5c-.503 1.172-4.211 13.38-4.211 13.38h-17.17s-2.981-11.67-3.546-12.62c-2.37-3.998-4.419-6.91-4.419-11.26C19.45 14.609 26.86 7.2 36 7.2s16.55 7.41 16.55 16.55M36 47.22V35.28m5.97 0H30.03'/%3E%3Cpath stroke-width='1.7' d='M44.16 58.79c0 3.24-3.651 5.867-8.155 5.867S27.85 62.03 27.85 58.79z'/%3E%3Cpath stroke-width='1.97' d='m27.99 54.98l16.02-3.47'/%3E%3Cpath stroke-width='2' d='m38.2 56.07l5.78-1.18M28.02 51.6l5.78-1.18'/%3E%3C/g%3E%3C/svg%3E");

  position: absolute;
  top: 20px;
  left: 20px;
}

.simple-quote {
  background: var(--primary-bg-2);
  padding: 20px;
  border-radius: 4px;
  border-left: 2px solid var(--primary);
  margin-bottom: 1.5rem;
  margin-left: 0;
  margin-right: 0;
}

.simple-quote-wo-border {
  border: none;
}

.simple-quote-secondary {
  background: var(--secondary-bg);
  border-left: 2px solid var(--secondary);
}

.bordered-quote {
  border: 1px solid var(--border-primary);
  border-left: 2px solid var(--primary);
  margin-bottom: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  padding: 16px 24px;
}

.example-quote {
  padding: 16px;
  background: var(--primary-bg-2);
  margin-bottom: 24px;
}

/* Promo block */

.blog-promo {
  background: var(--secondary-bg);
  padding: 20px;
  margin: 2rem 0 1.5rem;
  box-shadow: 0 0 10px #0000001a;
}

.blog-promo-title {
  font-size: 24px;
  font-weight: 600;
}

/* Pagination
--------------------------------------------- */

.pagination-block {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 48px;

  font-size: 22px;
  font-weight: 300;
  color: var(--black);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-numbers {
  line-height: 1;
  padding: 6px 10px;
  background-color: var(--primary-bg);
  color: var(--primary);
  font-size: 14px;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  color: var(--white);
  background-color: var(--primary);
}

/* FORM */

/* Form validation settings */

.wpcf7-not-valid-tip {
  color: var(--danger);
  font-size: 16px;
  font-weight: 500;
}

.wpcf7-response-output {
  border-color: var(--warning);

  color: var(--main-text);
  font-size: 16px;
  font-weight: 500;
}

/* Form settings */

form p {
  width: 100%;
  margin: 16px 0;
}

form p:first-child {
  margin-top: 0;
}

form p:last-child {
  margin-bottom: 0;
}

.form-input,
.form-textarea,
.wpcf7-select {
  border: 1px solid var(--main-text-2);
  background: var(--white);
  padding: 12px 16px;
  outline: transparent;

  font-size: 16px;
  font-weight: 400;
  line-height: 24px;

  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--placeholder-text);
}

.form-textarea {
  height: 80px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  color: var(--main-text);
}

.short-form .actions,
.short-form .btn {
  width: 100%;
}

.form-group:not(:last-child) {
  margin-bottom: 16px;
}

.form-group-full .btn {
  width: 100%;
}

.form-group-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-form-group-inline {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  background: var(--primary);
  width: 100%;

  color: var(--white);
}

.wpcf7-spinner {
  position: absolute;
  bottom: 0;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

form .form-group-inline p {
  margin: 0;
}

.form-acceptance {
  font-size: 16px;
  line-height: 1.2;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: var(--danger);
  font-size: 16px;
}

.wpcf7-not-valid-tip {
  margin-top: 4px;

  color: var(--danger);
  font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--success);
  font-size: 16px;
}

/* Form select */

.wpcf7-select {
  cursor: pointer;
  color: var(--placeholder-text);

  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
}

.wpcf7-select>option[value="Базовая сессия"],
.wpcf7-select>option[value="Стандартная сессия"],
.wpcf7-select>option[value="Пока не знаю, нужна консультация"],
.wpcf7-select>option[value="Продвинутая сессия"] {
  color: var(--black);
}

/*======= Footer =======*/

.site-footer {
  margin-top: 160px;
  background: var(--primary-bg);
  padding: 80px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;

  padding-bottom: 48px;
}

.footer-logo-group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;

  max-width: 320px;
}

.site-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 32px;
  width: fit-content;
  font-size: 14px;
}

.site-map:hover svg path {
  fill: var(--primary);
}

.footer-menu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-menu-inline {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-menu-inline .menu-item a {
  padding: 0;
}

.footer-menu-inline .menu-item a:hover,
.footer-menu-inline .menu-item a:focus-visible,
.footer-menu-inline .current-menu-item a {
  background-color: none;
  color: var(--primary) !important;
}

.footer-form-wrap {
  max-width: 480px;
}

/* Footer contacts */

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;

  font-size: 16px;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 4px;

  width: fit-content;

  color: var(--black);
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--primary);
}

.footer-contacts a svg path {
  transition: var(--transition-main);
}

.footer-contacts a:hover svg path,
.footer-contacts a:focus-visible svg path {
  fill: var(--primary);
}

/* FOOTER SECOND MENU */

.footer-menu-second {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;

  padding: 32px 0;
  border-top: 0.5px solid var(--border-primary);
}

.footer-menu-second .footer-menu-docs a {
  color: var(--link-main);
  border-bottom: 1px dashed var(--link-main);
  font-size: 16px;
  font-weight: 400;
}

.footer-menu-second .footer-menu-docs a:visited {
  color: var(--link-visited);
  border-color: var(--link-visited);
}

.footer-menu-second .footer-menu-docs a:visited:hover,
.footer-menu-second .footer-menu-docs a:visited:focus-visible,
.footer-menu-second .footer-menu-docs a:hover,
.footer-menu-second .footer-menu-docs a:focus-visible {
  color: var(--link-hover);
  border-color: var(--link-hover);
}

.footer-menu-docs-separator {
  opacity: 0.5;
  color: var(--border-primary);
}

/* FOOTER BOTTOM */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 32px 0;
  border-top: 0.5px solid var(--border-primary);
}

.footer-bottom .footer-menu a {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
}

.footer-bottom .footer-menu a:hover,
.footer-bottom .footer-menu a:focus-visible {
  color: var(--primary);
}

/* FOOTER DEVELOPER */

.footer-developer {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px 0 0;
  border-top: 0.5px solid var(--border-primary);
}

/*======= CTA =======*/
/*
.cta h2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
} */

.cta-home {
  padding-top: 160px;
}

.cta-box {
  padding: 48px;
  background: var(--primary-bg);
}

.cta .actions {
  display: flex;
  gap: 24px;
}

/* .cta .link-with-icon {
  width: 19.5rem;
}

.cta .link-with-icon .button-text {
  left: 1.85em;
} */

.cta-box .btn-outline-light {
  color: var(--primary);
}

.cta-box .btn-outline-light:hover,
.cta-box .btn-outline-light:focus-visible {
  border: 1px solid var(--primary-hover);
}

/*======= 404 =======*/

.error-header {
  padding: 80px 0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.error-title {
  font-size: 2em;
  max-width: 720px;
}

.error-img {
  max-width: 340px;
  width: 100%;
}

/* HIGHLIGHT BOX */

.highlight-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 auto;
  padding: 1.25rem;
  background-color: var(--primary-bg);
}

/*======= Home =======*/

.home-banner {
  padding-top: 120px;
  position: relative;
  overflow-x: hidden;
}

/* .home-banner-img {
  z-index: -1;
  position: absolute;
  opacity: 0.35;
}

.home-banner-img-1 {
  top: 24px;
  right: 60px;

  width: 720px;
  height: 720px;
  transform: rotate(-40deg);
}

.home-banner-main-img {
  margin-top: -60px;
} */

.home-banner .box-list {
  margin-top: 80px;
}

.home-banner-heading {
  max-width: 920px;
}

.home-banner .page-banner-text-center {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.site-subtitle {
  font-size: 24px;
}

.site-description {
  max-width: 620px;
  margin: 0 auto;
  /* font-weight: 300; */
}

.box-list-bottom {
  margin: 80px auto 0 auto;
  max-width: 620px;
  width: 100%;
  text-align: center;
}

.box-list-bottom-bg {
  background: var(--primary-bg);
  text-align: left;
  padding: 32px;
  max-width: 680px;
}

/* Pains */

.home-customer-pain .section-img {
  width: 40%;
  height: auto;
  background-image: linear-gradient(34deg, #493d9e, #fff0 27%), radial-gradient(circle at 100% 100%, #493d9e, #fff0 17%), linear-gradient(#0000004d, #0000004d);
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, auto, cover;
  overflow: hidden;
}

.home-customer-pain .section-img img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.pain-img-mobile {
  display: none;
}

/*======= WHY US =======*/

.section-content-why-us-screen-2 {
  position: relative;

  background-image: linear-gradient(34deg, #493d9e, #fff0 27%),
    radial-gradient(circle at 100% 100%, #493d9e, #fff0 17%),
    linear-gradient(#0000004d, #0000004d), url(../images/why-us.jpg);

  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, auto, cover;

  width: auto;
  height: 320px;
}

.section-content-why-us-screen-2 .simple-list-inline {
  position: absolute;
  top: 16px;
  right: 16px;
}

/*======= Promo landing =======*/

.section-content-promo-landing {
  position: relative;

  background-image: linear-gradient(34deg, #493d9e, #fff0 27%),
    radial-gradient(circle at 100% 100%, #493d9e, #fff0 17%),
    linear-gradient(#0000004d, #0000004d), url(../images/growth-img-2.jpg);

  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, auto, cover;
  background-position: center;

  width: auto;
  height: 440px;
}

.section-content-workshop-5-why {
  background-image: linear-gradient(34deg, #493d9e, #fff0 27%),
    radial-gradient(circle at 100% 100%, #493d9e, #fff0 17%),
    linear-gradient(#0000004d, #0000004d), url(../images/workshop-main.jpg);
}

.promo-box-primary {
  position: absolute;
  top: 16px;
  right: 16px;

  background: rgba(73, 61, 158, 0.85);
  padding: 8px 16px;
}

.promo-box-primary h1 {
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  margin-bottom: 0 !important;
  color: var(--white) !important;
}

/*======= Contacts page =======*/

.contacts-form-wrap {
  padding: 48px;
  background: var(--primary-bg);
}

.contacts-form-heading {
  margin-bottom: 2rem;
}

.contacts-list {
  margin-top: 48px;
}

/*======= Service page =======*/

.service-wrap {
  display: flex;
  align-items: flex-start;
}

.service-page-sidebar {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 60px;
  width: 30%;
  padding-right: 48px;
}

.service-page-main {
  width: calc(70% - 48px);
}

.sidebar-box {
  padding: 32px;
  background: var(--primary-bg);
  margin: 1.5rem 0;
}

.sidebar-box:first-child {
  margin-top: 0;
}

.sidebar-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--main-text-2);
  font-size: 16px;
}

.sidebar-contacts li:not(:last-child) {
  margin-bottom: 8px;
}

.sidebar-contacts a:hover {
  color: var(--primary);
}

.sidebar-contacts a:focus-visible {
  color: var(--primary-focus);
}

/* CLAIM BLOCK */

.claim-block .section-flex {
  background-color: var(--primary-bg);
  padding: 2rem;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.claim-block .section-flex .section-heading {
  width: 60%;
}

.claim-block .section-flex .section-content {
  width: 40%;
}

/*======= Glossary =======*/

.glossary-header {
  margin-bottom: 40px;
}

.alphabet-filter {
  background: var(--primary-bg-2);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-primary);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.filter-btn {
  display: inline-block;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  color: var(--main-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.reset-filter {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-primary);
}

.reset-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.reset-btn:hover {
  background: var(--secondary-hover);
}

.glossary-list {
  margin: 30px 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.glossary-item {
  flex: 0 1 auto;
  align-self: stretch;

  background: var(--primary-bg-2);
  border: 1px solid var(--border-primary);
  padding: 16px;
  transition: box-shadow 0.3s ease;
}

.glossary-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.term-title {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.term-title a {
  color: var(--link-main);
  border-bottom: 1px dashed var(--link-main);
}

.term-title a:visited {
  color: var(--link-visited);
  border-bottom: 1px dashed var(--link-visited);
}

.term-title a:hover,
.term-title a:focus-visible,
.term-title a:visited:hover {
  color: var(--link-hover);
  border-bottom: 1px dashed var(--link-hover);
}

.term-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
}

.term-meta {
  font-size: 14px;
  color: #adb5bd;
}

.glossary-pagination {
  margin: 30px 0;
  text-align: center;
}

.glossary-pagination ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
}

.glossary-pagination li {
  margin: 0;
}

.glossary-pagination a,
.glossary-pagination span {
  display: block;
  padding: 8px 12px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #007bff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.glossary-pagination a:hover {
  background: #e9ecef;
}

.glossary-pagination .current {
  background: #007bff;
  border-color: #0056b3;
  color: white;
}

.glossary-info {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin-top: 20px;
}

.glossary-empty {
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
  color: var(--main-text-2);
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--link-main);
  border-bottom: 1px dashed var(--link-main);
}

.back-link:hover {
  color: var(--link-hover);
  border-bottom: 1px dashed var(--link-hover);
}

.back-link:visited {
  color: var(--link-visited);
  border-bottom: 1px dashed var(--link-visited);
}

/* Single Glossary term */

.glossary-single-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.glossary-breadcrumbs {
  margin-bottom: 30px;
  font-size: 14px;
  color: #6c757d;
}

.glossary-breadcrumbs a {
  color: #007bff;
  text-decoration: none;
}

.glossary-breadcrumbs .separator {
  margin: 0 8px;
}

.glossary-single-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 20px;
}

.glossary-single-title {
  font-size: 42px;
  color: #212529;
  margin: 0 0 15px 0;
}

.glossary-single-meta {
  margin-top: 10px;
}

.meta-item a {
  color: #6c757d;
  text-decoration: none;
  border-bottom: 1px dashed #adb5bd;
}

.meta-item a:hover {
  color: #007bff;
}

.term-description {
  font-size: 18px;
  line-height: 1.8;
}

.glossary-single-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0;
  padding: 30px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-previous a,
.nav-next a,
.back-to-glossary {
  color: #007bff;
  text-decoration: none;
}

.nav-previous a:hover,
.nav-next a:hover,
.back-to-glossary:hover {
  text-decoration: underline;
}

.nav-back {
  text-align: center;
}

/*======= Responsive design =======*/

/* 1200px */

@media (max-width: 1200px) {
  .icon-list {
    flex-wrap: wrap;
  }

  .icon-list-item {
    flex: 1 1 calc(50% - 24px);
  }
}

/* 1024px */

@media (max-width: 1024px) {

  /* NAVIGATION */

  .menu-item a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .menu-wrapper {
    gap: 15px;
  }

  .navbar-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .navbar-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggle-icon::before,
  .navbar-toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s ease;
  }

  .navbar-toggle-icon::before {
    top: -6px;
  }

  .navbar-toggle-icon::after {
    bottom: -6px;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-nav.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 80px 24px 24px;
    z-index: 1000;
  }

  .menu-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
  }

  .menu-item {
    width: 100%;
  }

  .menu-item a {
    padding: 15px 20px;
    text-align: center;
  }

  .sub-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 0 20px;
    background: transparent;
    backdrop-filter: none;
  }

  .menu-item-has-children::after {
    right: 20px;
  }

  .navbar-cta {
    display: none;
  }

  .menu-item-mobile {
    display: block;
  }

  .footer-menu {
    flex-wrap: wrap;
  }

  /* Кнопка гамбургер-меню */
  .navbar-toggle {
    display: block;

    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    border-radius: 4px;

    transition: var(--transition-main);
  }

  .navbar-toggle:hover {
    background-color: var(--primary-bg);
  }

  .navbar-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    position: relative;
    transition: var(--transition-main);
  }

  .navbar-toggle-icon::before,
  .navbar-toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    left: 0;
    transition: var(--transition-main);
  }

  .navbar-toggle-icon::before {
    top: -6px;
  }

  .navbar-toggle-icon::after {
    bottom: -6px;
  }

  /* Активное состояние кнопки меню */
  .navbar-toggle[aria-expanded="true"] .navbar-toggle-icon {
    background-color: transparent;
  }

  .navbar-toggle[aria-expanded="true"] .navbar-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .navbar-toggle[aria-expanded="true"] .navbar-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  /* .navbar-toggle:hover .navbar-toggle-icon::before,
    .navbar-toggle:hover .navbar-toggle-icon::after,
    .navbar-toggle:hover .navbar-toggle-icon {
      background-color: var(--primary-bg);
    } */

  .navbar-toggle[aria-expanded="true"]:hover .navbar-toggle-icon {
    background-color: transparent;
  }

  /* .home-banner .home-banner-img {
    opacity: 0.35;
  } */

  .box-list-item h3,
  .box-list-item p {
    max-width: 80%;
  }

  .box-list-item-fit h3 {
    font-size: 20px;
  }

  .box-list-column {
    gap: 40px;
  }

  .box-list-column-item {
    width: 100%;
    padding: 32px;
  }

  .article-grid {
    gap: 24px;
  }

  .entry-miniature {
    width: calc(33% - 12px);
  }

  .section-flex {
    flex-direction: column;
    gap: 0;
  }

  .tablet-hidden {
    display: none;
  }

  .section-content-promo-landing {
    height: 320px;
    order: 1;
  }

  .section-heading-promo-landing {
    order: 2;
    margin-top: 2rem;
  }

  .claim-block .section-flex {
    gap: 1.5rem;
    padding: 1rem;
  }

  .claim-block .section-flex .section-heading,
  .claim-block .section-flex .section-content,
  .section-flex .section-heading,
  .section-flex .section-content {
    width: 100%;
  }

  .section-flex .section-heading {
    margin-bottom: 0;
  }

  .contacts.section-flex .section-heading {
    margin-bottom: 32px;
  }

  .contacts-list {
    margin-top: 24px;
  }

  .contacts-form-wrap {
    padding: 24px;
  }

  .topbutton {
    bottom: 10px;
    right: 10px;

    width: 36px;
    height: 36px;
  }

  .footer-bottom .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .service-page-sidebar {
    padding-right: 24px;
  }

  .service-page-main {
    width: calc(70% - 24px);
  }

  .sidebar-box {
    padding: 16px;
  }

  .cta .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }

  .cta-body {
    text-align: center;
  }

  .img-card {
    flex-basis: calc(50% - 24px);
  }

  .steps-list {
    flex-wrap: wrap;
  }

  .step {
    flex: 1 0 calc(50% - .5rem);
  }
}

/* 960px */

@media (max-width: 960px) {
  .home-banner {
    padding-top: 80px;
  }

  /* OTHER */

  .boxed-list-item-header {
    align-items: flex-start;
  }

  .box-list-item {
    padding: 16px;
  }
}

/* 768px */

@media (max-width: 768px) {
  body {
    font-size: 18px;
  }

  .body-large {
    font-size: 22px;
  }

  .body-extra-large {
    font-size: 28px;
  }

  h1 {
    font-size: 52px;
    line-height: 1.1;
  }

  h2,
  .h2 {
    font-size: 44px;
  }

  h3,
  .h3 {
    font-size: 32px;
  }

  .body-small {
    font-size: 18px;
  }

  .caption {
    font-size: 16px;
  }

  /* Sections */

  .section-main,
  .site-footer {
    padding-top: 102px;
  }

  .cta-home {
    padding-top: 102px;
  }

  .section-flex .section-heading,
  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading-small {
    margin-bottom: 24px;
  }

  .section-heading p:not(.site-description) {
    font-size: 21px;
  }

  /* 2 columns */

  .column-2 {
    gap: 24px;
  }

  /* Links */

  .button-text {
    left: 0;
  }

  .actions {
    padding-top: 24px;
  }

  /* Lists */

  .icon-list-solid-item {
    padding: 16px;
    flex: 1 1 100%;
  }

  .icon-list-item {
    padding: 16px;
    padding-top: 32px;
    flex: 1 1 100%;
  }

  .box-list-item {
    flex: 1 1 100%;
  }

  .box-list-column-item {
    min-height: 320px;
  }

  .box-list-column-item .link-icon {
    top: 24px;
    right: 24px;
  }

  .box-list-column-item-title,
  .box-list-column-item p {
    width: 80%;
  }

  /* Page banner */

  .page-banner {
    padding: 80px 0 48px;
  }

  .page-banner-promo-landing {
    padding: 0 0 48px;
  }

  .section-content-promo-landing {
    height: 240px;
  }

  .page-banner img {
    opacity: 0.05;
    top: 60px;
    right: 20px;
    width: 420px;
  }

  /* Footer */

  .site-footer {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-logo-group,
  .footer-menu-wrapper {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-logo-group {
    order: 3;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .site-map {
    justify-content: center;
  }

  .footer-logo-group .footer-logo {
    min-width: 80px;
    width: auto;
  }

  .footer-menu-wrapper {
    order: 1;
  }

  .footer-form-wrap {
    order: 2;
  }

  .footer-menu-inline {
    gap: 8px;
  }

  .backtotop-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .subscribe-form {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .subscribe-form .form-group {
    margin-bottom: 0;
  }

  .subscribe-form .form-input,
  .subscribe-form .form-textarea {
    padding: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;

    text-align: center;
  }

  .footer-contacts,
  .footer-bottom .footer-menu {
    align-items: center;
    justify-content: center;
  }

  .footer-menu-inline {
    flex-direction: column;
  }

  .footer-menu-docs-separator {
    display: none;
  }

  .contacts-list .footer-contacts {
    align-items: flex-start;
  }

  /* Blog */

  .article-grid {
    flex-wrap: wrap;
  }

  .entry-miniature {
    width: calc(50% - 12px);
  }

  /* Other pages */

  .section-img-bottom .section-img {
    height: 420px;
  }

  .section-img-bottom .section-img img {
    width: auto;
    height: 100%;
    object-fit: cover;
  }

  /* CTA */

  .cta .section-heading {
    margin-bottom: 24px;
  }

  .cta-box {
    padding: 32px;
  }

  .cta-body {
    font-size: 22px;
  }

  /* Team grid */

  .team-grid {
    gap: 24px;
  }

  .team-member {
    width: calc(50% - 12px);
  }

  /* Services page sidebar */

  .service-wrap {
    flex-direction: column;
  }

  .service-page-sidebar {
    display: none;
  }

  .sidebar-box {
    padding: 48px;
  }

  .sidebar-box-title {
    font-size: 32px;
  }

  .sidebar-contacts a {
    font-size: 20px;
  }

  .service-page-main {
    order: 1;
    width: 100%;
  }

  .img-card {
    flex-basis: 100%;
  }

  /* GLOSSARY */

  .filter-buttons {
    justify-content: center;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .glossary-header h1 {
    font-size: 28px;
  }
}

/* 680px */

@media (max-width: 680px) {

  .cta-box p {
    text-align: center;
  }

  .cta .actions {
    flex-direction: column;
    align-items: center;
  }
}

/* 640px */

@media (max-width: 640px) {

  /* WP table */
  .wp-block-table-desktop {
    display: none;
  }

  .wp-block-table-mobile {
    display: block;
  }

  .box-list-bottom {
    text-align: left;
    margin-top: 48px;
  }

  .section-heading-center {
    margin-left: 0;
    text-align: left;
  }

  .step {
    flex: 1 0 100%;
  }
}

/* 560px */

@media (max-width: 560px) {

  h1,
  .site-title {
    font-size: 44px;
    line-height: 1.3;
    font-weight: 700;
  }

  h2,
  .h2 {
    font-size: 36px;
  }

  h3,
  .h3 {
    font-size: 32px;
  }

  h4,
  .h4 {
    font-size: 24px;
    line-height: 1.3;
  }

  h5,
  .h5 {
    font-size: 20px;
    line-height: 1.3;
  }

  h6,
  .h6 {
    font-size: 18px;
    line-height: 1.3;
  }

  .btn {
    padding: 0.75em 1em;
    width: 100%;
  }

  .mission-subtitle {
    font-size: 22px;
    margin-bottom: 1rem;
  }

  .link-icon {
    padding: 8px;
  }

  .link-icon svg {
    width: 20px;
    height: 20px;
  }

  .entry-miniature {
    width: 100%;
  }

  .actions-inline {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .box-list-column-item {
    padding: 16px;
    height: auto;
    gap: 0;
  }

  .box-list-column-item .link-icon {
    position: initial;
    margin-top: 24px;
  }

  .box-list-column-item-title,
  .box-list-column-item p {
    width: 100%;
  }

  .faq-question {
    font-size: 21px;
  }

  .article-grid {
    gap: 40px;
  }

  .entry-miniature {
    background: var(--white);
    border-bottom: 1px solid var(--primary-bg);
    border-radius: 0;
  }

  .entry-miniature-content {
    padding: 16px;
  }

  .article-list-item .entry-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-list-item {
    padding: 16px;
  }

  .footer-logo-group {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    padding: 24px 0;
  }

  .backtotop-wrap {
    margin-top: 16px;
  }

  .link-icon {
    top: 16px;
    right: 16px;
  }

  .column-2 {
    flex-direction: column;
  }

  .column-2 p {
    width: 100%;
  }

  .team-grid {
    flex-direction: column;
  }

  .team-member {
    width: 100%;

    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .team-member-content {
    width: calc(100% - 106px);
    margin-top: 0;
  }

  .flex-table tbody tr {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .flex-table tbody tr img {
    max-width: 80px;
  }

  /* VISIBILITY */

  .mobile-visible {
    display: block;
  }

  .mobile-hidden {
    display: none;
  }

  .form-group-inline {
    flex-wrap: wrap;
  }
}

/* 480px */

@media (max-width: 480px) {

  .home-banner img {
    top: -200px;
    right: -100px;
    opacity: 0.8;
  }

  .site-footer {
    padding: 48px 0;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form .form-group {
    width: 100%;
  }

  .box-list-item {
    padding: 16px;
  }

  .site-map {
    justify-content: center;
  }

  .contacts-form-wrap {
    padding: 16px;
  }

  .cta-box {
    padding: 24px;
  }

  .icon-list {
    gap: 32px;
  }

  .icon-list-item {
    padding: 16px 16px 32px;
  }

  .icon-list-img {
    left: -8px;
    top: -24px;
  }

  .box-list-bottom-bg {
    padding: 16px;
  }

  .btn-mobile-visible {
    display: inline-flex;
  }

  .btn-mobile-hidden {
    display: none;
  }
}

/* 420px */

@media (max-width: 420px) {

  h1,
  .site-title {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 700;
  }

  h2,
  .h2 {
    font-size: 32px;
  }

  h3,
  .h3 {
    font-size: 28px;
  }

  h4,
  .h4 {
    font-size: 24px;
    line-height: 1.3;
  }

  h5,
  .h5 {
    font-size: 20px;
    line-height: 1.3;
  }

  h6,
  .h6 {
    font-size: 18px;
    line-height: 1.3;
  }

  .container {
    padding: 0 16px;
  }

  .team-member {
    flex-direction: column;
  }

  .team-member-content {
    width: 100%;
    margin-top: 16px;
  }

  .article-list-item h3.h6 {
    font-size: 20px;
  }
}