﻿/* DEFAULT  */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;

  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  transition: 0.2s;
}

/* DEFAULT  */



/* ROOT  */

:root {
  --white: #fff;
  --blue-primary: #1B2D51;
  --accent: #0055FF;
  --text-light-secondary: rgba(255, 255, 255, 0.6);
  --border-light-primary: rgba(255, 255, 255, 0.12);
  --border-light-secondary: rgba(255, 255, 255, 0.12);
  --bg-light-hover: rgba(255, 255, 255, 0.05);
  --bg-light-active: rgba(255, 255, 255, 0.06);
  --bg-dark-overlay: rgba(2, 19, 39, 0.6);
  --bg-dark-overlay-hover: rgba(38, 49, 62, 0.6);
  --bg-accent-gradient: radial-gradient(at center top, rgba(0, 86, 255, 0.3), rgb(3 11 26));
  --bg-fb-radial: radial-gradient(70% 100% at 50% 0%, rgb(8, 102, 255, 0.4) 0%, rgba(60, 139, 217, 0) 100%);
  --bg-gl-radial: radial-gradient(70% 100% at 50% 0%, rgb(132, 183, 233, 0.2) 0%, rgba(60, 139, 217, 0) 100%);
  --bg-tk-radial: radial-gradient(70% 100% at 50% 0%, rgb(132, 183, 233, 0.2) 0%, rgba(60, 139, 217, 0) 100%);

  --spacing-xxl: 96px;
  --spacing-xl: 64px;
  --spacing-lg: 64px;
  --spacing-md: 32px;
  --spacing-sm: 24px;
  --spacing-xs: 24px;
  --spacing-xxs: 12px;
  --spacing-xxxs: 8px;
  --spacing-nano: 4px;

  --radius-lg: 24px;
  --radius-md: 24px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --radius-icon: 12px;
  --radius-circle: 50%;

  --section-padding-y: var(--spacing-xxl);
}

/* ROOT  */



/* ALL PAGES */

html,
body {
  position: relative;
  min-height: 100%;
  background: var(--blue-primary);
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  align-items: center;
  margin-bottom: 0;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blue-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 70;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #112a48;
  border-top-color: #0055FF;
  border-radius: 50%;
  animation: spinPreloader 1s linear infinite;
}

@keyframes spinPreloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {}

a {
  text-decoration: none;
  color: inherit;
}

p {}

span {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

section {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

section:first-of-type {
  padding-top: 0;
}

section:last-of-type {
  padding-bottom: 0;
}


.container {
  display: flex;
  width: 100%;
  max-width: 1156px;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}

/* ���������� ��������� - ����������� ����� ������������ �� ����� */
.global-container {
  width: 100%;
  max-width: 1156px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5.5px 24px;
  border-radius: 32px;
  min-height: 40px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  user-select: none;
}

.button:hover {
  transform: scale(0.98);
  opacity: 0.9;
}

.button--primary,
.button {
  background: #ED6F59;
  color: var(--white);
}

.button--accent {
  background: var(--accent);
  color: var(--white);
}

.title {
  font-size: 46px;
  line-height: 52px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--white);
}

.subtitle {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--text-light-secondary);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.header {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: center;
  top: var(--spacing-sm);
  z-index: 5;
}

.header__container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: rgba(27, 45, 81, 1);
  border-radius: 56px;
  padding: var(--spacing-xs);
  width: 100%;
  height: 80px;
  max-width: 1156px;
  overflow: visible !important; 
}

.header__logo-wrapper {
  display: flex;
  width: auto;
  height: var(--spacing-sm);
  flex-shrink: 0; /* ������������� ������ �������� */
  flex-grow: 0;
}

.header__logo-wrapper:hover {
  transform: scale(0.98);
  opacity: 0.9;
}

.header__logo-svg {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  flex: 1; /* �������� ��������� ������������ */
  justify-content: center; /* ���������� ���� */
}

.nav__list {
  display: flex;
  flex-wrap: nowrap; /* ��������� ������� ������� ���� */
}

.nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav__item--button {
  display: none;
}

.nav__anchor {
  display: flex;
  padding: var(--spacing-xxs) 15px;
  border-radius: var(--radius-sm);
  align-items: center;
  gap: var(--spacing-nano);
  font-size: 14px;
  line-height: 14px;
  font-weight: 300;
  text-align: left;
  background: transparent;
  color: var(--text-light-secondary);
  cursor: pointer;
}

.nav__anchor:hover {
  border-radius: var(--radius-sm);
  background: var(--bg-light-active);
}

.nav__anchor--blog {}

.header__button {
    font-weight: 400;
    height: 32px;
    gap: 8px;
}

.header__button--open {
  display: none;
}

.header .discutam-button {
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: var(--spacing-xs);
}

/* �������������� �����-������� ��� �������������� ������������ */
@media (max-width: 1200px) {
  .nav__anchor {
    padding: var(--spacing-nano) var(--spacing-xxs);
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .header__container {
    padding: var(--spacing-xxs) var(--spacing-xs);
  }
}

@media (max-width: 767px) {
  .header__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    padding: var(--spacing-xxs);
    border-radius: 16px;
  }
  /* ������� ����������� �����, ��������� �������� ���������� ������ */
  .header__logo-wrapper {
    margin-right: auto;
  }

  .brands__slider-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  .brands__slider {
    overflow: visible;
    margin: 0 auto;
  }
  
  .brands__item {
    width: 100% !important;
    max-width: 100% !important;
  }
}























.intro {
  width: 100%;
  background: url('../img/bg.webp') center/cover no-repeat;
  align-items: center;
  justify-content: center;
}

.intro__container {
  align-items: center;
  z-index: 3;
  margin-top: 30vh;
  margin-bottom: 25vh;
}

.intro__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 300px;
  background: linear-gradient(0deg, var(--blue-primary) 0%, rgba(2, 19, 39, 0) 100%);
  z-index: 2;
}

.intro__title {
  font-size: 72px;
  line-height: 76px;
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--white);
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.intro__subtitle {
  max-width: 680px;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--text-light-secondary);
  font-weight: 400;
  font-weight: 400;
}



























.possibilities {}

.possibilities__container {
  padding: var(--section-padding-y) 0;
}

.possibilities__title-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: var(--spacing-sm);
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--spacing-xl);
}

.possibilities__title {
  width: calc(50% - var(--spacing-xxs));
}

.possibilities__subtitle {
  width: calc(50% - var(--spacing-xxs));
}

.possibilities__list {
  display: flex;
  width: 100%;
  gap: 24px;
}

.possibilities__item {
  display: flex;
  width: calc((100% - 48px) / 3);
}

.possibilities__item--fb {}

.possibilities__item--gl {}

.possibilities__item--tk {}

.possibilities__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light-primary);
  background-clip: padding-box;
  overflow: hidden;
}

.possibilities__link--fb {
  background-image: var(--bg-fb-radial);
}

.possibilities__link--gl {
  background-image: var(--bg-gl-radial);
}

.possibilities__link--tk {
  background-image: var(--bg-tk-radial);
}

.possibilities__link:hover {
  background-color: var(--bg-light-hover);
}

.possibilities__inner {
  display: flex;
  padding: var(--spacing-sm);
  align-items: center;
  gap: var(--spacing-xxs);
}

.possibilities__icon-wrapper {
  display: flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  flex-grow: 0;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xxs);
  border-radius: var(--radius-icon);
  background: rgba(3, 33, 68, 0.7);
}

.possibilities__icon-wrapper--fb {
  border: 1px solid #0866FF;
}

.possibilities__icon-wrapper--gl {
  border: 1px solid #FABC04;
}

.possibilities__icon-wrapper--tk {
  border: 1px solid #ff5489;
}

.possibilities__name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--white);
}

.possibilities__icon {}

.possibilities__arrow {
  display: flex;
  width: var(--spacing-md);
  height: var(--spacing-md);
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-secondary);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"><path d="M6.33331 4L10.3333 8L6.33331 12" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center center;
  margin-left: auto;
}

.possibilities__arrow:hover {
  background-color: var(--bg-light-hover);
}

.possibilities__text {
  padding: 0 var(--spacing-sm) var(--spacing-sm) var(--spacing-sm);
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--white);
}

.possibilities__img-wrapper {
  display: flex;
  width: 100%;
  /* aspect-ratio: 1/0.75; */
  overflow: hidden;
  margin-top: auto;
}

.possibilities__img {
  object-fit: cover;
}




.facebook {}

.facebook__container {
  padding: 30px 0;
  overflow: hidden; /* ��������� ��� �������� */
}

.facebook__title-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 40%;
    grid-template-rows: auto auto;
    align-items: start;
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.facebook__note {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: inline-flex;
  padding: var(--spacing-xxxs) var(--spacing-xs);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.25px;
  background: var(--bg-accent-gradient);
  margin-bottom: var(--spacing-xs);
}

.facebook__title {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  font-size: 46px;
  line-height: 52px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--white);
  max-width: none;
  text-align: left;
  margin-bottom: 0;
}

.facebook__subtitle {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--text-light-secondary);
  text-align: left;
}

.facebook__list {
  /* display: grid; */
  /* grid-template-columns: repeat(3, 1fr); */
  /* grid-auto-rows: 650px; */
  width: 100%;
  /* gap: 24px; */ /* ������� gap, ����� ������������ margin */
  /* Swiper ��� ��������� display: flex; */
  gap: 24px; /* ���������� gap ��� �������� */
}

.facebook__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light-secondary);
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.3s ease;
  grid-column: span 1;
  grid-row: span 1;
  position: relative;
  height: 650px;
  flex-shrink: 0;
  width: calc((100% - 2 * 24px) / 3);
}

.facebook__item:hover {
  background-color: var(--bg-light-hover);
}

.facebook__img-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.facebook__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.facebook__name-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  gap: var(--spacing-xxs);
  padding: var(--spacing-sm);
  align-items: center;
  background: linear-gradient(0deg, rgba(2, 19, 39, 0.9) 0%, rgba(2, 19, 39, 0.7) 50%, rgba(2, 19, 39, 0) 100%);
  box-sizing: border-box;
}

.facebook__icon-wrapper {
  display: flex;
  width: var(--spacing-sm);
  height: var(--spacing-sm);
  flex-shrink: 0;
  flex-grow: 0;
}

.facebook__icon {
  object-fit: contain;
}

.facebook__name {
  font-size: 30px;
  line-height: 34px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.facebook__subtext {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-weight: 300;
  display: block;
  max-width: 100%;
}











.facebook__inner-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-sm);
  width: 50%;
  padding: var(--spacing-sm);
}

.facebook__button {
  background: var(--accent);
  color: var(--white);
}

.facebook-card-button-wrapper {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 8px;
}

.facebook-card-button {
  display: inline-block;
  padding: 8px 24px;
  background-color: rgba(24, 119, 242, 0.9);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.facebook-card-button:hover {
  background-color: rgba(24, 119, 242, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.cases__container {
  padding-bottom: 54px;
}

.cases__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.cases__left-column {
  padding-right: 20px;
  display: flex;
  align-items: center;
}

.cases__right-column {
  padding-left: 20px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cases__title {
  font-size: 42px;
  line-height: 1.2;
  margin: 0;
}

.cases__subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0;
  margin-bottom: 20px;
}

.cases__subtitle-extra {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.cases__subtext {
  margin-top: 5px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6); 
  font-weight: normal;
  display: block !important;
}

.cases__list {
  display: grid;
  cursor: pointer;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xs);
  padding: 0;
  margin: 0;
}

.cases__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light-secondary);
  overflow: hidden;
  height: 462px;
}

