* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  transition: 0.2s;
}

ol,
ul {
  list-style: none;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding-left: 130px;
  padding-right: 130px;
}

.container_1300 {
  max-width: 1372px;
  margin: 0 auto;
}

body {
  font-family: var(--font-family);
}

html {
  scroll-padding-top: 112px;
}

.d_none {
  display: none !important;
}

:is(h1, h2) {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
}

h3,
:where(main) h2:not(:where(.service_section h2)) {
  font-family: var(--second-family);
  font-size: 40px;
  line-height: 140%;
  font-weight: 600;
}

input {
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.orange_tag {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: var(--orange);
}

.custom-dash {
  display: inline-block;
  width: 40px;
  border-bottom: 2px solid var(--orange);
  margin: 0 20px 0 0;
  transform: translateY(-5px);
}

.btn_orange {
  display: inline-block;
  background-color: var(--orange);
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  border-radius: 8px;
  padding: 23px 32px;
  color: var(--white);
}

.btn_orange:hover {
  background-color: var(--white);
  color: var(--orange);
}

.btn_white {
  display: inline-block;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  padding: 22px 0;
  text-align: center;
  color: var(--orange);
}

.btn_white:hover {
  background-color: var(--orange);
  color: var(--white);
}

.btn_transp {
  display: inline-block;
  border-radius: 8px;
  border: 2px solid var(--grey);
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--grey);
}

.btn_transp:hover {
  border: 2px solid var(--orange);
  color: var(--orange);
}

.size_20 {
  width: 20px;
  height: 20px;
}

.size_60 {
  font-size: 60px !important;
  width: 60px !important;
  height: 60px !important;
  color: var(--orange);
}

.size_100 {
  font-size: 100px !important;
  width: 100px !important;
  height: 100px !important;
  color: var(--orange);
}

.size_80 {
  display: inline-block;
  font-size: 80px !important;
  width: 80px !important;
  height: 80px !important;
  color: var(--orange);
}

.size_72 {
  font-size: 72px !important;
  width: 72px;
  min-width: 72px;
  height: 72px;
  min-height: 72px;
}

.size_63 {
  font-size: 63px !important;
  width: 63px;
  min-width: 63px;
  height: 63px;
  min-height: 63px;
}

.w_400 {
  max-width: 400px;
  min-width: 400px;
  max-height: 380px;
  min-height: 380px;
}

.w_820 {
  max-width: 820px;
  min-width: 820px;
  max-height: 380px;
}

/*header*/
.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
}

.head {
  position: relative;
  z-index: 100 !important;
  overflow: visible;
}

.head_container,
.header,
.head_list {
  overflow: visible;
}

.logo {
  max-width: 293px;
  max-height: 32px;
}

.head .logo {
  flex: 0 1 220px;
  min-width: 0;
  max-height: none;
}

.head .logo a {
  display: block;
  width: 100%;
}

.head .logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 220px;
}

.head_contacts {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 4px;
  color: var(--grey);
  font-size: 16px;
  line-height: 140%;
  white-space: nowrap;
}

.head_phone {
  font-weight: 600;
}

.head_email {
  font-size: 14px;
}

.head_contacts a:hover {
  color: var(--orange);
}

.head_placeholder {
  transition: none;
}

