@charset "UTF-8";

/*========= VARIABLES ==========*/
:root {
  --error: #f00;
  --bg-primary-main: #fff;
  --bg-primary-second: #f6f5f2;
  --bg-primary-third: #edebe6;
  --bg-primary-stroke: #edebe5;
  --bg-alt-main: #0a352c;
  --bg-alt-second: #20443e;
  --bg-alt-third: #4d6965;
  --bg-alt-stroke: #798f8b;
  --text-primary-head: #0a352c;
  --text-primary-main: #586462;
  --text-primary-second: #87908e;
  --text-alt-head: #f6f5f2;
  --text-alt-main: #d9d7d2;
  --colors-main: #c6a75e;
  --colors-second: #9f7f3a;
  --colors-third: #e5c97a;
  --hover-main: #9f7f3a;
  --hover-second: #f6f5f2;
  --additional-main: linear-gradient(90deg, #fff 0%, #f6f5f2 100%);
  --additional-second: #fff;
  --additional-third: #fff;
  --font-family: "Montserrat", sans-serif;
  --transition: 0.3s ease-in-out;
}

/*============= ALIGNES ===============*/
.alignwide {
  width: 100%;
}

.alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 1920px;
}

@media only screen and (min-width: 1920px) {
  .alignfull {
    width: 100vw !important;
    max-width: unset;
  }
}

.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.4) !important;
}

/* =========== BASE CONFIG =========== */
html {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-family), sans-serif;
  box-sizing: inherit;
}

body {
  background: var(--bg-primary-main);
  overflow-x: hidden;
  margin: 0 auto;
  width: auto;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--backgroundPrimary);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--colors-main);
}

a {
  text-decoration: none;
  color: var(--text-alt-head);
  transition: var(--transition);
}

/* a:hover {
  color: var(--text-primary-second) !important;
} */
ul li {
  list-style-position: inside;
  color: var(--text-primary-head);
}

ul li::marker {
  color: #1f2f47;
}

ol li {
  list-style-position: inside;
  color: var(--text-primary-head);
  font-size: 18px;
  line-height: 26px;
}

p {
  color: var(--text-primary-head);
  font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  line-height: 26px;
}

h1.page-title {
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  h1.page-title {
    font-size: 24px;
  }
}
h1,
.h1 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px); /* min: 32px, preferred: 5vw, max: 52px */
  line-height: 125%;
  color: var(--text-primary-head);
}

h2,
.h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: clamp(20px, 4vw, 40px); /* min: 26px, preferred: 4vw, max: 40px */
  line-height: 130%;
  color: var(--text-primary-head);
}

h3,
.h3 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(18px, 3.5vw, 32px);
  line-height: 120%;
  color: var(--text-primary-head);
}

h4,
.h4 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(
    18px,
    2.8vw,
    26px
  ); /* min: 18px, preferred: 2.8vw, max: 26px */
  line-height: 120%;
  color: var(--text-primary-head);
}

h5,
.wp-editor h3,
.h5,
#footer .address *,
#footer .footer__work-time * {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: var(--text-primary-head);
}

h6,
.h6 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  color: var(--text-primary-head);
}

@media (max-width: 500px) {
  h5,
  .wp-editor h3,
  .h5,
  #footer .address *,
  #footer .footer__work-time * {
    font-size: 16px;
  }

  .p1,
  .theme-modal .file span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: var(--text-primary-head);
  }

  input::-moz-placeholder,
  textarea::-moz-placeholder {
    font-family: var(--font-family);
    font-weight: 300;
    font-style: Light;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
  }

  input::-moz-placeholder,
  textarea::-moz-placeholder {
    font-size: 15px;
    color: var(--text-primary-second) !important;
  }

  .p2,
  #footer .footer__menu a,
  #footer .footer__menu .sub-menu a,
  #header #mobile-mnu .mobile__menu a,
  .wp-editor p,
  .wp-editor li,
  .input__placeholder,
  input::placeholder,
  textarea::placeholder,
  input,
  textarea {
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
  }
}

@media (max-width: 576px) {
  .input__placeholder,
  input::placeholder,
  textarea::placeholder {
    font-size: 14px;
  }
}

.p3 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: var(--text-primary-head);
}

.p4,
.input__wrapper.focus .input__placeholder {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  color: var(--text-primary-head);
}

.menu,
.breadcrumbs span,
.breadcrumbs {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--text-primary-head);
}

.button,
.btn {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--text-primary-head);
}

.btn:hover svg path {
  stroke: #f6f5f2;
}

.number {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  color: var(--text-primary-head);
}

.plush {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--colors-main);
}

.breadcrumbs {
  padding: 20px 0;
  color: var(--bg-primary-stroke);
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 10px;
  column-gap: 10px;
  align-items: center;
}

.breadcrumbs span {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  transition: var(--transition);
}

.breadcrumbs span:hover {
  color: var(--hover-main);
}

.breadcrumbs span.current-item {
  color: var(--colors-second);
}

.breadcrumbs .separator {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--colors-main);
}

.breadcrumbs a span {
  color: var(--text-primary-second);
}

.breadcrumbs a:hover {
  color: #000;
}

.breadcrumbs a.current-item span {
  color: var(--colors-main);
}

.breadcrumbs a.current-item {
  pointer-events: none;
}

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

.container {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.btn-reset {
  background: unset;
  border: none;
  outline: none;
}

.btn {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  width: -moz-fit-content;
  width: fit-content;
  background: var(--colors-main);
  border: none;
  border-radius: 5px;
  outline: none;
  color: var(--bg-primary-second);
  cursor: pointer;
  transition: var(--transition);
  padding: 20px 30px;
  box-sizing: border-box;
  /* height: 55px; */
}

.btn svg path {
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--hover-main);
}

.btn.white {
  background-color: transparent;
  color: var(--bg-alt-main);
  border: 1px solid var(--bg-alt-stroke);
  padding: 20px 30px;
}

.btn.white:hover {
  border-color: var(--hover-main);
  background: var(--hover-main);
  color: var(--bg-primary-second);
}

.btn.invert {
  background: transparent;
  color: var(--colors-main);
  border: 1px solid var(--colors-main);
}

.btn.invert:hover {
  background: var(--hover-main);
  color: var(--bg-primary-second);
  border-color: var(--hover-main);
}

.btn.grey {
  background: var(--bg-primary-stroke);
  border-color: var(--bg-primary-stroke);
  color: var(--text-primary-head);
}

.btn.grey:hover {
  background: var(--hover-main);
  color: var(--card);
  border-color: var(--hover-main);
}

.btn-arrow {
  border-radius: 10000px;
  width: 40px;
  height: 40px;
  background: var(--bg-primary-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn .btn-arrow svg {
  transition: var(--transition);
}

.btn .btn-arrow svg path {
  transition: var(--transition);
}

.btn:hover .btn-arrow svg {
  transform: rotate(45deg);
}

.btn:hover .btn-arrow svg path {
  stroke: var(--colors-main);
}

.btn.invert .btn-arrow {
  background: var(--colors-main);
}

.btn.invert:hover .btn-arrow {
  background: var(--bg-primary-main);
}

@media (max-width: 480px) {
  .btn {
    max-width: unset !important;
    width: 100%;
  }
}

input,
textarea {
  width: 100%;
  outline: none;
  /* transition: var(--transition); */
  color: var(--text-primary-main);
  border: 1px solid var(--bg-primary-stroke);
  padding: 19.5px 20px;
  max-height: 60px;
  background: var(--bg-primary-main);
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--text-primary-second);
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--text-primary-second);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-primary-second);
}

input:focus,
textarea:focus {
  border-color: var(--hover-main);
}

input.error + label,
textarea.error + label {
  color: red !important;
  background-color: var(--bg-primary-main) !important;
}

input.error,
textarea.error {
  border-color: red !important;
  background-color: var(--bg-primary-main) !important;
}

.form__privacy input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 16px;
  border: 1px solid var(--text-alt-head);
  background-color: transparent !important;
  cursor: pointer;
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  border-radius: 5px !important;
  padding: 3px !important;
  width: 22px;
  height: 22px;
}

.form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
}

.form__privacy-text,
a.privacy-policy {
  color: var(--text-alt-head);
}

/* a.privacy-policy {
  text-decoration: underline;
} */
.form__privacy input[type="checkbox"].error {
  border-color: red;
}

.form__privacy input[type="checkbox"]:checked {
  background-color: var(--bg-primary-main) !important;
}

.form__privacy input[type="checkbox"]:checked::after {
  opacity: 1;
}

