html {
  scroll-behavior: smooth;
}

/* === ПЕРВЫЙ БЛОК (HEADER) =================================================== */
.logo,
.sticky-name {
  text-decoration: none;
  color: inherit;
}

.button-orange.cta-mobile {
  display: none;
}

/* Фоновое изображение */
.site-header::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -40px;          /* чуть дальше вправо — как в макете */
  width: 42vw;           /* вместо фиксированных 550px — адаптивно */
  max-width: 680px;      /* чтобы не раздувался на больших экранах */
  height: 100%;
  background: url('pics/header_pic.webp') no-repeat bottom right;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

/* Контейнер в header */
.site-header .container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  z-index: 1;
}

/* Навигация */


.header-nav .nav-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.header-nav .nav-left .logo {
  margin-right: 29px;
  color: #ffffff;
}

.header-nav .nav-right {
  display: flex;
  gap: 12px;
}

/* Контент внутри header */


.intro-text {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}

.header-title {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: -0.03em;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  /* 👈 центр по высоте */

}

.header-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 16px;
}


/* ======= БАЗОВЫЕ НАСТРОЙКИ ================================================= */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F5F6FB;
  color: #0E0A0B;
}

header,
section,
footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* Цвет текста на первом блоке */
.site-header {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 600px;
  /* вот тут градиент */
  background: radial-gradient(
    ellipse at 60% 55%,
    #FD9401 28%,
    #FE7701 62%,
    #F15201 100%
  );

  color: #F5F6FB;
  overflow: hidden;
  box-sizing: border-box;
}

.site-header::before {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 550px;
  height: 100%;
  background-size: contain;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}



.site-header .container {
  position: relative;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.header-nav a,
.header-nav .logo {
  color: #F5F6FB;
  text-decoration: none;
  margin-right: 20px;
  font-size: 20px;
}

.header-nav .nav-left a:last-child,
.header-nav .logo {
  margin-right: 0;

}


.header-nav .nav-left a {
  color: rgba(255, 255, 255, 0.6);
}

.header-content {
  display: flex;
  flex-direction: column;
margin-bottom: 30px;
}

.intro-text {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.5;
  color: #F5F6FB;
}

.header-title {
  font-size: 120px;
  line-height: 138px;
  font-weight: 400;
  letter-spacing: -3%;
  margin: 0;
  color: #F5F6FB;
}

.header-content .intro-text {
  margin-bottom: 39px;
}

.header-content .header-title {
  margin-bottom: 30px;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.header-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
}

/* ======= ТЕКСТОВЫЕ СТИЛИ ======================================================== */
h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 120px;
  line-height: 138px;
  letter-spacing: -3%;
  color: inherit;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 73px;
  letter-spacing: -3%;
  color: inherit;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 39px;
  letter-spacing: -3%;
  color: inherit;
}

p,
.p1 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: inherit;
}

.p2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: inherit;
}

.p3 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: -1%;
  color: inherit;
}

/* ======= ССЫЛКИ ======= */
a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: #47B5FF;
}

a:active {
  color: #2196E4;
}

a.type-2 {
  opacity: 0.7;
}

a.type-2:hover {
  opacity: 1;
}



/* ======= КНОПКИ-СЫЛКИ РЫЖИЕ ======= */
.link-orange {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: #F05536;
  text-decoration: none;
  /* убираем общее подчеркивание */
}

.link-orange:hover {
  color: #ff694b;
  text-decoration: none;

}


.link-orange .link-text {
  text-decoration: underline;
  /* подчеркивание только текста */
}

.link-orange .link-icon {
  display: inline-block;
  width: 20px;
  /* настрой размер стрелки */
  height: 20px;
  margin-left: 8px;
  /* отступ от текста */
  background-image: url('pics/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.link-orange:hover,
.link-orange:hover .link-text {
  color: #F05536;
  text-decoration: none;
}


/* ======= КНОПКИ-СЫЛКИ ОБЫЧНЫЕ ======= */
.link-default {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: #080607;
  text-decoration: underline;
  transition: color 0.2s;
}

.link-default:active {
  color: #F05536;
}

/* ======= КНОПКИ ТИП-1 (РЫЖИЕ) ======= */
.button-orange,
a.button-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 10px;
  background-color: #F05536;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 30px;
  padding-right: 30px;
}

/* ======= КНОПКИ ТИП-2 (ОБВОДКА) ======= */
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 10px;
  background: none;
  color: #080607;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid;
  border-image: linear-gradient(45deg, #fff, #000);
  border-image-slice: 1;
  transition: opacity 0.2s;
}

/* ======= ТЕГИ БЕЙДЖИКИ ======= */

.tag {
  height: 28px;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  /* 👇 Добавляем текстовые стили для бейджиков */
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: -1%;
  color: inherit;
}


.button-outline:hover {
  opacity: 0.9;
}

/* ======= СЕКЦИИ (НЕ HEADER) ======= */
.site-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
}

.site-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* ======= АДАПТИВНЫЙ ШРИФТ И МАСШТАБ ======= */
html {
  font-size: 16px;
}

@media (max-width: 1280px) {
  html {
    font-size: calc(16px * (100vw / 1280));
  }
}

@media (min-width: 1280px) {
  body {
    padding: 0;
  }
}

/* Убрать отступы у заголовков слева!!!!!!!!!!!!!!!!!!!!!!!! */
.product-top-left h1,
.product-top-left h2,
.product-top-left h3 {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Убрать отступы у параграфов справа */
.product-top-right p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
}

.branding-top h2 {
  margin-top: 24px;
  margin-bottom: 24px;

}

/* ======= БЛОК ПЕРВЫЙ UI UX======================================================== */

.uiux-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.uiux-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  min-height: 600px;
  height: auto;
}

.uiux-container {
  max-width: 1280px;
  height: auto;
display: flex;
  align-items: stretch;
  margin: 0 auto;
  padding: 40px 17px;
  box-sizing: border-box;
}

.uiux-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/*ЛЕВА КОЛОНКА*/
.uiux-left {
  flex: 1 1 calc(30%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.uiux-left-top {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding-top: 40px;
}

.uiux-subheader {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  margin: 0 0 16px;
  color: #0E0A0B;
}

.uiux-header {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 73px;
  letter-spacing: -3%;
  margin: 0 0 24px;
  color: #0E0A0B;
}

.uiux-left .p1 {
  max-width: 600px;
  margin-bottom: 40px;
}

.uiux-left .button-orange {
  margin-bottom: 32px;

}

/* White primary button for header */
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  border: none; /* или 1px solid rgba(0,0,0,0.1) если хочешь */
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-white:hover {
  background: #f2f2f2;
  color: #000000;
}

.site-header .link-white {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 400;
  margin-left: 24px;
  transition: opacity 0.2s ease;
}

.site-header .link-white:hover {
  opacity: 0.8;
}

.btn-white:active {
  transform: translateY(1px);
}

/* дописываем новые кнопки */
/* White text link for header */

.link-white {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 24px; /* расстояние от кнопки */
  transition: opacity 0.2s ease;
}

.link-white:hover {
  opacity: 1;
}
/* кончились новые кнопки */


/* CTA кнопка снизу */
.button-orange {
  display: inline-block;
  height: 76px;
  padding: 0 32px;
  background-color: #F05536;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
  align-self: flex-start;
  width: auto;
  white-space: nowrap;
}

.button-orange:hover {
  background-color: #FF6344;
}

.button-orange:active {
  background-color: #EC4928;
}

/* Правая колонка */
.uiux-right {
  flex: 1 1 calc(45%);
  min-width: 0;
}

.uiux-card {
  background-color: #fff;
  border-radius: 40px;
  display: flex;
  flex: 1;
  padding-left: 66px;
  padding-right: 40px;
  box-sizing: border-box;
  overflow: hidden;
  height: 100%;
}

/* Внутри карточки — две колонки */
.uiux-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0;
  min-width: 0;
}

.uiux-card-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  margin-bottom: 16px;
  color: #0E0A0B;
}