.intro>header.head.is-fixed {
  position: fixed;
  top: var(--head-top, 0px);
  right: 0;
  left: 0;
  padding: 12px max(130px, calc((100% - 1660px) / 2));
  background: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: padding 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.head.is-fixed .logo {
  flex-basis: 170px;
  max-width: 170px;
}

.head.is-fixed .logo img {
  max-width: 170px;
}

.head.is-fixed .head_list {
  gap: 16px;
}

.head.is-fixed .head_list>li {
  font-size: 14px;
}

.head.is-fixed .head_contacts {
  gap: 2px;
  font-size: 14px;
}

.head.is-fixed .head_email {
  font-size: 12px;
}

.head.is-fixed .btn_orange.btn_head {
  padding: 12px 18px;
  min-height: 44px;
  font-size: 14px;
}

.head.is-measuring,
.head.is-measuring * {
  transition: none !important;
}

.head_list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.head_list li {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  cursor: pointer;
  color: var(--grey);
}

.head_list li:hover {
  color: #b5b1b1;
}

.head_li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.head_li.has-dropdown {
  position: relative;
}

.head_li_trigger {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  gap: 4px;
  user-select: none;
}

.head_li .arrow {
  display: inline-flex;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.head_li.is-open .arrow {
  transform: rotate(180deg);
}

.head_submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 8px 0 0;
  padding: 8px 0;
  list-style: none;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  pointer-events: none;
  z-index: 1000;
}

.footer .head_submenu {
  background:
    linear-gradient(0deg, #1c1b1f, #1c1b1f),
    linear-gradient(0deg, rgba(4, 25, 44, 0.6), rgba(4, 25, 44, 0.6));
}

@media (min-width: 1366px) {
  .footer .head_submenu {
    top: auto;
    bottom: 100%;
    margin: 0 0 8px;
    transform: translateY(8px);
  }
}

.head_li.is-open .head_submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.head_submenu li {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: var(--grey);
  white-space: nowrap;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}

.head_submenu li:hover {
  color: #b5b1b1;
}

/* contacts */
.contacts {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  gap: 160px;
  background: rgba(4, 25, 44, 1);
  position: relative;
}

.contacts::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/main/bg_3.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contacts>* {
  position: relative;
  z-index: 2;
}

.contacts_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

.contacts_info h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.contacts_info p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--grey);
  margin-bottom: 20px;
}

.contacts_item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contacts_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts_text a:hover {
  opacity: 0.8;
}

.contacts_item i {
  color: var(--white);
}

.contacts_text span {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--orange);
}

.contacts_text a,
.contacts_text p {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: var(--grey);
}

.contacts_img img {
  max-width: 678px;
  min-width: 678px;
  max-height: 641px;
  min-height: 641px;
  border-radius: 8px;
}

/* footer  */
.footer {
  padding-top: 40px;
  padding-bottom: 20px;
  background:
    linear-gradient(0deg, #1c1b1f, #1c1b1f),
    linear-gradient(0deg, rgba(4, 25, 44, 0.6), rgba(4, 25, 44, 0.6));
}

.footer_top {
  display: grid;
  grid-template-columns: max-content minmax(0, 600px) max-content;
  justify-content: start;
  gap: clamp(32px, 4.167vw, 80px);
  padding-bottom: 16px;
}

.footer_top img {
  max-width: 293px;
  max-height: 31px;
}

.footer_center {
  display: flex;
  gap: 80px;
}

.footer_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer_list li {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--grey);
  cursor: pointer;
}

.footer_list li:hover {
  color: #b5b1b1;
}

.footer_contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer_contacts p,
.footer_contacts a {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--grey);
}

.footer_contacts a {
  cursor: pointer;
}

.footer_contacts a:hover {
  opacity: 0.8;
}

.footer_btns {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer_social {
  display: flex;
  gap: 10px;
}

.white {
  min-width: 44px;
  min-height: 44px;
  width: 60px;
  height: 60px;
  /* background-color: var(--grey); */
}

.white>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.white img {
  max-width: 47px;
  max-height: 54px;
  border-radius: 50%;
}

.footer_bott {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--transp-grey);
}

.footer_bott span {
  font-weight: 300;
  font-size: 12px;
  line-height: 140%;
  color: var(--grey);
}

/* intro */
.intro {
  position: relative;
  padding-bottom: 44px;
  background: #051a2d;
}

.intro::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, #051a2d, rgba(5, 26, 45, 0)),
    radial-gradient(43.69% 98.41% at 76.67% 83.56%,
      rgba(5, 26, 45, 0) 45.71%,
      #051a2d 100%),
    radial-gradient(34.27% 51.65% at 29.61% 83.17%,
      #051a2d 36.17%,
      rgba(5, 26, 45, 0.8) 65.61%,
      rgba(4, 25, 44, 0) 89.74%);
  z-index: 1;
  pointer-events: none;
}

.intro>*:not(.main_bg) {
  position: relative;
  z-index: 2;
}

.main_bg {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
}

.intro_info {
  margin-top: 120px;
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.intro_left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.intro_left :is(h1, h2) {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  color: var(--grey);
}

.intro_left p {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: var(--grey);
  width: 52%;
}

.intro_btns {
  display: flex;
  align-items: center;
  gap: 40px;
}

.intro_btn_p {
  padding: 23px 66px;
}

.in_left_items {
  display: flex;
  align-items: center;
  gap: 15.5px;
}

.in_left_item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 24px 8px 8px;
  background-color: var(--transp-grey);
  border-radius: 16px;
}