.cases__item:hover {
  background-color: var(--bg-light-hover);
}

.cases__img-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.cases__img {}

.cases__name-wrapper {
  gap: var(--spacing-xxs);
  padding: var(--spacing-sm);
  align-items: center;
  margin-top: auto;
}

.cases__icon-wrapper {
  display: flex;
  width: var(--spacing-sm);
  height: var(--spacing-sm);
  flex-shrink: 0;
  flex-grow: 0;
}

.cases__icon {
  object-fit: contain;
}

.cases__name {
  font-size: 16px;
  line-height: var(--spacing-sm);
  font-weight: 300;
  color: var(--white);
}

.cases__inner-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-sm);
  width: 50%;
  padding: var(--spacing-sm);
}

.cases__inner-wrapper .cases__name-wrapper {
  margin-top: 0;
}

.cases__button {
  background: var(--accent);
  color: var(--white);
}

.cases__item:nth-child(1) {
  grid-column: span 1;
  grid-row: span 2;
}

.cases__item:nth-child(4) {
  flex-direction: row;
  grid-column: span 2;
  grid-row: span 1;
}

.cases__item:nth-child(4) .cases__img-wrapper {
  position: relative;
  aspect-ratio: auto;
  width: 50%;
  height: 100%;
}

.cases__item:nth-child(4) .cases__img-wrapper .cases__img {
  position: absolute;
  top: 0;
  left: 0;
}

.cases__item:nth-child(4) .cases__name-wrapper {
  padding: 0;
}

@media (max-width: 992px) {
  .cases__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cases__left-column,
  .cases__right-column {
    padding: 0;
  }
  
  .cases__title,
  .cases__subtitle,
  .cases__subtitle-extra {
    max-width: 100%;
  }

  .cases__title {
font-style: normal;
font-weight: 400;
font-size: 36px;
line-height: 44px;
letter-spacing: -1.15px;

  }
}












































.projects {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projects__container {
  padding: var(--section-padding-y) 0;
  align-items: center;
  width: 100%;
  max-width: 1156px;
}

.projects__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%;
}

.projects__title {
  max-width: 100%;
  text-align: left;
  margin: 0;
}

.projects__subtitle {
  max-width: 100%;
  text-align: left;
  margin: 0;
}

.projects__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  width: 100%;
}

.projects__item {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  height: 535px !important;
  align-items: flex-end !important;
  padding: var(--spacing-xs) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-light-primary) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background-color: var(--blue-primary) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.projects__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.projects__device-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100% - 93px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  z-index: 1 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.projects__device-wrapper::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05) !important;
  z-index: -1 !important;
}

.projects__device-wrapper::after {
  display: none;
}

.projects__device-wrapper:hover {
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px; 
}

.projects__overlay {
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 2;
  position: relative;
  background: linear-gradient(to top, rgba(2, 19, 39, 0.9), transparent);
  border-radius: var(--radius-sm);
}

.projects__item:hover .projects__overlay {
  background: linear-gradient(to top, rgba(2, 19, 39, 0.95), rgba(2, 19, 39, 0.7) 60%, transparent);
}

.projects__date {
  font-size: 12px;
  line-height: var(--spacing-xs);
  font-weight: 300;
  letter-spacing: -0.25px;
  color: var(--text-light-secondary);
  margin-bottom: var(--spacing-nano);
}

.projects__name {
  font-size: 28px;
  line-height: 36px;
  font-weight: 300;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 0;
}

.projects__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.projects__img {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease, opacity 0.3s ease !important;
  border-radius: 12px 12px 0 0 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

/* ���������� ����� ����� ������ ������ */
.projects__list .projects__item .projects__device-wrapper img.projects__img,
.projects__device-wrapper img,
img.projects__img {
  border-radius: 12px 12px 0 0 !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  overflow: visible !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* ���������� ����� ����� ��� ������� */
.projects__device-wrapper::before {
  border-radius: 12px 12px 0 0 !important;
}

.projects__item {
  position: relative !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

.projects__item:hover .projects__img {
  opacity: 0.9;
}

@media (max-width: 992px) {
  .projects__header {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .projects__title,
  .projects__subtitle {
    text-align: center;
  }
  
  .projects__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .projects__item {
    height: 400px;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .projects__list {
    gap: var(--spacing-xs);
  }
  
  .projects__item {
    height: 450px;
  }
}

.whywe {
  position: relative;
  background: url('../img/whywe__bg.webp') center/cover no-repeat;
}

.whywe__container {
  padding-bottom: 96px;
  padding-top: 56px;
  align-items: center;
  margin-top: -5vh;
  z-index: 3;
}

.whywe__note {
  display: inline-flex;
  padding: var(--spacing-xxxs) var(--spacing-xs);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.25px;
  background: var(--bg-accent-gradient);
  margin-bottom: var(--spacing-md);
}

.whywe__title {
  font-size: 36px;
  line-height: 42px;
  text-align: center;
  width: 100%;
  margin-bottom: 48px;
}

.whywe__slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  flex-direction: column;
}

.whywe__slider {
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 100px, black calc(100% - 100px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 100px, black calc(100% - 100px), transparent 100%);
}

.whywe__slider--top {
  margin-bottom: 16px;
}

/* �������� ��� ������� ��������� ������ */
.whywe__slider--bottom {
  padding-left: 185px;
}

/* �������������� ����� ��� ������� */
.whywe__slider .swiper-slide {
  width: 370px !important;
  height: 190px !important;
  margin-right: 16px !important;
}

.whywe__list {
  display: flex;
  transition: transform 0.3s ease;
  width: auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.whywe__item {
  display: flex;
  flex-direction: column;
  width: 370px;
  height: 190px;
  padding: var(--spacing-xxs);
  gap: var(--spacing-xxxs);
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 24px;
  border: 1px solid var(--border-light-primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: rgba(2, 19, 39, 0.7);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.whywe__item:hover {
  background: var(--bg-light-hover);
}

.whywe__author {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
  padding-bottom: 10px;
  height: 45px;
  min-height: 45px;
  flex-shrink: 0;
}

.whywe__avatar-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

.whywe__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whywe__name {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 50px);
}

.whywe__content {
  display: flex;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  padding-left: 8px;
}

.whywe__text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--white);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.whywe__gradient1,
.whywe__gradient2 {
  position: absolute;
  left: 0;
  display: flex;
  width: 100%;
  height: 30%;
  z-index: 2;
}

.whywe__gradient1 {
  top: 0;
  background: linear-gradient(180deg, var(--blue-primary) 0%, rgba(2, 19, 39, 0) 100%);
}

.whywe__gradient2 {
  bottom: 0;
  background: linear-gradient(0deg, var(--blue-primary) 0%, rgba(2, 19, 39, 0) 100%);
}

.team {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden !important; /* ���������� ������� */
  box-sizing: border-box;
  width: 100%;
}

.swiper.team__container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden !important; 
  z-index: 1;
}

.team__container {
  padding: var(--section-padding-y) 0;
  overflow: visible;
}

.team__header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.team__title {
  font-size: 46px;
  line-height: 52px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--white);
}

.team__text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--text-light-secondary);
  text-align: left;
  margin: 0;
  max-width: 50%;
  margin-left: auto;
  padding-right: 170px;
}

.team__arrows {
  display: flex;
  gap: var(--spacing-xxxs);
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.team__arrow-wrapper {
  display: flex;
  width: var(--spacing-md);
  padding: 6px;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-primary);
  cursor: pointer;
  background-color: var(--blue-primary);
  pointer-events: auto;
  z-index: 10;
}

.team__arrow {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team__arrow-wrapper--left {
  padding: 6px 8px 6px 6px;
}

.team__arrow-wrapper--right {
  padding: 6px 6px 6px 8px;
}

.team__arrow-wrapper:hover {
  background: var(--bg-light-hover);
  border: 1px solid var(--border-light-secondary);
}

.team__slider {
  display: flex;
  flex-direction: row;
  cursor: grab;
  padding-right: 0;
  margin-right: 0;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}


.team__slider .swiper-slide {
  flex-shrink: 0;
  height: auto;
  transition: transform 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
}

.team__container {
  overflow: visible !important;
  position: relative;
}

.team__container .swiper-wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: border-box;
  gap: 24px;
}

.updates__slider:active {
  cursor: grabbing;
}

.team__slide {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: var(--spacing-sm);
  border-radius: var(--radius-lg);
  gap: var(--spacing-sm);
  border: 1px solid var(--border-light-primary);
  background-image: radial-gradient(circle, rgb(0, 85, 255, 0.2) 0%, rgba(0, 85, 255, 0) 100%);
  background-position: right -1500px top;
  background-clip: padding-box;
}

.team__slide:hover {
  background-color: var(--bg-light-hover);
}

.team__img-wrapper {
  display: flex;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.team__img {}

.team__slide-inner {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.team__human {
  display: flex;
  flex-direction: column;
}

.team__name {
  font-size: 16px;
  line-height: var(--spacing-sm);
  font-weight: 300;
  color: var(--white);
}

.team__who {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--text-light-secondary);
}

.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  margin-right: 0 !important;
}












































.brands {}

.brands__container {
  padding: 24px 0;
}

.brands__title-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: var(--spacing-sm);
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--spacing-xl);
}

.brands__title {
  width: calc(50% - var(--spacing-xxs));
}

.brands__subtitle {
  width: calc(50% - var(--spacing-xxs));
}

.brands__subtitle-centered {
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin: 0 auto var(--spacing-sm);
}

.brands__slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.brands__slider {
  max-width: 1156px;
  margin: 0 auto;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 150px, black calc(100% - 150px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 150px, black calc(100% - 150px), transparent 100%);
}

.brands__list {
  display: flex;
  transition: transform 0.3s ease;
  padding: 20px 0;
}