.form__privacy input[type="checkbox"]::after {
  content: url("data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M13.3333 4L5.99996 11.3333L2.66663 8' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  position: absolute;
  color: var(--colors-main);
  font-size: 12px;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  opacity: 0;
  transition: var(--transition);
}

textarea {
  resize: none;
  width: 100%;
  max-height: 160px;
  min-height: 160px;
}

.inputs__holder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.input__wrapper {
  position: relative;
  /* max-width: 490px; */
}

.input__placeholder {
  position: absolute;
  left: 18px;
  top: 17.5px;
  color: var(--text-alt-head);
  line-height: 1 !important;
  background: #454545;
  transition: var(--transition);
  font-family: var(--font-family);
  padding: 2px;
}

.input__wrapper.textarea .input__placeholder {
  top: 14.5px;
}

.input__wrapper.focus .input__placeholder {
  top: 7px;
  font-family: var(--font-family);
  background-color: transparent;
}

.input__wrapper.textarea.focus .input__placeholder {
  top: 19.5px;
}

.input__wrapper input,
.input__wrapper textarea {
  color: transparent;
}

.input__wrapper.focus input,
.input__wrapper.focus textarea {
  /* padding-top: 28px;
  padding-bottom: 12px; */
  color: var(--text-primary-second);
}

/* .input__wrapper.write input,
.input__wrapper.write textarea {
  border-color: var(--success) !important;
  color: var(--success);
} */
input[type="file"] {
  display: none;
}

.file span {
  position: relative;
  display: block;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
}

.file {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.file svg path {
  transition: var(--transition);
}

.file:hover svg path {
  fill: var(--bg-primary-main);
}

.soc-holder {
  display: flex;
  align-items: center;
}

.soc {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.soc img,
.soc svg {
  width: 22px;
  height: 22px;
  -o-object-fit: cover;
  object-fit: cover;
}

.soc svg path {
  transition: var(--transition);
}

/* .soc:first-child:hover svg path {
  fill: var(--additional-main);
  transition: var(--transition);
} */
#header {
  border-bottom: 1px solid var(--bg-primary-stroke);
}

#header .container .soc img {
  transition: var(--transition);
}

#header .container .soc:nth-child(2):hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(54%) saturate(0%)
    hue-rotate(15deg) brightness(114%) contrast(101%);
}

.img-holder img,
.img-holder svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#main,
#primary {
  min-height: 63vh;
}

.glogo {
  width: 111px;
  height: 17px;
  -webkit-mask-image: url("../images/gmask.png");
  mask-image: url("../images/gmask.png");
  -webkit-mask-origin: border-box;
  mask-origin: border-box;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: var(--text-primary-second);
  position: relative;
  cursor: pointer;
}

.glogo:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: red;
  transform: translateX(100%);
  transition: transform 0.7s ease-in;
  background: linear-gradient(
      90deg,
      #fe6604 10%,
      #ee0a76 30%,
      #ee0a76 60%,
      #fe6604 101%
    )
    repeat-x 0 0;
  background-size: 100px;
  animation-duration: 5s;
  animation-name: slideUp;
  animation-iteration-count: infinite;
  animation-delay: 3s;
}

.glogo:hover:before {
  /*transform: translateY(-100%);*/
  animation-name: unset;
  transform: translateX(0);
}

.page.privacy-policy .wp-block-heading {
  margin-top: 30px;
  margin-bottom: 20px;
}

.page.privacy-policy p,
.page-id-960 p,
.page-id-1319 p {
  margin-bottom: 10px;
}

.page.privacy-policy main {
  margin-bottom: 40px;
}

.wp-editor p:first-child {
  margin-top: 0 !important;
}

.wp-editor p:last-child {
  margin-bottom: 0 !important;
}

.wp-editor p,
.wp-editor li {
  color: var(--text-primary-main);
}

.wp-editor p {
  margin-bottom: 10px;
}