.in_left_item span {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--grey);
}

.intro_private {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 2px solid var(--transp-grey);
  padding: 12px;
  min-width: 622px;
  max-width: 622px;
  border-radius: 16px;
  cursor: pointer;
}

.intro_private:hover {
  background-color: var(--orange);
}

.intro_private i {
  color: var(--grey);
}

.intro_private span {
  display: inline-block;
  color: var(--grey);
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
}

.intro_right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.in_right_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 12px;
  background-color: var(--grey);
  border-radius: 8px;
  min-width: 424px;
  max-width: 424px;
  cursor: pointer;
}

.in_right_item:hover {
  transform: scale(1.1);
}

.in_right_item span {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--black);
  margin-right: 20px;
}

.in_right_item img {
  max-width: 116px;
  max-height: 116px;
  border-radius: 8px;
}

/* services  */

.services {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--grey);
  position: relative;
}

.serv_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin-top: 20px;
}

.services>* {
  position: relative;
  z-index: 2;
}

.serv_item {
  position: relative;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 8px;
  border-radius: 16px;
  cursor: pointer;
}

.serv_item:hover {
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.serv_item .serv_item_link::after,
.serv_car_item .serv_item_link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.serv_item .btn_white,
.serv_car_item .btn_white {
  position: relative;
  z-index: 2;
}

.serv_item img {
  width: 384px;
  height: 278px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.serv_item h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  color: var(--black);
}

.w_heights {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w_heights_items {
  display: flex;
  gap: 80px;
}

.w_heights_text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.w_heights_text p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--dark);
  width: 96%;
}

.w_heights_img img {
  max-width: 616px;
  max-height: 481px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.calc {
  background-image: url("../img/main/calc.webp");
  background-repeat: no-repeat;
  background-position: bottom -234px center;
  background-size: cover;
  padding-bottom: 80px;
  padding-top: 80px;
  position: relative;
  display: flex;
  justify-content: center;
}

.calc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(rgba(255, 107, 53, 0.9), rgba(140, 60, 32, 0.7));
  z-index: 1;
}

.calc_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.calc_info h2 {
  color: var(--white);
  text-align: center;
}

.calc_info p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--white);
}

.calc_info a {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  padding: 24px 32px;
  color: var(--orange);
  background-color: var(--white);
  border-radius: 8px;
}

.calc_info a:hover {
  transform: scale(1.1);
}

.gallery {
  padding-bottom: 80px;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery_img {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 19px;
}

.gallery_img img {
  object-fit: cover;
  object-position: bottom;
}

.gallery_item {
  position: relative;
  overflow: hidden;
}

.gallery_item:hover {
  opacity: 0.9;
}

.gallery_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(360deg, #04192c 5.37%, rgba(0, 0, 0, 0) 24.54%);
  pointer-events: none;
  z-index: 1;
}

.gallery_caption {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 2;
  color: var(--white);
  font-weight: 300;
  font-size: 12px;
  line-height: 140%;
}

.pos_center {
  object-position: center !important;
}

/* stages */
.stages {
  padding-bottom: 80px;
  padding-top: 80px;
  background-color: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stages_top {
  display: flex;
  flex-direction: column;
}

.stages::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/service/enneagr_1.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.stages>* {
  position: relative;
  z-index: 2;
}

.stages h2 {
  color: var(--grey);
}

.stages_items {
  display: flex;
  margin-top: 20px;
  gap: 20px;
}

.stages_item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 332px;
}

.stages_text {
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
  padding-top: 12px;
}

.num {
  padding: 4px 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--orange);
  background-color: var(--transp-grey);
  border: 1px solid var(--transp-grey);
  max-width: 47px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.stages_item h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: var(--orange);
  border-top: 1px solid var(--dark);
  margin-top: 8px;
}

.stages_item p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--grey);
  width: 93%;
}

/* service_car */
.services_car {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--grey);
  position: relative;
}

.serv_car_slider {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.serv_car_viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;

  padding: 16px 0;
  margin: -16px 0;

  overscroll-behavior-x: contain;
  min-width: 0;
  contain: layout paint;
}

.serv_car_items {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


.serv_car_slider.serv_car_dragging .serv_car_items {
  transition: none;
}

.serv_car_slider.serv_car_dragging .serv_car_viewport {
  cursor: grabbing;
}

.services_car>* {
  position: relative;
  z-index: 2;
}

.services_car::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/service/enneagr_serv.webp");
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: right;
}