.brands__item {
  margin-right: 0;
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 80px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.brands__item:hover {
  background-color: var(--bg-light-hover);
  border-radius: 12px;
  transform: translateY(-5px);
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.brands__img {
  object-fit: contain;
  max-width: 160px;
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.brands__item:hover .brands__img {
  filter: grayscale(0);
  opacity: 1;
}

.brands__navigation {
  position: absolute;
  top: 50%;
  left: var(--spacing-xs);
  right: var(--spacing-xs);
  width: auto;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.brands__arrow-wrapper {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 6px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-primary);
  cursor: pointer;
  background-color: var(--blue-primary);
  pointer-events: auto;
  z-index: 10;
}

.brands__arrow-wrapper:hover {
  background: var(--bg-light-hover);
  border: 1px solid var(--border-light-secondary);
}

.brands__arrow-wrapper--left {
  padding: 6px 8px 6px 6px;
}

.brands__arrow-wrapper--right {
  padding: 6px 6px 6px 8px;
}

.brands__arrow {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.updates__container {
  padding: var(--section-padding-y) 0;
  margin-top: -40px;
}

.updates__header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.updates__title {
  width: 50%;
}

.updates__arrows {
  display: flex;
  gap: var(--spacing-xxxs);
  align-items: center;
  justify-content: center;
}

.updates__arrow-wrapper {
  display: flex;
  width: var(--spacing-md);
  padding: 6px;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-primary);
  cursor: pointer;
}

.updates__arrow-wrapper:hover {
  background: var(--bg-light-hover);
  border: 1px solid var(--border-light-secondary);
}

.updates__arrow-wrapper--left {
  padding: 6px 8px 6px 6px;
}

.updates__arrow-wrapper--right {
  padding: 6px 6px 6px 8px;
}

.updates__arrow {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.updates__slider {
  display: flex;
  flex-direction: row;
  cursor: grab;
  gap: 24px;
}

.updates__slider:active {
  cursor: grabbing;
}

.updates__slide {
  display: flex;
  height: auto !important;
  flex-direction: column;
  padding: var(--spacing-sm);
  border-radius: var(--radius-lg);
  gap: var(--spacing-sm);
  border: 1px solid var(--border-light-primary);
  background-image: var(--bg-accent-radial);
  background-clip: padding-box;
  user-select: none;
  margin-right: 16px;
}

.updates__slide:hover {
  background-color: var(--bg-light-hover);
}

.updates__slider .swiper-slide-active {
  width: calc(66.66% - 12px) !important;
}

.updates__slider .swiper-slide-next {
  width: calc(33.33% - 12px) !important;
}

.updates__img-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.updates__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.updates__text-wrapper {
  display: flex;
  flex-direction: column;
}

.updates__name {
  font-size: 16px;
  line-height: var(--spacing-sm);
  font-weight: 300;
  color: var(--white);
}

.updates__text {
  display: -webkit-box !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--text-light-secondary);
}



.service {
  width: 100%;
  display: flex;
  justify-content: center;
}

.service__container {
  /* ������ ������ ������ Service ����� ��, ��� � ��������� ������ */
  display: flex;
  width: 100%;
  max-width: 1156px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--section-padding-y) 0;
  margin-top: -40px;
  flex-direction: row;
  gap: var(--spacing-sm);
  box-sizing: border-box;
}

.service__col {
  display: flex;
  width: calc(50% - var(--spacing-xxs));
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.service__note {
  display: inline-flex;
  padding: var(--spacing-xxxs) var(--spacing-xs);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.25px;
  background: var(--bg-accent-gradient);
  margin-bottom: var(--spacing-md);
}

.service__title {
  max-width: 500px;
  margin-bottom: var(--spacing-lg);
}

.service__subtitle {
  max-width: 440px;
  font-size: var(--spacing-sm);
  line-height: var(--spacing-md);
  font-weight: 300;
  letter-spacing: -0.75px;
  margin-bottom: var(--spacing-xl);
  color: var(--white);
}

.service__subtitle span {
  color: var(--text-light-secondary);
}

.service__extra-text {
  max-width: 440px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  letter-spacing: -0.25px;
  color: var(--white);
}

.service__extra-text span {
  color: var(--text-light-secondary);
}

.service__img-wrapper {
  display: flex;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light-primary);
  background-clip: padding-box;
  overflow: hidden;
}

.service__img {
  object-fit: contain;
}









































.cta {
  display: none;
}

.cta__container {
  padding: var(--spacing-xl) 0;
  margin: var(--spacing-xxl) 0;
  align-items: center;
  border-radius: var(--radius-lg);
  background: url('../img/cta__bg.webp') bottom center / 100% no-repeat;
  overflow: hidden;
}

.cta__logo-wrapper {
  display: flex;
  height: 72px;
  width: auto;
  flex-shrink: 0;
  flex-grow: 0;
  filter: drop-shadow(0px 0px 16px rgba(255, 255, 255, 0.6));
  margin-bottom: var(--spacing-lg);
}

.cta__logo {
  object-fit: contain;
}

.cta__title {
  max-width: 600px;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.cta__subtitle {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.cta__button {}

/* Form */
.contacts {
  position: relative !important;
  background-color: var(--blue-primary) !important;
  padding: 56px 0px 200px 0px !important;
  overflow: hidden !important;
  z-index: 1 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.contacts::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
}

.contacts__container {
  position: relative !important;
  justify-content: center !important; 
  align-items: center !important;
  padding: 50px !important;
  height: auto !important;
  min-height: 700px !important;
  border-radius: 24px !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  z-index: 1 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 1156px !important;
}

.contacts__title {
  font-size: 46px;
  line-height: 52px;
  text-align: center;
  color: var(--white);
  margin-bottom: 50px;
  font-weight: 400;
  letter-spacing: -1px;
}

.contacts__form-wrapper {
  width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacts__form-wrapper .row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
  align-items: flex-start;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.half {
  background: rgba(3, 33, 68, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  height: 56px;
  width: 220px;
  padding-left: 12px;
  transition: all 0.3s ease;
  flex-direction: column;
  justify-content: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
backdrop-filter: blur(6px);
border-radius: 12px;
}

/* Apply outline and border styles to .form-group.half when its .form-control is in focus-visible, active, or focus */
.form-group.half:has(.form-control:focus-visible),
.form-group.half:has(.form-control:active),
.form-group.half:has(.form-control:focus) {
background: rgba(3, 33, 68, 0.48);
border: 1px solid rgba(255, 255, 255, 0.6);
backdrop-filter: blur(6px);
border-radius: 12px;
}

/* Apply same styles to .form-group.full when its .form-control is in focus-visible, active, or focus */
.form-group.full:has(.form-control:focus-visible),
.form-group.full:has(.form-control:active),
.form-group.full:has(.form-control:focus) {
  background: rgba(3, 33, 68, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 12px;
}

.form-group.full {
    background: rgba(3, 33, 68, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    width: 448px;
    height: 56px;
    padding-left: 12px;
    transition: all 0.3s ease;
    flex-direction: column;
    justify-content: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(6px);
  border-radius: 12px;
}


.form-group.full .form-control {
  width: 430px;
}

select.form-control {
  appearance: none;
  cursor: pointer;
  padding-right: 32px;
  transition: all 0.3s ease;
  background-color: transparent;
}

/* select.form-control:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
} */

/* select.form-control:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
} */

.select-wrapper {
  position: relative;
}

select.form-control option {
  color: var(--white);
  background-color: #032144 !important;
  padding: 10px;
}

select.form-control option:hover,
select.form-control option:focus {
  background-color: rgba(0, 0, 0, 0.8) !important;
  cursor: pointer;
}

select.form-control option:checked,
select.form-control option[selected] {
  background-color: #001d3d !important;
  color: white !important;
}

/* ����� ��� �������� ���������� ������ � ��������� ������ */
select.form-control option:checked:hover,
select.form-control option:checked:focus,
select.form-control option[selected],
select.form-control option:selected {
  background-color: #001d3d !important;
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* �������������� ����� ��� ��������� ������ ��������� */
select.form-control option[selected="selected"] {
  background-color: #001d3d !important;
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* ��������������� ��� Chrome � Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  select.form-control option:checked,
  select.form-control option:selected {
    background-color: #001d3d !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
  }
  
  
  select.form-control option:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
    cursor: pointer;
  }
}

/* ����� ��� Firefox */
@-moz-document url-prefix() {
  select.form-control option:checked,
  select.form-control option:selected {
    background-color: #001d3d !important;
    color: white !important;
  }
}


.form-control {
background-color: transparent;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 20px;
letter-spacing: -0.25px;
color: rgba(255, 255, 255, 0.6);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6" fill="none"><path d="M1 1L5 5L9 1" stroke="white" stroke-opacity="0.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.select-wrapper:hover::after {
  opacity: 1;
}

/* For when JavaScript adds a focused class to the wrapper */
.select-wrapper.focused::after {
  transform: translateY(-50%) rotate(180deg);
}

.services-section {
  margin-top: 32px;
  margin-bottom: 32px;
}

.services-section h3 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 400;
  display: block;
}

.services-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.service-option {
  position: relative;
  display: inline-flex;
  /* margin-right: 8px; 
  margin-bottom: 8px; */
}

/* Скрываем оригинальный чекбокс, который теперь ВНУТРИ label */
.service-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Стилизуем текст метки, который теперь в span.wpcf7-list-item-label */
.service-option .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  background: rgba(3, 33, 68, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 11px 18px 11px 18px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative; /* Для позиционирования псевдоэлемента ::before */
}

/* Стили для :checked состояния, применяемые к span метки */
/* Используем :has для проверки родительской label или ищем input + span */
.service-option input[type="checkbox"]:checked + .wpcf7-list-item-label {
  background: rgba(255, 255, 255, 0.05);
}

/* Иконка для :checked состояния */
.service-option input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 17px;
  margin-right: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'><path d='M4.50537 11.8295L8.0007 8.3342L11.496 11.8295M11.496 4.83887L8.00004 8.3342L4.50537 4.83887' stroke='white' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}


/* Адаптивные стили для мобильных, если нужно */
@media (max-width: 767px) {
/* ... existing code ... */
  .service-option {
    width: 100%; /* Возможно, нужно будет оставить или изменить */
    display: flex; /* Чтобы метка растянулась */
    justify-content: center; /* Если нужно центрировать */
    margin-right: 0; /* Убираем правый отступ на мобильных */
  }

  .service-option .wpcf7-list-item-label {
    width: 100%; /* Метка занимает всю ширину */
    justify-content: center; /* Текст по центру */
  }

}

.submit-row {
  justify-content: center;
  margin-top: 32px;
}

.contacts__button {
  background: var(--white);
  color: var(--accent);
  font-weight: 500;
  padding: 12px 24px 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.contacts__button::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M8 3L13 8L8 13" stroke="%230055FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.contacts__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .contacts__container {
    padding: 30px 20px;
  }

  .contacts__form-wrapper .row {
    flex-direction: column;
    gap: 8px;
  }

  .form-group.half {
    width: 220px;
  }

  .services-options {
    flex-direction: column;
    align-items: center;
  }

  .service-option {
    width: 100%;
  }

  .service-label {
    width: 100%;
    justify-content: center;
  }

  .intro__title {
font-style: normal;
font-weight: 400;
font-size: 46px;
line-height: 52px;
text-align: center;
letter-spacing: -1.5px;
color: #FFFFFF;
    margin-bottom: var(--spacing-md);
  }

}

.footer {
  display: flex;
  width: 100%;
  background-color: rgba(27, 45, 81, 1);
}


.footer__container {
  padding: var(--section-padding-y) 0;
  gap: var(--spacing-xxl);
}

.footer__up {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__col--one {
  width: calc(40% - var(--spacing-xs));
}

.footer__col--two {
  width: calc(60% - var(--spacing-xs));
}

.footer__logo-wrapper {
  display: flex;
  width: auto;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
  margin-bottom: var(--spacing-md);
}

.footer__logo-wrapper:hover {
  transform: scale(0.98);
  opacity: 0.9;
}

.footer__logo-svg {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__underlogo-text {
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
  color: var(--text-light-secondary);
}

.footer__list {
  display: flex;
  width: 100%;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer__item {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3 - var(--spacing-xs));
}

.footer__name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--white);
  padding: var(--spacing-xxs) var(--spacing-xs);
}

.footer__links {
  display: flex;
  flex-direction: column;
}

.footer__link-wrapper {
  display: flex;
  align-items: flex-start;
}

.footer__link {
  display: flex;
  padding: var(--spacing-xxs) var(--spacing-xs);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: var(--spacing-nano);
  font-size: 14px;
  line-height: 14px;
  font-weight: 300;
  text-align: left;
  background: transparent;
  color: var(--text-light-secondary);
  cursor: pointer;
}

.footer__link:hover {
  border-radius: var(--radius-sm);
  background: var(--bg-light-active);
}

.footer__down {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  margin-bottom: -3vh;
}

.footer__copyright {
  font-size: 14px;
  line-height: 14px;
  font-weight: 300;
  color: var(--text-light-secondary);
  margin-right: auto;
}

.footer__terms {
  display: flex;
  padding: var(--spacing-xxs) var(--spacing-xs);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: var(--spacing-nano);
  font-size: 14px;
  line-height: 14px;
  font-weight: 300;
  text-align: left;
  background: transparent;
  color: var(--text-light-secondary);
  cursor: pointer;
}

.footer__terms:hover {
  border-radius: var(--radius-sm);
  background: var(--bg-light-active);
}

@media (max-width: 1200px) {
  .container,
  .header__container,
  .global-container,
  .facebook__container,
  .google__container, 
  .cases__container,
  .possibilities__container,
  .projects__container,
  .whywe__container,
  .team__container,
  .updates__container,
  .service__container,
  .brands__container {
    max-width: 700px;
  }
  
    .footer__list {
        display: none;
    }

}

@media (max-width: 767px) {
  .container,
  .header__container,
  .global-container,
  .facebook__container,
  .google__container, 
  .cases__container,
  .possibilities__container,
  .projects__container,
  .whywe__container,
  .team__container,
  .updates__container,
  .service__container,
  .brands__container {
    width: calc(100% - 30px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  
  .header {
    top: var(--spacing-xxs);
    width: 100%;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .reels {
    padding: var(--spacing-xl) 0;
  }
  
  .reels__title {
    font-size: 36px;
  }
  
  .reels__content {
    grid-template-columns: 1fr;
  }
  
  .reels-video-modal__inner {
    width: 95%;
  }
  
  .reels-video-modal__close {
    top: -40px;
    right: 0;
  }
}

.reels__play-button {
  cursor: default;
  transition: none;
}

.reels__play-button:hover {
  transform: none;
  box-shadow: none;
}

.reels__item--content-video .reels__play-button {
  display: none;
}

.reels__item--content-video .reels__item-meta {
  display: none;
}

.reels__item-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.reels__item {
  width: calc(50% - 10px);
}

.reels__item:hover .reels__item-inner {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.reels__play-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reels__item:hover .reels__play-button {
  opacity: 1;
}

.reels__play-button svg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 85, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.reels__play-button:hover svg {
  transform: scale(1.1);
  background: rgba(0, 85, 255, 0.9);
}

.reels__play-button svg path {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}

.whywe__slider--top .swiper-slide,
.whywe__slider--bottom .swiper-slide,
.whywe__slider .whywe__item {
  display: flex;
  flex-direction: column;
  width: 370px !important;
  height: 190px !important;
  padding: var(--spacing-xxs);
  gap: var(--spacing-xxxs);
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 24px;
  border: 1px solid var(--border-light-primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: rgba(2, 19, 39, 0.7);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ������������� ��� ������ ����������� */
.brands__container,
.possibilities__container,
.facebook__container,
.google__container,
.cases__container,
.projects__container,
.team__container,
.updates__container,
.service__container,
.cta__container,
.contacts__container {
  /* ����������� ����� ������ */
}

/* �������� ������ � ����� �������� ��� ��������� ����� */
@media (min-width: 1px) {
  .js-init-bg {
    content: "";
  }
}

.google {}

.google__container {
  padding: var(--section-padding-y) 0;
}

.google__title-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 350px;
    align-items: start;
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.google__note {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: inline-flex;
  padding: var(--spacing-xxxs) var(--spacing-xs);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.25px;
  background: var(--bg-accent-gradient);
  margin-bottom: var(--spacing-xs);
  justify-self: start;
  width: auto;
}

.google__title {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    font-size: 46px;
    line-height: 52px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--white);
    max-width: none;
    text-align: left;
    margin-bottom: 0;
}

.google__subtitle {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: var(--text-light-secondary);
    text-align: left;
}

.google__list {
  width: 100%;
  gap: 24px; /* Only gap; Swiper applies display:flex */
}

.google__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light-secondary);
  overflow: hidden;
  height: 462px;
}

.google__item:hover {
  background-color: var(--bg-light-hover);
}

.google__img-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.google__img {}

.google__name-wrapper {
  gap: var(--spacing-xxs);
  padding: var(--spacing-sm);
  align-items: center;
  margin-top: auto;
}

.google__name {
  font-size: 24px;
  line-height: var(--spacing-sm);
  font-weight: 300;
  color: var(--white);
}

.google__inner-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-sm);
  width: 50%;
  padding: var(--spacing-sm);
}

.google__inner-wrapper .google__name-wrapper {
  margin-top: 0;
}

.google__button {
  background: var(--accent);
  color: var(--white);
}

.google__item:nth-child(1) {
  grid-column: span 1;
  grid-row: span 2;
}

.google__item:nth-child(1) .google__img-wrapper {
  margin: auto 0;
}

.google__item:nth-child(1) .google__name-wrapper {
  margin-top: 0;
}

.google__item:nth-child(4) {
  flex-direction: row;
  grid-column: span 2;
  grid-row: span 1;
}

.google__item:nth-child(4) .google__img-wrapper {
  position: relative;
  aspect-ratio: auto;
  height: 100%;
}

.google__item:nth-child(4) .google__img-wrapper .google__img {
  position: absolute;
  top: 0;
  left: 0;
}

.google__item:nth-child(4) .google__name-wrapper {
  padding: 0;
}

.possibilities__subheader {
  font-size: 12px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 15px;
}

.google__subheader {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  font-weight: normal;
}


@media (max-width: 992px) {
  .projects__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .projects__title,
  .projects__subtitle {
    text-align: center;
  }
  
  .projects__list {
    grid-template-columns: 1fr;
  }
}

.content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
}

.card-meta-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.card-year {
  text-align: right;
}

.year-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.card-year {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-gap: 12px 20px;
  margin-top: 24px;
}

.meta-label {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.an-label {
  text-align: right;
}

.meta-text {
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 300;
  margin: 0;
}

.year-text {
  font-size: 12px;
  font-weight: 300;
  color: #ffffff;
  text-align: right;
}

.facebook__name {
  font-weight: 400;
  font-size: clamp(1.125rem, 0.9265rem + 0.8451vw, 1.5rem);
  color: #ffffff;
  margin-bottom: 0px;
}

.content-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: var(--spacing-sm);
  background: linear-gradient(0deg, rgba(2, 19, 39, 0.95) 0%, rgba(2, 19, 39, 0.85) 50%, rgba(2, 19, 39, 0) 100%);
}

.play-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: rgba(46, 46, 56, 0.8);
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: rgba(46, 46, 56, 0.95);
  transform: scale(1.05);
}

.play-button.disabled {
  opacity: 0.5;
  cursor: default;
}

.play-button.disabled:hover {
  transform: none;
  background-color: rgba(46, 46, 56, 0.8);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.video-modal.active {
  display: block;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.video-modal-content {
  background-color: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#facebook-video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .video-modal-container {
    width: 95%;
  }
  
  .video-modal-close {
    top: -30px;
    right: 0;
  }
}

.cases__arrow-wrapper {
  display: flex;
  width: var(--spacing-md);
  padding: 6px;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-primary);
  cursor: pointer;
  background-color: transparent;
  transition: all 0.3s ease;
}

.cases__arrow-wrapper:hover {
  background: var(--bg-light-hover);
  border: 1px solid var(--border-light-secondary);
}

.cases__arrow-wrapper--left {
  padding: 6px 8px 6px 6px !important;
  margin-right: 0 !important;
}

.cases__arrow-wrapper--right {
  padding: 6px 6px 6px 8px !important;
  margin-left: 0 !important;
}

.cases__arrow {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cases__container {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
}

.cases__list .swiper-slide {
  height: 452px !important;
  width: calc((100% - 48px) / 3) !important;
  position: relative;
  padding-bottom: 82px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-right: 0 !important;
}

.cases__img-wrapper {
  height: 100%;
  flex-grow: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cases__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases__name-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 82px;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

/* ����� ����� ��� ������� � ������ cases, � ����� ������� ����������� */
.cases__arrows {
  display: flex !important;
  gap: var(--spacing-xxxs) !important;
  margin-top: var(--spacing-sm) !important;
  justify-content: center !important;
  align-items: center !important;
}

.cases__arrow-wrapper {
  display: flex !important;
  width: var(--spacing-md) !important; /* 32px */
  height: var(--spacing-md) !important;
  padding: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  border-radius: var(--radius-sm) !important; /* 8px */
  border: 1px solid var(--border-light-primary) !important;
  cursor: pointer !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
}

.cases__arrow-wrapper:hover {
  background: var(--bg-light-hover) !important;
  border: 1px solid var(--border-light-secondary) !important;
}

.cases__arrow-wrapper--left {
  padding: 6px 8px 6px 6px !important;
}

.cases__arrow-wrapper--right {
  padding: 6px 6px 6px 8px !important;
}

.cases__arrow {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* ����� ��� ������� � �������� */
.projects__arrows {
  display: flex !important;
  position: absolute !important;
  bottom:0px !important; /* ������ ������ - ����� �������� �������� */
  right: 0px !important; /* ������ ������ - ����� �������� �������� */
  z-index: 10 !important;
}

.projects__arrow-wrapper {
  display: flex !important;
  width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-light-primary) !important;
  cursor: pointer !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
  z-index: 11 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: inherit !important;
  position: relative !important;
}

.projects__arrow-wrapper:hover {
  background: var(--bg-light-hover) !important;
  border: 1px solid var(--border-light-secondary) !important;
}

.projects__arrow-wrapper--right {
  padding: 8px 8px 8px 8px !important;
}

.projects__arrow {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* ��������� ����� ����� ��� ������� � projects */
.projects__arrow-container {
  position: absolute !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}

.projects__arrow-wrapper {
  display: flex !important;
  width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-light-primary) !important;
  cursor: pointer !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s ease !important;
  pointer-events: auto !important;
}

.projects__arrow-wrapper:hover {
  background: var(--bg-light-hover) !important;
  border: 1px solid var(--border-light-secondary) !important;
}

.projects__arrow-wrapper--right {
  padding: 8px 8px 8px 8px !important;
}

.projects__arrow {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 1199px) {
  .cases__list .swiper-slide {
    width: calc((100% - 24px) / 2) !important;
  }

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

  .facebook__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  
  
  .facebook__title-wrapper {
    gap: 0 100px;
  }
}

@media (max-width: 767px) {
  .cases__list .swiper-slide {
    width: 85% !important;
  }

  .google__list.swiper-wrapper {
    display: flex; 
    grid-template-columns: none;
    grid-auto-rows: auto;
    padding-left: 0; 
    padding-right: 0;
    overflow-x: visible !important; 
    
  }

  .google__item.swiper-slide {
    margin-right: 0 !important;
    width: 85% !important;
    height: auto; 
    flex-shrink: 0;
    grid-column: auto;
    grid-row: auto;
    transition: transform 0.3s ease;
    box-sizing: border-box;
  }

 
  .google__item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  
  .google__container {
      overflow: hidden !important;
      position: relative; 
      margin: 0 auto;
      padding: 0; 
  }


  .google__arrows {
      display: none !important; 
  }

  .facebook__list {
    grid-template-columns: 1fr;
    grid-auto-rows: 500px;
  }

  ul.mb {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .possibilities__item {
    width: calc((100% - 24px) / 2);
  }
  
  .possibilities__list {
    flex-wrap: wrap;
  }
  
  /* ����������� ��� ��������� */
  .google__title-wrapper {
    gap: 0 100px;
  }
}

@media (max-width: 767px) {
  .possibilities__item {
    width: 100%;
  }
  
  /* ����������� ��� ��������� */
  .google__title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .google__title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .google__subtitle {
    grid-column: unset;
    grid-row: unset;
  }
  
  .google__note {
    margin-bottom: 10px;
  }
}

@media (max-width: 1199px) {
  /* ����� ��� ��������� */
  
  .facebook__title-wrapper {
    gap: 0 100px;
  }
}

@media (max-width: 767px) {
  /* ����� ��� ��������� ��������� */
  
  /* ����������� ��������� ��� ��������� */
  .facebook__title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .facebook__title, .service__title {
  font-style: normal;
  font-weight: 400;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -1.15px;
    margin-bottom: 15px;
  }
  
  .facebook__subtitle {
    grid-column: unset;
    grid-row: unset;
  }
  
  .facebook__note {
    margin-bottom: 10px;
  }
  
  /* ������ ����� ��� ��������� ��������� */
}

@media (max-width: 1199px) {
  /* ����������� brands ��� ��������� */
  .brands__slider {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .brands__item {
    flex: 0 0 140px;
    margin-right: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  /* ����������� brands ��� ��������� ��������� */
  .brands__title-wrapper {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
  }

  .brands__title,
  .brands__subtitle,
  .brands__subtitle-centered {
    width: 100%;
    text-align: center;
  }

  .brands__slider {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .brands__list {
    padding: 10px 0;
  }

  .brands__item {
    flex: 0 0 120px;
    margin-right: 16px;
    margin-bottom: 0;
    height: 60px;
  }

  .brands__navigation {
    position: static;
    margin-top: var(--spacing-xs);
    justify-content: center;
    transform: none;
  }

  .brands__arrow-wrapper {
    background-color: transparent;
  }
}

@media (max-width: 767px) {
  /* ��������� ������ ������ ����� ������ � ���������� ���������� Google */
  .google__item {
    height: auto;
  }
  
  .google__item:nth-child(1) {
    grid-row: span 1 !important;
  }
}

@media (max-width: 1200px) {
  .service__container {
    max-width: 700px;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .service__container {
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: -5vh;
    width: calc(100% - 30px);
  }


  .service__col {
    width: 100%;
    margin-bottom: 32px
  }
}

@media (max-width: 767px) {
  .team {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .team__container {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 48px;
    padding-top: 48px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
  }

  .team__header {
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }

  .team__title {
    font-size: 36px;
    line-height: 42px;
    text-align: left;
    width: 100%;
  }

  .team__text {
    max-width: 100%;
    padding-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .team__slider {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    box-sizing: border-box;
  }

  .team__slide {
    width: 300px;
    min-width: 300px;
  }

  /* Fix slide width to container width minus horizontal padding */
  .team__slider .swiper-slide {
    width: calc(100% - 30px) !important;
    width: 85% !important;
    background-image: url(https://shiftyads.com/wp-content/uploads/2025/05/Card-Blog.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team__arrows {
  display: none;
  margin-top: var(--spacing-md);
}
  }


@media (max-width: 767px) {
  /* ����� ��� ��������� ��������� */
  
  /* ����������� ��������� ��� ��������� */
  .facebook__title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .facebook__title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .facebook__subtitle {
    grid-column: unset;
    grid-row: unset;
  }
  
  .facebook__note {
    margin-bottom: 10px;
  }
  
  /* ������ ����� ��� ��������� ��������� */
}

@media (max-width: 767px) {
  /* ����������� ����� updates ��� ��������� ��������� */
  .updates {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .updates__container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
  }

  .updates__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    width: 100%;
  }

  .updates__title {
    font-size: 36px;
    line-height: 42px;
    text-align: left;
    margin-bottom: 0;
    width: auto;
  }

  .updates__arrows {
    display: none;
    margin-top: 0;
    align-self: auto;
  }

  .updates__slider {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    box-sizing: border-box;
    gap: 24px;
  }

  .updates__slide {
    width: 90% !important;
    min-width: 280px;
    margin-right: 10px;
  }

  .updates__img-wrapper {
    height: 250px;
  }
  
  .updates__slider .swiper-slide-active,
  .updates__slider .swiper-slide-next {
    width: 90% !important;
  }
}

@media (max-width: 767px) {
  /* ����������� ����� whywe ��� ��������� ��������� */
  .whywe {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .whywe__container {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 48px;
    padding-bottom: 48px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
  }

  .whywe__note {
    align-self: flex-start;
  }

  .whywe__note {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }

  .whywe__title {
    font-size: 36px;
    line-height: 42px;
    text-align: center;
    width: 100%;
    margin-bottom: 48px;
  }

  .whywe__slider-wrapper {
    overflow: visible;
  }

  .whywe__slider {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: visible !important;
  }

  .whywe__slider--bottom {
    padding-left: 50px;
  }

  .whywe__slider .swiper-slide {
    width: 300px !important;
    height: 190px !important;
  }

  .whywe__item {
    width: 300px;
  }
}

@media (max-width: 767px) {
  .contacts {
    overflow-x: hidden !important;
    width: 100% !important;
    padding: 0px 0px 150px 0px !important;
    background-size: contain !important;
    background-position: bottom center !important;
  }
  
  .contacts__container {
    padding: 48px 16px !important;
    min-height: auto !important;
    margin: 0 15px !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }

  .contacts__title {
    font-size: 36px;
    line-height: 42px;
    text-align: left;
    margin-bottom: 30px;
  }

  .contacts__form-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .contacts__form-wrapper .row {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 16px;
    align-items: stretch;
  }
  
  /* ��������� ����� ��� label � ����� ����� */
  .contacts__form-wrapper .form-group label {
    margin-bottom: 8px;
  }

  .form-group.half {
    width: 100%;
  }

  .form-group.full {
    width: 100%;
  }

  .form-group.full .form-control {
    width: 100%;
  }

  .form-control {
    width: 100%;
    box-sizing: border-box;
  }

  /* ��������� ����� ��� ��������� services-section */
  .services-section h3 {
    margin-bottom: 36px;
    font-size: 36px;
    text-align: center;
  }

  .services-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    max-width: 400px;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .service-option {
    margin: 0;
    margin-bottom: 0px;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .service-label {
    width: auto !important;
    display: inline-flex !important;
    white-space: nowrap;
    font-size: 14px;
  }

  .submit-row {
    margin-top: 24px;
  }
}

.contacts__form-wrapper label {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
letter-spacing: -0.25px;
color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1440px) {
  .facebook__title-wrapper {
    column-gap: 37%;
    row-gap: 0;
  }
}

@media (max-width: 1024px) {
  .facebook__title-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    gap: var(--spacing-xs);
  }
  .google__title-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    gap: var(--spacing-xs);
  }
}

@media (max-width: 768px) {
  .facebook__title-wrapper {
    margin-bottom: 40px;
  }
  .google__title-wrapper {
    margin-bottom: 40px;
  }
}

/* Add responsive styles for tablet screens */
@media (min-width: 768px) and (max-width: 991px) {
  .contacts {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .contacts__container {
    max-width: 700px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 50px !important;
    box-sizing: border-box !important;
  }
  
  /* Keep the container responsive but preserve original form styling */
  .contacts__form-wrapper {
    width: 440px;
  }

  .header {
    top: var(--spacing-xs);
  }
  
  .header__container {
    max-width: 700px;
    padding: var(--spacing-xxs) var(--spacing-xs);
  }
  
  .nav__anchor {
    padding: var(--spacing-nano) var(--spacing-xxs);
    font-size: 13px;
  }
}

/* ��������� ����� ��� ������ ���� */
.header__button--open {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.header__button--open svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.header__button--open:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
  .header {
    top: var(--spacing-xxs);
    width: 100%;
  }
  
  /* ��������� ����� */
  
  .header__container {
    max-width: calc(100% - 30px);
    margin: 0 auto;
    padding: var(--spacing-xxs);
    border-radius: 16px;
  }
  
  .nav__list {
    display: block;
  }
  
  .nav__item--button {
    display: flex;
  }
  
  .header__button--open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-nano) var(--spacing-xs);
    border-radius: var(--radius-sm);
    background: var(--bg-light-active);
    font-size: 14px;
    line-height: 14px;
    font-weight: 300;
    color: var(--text-light-secondary);
  }
  
  .header__button--close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light-active);
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .header__button--close.active {
    opacity: 1;
    pointer-events: all;
  }
}


/* Default styles */
.nav__toggle {
  /* display: none; <-- Remove this default display: none */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 65; /* Keep z-index from new styles */
  position: relative; /* Keep position relative */
  display: none; /* Hide by default, show in media query */
}

.nav__icon {
  /* display: none; <-- Icons themselves don't need display: none if parent is hidden */
  display: inline-block; /* Default for icons */
}

.nav__icon--menu {
  /* display: inline-block; <-- Redundant if .nav__icon is inline-block */
}

.nav__icon--close {
  display: none; /* Explicitly hide close icon initially */
}

.nav__toggle.active .nav__icon--menu {
  display: none;
}

.nav__toggle.active .nav__icon--close {
  display: inline-block; /* Show close icon when active */
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .nav__list {
    display: none;
  }

  .nav__toggle {
    display: block; 
    padding: 0;
    margin-left: 8px;
    margin-top: 3px;
  }

  .header__button {
    margin-right: 0;
    height: 32px;
    padding: 11px 12px;
  }

  /* Comment out or remove conflicting original .nav__mobile-menu styles if needed */
  /* .nav__mobile-menu { ... } */ 
  
  /* Comment out or remove conflicting original styles for list/items inside */
  /* .nav__mobile-list { ... } */
  /* .nav__mobile-item { ... } */ /* This style was removed by user */
  /* .nav__mobile-anchor { ... } */
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark-overlay);
  backdrop-filter: blur(24px);
  z-index: 10;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

.mobile-menu__close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-light-active);
  cursor: pointer;
}

.mobile-menu__close:hover {
  background: var(--bg-light-primary);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.mobile-menu__item {
  display: flex;
}

.mobile-menu__anchor {
  display: flex;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: var(--spacing-nano);
  font-size: 18px;
  line-height: 18px;
  font-weight: 300;
  text-align: center;
  background: transparent;
  color: var(--text-light-secondary);
  cursor: pointer;
}

.mobile-menu__anchor:hover {
  background: var(--bg-light-active);
}

@media (max-width: 767px) {
  
  .header__button--close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light-active);
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .header__button--close.active {
    opacity: 1;
    pointer-events: all;
  }
}

.header__button--burger {
  display: none;
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
}

.header__button--burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.header__button--burger span:nth-child(1) {
  top: 5px;
}

.header__button--burger span:nth-child(2) {
  top: 11px;
}

.header__button--burger span:nth-child(3) {
  top: 17px;
}

.header__button--burger.active span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}

.header__button--burger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.header__button--burger.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}

@media (max-width: 767px) {
  .header__button--burger {
    display: block;
  }
}

/* ��������� ���� */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark-overlay);
  backdrop-filter: blur(24px);
  z-index: 10;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.mobile-menu__item {
  display: flex;
}

.mobile-menu__anchor {
  display: flex;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: var(--spacing-nano);
  font-size: 18px;
  line-height: 18px;
  font-weight: 300;
  text-align: center;
  background: transparent;
  color: var(--text-light-secondary);
  cursor: pointer;
}

.mobile-menu__anchor:hover {
  background: var(--bg-light-active);
}

@media (max-width: 1100px) {
  /* .nav {
    display: none;
  } */
  
  .header__button--open {
    display: flex;
  }
  
  .nav__item--button {
    display: flex;
  }
}

/* ������������� �����-������ ��� ��������� 993px-1200px */
@media (min-width: 993px) and (max-width: 1200px) {
  /* ������������� ������������ ������ ������ */
  .header__container {
    max-width: 700px !important;
    width: calc(100% - 40px) !important;
    padding: 10px 15px !important;
    justify-content: space-between !important;
    overflow: visible !important;
  }
  
  /* ������ ��������� ��������� */
  .nav {
    display: none !important;
  }
  
  /* �������� ������ ���������� ���� */
  .header__button--open {
    display: flex !important;
    margin: 0 10px !important;
  }
  
  /* ���������� ���� � ��������� ������ */
  .nav__item--button {
    display: flex !important;
  }
  
  /* ������������� ������ ������ �������� */
  .header__logo-wrapper {
    width: auto !important;
    height: 24px !important;
    margin-right: 0 !important;
  }
  
  /* ������� ��� ������ ������� */
  a[href*="Discutam"] {
    padding: 8px 15px !important;
    font-size: 13px !important;
  }
}

/* ���������� ������������� ������ Discutam? */
a.button[href*="Discutam"],
.button.discutam-button,
a.discutam-button {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  margin-left: auto !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  max-width: none !important;
}

/* �������������� ������������� ������ � ���������� ��������� */
@media (min-width: 993px) and (max-width: 1200px) {
  .header {
    padding: 0 !important;
  }
  
  .header__container {
    width: 700px !important;
    max-width: 700px !important;
    box-sizing: border-box !important;
    padding: 10px 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  /* �������������� ������� ��������� */
  /* .nav {
    display: none !important;
  } */
}

@media (max-width: 767px) {
  
  /* �������������� ��������� ������ Discutam? �� ��������� ����������� */
  .nav__item--button {
    display: block !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  a[href*="Discutam"], 
  .discutam-button,
  .header .discutam-button {
    display: inline-flex !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ������ Discutam � ��������� ���� */
a.button[href*="Discutam"],
.discutam-button,
.header .discutam-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

@media (max-width: 767px) {
  .nav__item--button {
    display: block !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  a.button[href*="Discutam"],
  .discutam-button,
  .header .discutam-button {
    display: inline-flex !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}
  
  /* .header__container {
    max-width: calc(100% - var(--spacing-xs) * 2);
    margin: 0 auto;
    padding: var(--spacing-xxs);
  } */
  
  
  .nav__item--button {
    display: block !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    pointer-events: all;
  }
  
  .header__button--open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-nano) var(--spacing-xs);
    border-radius: var(--radius-sm);
    background: var(--bg-light-active);
    font-size: 14px;
    line-height: 14px;
    font-weight: 300;
    color: var(--text-light-secondary);
  }
  
  .header__button--close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light-active);
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .header__button--close.active {
    opacity: 1;
    pointer-events: all;
  }
  
  /* ������������� ������ Discutam �� ��������� */
  a[href*="Discutam"],
  .discutam-button,
  .header .discutam-button {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 20px !important;
    background: var(--accent) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    z-index: 1001 !important;
  }


@media (max-width: 767px) {
  /* �������������� ������ Discutam �� ��������� ����������� */
  .nav__item--button {
    display: block !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  a[href*="Fă o programare"],
  .discutam-button,
  .header .discutam-button {
    display: inline-flex !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    background: rgba(237, 111, 89, 1);
    color: var(--white) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  }
}

@media (max-width: 767px) {
  .possibilities__title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
  }
  
  .possibilities__title,
  .possibilities__subtitle {
    width: 100%;
  }

  .possibilities__title {
      font-style: normal;
      font-weight: 400;
      font-size: 36px;
      line-height: 44px;
      letter-spacing: -1.15px;
      color: #FFFFFF;
  }

  .possibilities__subtitle, .intro__subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.25px;
    color: rgba(255, 255, 255, 0.6);
  }
}

/* ����� ��� ������ �������� */
.project-popup {
  /* Define variables for grid gaps and margins */
  /* 
     ���������� �� ��������� ��������:
     --project-popup-title-margin-bottom: ������ ��� ����������
     --project-popup-grid-row-gap: ������������ ������ ����� ������ ����� ������
     --project-popup-gap-col-1-2: �������������� ������ ����� �������� 1 � 2
     --project-popup-gap-col-2-3: �������������� ������ ����� �������� 2 � 3
  */
  --project-popup-title-margin-bottom: 30px; /* Default margin below title */
  --project-popup-grid-row-gap: 30px; /* Default row gap inside the data grid */
  --project-popup-gap-col-1-2: 40px; /* Default gap between col 1 and 2 */
  --project-popup-gap-col-2-3: 40px; /* Default gap between col 2 and 3 */

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.project-popup--active {
  opacity: 1;
  visibility: visible;
}

.project-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.project-popup__content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background-color: #032144;
  border-radius: var(--radius-sm);
  overflow: hidden;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-popup__content-inner {
  padding: 40px;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE � Edge */
}

/* ������� ���������� ��� Chrome, Safari � Opera */
.project-popup__content-inner::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .project-popup__content-inner {
    padding: 20px;
  }
}

.project-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  transition: transform 0.3s ease;
  z-index: 1002;
}

.project-popup__close:hover {
  transform: rotate(90deg);
}

.project-popup__close::before,
.project-popup__close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
}

.project-popup__close::before {
  transform: rotate(45deg);
}

.project-popup__close::after {
  transform: rotate(-45deg);
}

.project-popup__header {
  margin-bottom: 20px;
}

.project-popup__title {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #fff;
}

.project-popup__image-wrapper {
  width: calc(100% + 80px);        /* Extend width to counter parent padding (40px * 2) */
  margin-left: -40px;              /* Shift left to align with extended width */
  margin-right: -40px;             /* Shift right to align with extended width */
  margin-top: 0;                   /* Remove top margin if it's the bottom image */
  margin-bottom: -40px;            /* Negative margin to offset parent padding */
  line-height: 0;                  /* Prevent extra space below image */
  flex-basis: auto !important;
  flex-shrink: initial !important;
  align-self: initial !important;
  order: initial !important;
}


.project-popup__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important; /* Remove border-radius from the image */
}

.project-popup__text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccd3df;
}

@media (max-width: 767px) {
  .project-popup__content-inner {
    padding: 20px;
  }
  
  .project-popup__image-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    width: calc(100% + 40px);
  }
  
  .project-popup__title {
    font-size: 22px;
  }
  
  .project-popup__text {
    font-size: 14px;
  }
}

/* ����� ��� ������ ������ */
.cases-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cases-popup--active {
  opacity: 1;
  visibility: visible;
}

.cases-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.cases-popup__content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background-color: #032144;
  border-radius: var(--radius-sm);
  overflow: hidden;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cases-popup__content-inner {
  padding: 0 0 40px 0;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE � Edge */
}

/* ������� ���������� ��� Chrome, Safari � Opera */
.cases-popup__content-inner::-webkit-scrollbar {
  display: none;
}

.cases-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  transition: transform 0.3s ease;
  z-index: 1002;
}

.cases-popup__close:hover {
  transform: rotate(90deg);
}

.cases-popup__close::before,
.cases-popup__close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
}

.cases-popup__close::before {
  transform: rotate(45deg);
}

.cases-popup__close::after {
  transform: rotate(-45deg);
}

.cases-popup__image-wrapper {
  width: 60%; /* Make the wrapper smaller */
  margin-left: auto; /* Center the wrapper */
  margin-right: auto; /* Center the wrapper */
  line-height: 0;
  margin-bottom: 30px;
  /* padding: 0 20px; */ /* Remove previous padding */
  box-sizing: border-box;
}

.cases-popup__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.cases-popup__header {
  padding: 0 40px;
  margin-bottom: 20px;
}

.cases-popup__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.cases-popup__text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccd3df;
  padding: 0 40px;
}

@media (max-width: 767px) {
  .cases-popup__header,
  .cases-popup__text {
    padding: 0 20px;
  }
  
  .cases-popup__title {
    font-size: 22px;
  }
  
  .cases-popup__text {
    font-size: 14px;
  }
}


@media (max-width: 767px) {
    .header {
        top: var(--spacing-xxs);
        width: 100%;
    }
}

/* Styles copied and adapted from .cases-popup */
/* ����� ��� ������ ���������� */
.updates-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; /* Ensure it's above other content */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s; /* Delay visibility change */
}

.updates-popup--active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.updates-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
  cursor: pointer;
}

.updates-popup__content {
  position: relative;
  width: 90%;
  max-width: 1000px; /* Adjust max-width as needed */
  max-height: 90vh; /* Limit height */
  background-color: #032144; /* Match theme background */
  border-radius: var(--radius-sm); /* Use theme radius */
  overflow: hidden;
  z-index: 1001; /* Above overlay */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.updates-popup__content-inner {
  padding: 40px; /* Add padding inside */
  overflow-y: auto; /* Enable scroll if content overflows */
  max-height: calc(90vh - 80px); /* Adjust based on padding */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE � Edge */
}

/* ������� ���������� ��� Chrome, Safari � Opera */
.updates-popup__content-inner::-webkit-scrollbar {
  display: none;
}

.updates-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  transition: transform 0.3s ease;
  z-index: 1002; /* Above content */
}

.updates-popup__close:hover {
  transform: rotate(90deg);
}

.updates-popup__close::before,
.updates-popup__close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff; /* White 'X' */
}