.wp-editor ul {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wp-editor ul,
.wp-editor ol {
  list-style: none;
  padding-left: 0;
}

.wp-editor a {
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  color: var(--text-primary-main);
}

.wp-editor strong {
  color: var(--text-primary-head);
}

.wp-editor li {
  position: relative;
  padding-left: 25px;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
}

.wp-editor li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.66667 11.3332L12 7.99984L8.66667 4.6665M4 11.3332L7.33333 7.99984L4 4.6665' stroke='%23C6A75E' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.wp-editor h2,
.wp-editor h3,
.wp-editor h4,
.wp-editor h5,
.wp-editor h6 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.section__title {
  color: var(--text-primary-head);
}

.title-tag {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 10px;
  gap: 15px;
}

.title-tag__marker {
  width: 60px;
  height: 1px;
  background: var(--colors-main);
}

.title__wrapper {
  margin-bottom: 40px;
}

@media screen and (max-width: 1840px) {
  .swiper-holder:hover .nav-holder {
    z-index: 1;
    left: 30px;
    right: 30px;
  }

  .swiper-holder .nav-holder {
    left: 30px;
    right: 30px;
  }
}

@media screen and (max-width: 450px) {
  .btn {
    width: 100%;
  }

  .swiper__bottom {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@keyframes slideUp {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.error-page .error__content {
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 786px;
}

.error-page .error-background__img {
  max-width: 500px;
}

.error-page .error__container {
  position: relative;
  z-index: 1;
  height: 100%;
  background: var(--bg-primary-second);
  border-radius: 10px;
  padding: 100px;
}

.error-page .error-content__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.error-page .section__title {
  max-width: 877px;
  color: var(--text-alt-head);
}

.error-page .section__desc {
  color: var(--text-alt-main);
}

.error-page .error__bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}

.error-page .bottom__text {
  max-width: 547px;
}

.error-page .error__btn {
  margin-top: 40px;
  height: 54px;
}

@media (max-width: 1024px) {
  .error-page .error__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  #main.error-page {
    min-height: unset;
  }

  .error-page .error__content {
    height: unset;
  }

  .error-page .error__container {
    padding: 40px 15px;
  }

  .error-page .error-content__wrapper {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .error-page .error__container {
    padding: 40px 10px;
  }
}

span {
  color: var(--colors-main);
}

.grampus-cookie-notice {
  display: none;
  position: sticky;
  bottom: 0;
  margin: 0 auto;
  width: 80%;
  height: -moz-fit-content;
  height: fit-content;
  padding: 10px 0;
  z-index: 2000;
  background-color: var(--cookie-bg, #fff);
  padding: 30px;
  border-radius: 20px;
}

.cookie-notice-container {
  flex-direction: row;
}

.grampus-cookie-notice p {
  text-align: center;
}

.grampus-cookie-accept-button {
  background-color: var(--colors-main);
  border: 1px solid var(--colors-main);
  border-radius: 10px;
}

@media (max-width: 600px) {
  .grampus-cookie-accept-button {
    width: 100%;
  }

  .cookie-notice-container {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  body.page.privacy-policy h1.page-title {
    font-size: 22px;
  }

  body.page.privacy-policy .breadcrumbs {
    font-size: 16px;
  }
}

/* SERVICE-CAT */
.service-cat__item {
  transition: var(--transition);
}

.service-cat__item .service-cat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-cat__item .btn-arrow {
  background: var(--bg-primary-second);
  width: 54px;
  height: 54px;
  transition: var(--transition);
}

.service-cat__item .btn-arrow svg {
  transition: var(--transition);
  flex-shrink: 0;
}

.service-cat__item .btn-arrow svg path {
  transition: var(--transition);
}

.service-cat__item .service-cat__img {
  height: 224px;
}

.service-cat__item .service-cat__overlay {
  position: relative;
  z-index: 1;
}

.service-cat__item .service-cat__overlay::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    56.32deg,
    rgba(10, 53, 44, 0.9) 100%,
    rgba(10, 53, 44, 0.09) 100%
  );
  transition: all 0.3s ease-in;
  opacity: 0;
}

.service-cat__item:hover .service-cat__overlay::before {
  opacity: 1;
}

.service-cat__btn {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--colors-main);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: all 0.3s ease-in;
  padding-top: 20px;
}

.service-cat__btn svg path {
  transition: all 0.3s ease-in;
}

.service-cat__item:hover .service-cat__btn {
  color: var(--bg-primary-second);
}

.service-cat__item:hover .service-cat__btn svg path {
  stroke: var(--bg-primary-second);
}

.service-cat__item:hover .btn-arrow {
  background: var(--hover-main);
}

.service-cat__item:hover .btn-arrow svg path {
  stroke: var(--bg-primary-main);
}

@media (max-width: 768px) {
  .service-cat__item .btn-arrow {
    width: 40px;
    height: 40px;
  }
}

/* SERVICE */
.service__item {
  transition: var(--transition);
}

.service__item .service__top {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service__item .btn-arrow {
  background: var(--bg-primary-second);
  width: 40px;
  height: 40px;
  transition: var(--transition);
}

.service__item .btn-arrow svg {
  transition: var(--transition);
}

.service__item .btn-arrow svg path {
  transition: var(--transition);
}

.service__item .service__img {
  height: 179px;
}

.service__item:hover {
  background: var(--bg-primary-second);
}

.service__item:hover .btn-arrow {
  background: var(--hover-main);
}

.service__item:hover .btn-arrow svg {
  transform: rotate(45deg);
}

.service__item:hover .btn-arrow svg path {
  stroke: var(--bg-primary-main);
}

@media (max-width: 1500px) {
  .service__item .service__top {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .service__item .service__top {
    padding: 10px;
  }
}

/* WORK ITEM */
.work-slide--responsive .work-slide__card-description,
.work-slide--responsive .work-slide__object-link {
  display: none;
}

@media (max-width: 768px) {
  .work-slide--responsive {
    --work-photo-height: clamp(190px, 58vw, 320px);

    width: 100%;
    height: auto;
  }

  .work-slide--responsive > .work-slide__slider {
    position: relative;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    background: #0a352c;
  }

  .work-slide--responsive > .work-slide__slider > .swiper-wrapper > .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-width: 0;
  }

  .work-slide--responsive .work-slide__bg {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    height: var(--work-photo-height);
    background-position: center;
    background-size: cover;
  }

  .work-slide--responsive .work-slide__overlay,
  .work-slide--responsive .work-slide__card-text,
  .work-slide--responsive .work-slide__completed_works,
  .work-slide--responsive .work-slide__specifications > .separator {
    display: none;
  }

  .work-slide--responsive .work-slide__card {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    flex: 1 0 auto;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 16px;
    border-radius: 0;
    background: #0a352c;
    color: #f6f5f2;
  }

  .work-slide--responsive .work-slide__scroll-wrapper {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .work-slide--responsive .work-slide__card-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .work-slide--responsive .work-slide__header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .work-slide--responsive .work-slide__card-title {
    margin: 0;
    color: #f6f5f2;
    font-size: 22px;
    line-height: 1.2;
  }

  .work-slide--responsive .work-slide__card-sub {
    color: #c6a75e;
    font-size: 15px;
    line-height: 1.3;
  }

  .work-slide--responsive .work-slide__card-description {
    display: block;
    margin: 0;
    color: #f6f5f2;
    font-size: 14px;
    line-height: 1.4;
  }

  .work-slide--responsive .work-slide__specifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
  }

  .work-slide--responsive .specification-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .work-slide--responsive .specification-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
  }

  .work-slide--responsive .specification-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .work-slide--responsive .specification-text {
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .work-slide--responsive .specification-text .h5 {
    margin: 0;
    color: #f6f5f2;
    font-size: 14px;
    line-height: 1.25;
  }

  .work-slide--responsive .specification-text .p3 {
    margin: 2px 0 0;
    color: #d4dfdb;
    font-size: 12px;
    line-height: 1.25;
  }

  /* При трёх характеристиках роль компании идёт под площадью и сроком. */
  .work-slide--responsive .work-slide__specifications:has(> .specification-item:nth-child(5):nth-last-child(2))
    > .specification-item:nth-child(3) {
    grid-column: 1 / -1;
    order: 1;
    padding-top: 10px;
    border-top: 1px solid rgba(198, 167, 94, 0.5);
  }

  .work-slide--responsive .work-slide__card .work-slide__object-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #c6a75e;
    border-radius: 8px;
    background: #c6a75e;
    color: #0a352c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
  }

  .work-slide--responsive .work-slide__nav {
    top: calc(var(--work-photo-height) - 10px);
    right: 10px;
    bottom: auto;
    left: auto;
    align-items: center;
    min-width: 0;
    margin: 0;
    transform: translateY(-100%);
  }

  .work-slide--responsive .work-slide__btn,
  .work-slide--responsive .work-slide__btn.swiper-button-disabled {
    width: 38px;
    height: 38px;
  }

  .work-slide--responsive .work-slide__pagination {
    margin-top: 0;
  }
}

/* LICENSE ITEM */
.license__item .license-item__period {
  display: flex;
  align-items: center;
  gap: 10px;
}

.license__item .license-item__period .period__text {
  color: var(--text-primary-main);
}

.license__item .license-item__period span {
  color: var(--hover-second);
}

.license__item .license-item__title {
  margin-top: 30px;
}

.license__item .license-item__desc {
  margin-top: 15px;
  color: var(--text-primary-main);
}

.license__item .license-item__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.license__item .license-item__links .open__text {
  transition: var(--transition);
}

.license__item .license-item__link {
  transition: var(--transition);
  text-decoration: underline;
}

.license__item:hover .license-item__links .open__text {
  color: var(--colors-main);
}

.license__item .license-item__link:hover {
  color: var(--hover-main);
}

@media (max-width: 1024px) {
  .license__item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .license__item {
    min-height: unset;
    padding: 10px;
  }

  .license__item .license-item__title {
    margin-top: 20px;
  }
}

body.privacy-policy strong {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

/* VACANCY-ITEM */
.vacancy__item {
  padding: 30px;
  box-sizing: border-box;
  background: var(--bg-primary-second);
  min-height: 351px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  transition: var(--transition);
}

.vacancy__item .vacancy-item__text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vacancy__item .vacancy-item__desc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vacancy__item .vacancy-item__desc * {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  line-height: 130%;
  color: var(--text-primary-main);
}

.vacancy__item .vacancy-item__desc strong {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  line-height: 120%;
  color: var(--text-primary-head);
}

.vacancy__item .vacancy__btn {
  width: 100%;
  height: 60px;
}

@media (max-width: 1024px) {
  .vacancy__item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .vacancy__item .vacancy-item__text-wrapper {
    gap: 10px;
  }

  .vacancy__item {
    padding: 10px;
    min-height: unset;
  }
}

/* АРХИВНЫЕ СТРАНИЦЫ */
.archive__container .title__wrapper {
  position: relative;
  z-index: 1;
}

.archive__container .archive__section-name {
  color: var(--hover-second);
  position: absolute;
  top: 0;
  left: 0;
}

.archive__description {
  margin: 40px 0;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  max-width: 620px;
}

@media (max-width: 1024px) {
  .archive__container {
    padding: 40px 15px;
  }

  .archive__description {
    max-width: unset;
    margin: 10px 0;
  }

  .archive__container .archive__section-title br {
    display: none;
  }
}

@media (max-width: 768px) {
  .archive__container {
    padding: 20px 15px;
  }

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

  .archive__container .archive__section-title {
    padding: 0;
  }

  .archive__container .archive__section-name {
    position: static;
  }
}

@media (max-width: 480px) {
  .archive__container {
    padding: 20px 10px;
  }
}

.tab__holder {
  display: flex;
  align-items: center;
  gap: 10px;
  /* flex-wrap: wrap; */
  margin-bottom: 40px;
  overflow: auto;
}

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

  .tab__holder .tab {
    max-height: 44px;
    padding: 20px !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
  }
}

.tab__holder .tab {
  padding: 22px 30px;
  transition: var(--transition);
  flex-shrink: 0;
  width: auto;
}

.tab__holder .tab.active {
  background: var(--colors-main);
  color: var(--text-alt-head);
}

.tab__holder .tab:hover {
  background: var(--hover-main);
  color: var(--text-alt-head);
  border-color: var(--hover-main);
}

@media (max-width: 1024px) {
  .tab__holder {
    margin-bottom: 20px;
  }
}

.archive__container .pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.archive__container .pagination-numbers {
  display: flex;
  gap: 4px;
}

.archive__container .pagination .page-numbers {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  cursor: pointer;
}

.archive__container .pagination .page-numbers.prev {
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-primary-main);
  border: 1px solid var(--bg-alt-main);
  border-radius: 100px;
  margin-right: 5px;
  flex-shrink: 0;
}

.archive__container .pagination .page-numbers.prev svg path {
  stroke: var(--text-primary-head);
}

.archive__container .pagination .page-numbers.next {
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-primary-main);
  border: 1px solid var(--bg-alt-main);
  border-radius: 100px;
  margin-right: 5px;
  flex-shrink: 0;
}

.archive__container .pagination .page-numbers.next svg path {
  stroke: var(--text-primary-head);
}

.archive__container .pagination .page-numbers.prev:hover,
.archive__container .pagination .page-numbers.next:hover {
  background: var(--colors-main);
  border: 1px solid var(--colors-main);
}

.archive__container .pagination .page-numbers.prev:hover svg path,
.archive__container .pagination .page-numbers.next:hover svg path {
  stroke: var(--bg-primary-main);
}

.archive__container .pagination .page-numbers.current {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--bg-alt-main);
  border-radius: 100px;
  width: 54px;
  height: 54px;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-head);
  pointer-events: none;
}

.archive__container .pagination .page-numbers:hover {
  color: var(--hover-main);
}

.archive__container .pagination .page-numbers.disabled {
  background: var(--bg-primary-second);
  pointer-events: none;
  border: var(--bg-primary-second);
}

.archive__container .pagination .page-numbers.disabled svg path {
  stroke: var(--text-primary-second);
}

@media (max-width: 1024px) {
  .archive__container .pagination {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .archive__container .pagination {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .archive__container .pagination {
    flex-wrap: wrap;
  }
}

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

.archive__holder.vacancies__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 1280px) {
  .archive__holder.licenses__wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .archive__holder.vacancies__wrapper {
    gap: 20px;
  }
}

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

@media (max-width: 768px) {
  .archive__holder.licenses__wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .archive__holder.vacancies__wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}

.archive__holder.works__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 1024px) {
  .archive__holder.works__wrapper {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .archive__holder.works__wrapper {
    gap: 10px;
  }
}

body.home #hero-block .section__title {
  max-width: 877px;
}