.uiux-card-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  margin-bottom: 40px;
  color: #0E0A0B;
}

.uiux-card-bottom-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: #0E0A0B;
}

/* Правая картинка в карточке */
.uiux-card-image {
  width: 273px;
  /* 👈 настраивай размер */
  background-color: #DBDBE1;
  margin: 40px 0 40px 40px;
  /* 👈 настраивай отступы */
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}


.uiux-card-image img {
  width: 200%;
  margin-top: 60px;
  /* увеличь масштаб, чтобы было что обрезать */
  margin-left: -300px;
  height: auto;
  object-fit: cover;
  overflow: hidden;
}

/* ======= UIUX PORTFOLIO GRID (cards like on screenshot) ===================== */

/* Right column becomes a simple wrapper; grid lives inside */
.uiux-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px; /* always 40px between columns/rows on desktop */
  width: 100%;
  box-sizing: border-box;
}



/* Themes for title + chips (outline only) */
.uiux-portfolio-card.theme-dark {
  --uiux-fg: #ffffff;
  --uiux-border: rgba(255, 255, 255, 0.55);
}

.uiux-portfolio-card.theme-light {
  --uiux-fg: #0E0A0B;
  --uiux-border: rgba(14, 10, 11, 0.20);
}

/* Image */
.uiux-portfolio-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional overlay for readability */
.uiux-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.00) 55%,
    rgba(0, 0, 0, 0.12) 100%
  );
  opacity: 0.75;
  pointer-events: none;
}

/* Top meta row: title (left) + chips (right) */
.uiux-portfolio-meta {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  z-index: 2;
}

.uiux-portfolio-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0;
  color: var(--uiux-fg);
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}

.uiux-portfolio-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* Chips (outline only, no fill) */
.uiux-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--uiux-border);
  background: transparent;
  color: var(--uiux-fg);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;

}





/* Responsive: 1 column on mobile */
@media (max-width: 980px) {
  .uiux-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .uiux-portfolio-card {
    border-radius: 28px;
  }
}

/* ======= БЛОК ВТОРОЙ PRODUCT ======================================================== */

/* ======== 3_PRODUCT SECTION =========== */

.product-subhead-mobile {
  display: none;
}

.product-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 40px 0;
}

.product-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
}

.product-card {
  background-color: #fff;
  border-radius: 40px;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: auto;


}

/* ======== TOP PART ======== */

.product-top {
  display: flex;
  gap: 20px;
  flex: 1 1 0;
  align-items: flex-start;
  margin-top: 30px;
  /* 👈 сверху 40px */
  margin-bottom: 20px;
  /* 👈 снизу 20px */
}

.product-top-left {
  flex: 1 1 calc(40.5%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-tags .tag {
  background-color: #F5F6FB;
  height: 28px;
  padding: 0 20px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-top-right {
  flex: 1 1 calc(45%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  align-items: flex-start;
  margin-top: 12px;
  /* 👈 Сдвигаем вниз на 12px */

}

/* ======== BOTTOM PART ======== */

.product-bottom {
  display: flex;
  gap: 20px;
  flex: 1 1 0;
  height: 420px;
}

/* Первая колонка: текст */
.product-col-text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-col-text h3 {
  margin: 0;
}

.product-col-text .button-orange {
  align-self: flex-start;
  padding: 0 32px;
}

/* Вторая и третья колонки: картинки */
.product-col-image {
  width: 400px;
  height: 420px;
  background-color: #EBEDFA;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-sizing: border-box;
}

/* Картинка внутри блока с возможностью сдвига */
.product-col-image-2 img {
  width: 120%;
  /* 👉 настраивай размер для второй колонки */
  margin-left: 40px;
  /* 👉 настраивай сдвиг отдельно */
  margin-top: 92px;
}

.product-col-image-3 img {
  width: 165%;
  /* 👉 настраивай размер для третьей колонки */
  margin-left: -140px;
  /* 👉 настраивай сдвиг отдельно */
}

/* Заголовок внутри второй картинки */
.product-image-title {
  position: absolute;
  top: 27px;
  left: 37px;
  margin: 0;
  color: #0E0A0B;
}

/* Заголовок внутри третьей картинки (внизу) */
.product-image-title-bottom {
  position: absolute;
  bottom: 34px;
  left: 37px;
  margin: 0;
  color: #ffffff;
}


/* ======= БЛОК ТРЕТИЙ БРЕНДИНГ ======================================================== */

/* ======== 4_BRANDING SECTION =========== */

/* ====== BRANDING BLOCK ======= */

.branding-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 40px 0;
}

.branding-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Верхняя часть */
.branding-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 40px;
  margin-bottom: 20px;
  height: 544px;
}

/* Левая колонка */
.branding-top-left {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.branding-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.branding-tags .tag {
  background-color: #fff;
  height: 28px;
  padding: 0 20px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Правая колонка с большой картинкой */
.branding-top-right {
  flex: 1 1 calc(52%);
  position: relative;
  overflow: hidden;
  margin-left: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.branding-image-box {
  position: relative;
  width: 555px;
  height: 555px;
  overflow: hidden;
  border-radius: 40px;
  background-color: #DBDBE1;
}

.branding-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 220%;
  height: 140%;
  margin-left: -570px;
  margin-top: -100px;
  object-fit: cover;
}

/* Нижняя часть */
.branding-bottom {
  display: flex;
  gap: 20px;
  align-items: flex-start;

  flex-wrap: wrap;
}



.branding-bottom-left .link-orange {
  align-self: flex-start;
}

/* Правая колонка с маленькой картинкой */
.branding-bottom-right {
  width: 200px;
  height: 200px;
  background-color: #DBDBE1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.branding-box-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.branding-box-image img {
  width: 150%;
  /* 👉 регулируй размер тут */
  margin-left: -66px;
  /* 👉 регулируй отступ тут */
  margin-top: -30px;
  height: auto;
  object-fit: cover;
  display: block;
}

.branding-right-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.branding-right-bottom {
  flex: 0 0 auto;
}

.branding-bottom-grid {
  display: flex;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.branding-bottom-left {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.branding-bottom-right {
  width: 200px;
  height: 200px;
  background-color: #DBDBE1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* ======= БЛОК 5 ГРАФ ДИЗАЙН  ======================================================== */
/* ======= топ секция ======= */

.graphic-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 40px 0;
}

.graphic-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
}

.graphic-card {
  background-color: #fff;
  border-radius: 40px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: auto;
  min-height: 600px;

}


.graphic-card {
  background-color: #000;
  color: #fff;
}


.graphic-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  padding-left: 20px;
}

.graphic-top-left {
  flex: 1 1 22%;
}

.graphic-top-right {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ======= элементы ======= */
.graphic-tags .tag {
  background-color: #484848;
  color: #F5F6FB;
}

/* список элементов внизу */
.graphic-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;

}

.graphic-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.graphic-item {
  background-color: transparent;
  border-radius: 30px;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: background-color 0.3s;
  cursor: pointer;
}

.graphic-item-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.graphic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

/* цвета на hover для каждого блока */
.graphic-item[data-popup-id="popup1"]:hover {
  background-color: rgba(176, 244, 189, 0.7);
}

.graphic-item[data-popup-id="popup2"]:hover {
  background-color: rgba(238, 241, 240, 0.7);
}

.graphic-item[data-popup-id="popup3"]:hover {
  background-color: rgba(37, 169, 196, 0.7);
}

.graphic-item[data-popup-id="popup4"]:hover {
  background-color: rgba(67, 93, 147, 0.7);
}

.graphic-item[data-popup-id="popup5"]:hover {
  background-color: rgba(238, 241, 240, 0.7);
}


/* ==== Попапы с картинками === */
.graphic-popups {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  pointer-events: none;
}

.graphic-popup {
  position: absolute;
  width: 250px;
  height: 275px;
  background-color: #2F2F2F;
  border-radius: 36px;
  overflow: hidden;
  opacity: 0;
  transform: rotate(-10deg);
  transition: opacity 0.3s;
}

/* позиции для каждой всплывающей картинки */


.graphic-popup img {
  width: 150%;
  object-fit: cover;
  transform: rotate(10deg);
  transition: transform 0.3s;
}

#popup1 img {
  width: 160%;
  margin-left: -140px;
  margin-top: -80px;
}

#popup2 img {
  width: 110%;
  margin-left: -40px;
  margin-top: 30px;
}

#popup3 img {
  width: 120%;
  margin-left: -20px;
  margin-top: 30px;
}

#popup4 img {
  width: 90%;
  margin-left: 20px;
  margin-top: 30px;
}