.updates-popup__close::before {
  transform: rotate(45deg);
}

.updates-popup__close::after {
  transform: rotate(-45deg);
}

.updates-popup__image-wrapper {
  width: calc(100% + 80px); /* Extend to edges if padding is 40px */
  margin: -40px -40px 30px -40px; /* Adjust margins to match padding */
  line-height: 0; /* Remove space below image */
}

.updates-popup__image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-height: 40vh; /* Optional: Limit image height */
  object-fit: cover;
  display: block;
}

.updates-popup__header {
  margin-bottom: 20px;
}

.updates-popup__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff; /* White title */
  margin: 0; /* Remove default margin */
  margin-bottom: 48px;
}

.updates-popup__text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccd3df; /* Light text color */
}

.updates-popup__text p,
.updates-popup__text h1,
.updates-popup__text h2,
.updates-popup__text h3,
.updates-popup__text h4,
.updates-popup__text h5,
.updates-popup__text h6,
.updates-popup__text ul,
.updates-popup__text ol {
  margin-bottom: 1em; /* Spacing for content elements */
  color: inherit; /* Ensure text color consistency */
}

.updates-popup__text a {
  color: #fff; /* White links */
  text-decoration: underline;
}

.updates-popup__text img {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .updates-popup__content-inner {
    padding: 20px;
    max-height: calc(90vh - 40px);
  }
  
  .updates-popup__image-wrapper {
    width: calc(100% + 40px);
    margin: -20px -20px 20px -20px;
  }
  
  .updates-popup__title {
    font-size: 22px;
  }
  
  .updates-popup__text {
    font-size: 14px;
  }
}