.file-input label {
  width: 100%;
  outline: none;
  transition: var(--transition);
  color: var(--text-primary-second);
  border: 1px solid var(--bg-primary-stroke);
  padding: 19px 20px;
  max-height: 60px;
  border-radius: 100px;
  background: var(--bg-primary-main);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  cursor: pointer;
}

.work-slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.work-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* .work-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
} */

.work-slide__card {
  position: relative;
  z-index: 2;
  /* margin: 40px; */
  max-width: 615px;
  background: var(--bg-alt-main);
  border-radius: 0 15px 15px 0;
  padding: 30px;
  box-sizing: border-box;
}

@media (max-width: 1090px) {
  .work-slide__card {
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  .work-slide__card {
    margin: 20px;
    max-width: 100%;
    padding: 24px;
    margin-bottom: 100px;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .work-slide__card {
    padding: 16px;
    margin: 12px;
    margin-bottom: 100px;
  }
}

/* .work-slide__scroll-wrapper {
  overflow-y: auto;
  max-height: 440px;
} */

.work-slide__scroll-wrapper::-webkit-scrollbar {
  width: 2px;
}

.work-slide__scroll-wrapper::-webkit-scrollbar-track {
  background: var(--bg-primary-stroke);
  border-radius: 100px;
}

.work-slide__scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--colors-main);
  border-radius: 100px;
}

.work-slide__scroll-wrapper::-webkit-scrollbar-button {
  display: none;
}

.work-slide__card-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 30px;
}

.work-slide__specifications {
  display: flex;
}

.work-slide__specifications .specification-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.work-slide__specifications .specification-text {
  display: flex;
  flex-direction: column;
}

.work-slide__specifications .specification-text .h5 {
  color: var(--bg-primary-second);
}

.work-slide__specifications .specification-text .p3 {
  color: var(--text-primary-second);
}

.work-slide__specifications .separator {
  width: 1px;
  background: var(--bg-alt-third);
  margin: 0 20px;
}

.work-slide__specifications .separator:last-child {
  display: none;
}

.work-slide__specifications .specification-icon {
  width: 40px;
  height: 40px;
}

.work-slide__specifications .specification-icon img {
  width: 100%;
  height: 100%;
}

.work-slide__specifications .work-slide__specifications {
  display: flex;
  flex-direction: column;
}

.work-slide__completed_works {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.work-slide__completed_work .p2 {
  text-overflow: ellipsis;
  color: var(--text-alt-main);
}

.work-slide__completed_work-marker {
  width: 20px;
  height: 2px;
  background: var(--colors-main);
}

@media (max-width: 768px) {
  .work-slide__card-inner {
    padding-right: 5px;
  }
}

.work-slide__header-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-slide__card-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  justify-content: space-between;
}

.work-slide__card-title {
  color: var(--bg-primary-second);
}

@media (max-width: 768px) {
  .work-slide__card-title {
    font-size: 22px;
  }

  .work-slide__specifications .specification-item {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .work-slide__card-title {
    font-size: 18px;
  }

  .work-slide__card-inner {
    gap: 10px;
  }

  .work-slide__header-wrapper {
    gap: 8px;
  }

  .work-slide__completed_work .p2 {
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .work-slide__specifications .specification-icon {
    width: 20px;
    height: 20px;
  }

  .work-slide__specifications .specification-item {
    flex-direction: column;
    gap: 7px;
  }
}

.work-slide__card-year {
  border: 1px solid var(--colors-main);
  border-radius: 100px;
  padding: 6px 12px;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-alt-main);
  white-space: nowrap;
}

.work-slide__card-sub {
  color: var(--colors-main);
}

@media (max-width: 480px) {
  .work-slide__card-sub {
    font-size: 16px;
  }
}

.work-slide__card-text p {
  color: var(--text-alt-main);
  /* margin-bottom: 30px; */
}

.work-slide__card-text ul li {
  color: var(--text-alt-main);
}

.work-slide__card-text p strong {
  font-weight: 700;
  line-height: 130%;
  color: var(--text-primary-head);
  margin: 0;
}

.work-slide__card-text p:has(strong) {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .work-slide__card-text {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .work-slide__specifications {
    flex-direction: column;
    gap: 10px;
  }

  .work-slide__specifications .separator {
    display: none;
  }

  .work-slide__specifications .specification-item {
    border-bottom: 1px solid var(--colors-main);
    padding-bottom: 10px;
  }
}

.work-slide--has-slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.work-slide__slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.work-slide__slider .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  flex-direction: row-reverse;
}

.work-slide__nav {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  min-width: 360px;
  gap: 12px;
}

@media (max-width: 1090px) {
  .work-slide__nav {
    min-width: unset;
  }
}

@media (max-width: 870px) {
  .work-slide__nav {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    width: -moz-fit-content;
    width: fit-content;
  }
}

.work-slide__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 100px;
  width: 54px;
  height: 54px;
  background: var(--colors-main);
}

.work-slide__btn svg {
  width: 16px;
  height: 16px;
}

.work-slide__btn svg path {
  transition: all 0.3s ease-in-out;
  stroke: #f6f5f2;
}

.work-slide__btn:hover {
  background: var(--bg-primary-second);
}

.work-slide__btn:hover svg path {
  stroke: var(--text-primary-head);
}

.work-slide__btn.swiper-button-disabled {
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.work-slide__btn--prev svg {
  transform: rotate(360deg);
}

.work-slide__pagination {
  width: -moz-fit-content !important;
  width: fit-content !important;
  position: relative !important;
  display: flex;
  margin-top: 20px;
  justify-content: flex-end;
  bottom: 0 !important;
}

.work-slide__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.work-slide__pagination .swiper-pagination-bullet-active {
  background: var(--bg-primary-main);
}


.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  min-height: 440px;
}

.news-archive__grid .news-card--large {
  /* grid-column: 1/3;
  grid-row: 1/3; */
  /* min-height: 440px; */
}

.news-archive__grid .news-card--small {
  grid-row: auto;
}

.news-card {
  background: var(--bg-primary-main);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card__inner {
  display: flex;
  flex-direction: column;
  padding: 30px;
  height: 100%;
  box-shadow: inset 0 4px 0 0 var(--colors-main);
  background: var(--bg-primary-main);
  border-radius: 15px;
  border: 1px solid var(--bg-primary-stroke);
}

@media (max-width: 768px) {
  .news-card__inner {
    flex-direction: column;
  }
}

.news-card__image {
  width: 100%;
  border-radius: 10px;
  height: 250px;
  max-height: 250px;
}

.news-card__content {
  /* flex: 1; */
  /* padding: 30px; */
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card__bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

@media (max-width: 375px) {
  .news-card__bottom {
    margin-top: 0;
    flex-direction: column-reverse;
    gap: 5px;
  }
}

.news-card__bottom svg path {
  transition: var(--transition);
}

.news-card__bottom .button {
  display: flex;
  gap: 5px;
  transition: var(--transition);
}

.news-card__bottom .p2 {
  color: var(--text-primary-main);
}

.news-card__inner:hover .news-card__bottom .button {
  color: var(--hover-main);
}

.news-card__inner:hover .news-card__bottom svg path {
  stroke: var(--hover-main);
}

.news-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

/* .news-card__tag {
  border: 1px solid var(--colors-main) !important;
  border-radius: 100px !important;
  padding: 6px 12px !important;
  background: var(--bg-primary-main) !important;
  font-weight: 500 !important;
  font-size: 17px !important;
  line-height: 140% !important;
  color: var(--text-primary-main) !important;
  text-transform: none !important;
} */

.news-card__date {
  font-weight: 500 !important;
  font-size: 17px !important;
  line-height: 140% !important;
  color: var(--text-primary-main) !important;
  white-space: nowrap !important;
}

.news-card__description {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  margin-top: 30px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  transition: all 0.3s ease;
}

.news-card--small .news-card__image {
  width: 100%;
  border-radius: 10px;
  height: 250px;
  max-height: 250px;
}

.news-card--small .news-card__content {
  /* padding: 14px 16px 14px 18px; */
}

.news-card--small .news-card__header {
  margin-bottom: 6px;
}

.news-card--small .news-card__tag,
.news-card--small .news-card__date {
  color: var(--colors-main);
}

.read-more-btn {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 12px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.read-more-btn span {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--text-primary-head);
  transition: all 0.3s ease-in-out;
}

.read-more-btn:hover span {
  color: var(--colors-second);
}

.read-more-btn .btn-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  line-height: 1;
}

.read-more-btn .btn-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.read-more-btn.expanded .btn-icon {
  transform: rotate(180deg);
}

.news-block__footer {
  margin-top: 40px;
}

.news-block__all-link {
  border: 1px solid var(--bg-alt-main);
  border-radius: 100px;
  padding: 20px 30px;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--text-primary-head);
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
}