#popup5 img {
  width: 130%;
  margin-left: -40px;
  margin-top: -60px;
}

/* позиции для каждой всплывающей картинки */
#popup1 {
  background-color: #B0F4BD;
  top: -60px;
  right: 100px;
}

#popup2 {
  background-color: #dddee2;
  top: 80px;
  right: 100px;
}

#popup3 {
  background-color: #323232;
  top: 240px;
  right: 100px;
}

#popup4 {
  background-color: #425989;
  top: 400px;
  right: 100px;
}

#popup5 {
  background-color: #e8eae8;
  top: 560px;
  right: 100px;
}

/* показать при наведении на соответствующий элемент */
/* по умолчанию первый активен */
.graphic-row:first-child .graphic-item {
  background-color: rgba(176, 244, 189, 0.7);
}

.graphic-row:first-child .graphic-popup {
  opacity: 1;
}

/* если весь список в ховере — снять дефолт с первого */
.graphic-bottom:hover .graphic-row:first-child .graphic-item {
  background-color: transparent;
}

.graphic-bottom:hover .graphic-row:first-child .graphic-popup {
  opacity: 0;
}

/* но если именно первый ряд в ховере — вернуть эффект */
.graphic-row:first-child:hover .graphic-item {
  background-color: rgba(176, 244, 189, 0.7) !important;
}

.graphic-row:first-child:hover .graphic-popup {
  opacity: 1 !important;
}

/* стандартные ховеры на все ряды */
.graphic-item[data-popup-id="popup1"]:hover {
  background-color: rgba(176, 244, 189, 0.7);
}

.graphic-item[data-popup-id="popup2"]:hover {
  background-color: rgba(238, 241, 240, 0.7);
}

.graphic-item[data-popup-id="popup3"]:hover {
  background-color: rgba(37, 169, 196, 0.7);
}

.graphic-item[data-popup-id="popup4"]:hover {
  background-color: rgba(39, 60, 106, 0.7);
}

.graphic-item[data-popup-id="popup5"]:hover {
  background-color: rgba(205, 209, 207, 0.7);
}

.graphic-item:hover+.graphic-popup {
  opacity: 1;
}


/* ======= БЛОК 6 артдир  ======================================================== */

/* ======= БЛОК 6 ARTDIRECTOR ========================================== */

.artdir-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 40px 0;
  scroll-snap-type: y mandatory;


}

.artdir-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
}

.artdir-card {
  background-color: #fff;
  border-radius: 40px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 600px;
}

/* Верхняя часть — колонки */
.artdir-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 20px;
  flex-direction: row-reverse;

}

/* Левая колонка с картинкой */
.artdir-top-left {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.artdir-image-box {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 40px;
  overflow: hidden;
  background-color: #FFFFFF;
}

/* Все картинки внутри сразу с абсолютом и прозрачностью */
.artdir-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Активная картинка видима */
.artdir-image-box img.active {
  opacity: 1;
}

/* Правая колонка с текстом */
.artdir-top-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.artdir-right-content {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.artdir-right-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.artdir-right-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;


  width: 90%;

}

/* Отдельные картинки можно кастомно настраивать */
#artdir1_pic {
  object-position: center top;
}

#artdir2_pic {
  object-position: center center;
}

#artdir3_pic {
  background-color: #e9edf3;
  object-fit: scale-down;

}

#artdir4_pic {
  height: 0.5;
  object-position: center 20%;
}

/* ======= БЛОК 7 TESTIMONIAL ========================================== */

.testimonial-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 40px 0;
}

.testimonial-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonial-title {
  font-size: 60px;
  line-height: 73px;
  font-weight: 500;
}

/* Контейнер с левой и правой колонками */
.testimonial-content {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Левая колонка */
.testimonial-left,
.testimonial-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Блок с картинкой и тегами */
.testimonial-image-box {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 40px;
  overflow: hidden;
  background-color: #454545;
}

.testimonial-image-box img {
  width: 100%;
  height: 180%;
  object-fit: cover;
  display: block;
  border-radius: 40px;
  object-position: -180px center;


}

/* Теги наложены поверх картинки */
.testimonial-tags {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  background: none;
}

.testimonial-tags .tag {
  background-color: #fff;
  color: #0E0A0B;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  line-height: 12px;
}

/* Правая колонка — карточка отзыва */
.testimonial-card {
  background-color: #FFFFFF;
  border-radius: 40px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 500px;
  box-sizing: border-box;
}

/* Верхняя часть карточки */
.testimonial-card-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Рейтинг */
.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
}

.stars {
  color: #F0B500;
  font-size: 24px;
}

.rating-value {
  font-size: 20px;
  font-weight: 600;
}