/* Ensure bold/strong tags are actually bold inside the popup */
.updates-popup__text strong,
.updates-popup__text b {
    font-weight: bold;
}

/* Facebook Arrows Styles (copied from team__arrows) */
.facebook__arrows {
  display: flex;
  gap: var(--spacing-xxxs);
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.facebook__arrow-wrapper {
  display: flex;
  width: var(--spacing-md);
  padding: 6px;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light-primary);
  cursor: pointer;
  background-color: var(--blue-primary);
  pointer-events: auto;
  z-index: 10;
}

.facebook__arrow {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.facebook__arrow-wrapper--left {
  padding: 6px 8px 6px 6px;
}

.facebook__arrow-wrapper--right {
  padding: 6px 6px 6px 8px;
}

.facebook__arrow-wrapper:hover {
  background: var(--bg-light-hover);
  border: 1px solid var(--border-light-secondary);
}

/* ���������� ������ ��� facebook__item */
@media (max-width: 1199px) {
  .facebook__item.swiper-slide {
    width: calc((100% - 24px) / 2);
    margin-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .facebook__list {
    gap: 24px; 
  }
  .facebook__item.swiper-slide {
    margin-right: 0 !important;
    width: 85%;
  }
  
}

/* Project Popup Enhancement Styles */
.project-popup__content-inner {
  /* Removed display: flex and gap */
}

/* Style for the row containing the title */
.project-popup__header-row {
  /* Use variable for bottom margin */
  margin-bottom: var(--project-popup-title-margin-bottom);
}

.project-popup__title { 
  color: var(--white);
  margin-bottom: 0; /* Removed margin here, handled by header-row */
  font-size: 28px; /* Example size */
  font-weight: 300; /* Example weight */
  padding-left: 30px;
}

/* New grid for data sections */
.project-popup__data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* gap: var(--spacing-md); */ /* �������� ���� */
  row-gap: var(--spacing-md); /* ������������ ������ */
  column-gap: 0; /* �������������� ������ ����� padding */
  width: 100%;
  max-width: 900px; /* ����������� ������������ ������ */
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  margin-left: auto; /* ��������� ��� ������������� */
  margin-right: auto; /* ��������� ��� ������������� */
  /* ���������� ��� �������� */
  --gap-col-1-2: var(--spacing-lg); /* ����������� ������ 1-2 (��������, 64px) */
  --gap-col-2-3: var(--spacing-md); /* ����������� ������ 2-3 (��������, 32px) */
}

/* Remove conflicting grid styles from old meta-grid */
.project-popup__meta-grid {
  /* Remove all styles */
}

/* Remove conflicting flex styles from old main-content */
.project-popup__main-content {
 /* Remove all styles */
}

.project-popup__section {
  /* Styles for each section, if needed */
}

.project-popup__section-title {
  font-size: 12px; 
  color: rgba(255, 255, 255, 0.6); 
  margin-bottom: 8px; /* Increased space */
  font-weight: 300;
}

.project-popup__authors,
.project-popup__task,
.project-popup__year,
.project-popup__software,
.project-popup__link,
.project-popup__text {
  font-size: 14px; 
  line-height: 1.5; /* Adjusted line height */
  font-weight: 300;
  color: var(--white); 
}

.project-popup__link a {
  color: var(--accent); 
  text-decoration: none;
  word-break: break-all; /* Break long links */
}

.project-popup__link a:hover {
  text-decoration: underline;
}

.project-popup__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; 
}