.news-block__all-link:hover {
  background: var(--colors-second);
  border: 1px solid var(--colors-second);
  color: var(--bg-primary-main);
}

@media (max-width: 992px) {
  .news-archive__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: unset;
  }

  .news-archive__grid .news-card--large {
    grid-column: 1/1;
    grid-row: auto;
  }

  .news-archive__grid .news-card--small {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .news-archive__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }

  /* 
  .news-card__image {
    flex-basis: 200px;
    min-height: 180px;
    max-width: 100%;
  } */

  .news-card__content {
    padding: 16px;
  }

  /* .news-card--small .news-card__image {
    flex-basis: 160px;
    min-height: 140px;
    max-width: 100%;
  } */

  .news-card--small .news-card__content {
    /* padding: 14px 16px; */
  }

  .news-card__description {
    font-size: 15px;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 480px) {
  .news-block__all-link {
    width: 100%;
    padding: 16px 20px;
    font-size: 13px;
  }

  .news-card__image {
    flex-basis: 160px;
    min-height: 140px;
  }

  .news-card__title {
    font-size: 18px;
  }

  .news-card__description {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }

  .news-card__tag,
  .news-card__date {
    font-size: 14px;
  }

  .news-card__header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-card--small .news-card__image {
    flex-basis: 140px;
    min-height: 120px;
  }

  .news-card--small .news-card__title {
    font-size: 16px;
  }

  .news-card--small .news-card__tag,
  .news-card--small .news-card__date {
    font-size: 13px;
  }

  .read-more-btn span {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
	.news-card__inner {
		padding: 15px;
	}
  .news-card .news-card__image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.work-slide--has-slider ul,
.work-slide--has-slider ol {
  list-style: none;
  padding-left: 0;
}

.work-slide--has-slider li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
}

.work-slide--has-slider li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.66667 11.3332L12 7.99984L8.66667 4.6665M4 11.3332L7.33333 7.99984L4 4.6665' stroke='%23C6A75E' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ========== LICENSES ARCHIVE GRID ========== */
.licenses__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1280px) {
  .licenses__wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .licenses__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .licenses__wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
}

/* ========== LICENSE ITEM STYLES ========== */
.license__item:hover {
  border-color: var(--colors-main);
}

/* ========== LICENSE IMAGE ========== */
.license-item__image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 141%;
  /* Соотношение 1:1.41 как в блоке сертификатов */
  overflow: hidden;
  background: var(--bg-primary-second);
}

.license-item__image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.license-item__image {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

.license-item__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.license-item__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-alt-main);
  opacity: 0;
  transition: opacity 0.3s ease-in;
  pointer-events: none;
  z-index: 1;
}

.license-item__image-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease-in;
  border-radius: 100px;
  width: 54px;
  height: 54px;
  background: var(--colors-main);
  pointer-events: none;
}

.license-item__image-hover svg {
  width: 20px;
  height: 20px;
}

.license-item__image-hover svg path {
  stroke: var(--bg-primary-main);
}

/* Ховер эффекты для десктопа */
@media (min-width: 992px) {
  .license-item__image-link:hover .license-item__image::after {
    opacity: 0.3;
  }

  .license-item__image-link:hover .license-item__image-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .license-item__image-link:hover .license-item__image img {
    transform: scale(1.05);
  }
}

/* ========== LICENSE TITLE ========== */
.license-item__title {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  text-align: center;
  color: var(--text-primary-main);
}

@media (max-width: 768px) {
  .license-item__title {
    padding: 16px 20px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .license-item__title {
    padding: 14px 16px 16px;
    font-size: 15px;
  }
}

.archive__section-description {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  margin: 40px 0;
  max-width: 620px;
}

@media (max-width: 1024px) {
  .archive__section-description {
    max-width: unset;
  }
}

.single-news .single-news .new__content-right {
  margin-top: 40px;
}

.single-news .news-card {
  width: 100%;
}

.single-news .news-card__inner {
  height: 205px;
}

.single-news .news-card__image {
  max-width: 130px;
}

.single-news .new__content-inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.single-news .new__content-left {
  max-width: 1395px;
  flex-basis: 100%;
  width: 74%;
}

.single-news .new__content-right {
  max-width: 490px;
  flex-basis: 100%;
  width: 26%;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  height: -moz-fit-content;
  height: fit-content;
}

.single-news .new__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.single-news .new__content-img {
  height: 440px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 10px;
}

.single-news .new__other-news-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.single-news .wp-editor {
  margin-bottom: 30px;
}

.single-news .wp-editor p:first-child {
  margin-top: 0 !important;
}

.single-news .wp-editor p:last-child {
  margin-bottom: 0 !important;
}

.single-news .wp-editor p,
.single-news .wp-editor li {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
}

.single-news .wp-editor p {
  margin-bottom: 10px;
}

.single-news .wp-editor ul {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-news .wp-editor h2,
.single-news .wp-editor h3,
.single-news .wp-editor h4,
.single-news .wp-editor h5,
.single-news .wp-editor h6 {
  margin-top: 50px;
  margin-bottom: 20px;
}

.single-news .wp-editor h2:first-child,
.single-news .wp-editor h3:first-child,
.single-news .wp-editor h4:first-child,
.single-news .wp-editor h5:first-child,
.single-news .wp-editor h6:first-child {
  margin-top: 0;
}

@media screen and (max-width: 1100px) {
  .single-news .new__content-inner {
    flex-direction: column;
  }

  .single-news .new__content-left,
  .single-news .new__content-right {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .single-news .new__content-img {
    height: 50vw;
  }
}

@media screen and (max-width: 500px) {
  .single-news .new__content-img {
    height: 80vw;
  }
}

.new__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  color: var(--text-primary-head);
}

.footer__logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*============ HEADER =================*/
#header {
  position: sticky;
  z-index: 30;
  /* padding: 15px; */
  top: 0;
  width: 100%;
  background: var(--bg-primary-main);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 15px;
  max-width: 1530px;
}

#header .header-logo__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#mobile-mnu .header-logo__container {
  justify-content: flex-start;
  margin-bottom: 20px;
}

#header .logo-text {
  max-width: 190px;
}

#header .header__logo {
  max-width: 191px;
  max-height: 60px;
  position: relative;
}

#header .left-side {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

#header .header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

#header .header__contacts :is(.phone-item, .email-item) {
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  color: var(--bg-alt-main);
}

#header .header__contacts :is(.phone-item, .email-item):hover {
  color: var(--hover-main);
}

#header .header__nav {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 40px;
  align-items: center;
}

#header .header__nav li {
  line-height: 100%;
  transition: var(--transition);
}

#header .header__nav li a {
  color: var(--text-primary-main);
}

#header .header__nav li:hover + a,
#header .header__nav li a:hover {
  color: var(--colors-second) !important;
}

#header .header__nav li.active + a {
  color: var(--colors-second) !important;
}

#header .header__nav li.active:not(li.has-childs) a {
  color: var(--colors-second) !important;
}

#header .work-time__container {
  display: flex;
  gap: 10px;
}

#header .work-time * {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  line-height: 130%;
}

#header .header__btn {
  white-space: nowrap;
}

.mobile-panel {
  display: none;
}

#header .header__nav .nav-menu-element.has-childs > a {
  position: relative;
  padding-right: 20px;
}

#header .header__nav .nav-menu-element.has-childs:hover > a,
#header .header__nav .nav-menu-element.has-childs.active > a,
#header
  .header__nav
  .nav-menu-element.has-childs:has(.nav-menu-element.active) {
  color: var(--hover-main);
}

#header .header__nav .nav-menu-element.has-childs > a:before {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0px;
  background-image: url(../images/menuClosed.svg);
  transition: var(--transition);
  background-position: center;
  background-repeat: no-repeat;
}

#header .header__nav .nav-menu-element.has-childs:hover > a:before {
  background-image: url(../images/menuOpened.svg);
  transform: rotate(180deg) translateY(50%);
}

#header .header__nav .nav-menu-element.has-childs.active > a:before,
#header
  .header__nav
  .nav-menu-element.has-childs:has(.nav-menu-element.active)
  > a:before {
  background-image: url(../images/menuOpened.svg);
}

#header .header__nav .nav-menu-element.has-childs {
  position: relative;
}

#header .header__nav .sub-menu {
  position: absolute;
  bottom: -30px;
  width: 379px;
  height: -moz-max-content;
  height: max-content;
  min-width: 379px;
  left: 50%;
  opacity: 0;
  transform: translate(0%, 100%);
  transition: var(--transition);
  visibility: hidden;
  z-index: -100;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 20px;
  background: var(--bg-primary-main);
  list-style: none;
  border-radius: 0 0 10px 10px;
}

#header .header__nav .sub-menu:before {
  content: "";
  width: 100%;
  height: 40px;
  top: -40px;
  left: 0;
  position: absolute;
}