/* Текст цитаты и текста */
.testimonial-card-top h3 {
  font-size: 32px;
  line-height: 39px;
  font-weight: 500;
  margin: 0;
}

.testimonial-card-top p {
  font-size: 20px;
  line-height: 28px;
  color: #0E0A0B;
  margin: 0;
}

/* Автор снизу карточки */
.testimonial-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author-pic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info p {
  margin: 0;
}

.link-blue {
  color: #2196F3;
  text-decoration: underline;
  font-weight: 600;
}

/* ======= БЛОК 8 ORDER ========================================== */

.order-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 40px 0;
}

.order-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;
}

.order-card {
  position: relative;
  background-color: #fff;
  border-radius: 40px;
  height: 600px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Фоновые картинки */
.order-bg-img {
  position: absolute;
  z-index: 0;
  width: 500px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  object-fit: contain;
  object-position: center;
}


/* Настройка индивидуально */
#order1_pic {
  top: -150px;
  left: -240px;
  transform: rotate(-205deg) scale(1);
  object-position: center;
  object-fit: contain;
}

#order2_pic {
  bottom: -160px;
  right: -190px;
  transform: rotate(0deg) scale(1);
  object-position: center;
  object-fit: contain;
}

/* Центрированный контент */
.order-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

/* Использует общий стиль button-orange */
.order-content .button-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 32px;
  background-color: #F05536;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
  align-self: center;
}

.order-content .button-orange:hover {
  background-color: #FF6344;
}

.order-content .button-orange:active {
  background-color: #EC4928;
}


/* Ссылка внизу с фиксированным отступом и стилем */
.order-bottom-link {
  position: absolute;
  bottom: 55px;
  width: 100%;
  text-align: center;
  z-index: 1;
  display: flex;
  justify-content: center; /* центр по горизонтали */
  gap: 24px;  
  
}

.order-bottom-link .link-default {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: #080607;
  text-decoration: underline;
  transition: color 0.2s;
}

.order-bottom-link .link-default:hover {
  color: #F05536;
}


/* ======= БЛОК 9 SOCIALS ========================================== */

.socials-section {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 60px 0;
}

/* Центрируем только заголовок */
.socials-header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  text-align: center;
  margin-top: 80px;
}

.socials-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: #F05536;
  margin-bottom: 16px;
}

.socials-header {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 73px;
  letter-spacing: -3%;
  color: #0E0A0B;
  margin-bottom: 40px;
}

/* Широкая полоса без контейнера */
.socials-scroll-wrapper {
  overflow-x: auto;
  display: flex;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 40px;
}

.socials-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.socials-scroll-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Полоса карточек всегда в линию */
.socials-list {
  display: flex;
  gap: 20px;
  padding: 0 17px;
  box-sizing: border-box;
  width: max-content;
}

/* Карточка-ссылка */
.socials-item {
  flex: 0 0 auto;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.socials-item:hover {
  opacity: 0.9;
}

/* Картинка */
.socials-item img {
  width: 100%;
  border-radius: 40px;
  object-fit: cover;
  height: 260px;
}

/* Подпись под картинкой */
.socials-item p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}

.socials-item p .gray {
  color: #7A7A7A;
}

.socials-item p .black {
  color: #0E0A0B;
  font-weight: 500;
}



/* ======= правки ховера соцсетей  */


.socials-item {
  position: relative;
  overflow: hidden;
}

.socials-item img {
  transition: opacity 0.3s;
}

.socials-item p {
  transition: color 0.3s;
}

.socials-item:hover img {
  opacity: 0.7;
  /* затемнение на 30% */
}

.socials-item:hover p {
  color: #F05536;
  /* твой оранжевый из кнопок */
}


/* ======= ПАРТНЕРСКИЙ БЛОК ========================================== */

.partner-section {
  background-color: transparent;
  color: #fff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

/* Радиальный градиент на фоне */

.partner-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 17px;
  box-sizing: border-box;

  background: none;
}


.partner-card {

  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: auto;
  min-height: 600px;
  border-radius: 40px;
  background-color: #000;
  background-image: url('pics/partnerpic.png');
  background-repeat: no-repeat;
  background-position: calc(132% + 110px) calc(59% + 23px);
  /* 👈 смещаем по вертикали */
  background-size: 70%, 100%;
  /* 👈 уменьшаем масштаб */
  overflow: hidden;
}

/* Верхняя часть */
.partner-top {
  display: flex;
  gap: 20px;
  flex: 1 1 0;
  align-items: flex-start;
  margin-top: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Левая колонка */
.partner-top-left {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.partner-subtitle {
  color: #fff;
}

.partner-header {
  color: #fff;
}

.partner-description {
  color: #ccc;
  max-width: 500px;
}

/* Правая колонка */
.partner-top-right {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* Можно кастомно настраивать отдельно */
#partnerpic {
  transform: scale(1) translate(0, 0);
  object-position: center center;
}

/* ===== Кнопка с градиентной обводкой ===== */

.button-outline-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 76px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  background: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.header-links .button-outline-gradient {
  color: #fff;
  font-weight: 500;
}

.button-outline-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 2px;
  background: linear-gradient(45deg, #96C8EB, #fff);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  box-sizing: border-box;
}

.button-outline-gradient:hover {
  opacity: 0.85;
}

.partner-top-left .button-outline-gradient {
  width: auto;
  max-width: 300px;
  margin-top: 120px;
  white-space: nowrap;
}


/* ===== FOOTER =========================================================================== */


.site-footer {
  background-color: #F5F6FB;
  color: #0E0A0B;
  padding: 60px 0 40px;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 57px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;

}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #0E0A0B;
  margin: 0;
}

.footer-desc {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #7A7A7A;
  margin: 0;
  max-width: 400px;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-end;
  flex: 1 1 600px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.footer-col a {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -1%;
  color: #0E0A0B;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #F05536;
}

.footer-bottom {
  text-align: left;
  font-size: 16px;
  color: #7A7A7A;
}

.footer-col:last-child {
  text-align: right;
  align-items: flex-end;
}

/* === стики хэдер =================================================== */

.sticky-header {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 1246px;
  height: 100px;
  background-color: #F5F6FB;
  border-radius: 28px;
  box-sizing: border-box;
  display: none;
  z-index: 999;
  background-color: white;
}

.sticky-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
}

.sticky-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-left img {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 0;
}

.sticky-name {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #0E0A0B;
}

.sticky-center {
  display: flex;
  gap: 26px;
}

.sticky-center a {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #0E0A0B;
  text-decoration: none;
  transition: color 0.2s;
}

.sticky-center a:hover {
  color: #EC4928;
}

.sticky-right .sticky-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 32px;
  background-color: #000000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.sticky-right .sticky-button:hover {
  background-color: #EC4928;
}


/* ======= АДАПТИВНЫЕ ШРИФТЫ ======================================================== */