/* Add responsiveness for the new grid */
@media (max-width: 767px) {
  .project-popup__data-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    row-gap: var(--project-popup-grid-row-gap); 
    column-gap: 0; /* Reset column gap */
  }
  .project-popup__title {
    font-size: 24px;
  }
  /* Adjust image wrapper for mobile padding (20px) */
  .project-popup__image-wrapper {
    width: calc(100% + 40px); /* Counteract 20px padding */
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    margin-top: 20px; /* Adjust top margin for mobile */
  }
}

@media (max-width: 480px) {
  .project-popup__data-grid {
    grid-template-columns: 1fr; /* 1 column on very small screens */
    row-gap: var(--project-popup-grid-row-gap);
    column-gap: 0;
  }
  /* Reset padding for single-column layout */
  .project-popup__section:nth-child(n) { 
      padding-right: 0;
  }
}

/* ��������� padding ��� �������� �������������� �������� */
.project-popup__section:nth-child(3n+1) { /* ������ ������� */
  padding-right: calc(var(--gap-col-1-2) / 2);
  /* ����� ������ padding �� ������ ������ */
  /* padding-left: 0; */ /* ������� ��� ������������ ����� */
  padding-left: var(--spacing-sm); /* ��������� ������ ����� ������ ������ */
}

.project-popup__section:nth-child(3n+2) { /* ������ ������� */
  padding-left: calc(var(--gap-col-1-2) / 2);
  padding-right: calc(var(--gap-col-2-3) / 2);
}