#header .header__nav > .nav-menu-element.has-childs:hover .sub-menu {
  opacity: 1;
  left: 0;
  visibility: visible;
  z-index: 100;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1700px) {
  #header .header__nav {
    gap: 15px;
  }
}

@media (max-width: 1024px) {
  #header .header__nav {
    display: none;
  }

  .mobile-panel {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary-main);
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 20;
  }

  .mobile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .mobile-btn-name {
    color: var(--text-primary-main);
  }

  .title__wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  #header .container {
    padding: 14px 10px;
  }

  #header .header__logo {
    max-width: 183px;
  }
}

/*================ MOBILE MNU =============*/
#header .mobile__nav {
  list-style: none;
  margin-bottom: 20px;
}

#header .mobile__nav a {
  color: var(--card);
}

#header .logo-holder {
  margin-bottom: 20px;
}

#header .burger.open_menu {
  display: none;
  flex-direction: column;
  background-color: transparent;
  height: 24px;
  width: 24px;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border-radius: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

#header .burger.open_menu span {
  background-color: var(--colors-main);
  border-radius: 10px;
  width: 24px;
  height: 2px;
  transition: var(--transition);
}

#header #mobile-mnu {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 390px;
  background-color: var(--bg-primary-main);
  padding: 30px;
  padding-bottom: 80px;
  transition: all 0.3s ease-in;
  transform: translateX(-390px);
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
}

#header #mobile-mnu #close-mnu {
  position: absolute;
  right: 30px;
  top: 33px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

#header #mobile-mnu #close-mnu svg path {
  transition: var(--transition);
}

#header #mobile-mnu #close-mnu:hover svg path {
  fill: var(--hover-main);
}

#header #mobile-mnu .mobile__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

#header #mobile-mnu .mobile__menu a {
  color: var(--text-primary-head);
  transition: var(--transition);
}

#header #mobile-mnu .mobile__menu a:hover {
  color: var(--hover-main);
}

#header #mobile-mnu .mobile__menu-title {
  margin-bottom: 10px;
  color: var(--text-primary-head);
}

#header #mobile-mnu .mobile__btn {
  width: 100%;
}

#header #mobile-mnu .phones-holder {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#header #mobile-mnu .soc-holder {
  margin-bottom: 20px;
  gap: 15px;
}

#header #mobile-mnu .address-holder {
  margin-bottom: 20px;
}

#header #mobile-mnu .address-holder p {
  color: var(--card);
}

#header #mobile-mnu.opened {
  transform: translateX(0);
}

#header .dgwt-wcas-search-wrapp {
  width: 100%;
  width: 20.833vw;
  max-width: 400px;
}

#header .dgwt-wcas-search-wrapp input {
  border-radius: unset;
}

#header .dgwt-wcas-sf-wrapp {
  min-height: 60px;
}

#header #mobile-mnu .nav-menu-element.active a,
#header #mobile-mnu .nav-menu-element:hover a {
  color: var(--hover-main);
}

#header #mobile-mnu .header__contacts {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-start;
}

@media screen and (max-width: 1440px) {
  #header .header__nav {
    gap: 10px;
  }
}

@media screen and (max-width: 1400px) {
  #header .header__bottom,
  #header .header__top {
    padding-left: 10px;
  }
}

@media screen and (max-width: 1260px) {
  #header .header__top {
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  #header .container .soc:not(#mobile-mnu .soc) {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  #header .container .logo-text {
    display: none;
  }

  #header .header__contacts .email-item {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  #header #mobile-mnu {
    width: 320px;
  }

  #header .header__logo img {
    -o-object-fit: contain;
    object-fit: contain;
  }

  .header__socs {
    top: unset;
    bottom: 0;
  }
}

@media screen and (max-width: 400px) {
  #header .header__btn {
    padding: 0px;
    background: none;
    color: var(--text-primary-head);
  }

  #header .shop-btn {
    height: 50px;
    width: 50px;
  }

  #header .dgwt-wcas-search-wrapp {
    margin-right: 0;
  }

  #header .shop-btn {
    min-width: 30px;
    min-height: 30px;
  }

  #header .container {
    gap: 10px;
  }
}

.header-btn {
  background: var(--bg-primary-main);
  border: 1px solid var(--bg-primary-stroke);
  border-radius: 100px;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-btn img {
  transition: var(--transition);
}

.header-btn svg {
  width: 25px;
  height: 25px;
  transition: var(--transition);
}

.header-btn:hover {
  background: var(--colors-second);
  border-color: var(--colors-second);
}

.header-btn:hover svg path {
  fill: var(--bg-primary-main);
}

.header-btn:hover img {
  filter: brightness(1000);
}

#header .burger.open_menu {
  border: 1px solid var(--bg-alt-main);
  border-radius: 100px;
  padding: 14px;
  width: 44px;
  height: 44px;
}

#header .burger.open_menu svg path {
  stroke: var(--text-primary-head);
}

#header .burger.open_menu svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (max-width: 1054px) {
  #header .burger.open_menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .header-btn {
    width: 44px;
    height: 44px;
  }

  #header .header__contacts :is(.phone-item, .email-item) {
    display: none;
  }

  #header .header__contacts .btn {
    display: none;
  }

  #header .header__contacts {
    gap: 10px;
  }
}

/* Оверлей при наведении на первый пункт меню */
.nav-hover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
/*   backdrop-filter: blur(10px); */
  background: rgba(31, 31, 31, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all ease-in-out;
  pointer-events: none;
}

.nav-hover-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* На мобильных устройствах оверлей не показываем */
@media (max-width: 1024px) {
  .nav-hover-overlay {
    display: none;
  }
}

#header .header__nav > .nav-menu-element.has-childs:first-child > a:before {
  display: none;
}

#header .header__nav > .nav-menu-element.has-childs:first-child > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

#header .header__nav > .nav-menu-element.has-childs:first-child > a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4%206L8%2010L12%206%22%20stroke%3D%22%23586462%22%20stroke-width%3D%221.33%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%2F%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: var(--transition);
}

#header
  .header__nav
  > .nav-menu-element.has-childs:first-child:hover
  > a::after {
  transform: rotate(180deg);
}

.mobile-panel {
  display: none;
  background: var(--bg-primary-main);
  border-top: 1px solid var(--bg-primary-stroke);
  padding: 14px 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1024px) {
  .mobile-panel {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

@media (max-width: 768px) {
  .mobile-panel {
    padding: 10px 15px;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .mobile-panel {
    padding: 8px 10px;
    gap: 3px;
  }
}

.mobile-btn__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-primary-main);
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: 8px;
  position: relative;
  min-width: 56px;
  flex: 1;
  max-width: 80px;
}

.mobile-btn__wrapper:hover,
.mobile-btn__wrapper.active {
  color: var(--colors-second);
}

.mobile-btn__wrapper.active .mobile-btn__name {
  color: var(--colors-second);
}

@media (max-width: 480px) {
  .mobile-btn__wrapper {
    min-width: 44px;
    padding: 4px 6px;
    max-width: 70px;
  }
}

@media (max-width: 380px) {
  .mobile-btn__wrapper {
    min-width: 36px;
    padding: 3px 4px;
    max-width: 60px;
  }
}

.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mobile-btn img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  transition: var(--transition);
}

@media (max-width: 480px) {
  .mobile-btn {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 380px) {
  .mobile-btn {
    width: 20px;
    height: 20px;
  }
}

.mobile-btn__name {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: var(--text-primary-main);
  white-space: nowrap;
  transition: var(--transition);
}

@media (max-width: 480px) {
  .mobile-btn__name {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .mobile-btn__name {
    font-size: 8px;
  }
}

.mobile-btn__wrapper:not(:has(.mobile-btn)) .mobile-btn__name {
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .mobile-btn__wrapper:not(:has(.mobile-btn)) .mobile-btn__name {
    font-size: 10px;
  }
}

.mobile-btn__wrapper.current-menu-item {
  color: var(--colors-second);
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 75px;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 70px;
  }
}

/*============ FOOTER ===============*/
#footer {
  background: var(--bg-alt-main);
}

#footer .footer__top {
  padding: 60px 0;
}

#footer .footer__top .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#footer .footer__logo {
  max-width: 275px;
  max-height: 56px;
  position: relative;
}

#footer .footer-top__center {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#footer .menu__holder {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 142px;
}

#footer .menu__holder .menu__title,
#footer .footer__contacts .menu__title {
  color: var(--text-primary-second);
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
}

#footer .contact__item {
  display: flex;
  gap: 10px;
  align-items: center;

  margin-bottom: 15px;
}

#footer .social-item {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

#footer .footer__nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
}

#footer .footer__nav li a {
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--text-alt-main);
  white-space: nowrap;
}

#footer .footer__nav li:hover a {
  color: var(--hover-main) !important;
}

#footer .footer__requisites {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 360px;
  margin-top: auto;
}

#footer .footer__requisites p {
  color: var(--text-alt-main);
  font-size: 16px;
}