@media (min-width: 900px) and (max-width: 1279px) {

  h1,
  .header-title {
    font-size: 72px;
    line-height: 90px;
  }

  h2,
  .uiux-header,
  .branding-header,
  .testimonial-title {
    font-size: 40px;
    line-height: 50px;
  }

  h3,
  .testimonial-card-top h3 {
    font-size: 24px;
    line-height: 30px;
  }

  p,
  .p1,
  .p2,
  .testimonial-card-top p,
  a,
  .header-links a,
  .header-nav a,
  .header-nav .logo,
  .button-orange,
  .button-outline,
  .button-outline-gradient,
  .footer-col a,
  .footer-title,
  .footer-desc,
  .sticky-name,
  .sticky-center a,
  .sticky-right .sticky-button,
  .uiux-subheader,
  .uiux-card-subtitle,
  .uiux-card-description,
  .uiux-card-bottom-text {
    font-size: 16px;
    line-height: 22px;
  }

  .p3,
  .branding-tags .tag {
    font-size: 10px;
    line-height: 10px;
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  .uiux-card {
    padding-left: 40px;
  }

  /* 1 блок */
  .site-header {
    height: 80vh;
    max-height: 690px;
  }

  /* стики хедер */
  .sticky-header {
    width: calc(100% - 34px);
    max-width: 1246px;
  }

  /* Кнопки */
  .button-orange,
  .button-outline,
  .button-outline-gradient,
  a.button-orange {
    font-size: 16px;
    line-height: 22px;
  }

  /* Ссылки */
  a,
  .header-links a,
  .header-nav a,
  .footer-col a,
  .order-bottom-link .link-default,
  .socials-item p {
    font-size: 16px;
    line-height: 22px;
  }

  /* Заголовок блока соцсетей */
  .socials-header {
    font-size: 40px;
    line-height: 50px;
  }

  .branding-image-box {
    width: 500px;
    height: 500px;
  }

  .footer-left {
    flex: 1 1 240px;
  }

}


/* ======= АДАПТИВ мобильный ======================================================== */

@media (max-width: 899px) {

  /* 1) Первый блок hero                                                            */
  .site-header {
    height: auto;
    max-height: none;
    padding-bottom: 40px;
  }

  /* 2) Sticky header полностью адаптивный */
  .sticky-header {
    width: 100%;
    max-width: none;
  }

  /* 3) .uiux-card отступ слева меньше */
  .uiux-card {
    padding-left: 20px;
  }

  /* 4) Branding большая картинка меньше на ~40% */
  .branding-image-box {
    width: 333px;
    height: 333px;
  }

  /* 5) Branding секция ниже — чуть выше для воздуха, но меньше десктопа */
  .branding-top {
    height: 400px;
  }

  /* 6) Footer левая колонка уже */
  .footer-left {
    flex: 1 1 160px;
  }

  /* 2) Фон-картинка меня на 1 экране — смещена вправо, "торчит" */
  .site-header::before {
    right: -220px;
    width: 540;
  }

  /* 3) Размеры текста */
  .site-header .intro-text {
    font-size: 16px;
    line-height: 22px;
  }

  .site-header .header-title {
    font-size: 66px;
    line-height: 72px;
  }

  /* 4) Убираем навбар */
  .header-nav {
    display: none;
  }

  /* 5) Ссылки CTA и кнопки вертикально */
  .header-links {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 30px;
  }

  .header-links>*:last-child {
    margin-bottom: -10px;
  }

  .header-content {
    width: 90%;
    margin: 0 auto;
  }

  .header-content .intro-text {
    margin-bottom: 40%;
  }

  /* 2) ВТОРОЙ ЭКРАН, UIUX                                                            */

  .uiux-container {
    flex-direction: column;
    padding: 20px 16px;
  }

  .uiux-left,
  .uiux-right {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  .uiux-left .p1 {
    display: none;
  }

  .uiux-left .button-orange {
    margin-top: 24px;
    align-self: stretch;
  }

  .uiux-card {
    flex-direction: column-reverse;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 24px;
  }

  .uiux-card-content {
    padding: 16px;
    padding-left: 0px;
    margin-left: 0px;
  }

  .uiux-card-image {
    width: 100%;
    margin: 0;
    border-radius: 0;
    height: auto;
  }

  .uiux-card-image img {
    width: 100%;
    margin: 0;
    object-fit: cover;
  }

  /* 2) ВТОРОЙ ЭКРАН, UIUX */
  .uiux-section {
    padding-bottom: 40px;
    height: 1000px;
    /* ✅ чтобы не слипался со следующим блоком */
  }

  .uiux-container {
    flex-direction: column-reverse;
    padding: 20px 16px;

  }

  .uiux-card-subtitle,
  .uiux-card-description {
    display: none;
  }

  .uiux-card {
    background-color: transparent;
  }

  .uiux-card {
    flex-direction: column-reverse;
  }

  .uiux-left .button-orange {
    order: 2;
  }

  .header-content {
    margin-left: 0px;
  }

  .uiux-left .button-orange {
    display: none;
  }


  .button-orange.cta-mobile {
    display: inline-flex;
    margin-top: 20px;
    text-align: center;
    width: 80%;
    margin: 20px auto 0 auto;
    justify-content: center;
    margin-left: 0;
    margin-top: 30px;
    font-weight: 500;
    font-size: 18px;
  }

  .uiux-card-image {
    height: 100%;
    border-radius: 30px;
    margin-bottom: 10px;
  }


  .uiux-card-image img {
    /* увеличь масштаб, чтобы было что обрезать */
    margin-left: -50px;
    margin-top: 40px;
    height: auto;
    object-fit: cover;
    overflow: hidden;
  }

  /* PRODUCT DESIGNER                                                                   Блок */

  .product-top {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .product-top-left,
  .product-top-right {
    width: 100%;
    flex: 1 1 100%;
  }

  .product-bottom {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .product-col-text,
  .product-col-image {
    width: 100%;
    height: auto;
    flex: 1 1 100%;
  }

  .product-col-image {
    max-width: 100%;
  }

  .product-card {
    padding: 20px;
  }

  /* Product top → всё вертикально */
  .product-top {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .product-top-left,
  .product-top-right {
    width: 100%;
    flex: 1 1 100%;
  }



  .product-top-left {
    flex-direction: column-reverse;
  }


  .product-col-text {
    justify-content: flex-start;
    gap: 16px;
  }

  .product-col-text .button-orange {
    margin-top: 0;

    align-self: stretch;
  }
}



@media (max-width: 699px) {
  .header-content .intro-text {
    margin-bottom: 60px;
  }

  .header-content .header-title {
    margin-bottom: 20px;
  }

  .site-header .header-links a:not(.button-outline-gradient) {
    display: none;
  }


}

@media (min-width: 700px) and (max-width: 899px) {
  .site-header::before {
    width: 400px;
    right: -120px;
    bottom: -10px;
    background-size: contain;
    background-position: bottom right;
  }
}

@media (max-width: 767px) {
  .sticky-header {
    display: none !important;
  }
}

/* мобильная верстка мобильная верстка мобильная верстка мобильная верстка мобильная верстка мобильная верстка  н2 */

@media (max-width: 699px) {

  /* Размер зждера н2 */
  h2,
  .socials-header {
    font-size: 42px !important;
    line-height: 50px !important;
  }

  .socials-header {
    font-size: 60px;
  }


  /* 🌆 Настройки фоновой картинки */
  .site-header::before {
    left: 86%;
    transform: translateX(-50%);
    right: auto;
    bottom: 0;
    top: 40px;
    width: 450px;
    background: url('pics/header_pic.webp') no-repeat bottom center;
    background-size: contain;
  }

  /* 📦 Внешний блок */
  .site-header {
    height: auto;
    max-height: none;
    padding-bottom: 40px;
  }

  /* 📦 Контейнер внутри header — с увеличенным верхним отступом */
  .site-header .container {
    height: auto;
    padding-top: 220px;
    /* ⬆️ увеличенный отступ на 200px */
    padding-bottom: 0;
    align-items: flex-start;
  }

  /* 📐 Контент: порядок — текст, кнопки, заголовок */
  .header-content {
    display: flex;
    flex-direction: column;
    margin-top: -190px;
    /* настрой значение по вкусу */
    width: 98%;

  }



  /* 📝 Текст — первый */
  .intro-text {
    order: 0;
  }

  /* 🔘 Кнопки — второй */
  .header-links {
    order: 2;
    gap: 16px;
    margin-bottom: 0px;
    margin-top: 12px;

  }

  /* 🧱 Заголовок — последний */
  .header-title {
    order: 1;
    margin-bottom: 40px;
    margin-top: 100px;
  }

  /* Контейнер с картинкой — фиксируем общую высоту */
  .product-col-image {
    height: 200px;
  }

  /* Картинка внутри — заполняет по высоте, ширина авто */
  .product-col-image img {
    height: 100%;
    width: auto;
    object-fit: cover;
    /* сохраняем пропорции, заполняем по высоте */
  }

  /* Контейнер прокрутки соцсетей — ограничиваем по ширине родителя */
  .socials-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
  }

  /* Внутренний список — убираем лишнюю ширину */
  .socials-list {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Убираем отступы у секций */
  .product-section,
  .graphic-section,
  .order-section,
  .partner-section {
    padding: 0 !important;
  }

  /* Убираем паддинги у контейнеров */
  .product-container,
  .graphic-container,
  .order-container,
  .partner-container {
    padding: 0 !important;
  }

  /* Убираем margin, но сохраняем border-radius */
  .product-card,
  .graphic-card,
  .order-card,
  .partner-card {
    margin: 0 !important;
    border-radius: 40px !important;
  }

  /* Устанавливаем размер и межстрочное расстояние для текста в первом блоке */
  /* Корректный селектор для параграфа в первом блоке */
  .site-header .intro-text p {
    font-size: 18px;
    line-height: 24px;
  }



  /* ТУТ БЛОК ПРОДУКТЫ ПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫПРОДУКТЫ */
  /* 👉 1. Меняем порядок элементов в верхней части (сабхэдер, h2, теги, абзацы, CTA) */

  /* 👁 Показываем сабхедер только на мобилке */
  /* 👁 Сабхедер только на мобилке */
  .product-subhead-mobile {
    display: block;
    font-size: 20px;
    line-height: 24px;
    margin: 20px 0;
  }

  /* 🙈 Скрываем оригинальный сабхедер */
  .product-top-right .p2 {
    display: none;
  }

  /* 🎯 Уменьшаем отступ у заголовков картинок */
  .product-image-title,
  .product-image-title-bottom {
    left: 20px;
  }

  /* 📦 Базовая обертка: компактнее и ниже */
  .product-card {
    min-height: 400px !important;
    gap: 20px;
    height: 1345px;
  }

  /* 🧱 Обнуляем отступы и padding */
  .product-top,
  .product-bottom,
  .product-top-left,
  .product-top-right,
  .product-col-text {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ✂️ Унифицированный вертикальный ритм */
  .product-top-left h2,
  .product-tags,
  .product-top-right p {
    margin-bottom: 10px !important;
  }

  .product-top-right .button-orange {
    margin: 0px 0 0 !important;
  }

  .product-col-text p {
    margin-bottom: 0px !important;
  }

  .product-col-text .button-orange {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }

  /* 🔁 Перестановка колонок: карточки выше, текст ниже */
  .product-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 30px;
  }

  .product-col-image {
    width: 100%;
    height: auto !important;
  }

  .product-col-image:nth-child(2) {
    order: 0;
  }

  .product-col-image:nth-child(3) {
    order: 1;
  }

  .product-col-text {
    width: 100%;
    height: auto !important;
    justify-content: flex-start !important;
    order: 2;
  }

  .product-subhead-mobile {
    margin-bottom: 0 !important;
  }

  .product-top-left h2 {
    margin-top: 0 !important;
  }




}

@media (min-width: 408px) and (max-width: 699px) {
  .site-header::before {
    top: 80px;
    /* сдвигаем картинку вниз на 100px */
  }
}

/*  БЛОК АЙДЕНТИКА АЙДЕНТИКА АЙДЕНТИКА АЙДЕНТИКА АЙДЕНТИКА АЙДЕНТИКА АЙДЕНТИКА  */



@media (max-width: 699px) {

.branding-top {
  margin-top: 0px;
}

  /* ⬆️ Общие сбросы */
  .branding-section,
  .branding-container,
  .branding-card,
  .branding-top {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  /* 🧱 Основной вертикальный лейаут */
  .branding-card,
  .branding-top,
  .branding-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* 📏 Контейнерная ширина + убиваем левые отступы */
  .branding-top-right,
  .branding-col {
    width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  /* 🖼 Картинка: по ширине контейнера, с отступами */
  .branding-image {
    width: calc(100% - 40px);
    margin: 0 20px;
    height: auto;
  }

  /* 🧩 Сброс отступов */
  .branding-tags,
  .branding-top h2,
  .branding-top .p2,
  .branding-content p {
    margin: 0;
  }

  /* 🔁 Нижняя секция: вертикально */
  .branding-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .branding-col {
    flex: none !important;
    height: auto !important;
  }

  /* Разрешаем рост по контенту */
  .branding-section,
  .branding-container,
  .branding-card,
  .branding-top {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  /* Главная структура: вертикально с отступами */
  .branding-card,
  .branding-top,
  .branding-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Ширина контейнера + убираем левые отступы */
  .branding-top-right,
  .branding-col {
    width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  /* Картинка: по ширине контейнера, с отступами */
  .branding-image {
    width: calc(100% - 40px);
    margin: 0 20px;
    height: auto;
  }

  /* Сброс отступов, но задаём ритм вручную */
  .branding-tags,
  .branding-top h2,
  .branding-top .p2,
  .branding-content p {
    margin: 0;
  }

  /* Нижняя секция (branding-content) в колонку */
  .branding-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .branding-col {
    flex: none !important;
    height: auto !important;
  }

  .uiux-section {
    height: auto !important;
    min-height: auto !important;
  }

  .branding-bottom-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  .branding-bottom-grid>* {
    width: 100% !important;
  }

  .product-col-image-2 img {
    object-fit: cover !important;
    /* Обеспечивает обрезку по контейнеру */
    object-position: center bottom !important;
    /* Смещает содержимое вниз */
    display: block;
    width: 100% !important;
    height: auto !important;
    margin-top: 90px !important;
    /* Визуальный отступ сверху */
    margin-left: 20px;
  }

  /* Убедимся, что контейнер изображения не обрезает содержимое */
  .product-col-image-2 {
    overflow: visible !important;
  }

  .branding-top {
    flex-direction: column !important;
  }

  .branding-top-left,
  .branding-top-right {
    width: 100% !important;
    flex: none !important;
  }

  .branding-image-box {
    width: 100%;
  }

  .branding-image-box img {
    width: 100%;
    height: auto;
    display: block;
  }

  .branding-image-box img {
    margin-top: -360px;
    margin-left: -840px;
    align-items: center;
    width: 380%;
  }

  .branding-bottom-right {
    display: none;
  }

  .branding-right-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* ➕ добавляет вертикальные отступы между всеми элементами */
  }

  /* Сброс отступов по умолчанию, если вдруг */
  .branding-right-top h2,
  .branding-right-top .p2,
  .branding-tags,
  .branding-right-top p,
  .branding-right-top a {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Также можно уточнить поведение ссылки */
  .branding-right-top a.button-orange {
    display: inline-block;
  }

  .branding-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .branding-bottom-left h2,
  .branding-bottom-left .p2,
  .branding-bottom-left .branding-tags,
  .branding-bottom-left p,
  .branding-bottom-left a {
    margin: 0 !important;
    padding: 0 !important;
  }

  .branding-right-bottom,
  .branding-right-content {
    margin-top: 30px;
  }

  .branding-right-bottom .p2 {
    display: none !important;
  }

}

/* @media (min-width: 420px) and (max-width:699){
  .branding-image-box img {
    margin-top: -40px !important;
    margin-left: -280px;
    width: 20%;
  }
} */


/* Блок Граф диз Блок Граф диз Блок Граф диз Блок Граф диз Блок Граф диз Блок Граф диз  */
@media (max-width: 699px) {

  /* 🔹 Весь блок */
  .graphic-card {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* уменьшили вертикальный отступ верхнего блока */
  }

  /* 🔝 Верхняя часть (текст) */
  .graphic-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .graphic-top-left .p2 {
    margin-top: 20px;
  }

  .graphic-top-right h2 {
    font-size: 24px;
    line-height: 1.3;
    margin: 0;
  }

  .graphic-top-right .link-orange {
    margin-top: 4px;
  }

  /* 🔁 Структура карточек */
  .graphic-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 0px;
    margin-left: 0px;
    background: none !important;
    background-color: transparent !important;
    padding-bottom: 40px;
  }

  .graphic-top,
  .graphic-item-text,
  .graphic-item {
    padding-left: 0px;
    padding-top: 10px;
    padding-bottom: 8px;
    background: none !important;
    background-color: transparent !important;
  }

  .graphic-popup img {
    transform: rotate(0deg);
  }

  /* ✅ Сдвиг содержимого внутри карточки */
  .graphic-item-text {
    padding-left: 0px;
    padding-top: 8px;
  }

  /* 📛 Заголовки карточек */
  .graphic-item-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #0E0A0B;
  }

  /* 🏷 Стили тегов — возвращаем фирменные */
  .graphic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
  }

  .graphic-tags .tag {
    background: #E5E7EB;
    color: #0E0A0B;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1;
    padding: 4px 10px;
  }

  /* ❌ Отключаем hover / pop-up */
  .graphic-item,
  .graphic-row,
  .graphic-card,
  .graphic-popup {
    pointer-events: none;
  }

  .graphic-popup {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    width: 160px;
    height: 160px;
  }

  /* Айдентика — нижняя картинка */
  .branding-box-image img {
    width: 350px !important;
    height: 325px !important;
    object-fit: cover;
  }

  .graphic-item-text h3 {
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 39px !important;
    margin: 0 0 12px 0;
    /* по желанию */
  }

  /* 1. Картинка #popup1 — сместить правее */
  #popup1 img {
    margin-left: -110px;
  }

  /* 2. Картинка #popup2 — сместить чуть-чуть правее */
  #popup2 img {
    margin-left: -12px;
    margin-top: 10px;
  }

  /* 3. Картинка #popup3 — поднять выше */
  #popup3 img {
    margin-top: 0px;
  }

  /* 4. Картинка #popup4 — тоже выше */
  #popup4 img {
    margin-top: 16px;
    margin-left: 10px;
  }

  /* АРТ ДИРЕКШЕН АРТ ДИРЕКШЕНАРТ ДИРЕКШЕНАРТ ДИРЕКШЕНАРТ ДИРЕКШЕНАРТ ДИРЕКШЕН */
  /* Главная секция и контейнер */
  .artdir-section,
  .artdir-container,
  .artdir-top {
    display: flex;
    flex-direction: column;
    gap: 36px;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .artdir-image-box {
  margin-top: 0px;
    background-color: #202020;
}



  /* Колонки идут одна за другой */
  .artdir-top-left,
  .artdir-top-right {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;

  }

  /* Картинка на всю ширину */
  .artdir-image-box img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
  }

  /* Сбросы внутренних отступов */
  .artdir-right-content,
  .artdir-right-top,
  .artdir-right-bottom {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Сбросы у текста */
  .artdir-right-top h2,
  .artdir-right-top .p2,
  .artdir-right-bottom p {
    margin: 0 !important;
  }

  .artdir-right-bottom {
    gap: 26px;
  }

  /* Отступы между блоками внутри правой колонки */
  .artdir-right-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Картинка в блоке артдирекшн — как в брендинге */
  .artdir-image-box img {
    width: calc(100% - 40px);
    margin: 0 20px;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* Контейнер с картинками — общее поведение */
  .artdir-image-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 357px;
  }

  #artdir1_pic {
    padding-top: 36px;
  }

  #artdir2_pic {
    width: 900%;
    margin: 0 auto;
  }

  #artdir3_pic {
    width: 295%;
    margin: 0 auto;
  }

  #artdir4_pic {
    width: 100%;
    margin: 0 auto;
  }

  .artdir-right-top .p2 {
    display: none !important;
  }

  

  /* Блок Отзывы Блок Отзывы Блок Отзывы Блок Отзывы Блок Отзывы    testimonial-right testimonial-card  */



  .testimonial-container {
    padding: 0px 0px;
  }

  .testimonial-title {
    padding-left: 17px;
    margin-bottom: -10px;
  }

  .testimonial-card {
    background: none;
    padding-top: 0px;
    padding-left: 17px;
    padding-right: 5%;
    height: auto;
    width: 100%;
  }

  /* Блок Партнеры                 Партнеры */

  .partner-card {
    padding-left: 17px;
  }

  .testimonial-content {
    flex-direction: column-reverse;
  }

  .testimonial-card-bottom {
    margin-top: 32px;
  }

  .testimonial-image-box {
    height: 260px;
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .testimonial-image-box img {
    object-fit: cover;
    object-position: left top;
  }

  /* ордер ордер ордер ордер ордер ордер ордер ордер ордер ордер   */
  .order-card {
    background: none !important;
    border-radius: 0 !important;
    height: 700px;

  }

  .order-bg-img {
    width: 320px;
    opacity: 0.7;
    object-fit: contain;
  }

  #order1_pic {
    top: 20px;
    left: -180px;
    transform: scale(1) rotate(-225deg);
    /* дан   */
  }

  #order2_pic {
    bottom: 0px;
    right: -140px;
    transform: scale(1) rotate(-55deg);
    /* дан  2 */
  }

  .order-bottom-link {
    bottom: 180px;
    /* ⬆️ поднимаем выше */
  }


  .partner-top {
    margin-top: 0px;
  }

  /* соцсети соцсети соцсети соцсети соцсети соцсети соцсети соцсети   */
  .socials-list {
    gap: 40px;
    margin-top: 40px;
  }

  .socials-item img {
    /* вместо 300–400px */
    object-fit: cover;
    width: 120px;
    height: 120px !important;
    display: block;

    object-fit: cover;
    /* ✨ важное: обрезает и заполняет */
    object-position: center;
    /* ⬅️ центрируем по горизонтали и вертикали */
  }


  .socials-item:nth-child(1) img {
    object-position: right top;
    object-fit: cover;
    height: 900px;
  }

  .socials-item:nth-child(3) img {
    margin-top: 0px !important;
  }

  .socials-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .socials-item:nth-child(1),
  .socials-item:nth-child(4),
  .socials-item:nth-child(5) {
    margin-top: 56px;
  }

  .socials-item:nth-child(1),
  .socials-item:nth-child(4),
  .socials-item:nth-child(5) {
    margin-top: 0 !important;
  }

  /* партнерка партнеркапартнеркапартнеркапартнеркапартнерка */

  .partner-top {
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin-top: 240px;
  }

  .partner-top-left .button-outline-gradient {
    margin-top: 10px !important;
  }

  .partner-top-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .partner-card {
    background-position: right -70px top -307px;
    background-size: 120%;
  }

  .partner-top-left * {
    width: 100%;
  }




  /* футер футер футер футер футер футер футер футер футер футер  */
  .site-footer {
    padding: 40px 20px;
    width: auto;
  }

  .footer-container {
    width: 100%;
    padding-left: 0%;
    padding-right: 0%;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-left {
    width: 100%;
  }

  .footer-right {
    flex-direction: column;
    width: 100%;
    gap: 46px;
    flex: auto;
  }

  .footer-col {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-col a {
    display: block;
    width: 100%;
    text-align: left;
  }

  .footer-bottom {
    margin-top: 32px;
    text-align: left;
    font-size: 14px;
  }

  .socials-header {
    padding-bottom: 0%;
    margin-bottom: 0%;
  }

  .socials-header-container {
    margin-top: 40px;
  }
}

@media (max-width:370px) {
  .partner-section .button-outline-gradient {
    font-size: 16px !important;
    line-height: 16px !important;
  }
}

@media (max-width: 899px) {
  .button-orange {
    font-weight: 500 !important;
    font-size: 18px !important;
  }
}

/* ADD/EDIT CSS: вставь в конец styles.css */

/* ===== UIUX: COLUMN FLOW (no row-jump) ===== */
.uiux-portfolio-grid{
  column-count: 2;
  column-gap: 40px;
}

@media (max-width: 860px){
  .uiux-portfolio-grid{
    column-count: 1;
    column-gap: 24px;
  }
}

/* Card: goes DOWN the column; 40px vertical gap guaranteed */
.uiux-portfolio-card{
  background: #E8E9F0;
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 0px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;

  border-radius: 40px;
  overflow: hidden;

  /* height control */
  height: var(--card-h, 620px);

  /* no hover “jump” */
  transform: none !important;
  transition: none !important;

  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 860px){
  .uiux-portfolio-card{ margin-bottom: 24px; }
}

/* Media */
.uiux-portfolio-media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soft overlay for readability */
.uiux-portfolio-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.06) 45%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