.project-popup__section:nth-child(3n+3) { /* ������ ������� */
  padding-left: calc(var(--gap-col-2-3) / 2);
  /* ����� ������� padding �� ������ ������ */
  padding-right: 0;
}

/* ����� ��� ������� Google (������������ �� cases__arrows) */
.google__arrows {
  display: flex !important;
  gap: var(--spacing-xxxs) !important;
  margin-top: var(--spacing-sm) !important;
  justify-content: center !important; /* ���������� ������� */
  align-items: center !important;
}

.google__arrow-wrapper {
  display: flex !important;
  width: var(--spacing-md) !important; /* 32px */
  height: var(--spacing-md) !important;
  padding: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  border-radius: var(--radius-sm) !important; /* 8px */
  border: 1px solid var(--border-light-primary) !important;
  cursor: pointer !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}

.google__arrow-wrapper:hover {
  background: var(--bg-light-hover) !important;
  border: 1px solid var(--border-light-secondary) !important;
}

.google__arrow-wrapper--left {
  padding: 6px 8px 6px 6px !important;
}

.google__arrow-wrapper--right {
  padding: 6px 6px 6px 8px !important;
}

.google__arrow {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* grid Swiper */
.google__list.swiper-wrapper {
  display: flex;
  grid-template-columns: none; /*grid */
  gap: 24; /* Swiper */
}

.google__item.swiper-slide {
  width: calc((100% - 2 * 24px) / 3);
  flex-shrink: 0;
  height: auto;
  grid-column: auto;
  grid-row: auto;
}

/* Mobile Menu Popup Styles */
.nav__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Or 100vh */
  background-color: #002D5C; /* Dark blue from screenshot */
  z-index: 50; /* Ensure it's above other content but below the header toggle */
  transform: translateX(100%); /* Start off-screen */
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 20px 32px; /* Adjust padding: top/bottom 20px, left/right 32px */
  overflow-y: auto; /* Allow scrolling if content overflows */
}

.nav__mobile-menu.active {
  transform: translateX(0); /* Slide in when active */
}

/* Adjust header toggle position when menu is active */
.header {
  z-index: 60; /* Keep header above the overlay */
}

.nav__toggle {
  z-index: 65; /* Ensure toggle is above the mobile menu */
}

.nav__mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 97px; /* Space below header */
  padding-top: 10px; /* Align with header content */
}

.nav__mobile-logo-wrapper {
  display: inline-block;
  /* Adjust size as needed */
  width: 120px; 
}

.nav__mobile-logo-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Reposition the close button (part of nav__toggle) visually */
.nav__toggle.active {
  position: fixed; /* Position relative to viewport */
  top: 30px; /* Adjust as needed */
  right: 20px; /* Adjust as needed */
}

.nav__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Space between items */
  margin-bottom: 48px; /* Space below list */
  flex-grow: 1; /* Allow list to take available space */
}

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

.nav__mobile-anchor {
  color: var(--white);
  font-size: 28px; /* Adjust size as needed */
  font-weight: 400;
  text-decoration: none;
}

.nav__mobile-anchor:hover {
  opacity: 0.8;
}

.nav__mobile-number {
  color: rgba(255, 255, 255, 0.6); /* Lighter white for numbers */
  font-size: 16px; /* Adjust size */
  font-weight: 300;
}

.nav__mobile-button {
  /* Reuse existing .button styles but override specifics */
  background-color: var(--white);
  color: #0055FF; /* Blue text color */
  padding: 15px 30px; /* Adjust padding */
  border-radius: 8px; /* Rounded corners */
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin: 0 auto 40px auto; /* Center horizontally, add space below */
  display: block; /* Make it block to control width/margin */
  width: fit-content; /* Size button to content */
}
.nav__mobile-footer {
  margin-top: auto; /* Push footer to the bottom */
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
  text-align: center; /* Center align footer content */
}

.nav__mobile-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-bottom: 15px;
}

.nav__mobile-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between links */
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.nav__mobile-footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-decoration: none;
}

.nav__mobile-footer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Hide original mobile menu styles if they conflict visually */
/* You might need to adjust or remove original .nav__mobile-menu styles */
/* For example, remove any background or positioning if they interfere */

/* Ensure body scroll is prevented when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Close button inside mobile menu */
.nav__mobile-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding-bottom: 2px;
  background: none;
  border: 1px solid var(--border-light-primary);
  border-radius: var(--radius-sm); /* square with slight rounding */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.nav__mobile-close:hover {
  background: var(--bg-light-hover);
}

/* Mobile Menu Header */
.nav__mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;  /* Top padding 32px */
  margin-bottom: 97px; /* Space below header */
  /* margin-left comes from nav__mobile-menu padding-left */
}

/* Close button inside mobile menu as flex item */
.nav__mobile-close {
  position: static; /* Use flex positioning */
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-light-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  margin-left: 0; /* space between logo and close button */
}

.nav__mobile-close:hover {
  background: var(--bg-light-hover);
}