.serv_car_item {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px;
  border-radius: 16px;
  cursor: pointer;
}

.serv_car_item img {
  width: 100%;
  height: 278px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;

  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.serv_car_item h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  color: var(--black);
}

.serv_item .btn_white,
.serv_car_item .btn_white {
  width: 100%;
  max-width: 384px;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 15px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.serv_car_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px !important;
  min-height: 44px !important;
  flex-shrink: 0;
  padding: 0;
  border: none;
  color: var(--dark);
  cursor: pointer;
  z-index: 3;
  font-size: 24px !important;
}

.serv_car_arrow:hover {
  color: var(--orange);
  transform: translateY(-50%) scale(1.08);
}

.serv_car_arrow_prev {
  left: -52px;
}

.serv_car_arrow_next {
  right: -52px;
}

.serv_car_arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.serv_car_slider.serv_car_off .serv_car_arrow {
  display: none;
}

@media (max-width: 1199px) {
  .serv_car_item {
    flex: 0 0 calc((100% - 40px) / 3);
  }

  .serv_car_arrow_prev {
    left: 8px;
  }

  .serv_car_arrow_next {
    right: 8px;
  }
}

@media (max-width: 991px) {
  .serv_car_item {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 575px) {
  .serv_car_item {
    flex: 0 0 100%;
  }

  .serv_car_arrow {
    width: 40px;
    height: 40px;
  }

  .serv_car_arrow_prev {
    left: 4px;
  }

  .serv_car_arrow_next {
    right: 4px;
  }
}

/* about */
.about {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: center;
}

.about_img img {
  max-width: 616px;
  max-height: 800px;
  border-radius: 16px;
}

.about_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about_info p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--dark);
  width: 95%;
}

.about_items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about_item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about_item span {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--black);
}

/* .portfolio  */
.portfolio {
  background-color: var(--blue);
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portf_categories {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.portf_category {
  display: flex;
  gap: 20px;
}

.portf_categories h2 {
  color: var(--grey);
}

.btn_portf {
  min-height: 44px;
  padding: 8px 24px;
  cursor: pointer;
  border: 1px solid var(--grey);
}

.btn_portf:hover {
  background-color: var(--orange);
  color: var(--grey);
}

.portf_items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portf_item {
  display: flex;
  gap: 20px;
  padding: 8px;
  border: 2px solid var(--grey);
  border-radius: 16px;
}

.portf_item img {
  max-width: 390px;
  max-height: 240px;
  border-radius: 8px;
}

.portf_text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portf_text h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--white);
}

.portf_text p {
  font-weight: 300;
  font-size: 12px;
  line-height: 140%;
  color: var(--grey);
}

.portfolio_btns {
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* clients */
.clients {
  background-color: var(--grey);
  padding-bottom: 80px;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
}

.clients>* {
  position: relative;
  z-index: 2;
}

.clients_i {
  margin-top: 20px;
  display: flex;
  gap: 40px;
}

.clients_logo {
  background-color: var(--white);
  border-radius: 8px;
}

.clients_logo img {
  max-width: 385px;
  max-height: 200px;
}

/* news */
.news {
  padding-bottom: 80px;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--grey);
  position: relative;
}

.news::after {
  content: "";
  position: absolute;
  left: 0;
  width: 751px;
  height: 751px;
  background-image: url(../img/about/about_enn1.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  pointer-events: none;
}

.news>* {
  position: relative;
  z-index: 2;
}

.news_items {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.news_viewport {
  overflow: hidden;
}

.news_track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.news_item {
  flex: 0 0 auto;
}

.news_item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: var(--white);
  max-width: 500px;
  max-height: 470px;
}

.news_item img {
  max-width: 500px;
  max-height: 240px;
  border-radius: 8px 8px 0 0;
}

.news_top {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 12px 20px;
}

.news_top span {
  font-weight: 300;
  font-size: 12px;
  line-height: 140%;
}

.news_top_oran {
  color: var(--orange);
}

.news_item h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  padding: 0 20px 8px 20px;
}

.news_item p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--dark);
  padding: 0 20px 20px 20px;
}

.arr_doc_next {
  right: 0;
  font-size: 30px !important;
  position: relative;
}

.arr_doc_prev {
  left: 0;
  font-size: 30px !important;
  position: relative;
}