#footer .footer__requisites p strong {
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--colors-main);
}

#footer .footer__contacts .menu__title {
  margin-bottom: 30px;
}

#footer .footer__contacts a,
#footer .footer__contacts p {
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--bg-primary-second);
}

#footer .footer__contacts {
  display: flex;
  flex-direction: column;
}

#footer .footer__contacts :is(.phone-item, .email-item) {
  white-space: nowrap;
}

#footer .footer__contacts :is(.phone-item, .email-item):hover {
  color: var(--hover-main);
}

#footer .footer__bottom {
  padding: 22.5px 0;
  position: relative;
  z-index: 1;
}

#footer .footer__bottom .footer__background {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: -1;
}

#footer .footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#footer .footer__bottom * {
  color: var(--text-primary-second);
}

#footer .footer__bottom a:hover {
  color: var(--text-primary-second) !important;
}

#footer .footer__bottom .privacy-policy {
  text-decoration: underline;
}

#footer .footer__bottom .footer__dev {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}

#footer .footer__bottom .separator {
  width: 100%;
  max-width: 22px;
  height: 1px;
  background: var(--bg-alt-stroke);
  rotate: 90deg;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1300px) {
  #footer .footer__bottom .container {
    flex-direction: column;
  }

  #footer .footer__bottom .separator {
    display: none;
  }

  #footer .footer-top__center {
    flex-wrap: wrap;
  }

  #footer .footer__bottom .privacy-policy {
    text-align: center;
  }

  #footer .footer__copyright {
    text-align: center;
  }
}

@media (max-width: 1280px) {
  #footer .footer-top__center {
    gap: 30px;
  }

  #footer .footer__top .container {
    flex-wrap: wrap;
    gap: 20px;
  }

  #footer .menu__holder {
    min-width: unset;
  }
}

@media (max-width: 1024px) {
  #footer .footer__top {
    padding: 40px 0;
  }

  #footer {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  #footer .footer__bottom .container {
    flex-direction: column;
    gap: 10px;
  }

  #footer .footer-top__center {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #footer .footer__bottom .footer__background {
    height: 100%;
  }

  #footer .menu__holder {
    gap: 10px;
  }

  #footer .footer__nav {
    gap: 5px;
  }
}

@media (max-width: 480px) {
  #footer .footer__nav li a {
    white-space: unset;
  }

  #footer .footer__requisites {
    width: 100%;
  }
}

.footer__bottom .container {
  border-top: 1px solid var(--bg-alt-third);
  padding-top: 20px;
}

/* ============== MODAL ============= */
.wpcf7 .wpcf7-response-output,
.wpcf7 .wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 .ajax-loader {
  display: none;
}

.wpcf7 .wpcf7-spinner {
  display: none;
}

.form.form-v2 button,
.form.form-v2 .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  /* color: var(--bg-primary-main); */
}

.form.form-v2 .btn {
  white-space: nowrap;
}

.form.form-v2 .btn.submit {
  height: 60px;
}

.form.form-v2 .form-subtitle {
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary-main);
}

.form.form-v2 .checkbox-holder {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.form.form-v2 .checkbox-holder .form-line {
  height: 20px;
  width: 3px;
  display: block;
  background: var(--text-primary-second);
}

.form.form-v2 .checkbox-holder .form_radio input[type="radio"] {
  display: none;
}

.form.form-v2 .checkbox-holder .form_radio label {
  display: inline-block;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 0;
  line-height: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  color: var(--text-primary-second);
  transition: var(--transition);
}

.form.form-v2 .checkbox-holder .form_radio label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-primary-second);
  background: #fff;
  transition: var(--transition);
}

.form.form-v2 .checkbox-holder {
  /* Checked */
}

.form.form-v2
  .checkbox-holder
  .form_radio
  input[type="radio"]:checked
  + label:before {
  background: var(--hover-main);
  border-color: var(--card);
  box-shadow: 0 0 0 1px var(--hover-main);
}

.form.form-v2 .checkbox-holder .form_radio input[type="radio"]:checked:before {
  background: var(--hover-main);
  border-color: var(--card);
  box-shadow: 0 0 0 1px var(--hover-main);
}

.form.form-v2 .checkbox-holder .form_radio input[type="radio"]:checked + label {
  color: var(--hover-main);
}

.form.form-v2 .checkbox-holder {
  /* Hover */
}

.form.form-v2 .checkbox-holder .form_radio label:hover:before {
  background: var(--hover-main);
  border-color: var(--card);
  box-shadow: 0 0 0 1px var(--hover-main);
}

.form.form-v2 .checkbox-holder .form_radio label:hover {
  color: var(--hover-main);
}

#modal-success,
#modal-error,
#modal-copy {
  background: var(--bg-primary-main);
  position: relative;
  z-index: 1;
}

#modal-success .modal__background,
#modal-error .modal__background,
#modal-copy .modal__background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.theme-modal {
  display: none;
}

.fancybox__backdrop {
  background: rgba(28, 42, 79, 0.5019607843);
}

.theme-modal.fancybox__content {
  width: 100%;
  max-width: 620px;
  padding: 50px;
  background: var(--bg-primary-second);
  box-sizing: border-box;
  position: relative;
  border-radius: 10px;
}

.theme-modal.fancybox__content .form__holder input {
  background: var(--bg-primary-main);
  transition: var(--transition);
  border: 1px solid var(--bg-primary-stroke);
  border-radius: 100px;
  padding: 20px;
}

.theme-modal.fancybox__content .input__wrapper.textarea input {
  min-height: 107px;
  max-height: 107px;
}

.theme-modal.fancybox__content .input__wrapper .input__placeholder {
  background: var(--bg-primary-main);
  color: var(--text-primary-second);
}

.theme-modal.fancybox__content .input__wrapper.focus .input__placeholder,
.theme-modal.fancybox__content .input__wrapper:focus-within .input__placeholder,
.theme-modal.fancybox__content .input__wrapper.filled .input__placeholder {
  background: transparent;
  color: var(--text-primary-second);
}

.theme-modal.fancybox__content .input__wrapper.focus input,
.theme-modal.fancybox__content .input__wrapper:focus-within input,
.theme-modal.fancybox__content .input__wrapper.filled input {
  background: var(--bg-primary-second);
}

.theme-modal.fancybox__content input:focus,
.theme-modal.fancybox__content .input__wrapper.filled input,
.theme-modal.fancybox__content .input__wrapper.focus input {
  padding-top: 26px;
  padding-bottom: 13px;
  color: var(--text-primary-head);
  background: var(--bg-primary-main);
  border: 1px solid var(--bg-alt-main);
}

.theme-modal.fancybox__content .input__wrapper.textarea input {
  padding-bottom: 78.5px;
}

.theme-modal.fancybox__content .input__wrapper.textarea.focus input {
  padding-bottom: 0px;
  padding-top: 50px;
}

.theme-modal.fancybox__content input:focus::-moz-placeholder,
.theme-modal.fancybox__content
  .form__holder
  .input__wrapper.filled
  input::-moz-placeholder,
.theme-modal.fancybox__content
  .form__holder
  .input__wrapper.focus
  input::-moz-placeholder {
  color: var(--text-primary-head);
}

.theme-modal.fancybox__content input:focus::placeholder,
.theme-modal.fancybox__content
  .form__holder
  .input__wrapper.filled
  input::placeholder,
.theme-modal.fancybox__content
  .form__holder
  .input__wrapper.focus
  input::placeholder {
  color: var(--text-primary-head);
}

.theme-modal.fancybox__content input.error + label,
.theme-modal.fancybox__content textarea.error + label {
  color: red !important;
  background-color: var(--bg-primary-main) !important;
}

.theme-modal.fancybox__content input.error,
.theme-modal.fancybox__content textarea.error {
  border-color: red !important;
  background-color: var(--bg-primary-main) !important;
}

.theme-modal.fancybox__content > .f-button.is-close-btn svg path {
  transition: stroke 0.3s ease-in;
}

.theme-modal.fancybox__content > .f-button.is-close-btn:hover svg path {
  stroke: var(--colors-main);
}

.theme-modal input[type="file"] {
  display: none;
}

.file__wrap {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: var(--text-alt-main);
}

.theme-modal .form__item {
  text-transform: uppercase;
  color: var(--text-primary-second);
}

.theme-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

#modal-vacancy .close-modal path {
  fill: var(--text-alt-head);
}

.theme-modal .close-modal svg path {
  transition: var(--transition);
}

.theme-modal .close-modal:hover svg path {
  fill: var(--hover-main) !important;
}

.theme-modal .form__title {
  margin-bottom: 10px;
  color: var(--text-primary-head);
}

.theme-modal .form__title1 {
  margin-bottom: 10px;
}

.theme-modal .form__descr {
  margin-bottom: 30px;
  color: var(--text-primary-main);
}

.theme-modal .form__descr1 {
  color: var(--text-primary-main);
}

#modal-vacancy .form__title {
  color: var(--text-alt-head);
}