/* Google Slider: slide width calc similar to Cases */
@media (min-width: 768px) and (max-width: 1199px) {
  .google__list .swiper-slide {
    width: calc((100% - 24px) / 2) !important;
    margin-right: 0 !important;
    flex-shrink: 0;
  }
}
@media (min-width: 1200px) {
  .google__list .swiper-slide {
    width: calc((100% - 72px) / 4) !important; /* Изменено с 3 на 4 слайда */
    margin-right: 0 !important;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .team__slider .swiper-slide-active {
    width: calc(100% - 30px) !important;
  }
  .team__slider .swiper-slide-next {
    width: calc(100% - 30px) !important;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .team__slider .swiper-slide-active {
    width: calc((100% - 24px) / 2) !important;
  }
  .team__slider .swiper-slide-next {
    width: calc((100% - 24px) / 2) !important;
  }
}

@media (min-width: 1200px) {
  .team__slider .swiper-slide-active {
    width: calc((100% - 48px) / 3) !important;
  }
  .team__slider .swiper-slide-next {
    width: calc((100% - 48px) / 3) !important;
  }
}

/* Team slider widths to mimic cases slider */
@media (max-width: 767px) {
  .team__slider .swiper-slide {
    width: 85% !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .team__slider .swiper-slide {
    width: calc((100% - 24px) / 2) !important;
  }
}
@media (min-width: 1200px) {
  .team__slider .swiper-slide {
    width: calc((100% - 48px) / 3) !important;
  }
}

/* Facebook slider widths mimic cases slider */
@media (max-width: 767px) {
  .facebook__list .swiper-slide .swiper-wrapper {
    width: 100% !important;
    height: 648px; /* Увеличена высота до десктопной */
    min-height: 648px; /* Добавлен минимальный размер */
  }

  .facebook__arrows, .cases__arrows {
    display: none !important;
  }

  .container.facebook__container.swiper.swiper-initialized.swiper-horizontal.swiper-ios.swiper-backface-hidden {
    margin-bottom: 10vh;
}
}


/* Updates slider mobile partial slide like cases slider */
@media (max-width: 767px) {
  .updates__slider .swiper-slide {
    width: 75% !important;
  }

  .updates__img-wrapper {
    position: relative;
    filter: opacity(0);
  }

  .updates__slider .swiper-slide {
    background-image: url('https://shiftyads.com/wp-content/uploads/2025/05/Card-Blog.svg');
    background-size: cover;  
    background-position: center;
    background-repeat: no-repeat;
  }
  
}

/* === Override legacy Facebook nth-child styling === */
.facebook__list {} 
.facebook__list {} 
/* === End override === */

/* Team slider blur overlay and overflow override */
@media (min-width: 1200px) {
  /* Allow slides to flow beneath the container, but limit left overflow */
  .team__container.swiper {
    overflow: visible !important; /* Разрешаем выход вправо */
    clip-path: inset(0 -100% 0 0); /* Обрезаем слева, разрешаем справа */
    position: relative; /* Для работы clip-path */
  }

  /* Ensure positioning for the overlay */
  .team__container {
    position: relative;
  }

  /* Blur overlay on the right side, extending infinitely with gradient */
  .team__container::after {
    content: '';
    position: absolute;
    top: var(--section-padding-y); /* Align with the top of the slider */
    right: -80px;
    width: 100vw;
    height: calc(100% - var(--section-padding-y) * 2); /* Calculate exact slider height */
    bottom: auto; /* Remove bottom positioning */
    pointer-events: none;
    background: linear-gradient(to right, transparent 0%, rgba(2, 19, 39, 0.1) 0%, #021327 1%); /* Soften gradient */
    backdrop-filter: blur(4px); /* Make blur softer */
    z-index: 5;
    transform: translateX(100%);
  }
}

/* Specific override for updates slider to ensure right-side visibility */
@media (min-width: 1200px) {
  /* Force visible overflow for updates section and container */
  .updates {
    overflow: visible !important;
    clip-path: inset(0 -100% 0 0); /* Clip left overflow, allow right */
  }
  
  .updates__container {
    overflow: visible !important;
    max-width: 1156px !important;
    clip-path: none !important; /* Remove clip-path which might be causing issues */
  }

  /* Add right-side blur overlay to updates slider */
  .updates__container::after {
    content: '';
    position: absolute;
    top: var(--section-padding-y);
    right: -80px;
    width: 100vw;
    height: calc(100% - var(--section-padding-y) * 2);
    bottom: auto;
    pointer-events: none;
    background: linear-gradient(to right, transparent 0%, rgba(2, 19, 39, 0.1) 0%, #021327 1%);
    backdrop-filter: blur(4px);
    z-index: 5;
    transform: translateX(100%);
  }
  
}

/* Стили для фиксированного слайда Facebook */
@media (min-width: 1200px) {
    .facebook__fixed-slide {
        position: absolute;
        left: 0;
        top: 0;
        width: 368px;
        z-index: 2;
        background: var(--dark-blue);
    }
    
    .facebook__container {
        position: relative;
        padding-left: 394px;
    }
    
    .facebook__list .facebook__item:first-child {
        display: none;
    }

    /* Обеспечиваем правильное позиционирование остальных слайдов */
    .facebook__list {
        margin-left: 0;
    }
}

/* Сохраняем оригинальное поведение для мобильных устройств */
@media (max-width: 1199px) {
    .facebook__fixed-slide {
        display: none;
    }
    
    .facebook__container {
        padding-left: 0;
    }
    
    .facebook__list .facebook__item:first-child {
        display: block;
    }
}

/* Базовые стили для facebook слайдера */
.facebook__item {
    position: relative;
    width: 370px;
    min-height: 480px;
    background: var(--dark-blue);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.facebook__item.swiper-slide-active,
.facebook__fixed-slide {
    background: linear-gradient(180deg, rgba(2, 19, 39, 0) 0%, rgba(2, 19, 39, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
}

.facebook__item:hover {
    background-color: var(--bg-light-hover);
    transform: none;
}

/* Стили для фиксированного слайда Facebook */
@media (min-width: 1200px) {
    .facebook__fixed-slide {
        position: absolute;
        left: 0;
        top: 0;
        width: 370px;
        z-index: 2;
        background: var(--dark-blue);
        min-height: 480px;
        border-radius: 24px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .facebook__img-wrapper {
      min-height: 648px;
    }
    
    .facebook__container {
        position: relative;
        padding-left: 394px;
    }
    
    .facebook__list .facebook__item:first-child {
        display: none;
    }

    .facebook__list {
        margin-left: 0;
    }

    /* Стили для активного слайда */
    .facebook__item.swiper-slide-active {
        background: linear-gradient(180deg, rgba(2, 19, 39, 0) 0%, rgba(2, 19, 39, 0.8) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
}

/* Сохраняем оригинальное поведение для мобильных устройств */
@media (max-width: 1199px) {
    .facebook__fixed-slide {
        display: none;
    }
    
    .facebook__container {
        padding-left: 0;
    }
    
    .facebook__list .facebook__item:first-child {
        display: block;
    }

    .facebook__item {
        width: 100%;
        max-width: 370px;
        border-radius: 24px;
    }
}

/* Дополнительные стили для контента внутри слайдов */
.facebook__item .content-container,
.facebook__fixed-slide .content-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(0deg, rgba(2, 19, 39, 0.9) 0%, rgba(2, 19, 39, 0.7) 50%, rgba(2, 19, 39, 0) 100%);
    z-index: 2;
}

.facebook__name {
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 500;
}

.facebook__subtext {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1200px) {
  .facebook__slider-flex {
    display: flex;
    align-items: stretch;
    width: 100%;
  }
  .facebook__fixed-slide {
    position: static;
    flex: 0 0 368px;
    /* margin-right: 24px; */
    height: 100%;
    background: transparent;
  }
  .facebook__list {
    flex: 1 1 0%;
  }
  .facebook__container {
    padding-left: 0;
  }
}

@media (min-width: 1200px) {
  .facebook__item--info { display: none !important; }
  .facebook__fixed-slide { display: block; }
}
@media (max-width: 1199px) {
  .facebook__item--info { display: block; }
  .facebook__fixed-slide { display: none; }
}

/* Стили для фиксированного слайда Google */
@media (min-width: 1200px) {
    .google__fixed-slide {
        position: absolute;
        left: 0;
        top: 0;
        width: 368px;
        z-index: 2;
        background: var(--dark-blue);
        border: 1px solid var(--border-light-secondary);
        border-radius: var(--radius-md);
        border-radius: 24px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .google__img-wrapper {
        min-height: 451.99px;
    }
    
    .google__container {
        position: relative;
        padding-left: 394px;
    }
    
    .google__list .google__item:first-child {
        display: none;
    }

    .google__list {
        margin-left: 0;
    }

    /* Стили для активного слайда */
    .google__item.swiper-slide-active {
        background: linear-gradient(180deg, rgba(2, 19, 39, 0) 0%, rgba(2, 19, 39, 0.8) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .google__slider-flex {
        display: flex;
        align-items: stretch;
        width: 100%;
    }

    .google__fixed-slide {
        position: static;
        border-radius: 24px;
        flex: 0 0 368px;
        /* margin-right: 24px; */
        height: 100%;
        background: transparent;
    }

    .google__list {
        flex: 1 1 0%;
    }

    .google__container {
        padding-left: 0;
    }
}

/* Сохраняем оригинальное поведение для мобильных устройств */
@media (max-width: 1199px) {
    .google__fixed-slide {
        display: none;
    }
    
    .google__container {
        padding-left: 0;
    }
    
    .google__list .google__item:first-child {
        display: block;
    }

    .google__item {
        width: 100%;
        border-radius: 24px;
    }
}

/* Дополнительные стили для контента внутри слайдов */
.google__item .content-container,
.google__fixed-slide .content-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background:none !important;
    z-index: 2;
}

.google__name {
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 500;
}

.google__subheader {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.6);
}

/* Стили для Google слайдера */
.google__container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.google__slider-flex {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.google__fixed-slide {
    position: static;
    flex: 0 0 368px;
    /* margin-right: 24px; */
    height: 100%;
    background: transparent;
}

.google__list {
    flex: 1 1 0%;
    display: flex;
    transition: transform 0.3s ease;
}

.google__item {
    width: calc((100% - 48px) / 2);
    flex-shrink: 0;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--border-light-primary);
    background: rgba(2, 19, 39, 0.7);
    transition: all 0.3s ease;
}

.google__item:hover {
    background-color: var(--bg-light-hover);
}

/* Медиа-запросы для адаптивности */
@media (min-width: 768px) and (max-width: 1199px) {
    .google__item {
        width: calc((100% - 24px) / 2);
        height: 452px !important;
        min-height: 452px !important;
    }
    
    .google__img-wrapper {
        height: 100% !important;
        min-height: 452px !important;
    }
    
    .google__list .swiper-slide {
        height: 452px !important;
        min-height: 452px !important;
    }

    .google__swiper.swiper.swiper-initialized.swiper-horizontal {
        height: 452px !important;
        min-height: 452px !important;
    }
}

@media (max-width: 1199px) {
    .google__fixed-slide {
        display: none;
    }
    
    .google__container {
        padding-left: 15px;
    }
    
    .google__list .google__item:first-child {
        display: block;
    }


}

@media (min-width: 1200px) {
    .google__list .swiper-slide {
        width: calc((100% - 24px) / 2) !important; /* Изменено на 2 слайда */
        margin-right: 0 !important;
        flex-shrink: 0;
    }

    .swiper-horizontal {
      padding-left: 24px;
    }
}

/* Дополнительные стили для контента внутри слайдов */
.facebook__item .content-container,
.facebook__fixed-slide .content-container,
.google__item .content-container,
.google__fixed-slide .content-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(0deg, rgba(2, 19, 39, 0.9) 0%, rgba(2, 19, 39, 0.7) 50%, rgba(2, 19, 39, 0) 100%);
    z-index: 2;
}

.facebook__name,
.google__name {
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 500;
}

.facebook__subtext,
.google__subheader {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1200px) {
    .google__fixed-slide,
    .google__img-wrapper,
    .google__swiper,
    .google__list,
    .google__item {
        min-height: 451.99px !important;
        height: 451.99px !important;
    }
}

@media (max-width: 767px) {
 
  .google__list .swiper-slide {
    width: 82.5% !important;
    height: 452px !important;
    min-height: 300px !important;
  }
  
  .google__img-wrapper {
    height: 100% !important;
    min-height: 300px !important;
    border-radius: 24px;
  }
  
  .google__item {
    height: 300px !important;
    min-height: 300px !important;
  }
}

@media (max-width: 767px) {
  .facebook__list .swiper-slide {
    width: 85% !important;
    height: 648px !important;
    min-height: 648px !important;
  }

  .facebook__list.swiper-wrapper {
    display: flex; 
    grid-template-columns: none;
    grid-auto-rows: auto;
    padding-left: 0; 
    padding-right: 0;
    overflow-x: visible !important; 
  }

  .facebook__arrows, .cases__arrows {
    display: none !important;
  }

  .container.facebook__container {
    margin-bottom: 10vh;
  }
}