/* Meta layer */
.uiux-portfolio-meta{
  position: absolute;
  inset: 0;
  padding: 20px;
  z-index: 2;
}

/* Top-left title (remove text shadow) */
.uiux-portfolio-title{
  position: absolute;
  top: 18px;
  left: 18px;
  max-width: 70%;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;

  text-shadow: none !important; /* убрать тени */
}

/* Top-right chips */
.uiux-portfolio-chips{
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 60%;
}

.uiux-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

/* Theme control (affects title + chips + action) */
.uiux-portfolio-card.theme-dark{ color: #ffffff; }
.uiux-portfolio-card.theme-light{ color: #111111; }

/* Bottom-right action */
.uiux-card-action{
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid currentColor;
  background: transparent;
}

/* LINK: show arrow (pics/arrow.svg) rotated 45deg */
.uiux-card-action.is-link::before{
  content: "";
  width: 18px;
  height: 18px;

  /* recolorable arrow via mask */
  background: currentColor;
  -webkit-mask: url("pics/arrow.svg") center / contain no-repeat;
  mask: url("pics/arrow.svg") center / contain no-repeat;

  transform: rotate(45deg);
}

/* LOCKED: emoji only */
.uiux-card-action.is-locked{
  font-size: 18px;
  line-height: 1;
}

/* Locked cards: no pointer */
.uiux-portfolio-card.is-locked{
  cursor: default;
}


/* ADD/EDIT CSS: вставь в конец styles.css (или замени прошлый блок UIUX-portfolio на этот) */

/* ===== UIUX: COLUMN FLOW (2 columns down, fixed 40px vertical gap) ===== */
.uiux-portfolio-grid{
  column-count: 2;
  column-gap: 40px;
}

@media (max-width: 860px){
  .uiux-portfolio-grid{
    column-count: 1;
    column-gap: 24px;
  }
}


/* mobile vertical gap */
@media (max-width: 860px){
  .uiux-portfolio-card{ margin-bottom: 24px; }
}

/* Media */
.uiux-portfolio-media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* REMOVE overlay gradient completely */
.uiux-portfolio-overlay{
  display: none !important;
}

/* Meta layer */
.uiux-portfolio-meta{
  position: absolute;
  inset: 0;
  padding: 20px;
  z-index: 2;
}

/* Title (no shadow) */
.uiux-portfolio-title{
  position: absolute;
  top: 18px;
  left: 18px;
  max-width: 70%;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  text-shadow: none !important;
}

/* Chips */
.uiux-portfolio-chips{
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 60%;
}

.uiux-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}

/* Bottom-right action */
.uiux-card-action{
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid currentColor;
  background: transparent;
}

/* LINK: arrow rotated 45deg */
.uiux-card-action.is-link::before{
  content: "";
  width: 18px;
  height: 18px;

  background: currentColor;
  -webkit-mask: url("pics/arrow.svg") center / contain no-repeat;
  mask: url("pics/arrow.svg") center / contain no-repeat;

  transform: rotate(45deg);
}

/* LOCK: emoji */
.uiux-card-action.is-locked{
  font-size: 18px;
  line-height: 1;
}

/* Locked cursor */
.uiux-portfolio-card.is-locked{
  cursor: default;
}