.news_viewport {
  overflow: hidden;
  min-width: 0;
}

.news_track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.news_track>.news_item {
  flex: 0 0 auto;
  min-width: 0;
  box-sizing: border-box;
}

/* tape */
.tape {
  padding-bottom: 80px;
  padding-top: 80px;
  background-color: var(--blue);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.tape::after {
  content: "";
  position: absolute;
  left: 102px;
  top: -52px;
  width: 1519px;
  height: 1519px;
  background-image: url(../img/about/about_enn1.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  pointer-events: none;
}

.tape>* {
  position: relative;
  z-index: 2;
}

.tape h2 {
  color: var(--grey);
}

.tape_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tape_items {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 40px;
}

.tape_item.is-hidden {
  display: none;
}

.btn_portf.is-active {
  color: #fff;
  background: var(--orange);
  border-color: transparent;
}

.tape_item {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.tape_item.is-fade {
  opacity: 0;
  transform: translateY(6px);
}

.tape_item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding-bottom: 54px;
  background-color: var(--white);
}

.tape_item img {
  max-width: 400px;
  max-height: 240px;
  border-radius: 8px 8px 0 0;
}

.tape_item h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  padding: 0 20px 8px 20px;
}

.tape_item p {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--dark);
  padding: 0 20px;
}

.ob_cover {
  object-fit: cover;
}

.conect_item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.conn_footer {
  display: flex;
  align-items: center;
  gap: 30px;
}

.conn_footer .conect_text {
  display: flex;
  flex-direction: column;
}

.conn_footer span {
  color: var(--white);
  font-size: 14px;
}

.conn_footer .orange {
  color: var(--orange);
  font-size: 14px;
}

.conn_footer .conect_item {
  align-items: flex-start;
  gap: 11px;
}

.contacts_item {
  gap: 12px !important;
}

/* .conn_footer .orange,
   .conn_footer span {
    font-size: 12px;
  } */
.conn_footer .size_63 {
  color: var(--orange);
  font-size: 30px !important;
  min-height: 18px !important;
  min-width: 13px !important;
  height: 30px !important;
  width: 20px !important;
}

/* Callback */
.callback-toggle.btn_orange {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(4, 25, 44, 0.25);
  color: var(--blue);
}

.callback-toggle:focus-visible,
.callback-modal :is(button, input, a):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.callback-toggle svg {
  pointer-events: none;
}

.footer {
  padding-bottom: 20px;
}

html:has(.callback-toggle:not([hidden])) {
  scroll-padding-bottom: 96px;
}

.callback-modal-open {
  overflow: hidden;
}

body:has(.nav-toggle:checked) .callback-toggle {
  visibility: hidden;
}

.callback-modal {
  position: fixed;
  inset: 0;
  width: min(480px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 64px rgba(4, 25, 44, 0.3);
}

.callback-modal::backdrop {
  background: rgba(4, 25, 44, 0.75);
}

.callback-shell {
  position: relative;
  padding: 64px 32px 32px;
}

.callback-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

.callback-close:hover {
  background: var(--grey);
}

.callback-form.conect_form {
  align-items: stretch;
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}

.callback-form h2 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--blue);
}

.callback-form p {
  font-size: 15px;
  line-height: 1.5;
}

.callback-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.callback-field>label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.callback-field>label span {
  font-weight: 400;
}

.callback-form.conect_form input:not([type="hidden"]):not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  max-height: none;
  padding: 12px;
}

.callback-form.conect_form input::placeholder {
  color: var(--dark);
  font-size: 16px;
  font-weight: 400;
}

.callback-field small {
  font-size: 13px;
  line-height: 1.5;
}

.callback-form.conect_form .form-consent {
  align-items: flex-start;
  width: 100%;
  min-height: 44px;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--black);
  cursor: pointer;
}

.callback-form.conect_form .form-consent a {
  color: var(--blue);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
}

.callback-form.conect_form .btn_orange {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 14px 20px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--blue);
  font-size: 16px;
}

.callback-form.conect_form .btn_orange:hover {
  background: var(--white);
}

.callback-form.conect_form .btn_orange:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Card headings retain their original inherited font. */
.serv_item h3,
.serv_car_item h3,
.stages_item h3,
.worth_item h3,
.portf_text h3,
.news_item h3,
.tape_item h3,
.gallery_project_text h3,
.gallery_modal_text h3 {
  font-family: inherit;
}