#modal-vacancy .form__descr {
  color: var(--text-alt-main);
}

.theme-modal .form__privacy-text,
.theme-modal a.privacy-policy {
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  color: var(--text-primary-main);
}

.theme-modal a.privacy-policy {
  text-decoration: underline;
}

.theme-modal .form__privacy input[type="checkbox"] {
  transition: var(--transition);
  border: 1px solid var(--text-primary-main);
}

.theme-modal .form__privacy input[type="checkbox"]:checked {
  background-color: var(--colors-main) !important;
  border: 1px solid var(--colors-second);
}

.theme-modal .form__privacy input[type="checkbox"]:checked::after {
  color: var(--bg-primary-main) !important;
}

.theme-modal .form__privacy {
  margin: 20px 0;
}

.theme-modal .f-button.is-close-btn {
  display: none;
}

.theme-modal .inputs__holder {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-modal .inputs__holder .input__wrapper {
  width: 100%;
  max-width: unset;
}

.theme-modal .inputs__holder .input__wrapper.span2 {
  grid-column: span 2;
}

#modal-review-single .review__item-text {
  display: block;
}

#modal-review-single .review__link {
  display: none;
}

#modal-review-single .review__date {
  margin-right: 40px;
}

[form-send][disabled] {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .theme-modal .inputs__holder {
    grid-template-columns: 1fr;
  }

  .theme-modal .inputs__holder .input__wrapper.span2 {
    grid-column: span 1;
  }

  .theme-modal.fancybox__content {
    padding: 10px;
  }

  .theme-modal .close-modal {
    top: 10px;
    right: 10px;
  }

  .file {
    flex-direction: column;
    gap: 10px;
    align-items: normal;
  }
}

.error-page .error__content {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  max-height: 450px;
}

.error-page .error__background-color {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-page .error__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.error-page .error-content__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.error-page .error__center-content {
  max-width: 620px;
  margin: 0 auto;
}

.error-page .error__number {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-alt-head, #1a1a1a);
  margin-bottom: 20px;
  letter-spacing: -4px;
}

.error-page .section__title {
  color: var(--text-primary-head, #1a1a1a);
  font-weight: 700;
  font-size: 52px;
  line-height: 120%;
}

.error-page .section__desc {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  margin-top: 20px;
}

.error-page .error__btn {
  border-radius: 100px;
  padding: 20px 30px;
  background: var(--colors-main);
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--bg-primary-second);
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-page .error__btn:hover {
  background: var(--colors-second);
}

.error-page .btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page .btn-arrow svg {
  width: 20px;
  height: 20px;
}

.error-page .btn-arrow svg path {
  stroke: #fff;
}

@media (max-width: 768px) {
  .error-page .error__content {
    min-height: 500px;
  }

  .error-page .error-content__wrapper {
    min-height: 400px;
  }

  .error-page .error__number {
    font-size: 80px;
  }

  .error-page .section__title {
    font-size: 26px;
  }

  .error-page .section__desc {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .error-page .error__container {
    padding: 40px 10px;
  }

  .error-page .error__number {
    font-size: 60px;
  }

  .error-page .section__title {
    font-size: 22px;
  }

  .error-page .section__desc {
    font-size: 14px;
  }
}

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
  .error-page .error__container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .error-page .error-content__wrapper {
    min-height: auto;
    width: 100%;
  }

  .error-page .error__center-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .error-page .error__image-wrapper {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
}

/* Планшеты (портретная ориентация) */
@media (max-width: 820px) {
  .error-page .error__content {
    padding: 50px 0;
  }

  .error-page .section__title {
    font-size: 38px;
  }

  .error-page .section__desc {
    font-size: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .error-page .error__number {
    font-size: 90px;
  }

  .error-page .error__image-wrapper {
    max-width: 320px;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .error-page .error__content {
    min-height: auto;
    padding: 40px 0;
  }

  .error-page .error-content__wrapper {
    min-height: auto;
  }

  .error-page .error__container {
    gap: 30px;
    padding: 20px 15px;
  }

  .error-page .error__number {
    font-size: 70px;
    margin-bottom: 15px;
  }

  .error-page .section__title {
    font-size: 28px;
  }

  .error-page .section__desc {
    font-size: 15px;
    margin-top: 15px;
    padding: 0 10px;
  }

  .error-page .error__btn {
    padding: 16px 25px;
    font-size: 13px;
    margin-top: 10px;
  }

  .error-page .error__image-wrapper {
    max-width: 280px;
  }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
  .error-page .error__content {
    padding: 30px 0;
  }

  .error-page .error__container {
    padding: 20px 10px;
    gap: 25px;
  }

  .error-page .error__number {
    font-size: 50px;
    margin-bottom: 10px;
    letter-spacing: -2px;
  }

  .error-page .section__title {
    font-size: 24px;
    line-height: 130%;
  }

  .error-page .section__desc {
    font-size: 14px;
    line-height: 150%;
    margin-top: 12px;
    padding: 0 5px;
  }

  .error-page .error__btn {
    padding: 14px 20px;
    font-size: 12px;
    width: 100%;
    max-width: 280px;
    margin: 10px auto 0;
  }

  .error-page .error__image-wrapper {
    max-width: 200px;
  }

  .error-page .breadcrumbs__wrapper {
    padding: 10px 0;
  }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
  .error-page .section__title {
    font-size: 20px;
  }

  .error-page .section__desc {
    font-size: 13px;
  }

  .error-page .error__number {
    font-size: 40px;
  }

  .error-page .error__image-wrapper {
    max-width: 160px;
  }

  .error-page .error__btn {
    padding: 12px 16px;
    font-size: 11px;
  }
}

/*# sourceMappingURL=main.css.map */

.archive #service-cats-block {
  padding: 30px 0;
}

.page-id-294 .about-nine-block {
  padding: 0;
  padding-bottom: 60px;
}

/* ===== ARCHIVE REVIEWS PAGE STYLES ===== */

/* Сетка отзывов на архивной странице */
.archive .reviews__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .archive .reviews__wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Описание архивной страницы */
.archive__section-description {
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  margin: 40px 0;
  max-width: 620px;
}

@media (max-width: 1024px) {
  .archive__section-description {
    max-width: unset;
  }
}

/* ===== REVIEW CARD ===== */
.review-card {
  position: relative;
  border: 1px solid var(--bg-primary-stroke);
  border-radius: 10px;
  box-shadow: inset 0 4px 0 0 var(--colors-main);
  background: var(--bg-primary-main);
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  height: auto;
  padding-bottom: 0;
  box-sizing: border-box;
}

.review-card:not(.review-card--with-photo) {
  padding: 30px !important;
}

.review-card__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card__name {
  margin: 0;
  color: var(--text-primary-head);
}

.review-card__meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card__meta-item {
  display: flex;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  color: var(--text-primary-main);
}

.review-card__meta-item svg {
  flex-shrink: 0;
}

.review-card__meta-label {
  font-weight: 700;
  color: var(--text-primary-head);
}

.review-card__position .review-card__meta-value {
  line-height: 130%;
  color: var(--colors-main);
}

.review-card__meta-value {
  color: var(--text-primary-main);
}

.review-card__separator {
  background: var(--colors-main);
  width: 100px;
  height: 1px;
  margin: 10px 0;
}

.review-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  margin-bottom: 20px;
}

.review-card__text-full {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 6;
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  color: var(--text-primary-main);
  transition: all 0.3s ease;
}

.review-card__text-full.is-expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.read-more-btn {
  margin-top: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--text-primary-head);
  user-select: none;
  transition: color 0.3s ease-in;
}

.read-more-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.read-more-btn svg path {
  stroke: var(--colors-main);
  transition: stroke 0.3s ease-in;
}

@media (min-width: 992px) {
  .read-more-btn:hover {
    color: var(--colors-main);
  }

  .read-more-btn:hover svg path {
    stroke: var(--colors-main);
  }
}

.read-more-btn span {
  color: var(--colors-main);
}

.review-card__photo-block {
  margin-top: auto;
}

.review-card__photo-link {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 586px) {
  .review-card__photo-link {
    flex-direction: column-reverse;
    gap: 10px;
  }
}

.review-card__photo-link .review-card__photo-btn span {
  transition: var(--transition);
}

.review-card__photo-link:hover .review-card__photo-btn span {
  color: var(--hover-main);
}

.review-card__photo-thumb {
  width: 200px;
  height: 100px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.review-card__photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.review-card__photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--text-primary-head);
  transition: color 0.3s ease;
}

.review-card__photo-btn svg {
  stroke: var(--text-primary-head);
  transition: stroke 0.3s ease;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .review-card {
    padding: 20px;
    min-height: auto;
  }
}

.soc-btn-header {
	color: var(--bg-alt-main);
	background: transparent;
    border: 1px dashed var(--colors-main);
}

.soc-btn-header:hover {
	color: var(--bg-primary-main);
	border: 1px solid var(--hover-main);
}

#header .header__nav .sub-menu a {
  text-transform: none;
}